Minted Connect
  1. Customer Address
Minted Connect
E-Commerce API
  • Partner
  • E-Commerce API
  • Catalog
    • Products
      GET
    • Get Product
      GET
    • Prices
      GET
    • Categories
      GET
  • Customers
    • Create Customer
      POST
    • Update Customer
      PATCH
    • Remove Customer Id
      DELETE
    • Get Customer
      GET
  • Customer Address
    • Customer Address - List
      GET
    • Customer Address - Delete
      DELETE
    • Customer Address - Create (Shipping)
      POST
    • Customer Address - Create (Billing)
      POST
    • Customer Address - Create Multiple
      POST
  • Checkout
    • Get Basket
      GET
    • Get Incomplete Baskets
      GET
    • Add to Basket (New basket)
      POST
    • Add to Basket (Existing Basket)
      POST
    • Set Existing Address
      PATCH
    • Set Custom Address
      PATCH
    • Update Item
      PATCH
    • Delete Item
      DELETE
    • Clear Basket (Delete Items)
      DELETE
    • Payment Get All Types
      GET
    • Complete Basket
      PUT
    • Get Orders
      GET
    • Get Order
      POST
  • Legal
    • Legal Types
    • Partner Legal PDF
  1. Customer Address

Customer Address - Create (Billing)

Developing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
POST
https://api.staging.mintedconnect.com
/partner/customer/address
Last modified:2024-08-11 12:59:55
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
x-client-id
string 
required
Default value: web
Default:
web
api-version
string 
optional
Latest version: 3
Default:
3
Accept-Language
string 
optional
Default:
tr
Body Params application/json
external_customer_id
string 
required
>= 1 characters<= 110 characters
invoice_type
enum<string> 
required
Allowed values:
IndividualCorporate
company_name
string 
optional
tax_office
string 
optional
tax_number
string 
required
Identity number / Tax no
type
enum<string> 
required
Allowed values:
billingshipping
city
string 
required
county
string 
required
district
string 
optional
street
string 
optional
address
string 
required
Example
{
    "external_customer_id":"{{external_customer_id}}",
    "invoice_type":"Individual",
    "company_name":"Minted LTD",
    "tax_office":"Test",
    "tax_number": "1234567",
    "type": "billing",
    "city": "İstanbul",
    "county": "Beykoz",
    "district": "Acarlar Mah.",
    "street":"Sokak adı",
    "address": "54 sok. No: 12"
}

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/address' \
--header 'x-client-id;' \
--header 'api-version: 3' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
    "external_customer_id":"MTD0018232",
    "invoice_type":"Individual",
    "company_name":"Minted LTD",
    "tax_office":"Test",
    "tax_number": "1234567",
    "type": "billing",
    "city": "İstanbul",
    "county": "Beykoz",
    "district": "Acarlar Mah.",
    "street":"Sokak adı",
    "address": "54 sok. No: 12"
}'

Responses

🟢200Success
application/json
Body
data
object 
required
type
enum<string> 
required
Allowed values:
billingshipping
invoice_type
enum<string> 
required
Allowed values:
IndividualCorporate
tax_office
string 
optional
tax_number
string 
required
Identity number / Tax no
city
string 
required
county
string 
required
district
string 
optional
street
string 
optional
address
string 
required
customer_id
integer 
required
id
integer 
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "invoice_type": "Corporate",
        "company_name": "Minted LTD",
        "tax_office": "Test",
        "tax_number": "1234567",
        "type": "billing",
        "city": "İstanbul",
        "county": "Beykoz",
        "district": "Acarlar Mah.",
        "street": "Sokak adı",
        "address": "54 sok. No: 12",
        "customer_id": 421,
        "id": 8
    },
    "success": true,
    "code": 0,
    "message": ""
}
🟠401Unauthorized
Previous
Customer Address - Create (Shipping)
Next
Customer Address - Create Multiple
Built with