Minted Connect
  1. Customers
Minted Connect
Partner
  • Partner
  • E-Commerce API
  • Genel Bakış
    • Genel Bakış
    • Partner cüzdan entegrasyonu
  • Buy
    • Customer - B2B2C
      • From Amount
        • Price Fix (Get Prices)
        • Calculate Price
        • Buy (Gold)
        • Buy (Silver)
        • Buy (Platinum)
      • From Total Price
        • Price Fix (Get Prices)
        • Buy (Gold)
        • Buy (Silver)
    • Partner - B2B
      • Price Fix (Get Prices)
      • Buy (Gold)
      • Buy (Silver)
    • Card Payment
      • Payment Get All Types
      • Card Payment Bin Query (Installments/Comissions)
      • Card Payment Price Fix (Get Prices)
      • Card Payment Buy (with card number)
      • Card Payment Buy (with card token)
      • Card Payment Get Order
  • Sell
    • Customer - B2B2C
      • Price Fix (Get Prices)
      • Sell (Gold)
      • Sell (Silver)
    • Partner - B2B
      • Price Fix (Get Prices)
      • Sell (Gold)
      • Sell (Silver)
  • Customers
    • Create Customer
      POST
    • Create Business Customer
      POST
    • Update Customer
      PATCH
    • Remove Customer Id
      DELETE
    • Get Customer
      GET
    • Customer Wallet Kyc - Get
      GET
    • Customer Wallet Kyc - Upsert
      POST
    • Customer Wallet Kyc - Bulk Upsert
      POST
  • Balances
    • Partner Balance
      GET
    • Customer Balance
      GET
    • Update Customer Cash Balance
      PATCH
    • Stats
      POST
  • Card Storage
    • Card Storage List
      POST
    • Card Storage Add
      POST
    • Card Storage Delete
      DELETE
  • Delivery
    • Delivery - List Wallets
      POST
    • Delivery - Calculate
      POST
    • Delivery - Create (Pay With Cash)
      POST
    • Delivery - Create (Pay With Card Payment)
      POST
  • Product Prices
    GET
  • Get Orders
    GET
  • Get Order
    GET
  • Get Order (Alternative)
    POST
  • Partner Legal
    POST
  • Order Statusses
    GET
  1. Customers

Update Customer

Testing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
PATCH
https://api.staging.mintedconnect.com
/partner/customer/{{external_customer_id}}
Last modified:2023-06-14 21:55:37
Maintainer:Not configured
Method will be update existing customer

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 value: web
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
optional
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
Previous
Create Business Customer
Next
Remove Customer Id
Built with