- Partner
- Genel Bakış
- Buy
- Sell
- Customers
- Balances
- Card Storage
- Delivery
- Product PricesGET
- Get OrdersGET
- Get OrderGET
- Get Order (Alternative)POST
- Partner LegalPOST
- Order StatussesGET
- E-Commerce API
- Catalog
- Customers
- Customer Address
- Checkout
- Legal
- WS
- Minted PricesGET
Create Business Customer
Testing
Testing Env
Testing Env
POST
https://api.staging.mintedconnect.com/partner/customer
Last modified:2025-04-10 14:00:14
Maintainer:Not configured
Request
Authorization
Provide your encrypted digest scheme data in the
Authorization
header when making requests to protected resources.Example:
Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
Header Params
api-version
string
optional
Example:
2
x-client-id
string
required
Default:
web
Accept-Language
string
optional
Default:
tr
Body Params application/json
external_id
string
required
>= 3 characters<= 40 characters
Match pattern:
^[A-Za-z0-9-_]$
firstname
string
optional
>= 3 characters<= 40 characters
tax_office
string
optional
>= 3 characters<= 40 characters
email
string <email>
optional
phone
string
optional
identity_number
string
optional
account_type
string
optional
Match pattern:
^[9999-99-99]$
Example
{
"external_id": "{% faker datatype.uuid %}",
"firstname": "Test AŞ",
"email": "{% faker internet.email %}",
"phone": "+90 532 280 80 35",
"identity_number": "1234567793",
"tax_office": "Ümraniye",
"birthdate": "1970-01-31",
"account_type": "company"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.staging.mintedconnect.com/partner/customer' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
"external_id": "{% faker datatype.uuid %}",
"firstname": "Test AŞ",
"email": "{% faker internet.email %}",
"phone": "+90 532 280 80 35",
"identity_number": "1234567793",
"tax_office": "Ümraniye",
"birthdate": "1970-01-31",
"account_type": "company"
}'
Responses
🟢200OK
application/json
Body
data
object
required
id
integer
optional
external_id
string
required
company_id
integer
optional
user_id
integer | null
optional
firstname
string
required
middlename
string
optional
lastname
string
required
fullname
string
optional
email
string
required
phone
string
optional
gender
enum<string>
required
Allowed values:
MF
identity_number
string
optional
birthdate
string
year-month-day
Example:
1970-01-01
created_at
string
optional
updated_at
string
optional
success
boolean
required
code
integer
required
message
string
required
Examples
{
"data": {
"external_id": "214c2f18-e7e9-48d5-91ec-7e30e64cf3c9",
"firstname": "Test AŞ",
"email": "[email protected]",
"phone": "+905322808035",
"identity_number": "1234567793",
"tax_office": "Ümraniye",
"birthdate": "1970-01-31",
"account_type": "company",
"fullname": "Test AŞ"
},
"success": true,
"code": 0,
"message": ""
}
🟠422Parameter Error
Modified at 2025-04-10 14:00:14