- 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
Update Customer
Testing
Testing Env
Testing Env
PATCH
https://api.staging.mintedconnect.com/partner/customer/{{external_customer_id}}
Last modified:2023-06-14 21:55:37
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
firstname
string
required
>= 3 characters<= 40 characters
middlename
string
optional
>= 3 characters<= 40 characters
lastname
string
required
>= 3 characters<= 40 characters
email
string <email>
required
phone
string
required
gender
enum<string>
optional
Allowed values:
MF
identity_number
string
required
birthdate
string
optional
Match pattern:
^[9999-99-99]$
Example
{
"firstname": "Mehmet",
"middlename": "",
"lastname": "Gülbilge",
"fullname": "Mehmet Gülbilge",
"email": "[email protected]",
"phone": "+90 532 280 80 35",
"gender": "M",
"identity_number": "12345677938",
"birthdate": "1970-01-31"
}
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 -g --request PATCH 'https://api.staging.mintedconnect.com/partner/customer/MTD0018232' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstname": "Mehmet",
"middlename": "",
"lastname": "Gülbilge",
"fullname": "Mehmet Gülbilge",
"email": "[email protected]",
"phone": "+90 532 280 80 35",
"gender": "M",
"identity_number": "12345677938",
"birthdate": "1970-01-31"
}'
Responses
🟢200OK
application/json
Body
data
object
required
id
integer
required
external_id
string
required
company_id
integer
required
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
required
updated_at
string
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"id": 2,
"external_id": "MTD0018232",
"company_id": 2000000,
"user_id": null,
"firstname": "Mehmet",
"middlename": null,
"lastname": "Gülbilge",
"fullname": "Mehmet Gülbilge",
"email": "[email protected]",
"phone": null,
"gender": null,
"identity_number": null,
"birthdate": null,
"created_at": "2023-03-05 04:51:18",
"updated_at": "2023-03-05 04:51:18"
},
"success": true,
"code": 0,
"message": ""
}
🟠422Parameter Error
🟠404Record Not Found
Modified at 2023-06-14 21:55:37