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 Multiple

Developing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
POST
https://api.staging.mintedconnect.com
/partner/customer/address/createmulti
Last modified:2024-08-11 13:00:20
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
billing
object 
required
id
integer 
required
type
enum<string> 
required
Allowed values:
billingshipping
fullname
string 
optional
city
string 
required
county
string 
required
district
string 
optional
street
string 
optional
address
string 
required
zipcode
string 
optional
shipping
object 
required
id
integer 
required
type
enum<string> 
required
Allowed values:
billingshipping
invoice_type
enum<string> 
required
Allowed values:
IndividualCorporate
customer_id
integer 
required
fullname
string 
optional
company_name
string 
optional
city
string 
required
county
string 
required
district
string 
optional
street
string 
optional
address
string 
required
zipcode
string 
optional
tax_office
string 
optional
tax_number
string 
required
Identity number / Tax no
Example
{
    "external_customer_id": "{{external_customer_id}}",
    "shipping": {
        "city": "İstanbul",
        "county": "Beykoz",
        "district": "Acarlar Mah.",
        "street": "Sokak adı",
        "address": "54 sok. No: 12"
    },
    "billing": {
        "invoice_type": "Individual",
        "company_name": "Minted LTD",
        "city": "İstanbul",
        "county": "Beykoz",
        "district": "Acarlar Mah.",
        "street": "Sokak adı",
        "address": "54 sok. No: 12",
        "tax_number": "2838293932"
    }
}

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

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "data": [
        {
            "id": 5,
            "type": "billing",
            "invoice_type": "Individual",
            "customer_id": 421,
            "fullname": "hasan rıza uzuner",
            "company_name": "",
            "city": "ANTALYA",
            "county": "DEMRE",
            "district": "YEŞİL DÜŞMÜŞ MAH",
            "street": "",
            "zipcode": "",
            "address": "açık adres",
            "tax_office": "",
            "tax_number": ""
        },
        {
            "id": 6,
            "type": "shipping",
            "fullname": null,
            "city": "ANTALYA",
            "county": "DEMRE",
            "district": "YEŞİL DÜŞMÜŞ MAH",
            "street": "",
            "zipcode": "",
            "address": "açık adres"
        },
        {
            "id": 8,
            "type": "billing",
            "invoice_type": "Individual",
            "customer_id": 421,
            "fullname": null,
            "company_name": "Minted LTD",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "street": "Sokak adı",
            "zipcode": null,
            "address": "54 sok. No: 12",
            "tax_office": "Test",
            "tax_number": "1234567"
        },
        {
            "id": 9,
            "type": "billing",
            "invoice_type": "Individual",
            "customer_id": 421,
            "fullname": null,
            "company_name": "Minted LTD",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "street": "Sokak adı",
            "zipcode": null,
            "address": "54 sok. No: 12",
            "tax_office": null,
            "tax_number": "2838293932"
        },
        {
            "id": 10,
            "type": "shipping",
            "fullname": null,
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "street": "Sokak adı",
            "zipcode": null,
            "address": "54 sok. No: 12"
        }
    ],
    "success": true,
    "code": 0,
    "message": ""
}
🟠401Unauthorized
Previous
Customer Address - Create (Billing)
Next
Get Basket
Built with