- 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
Customer Address - Create Multiple
Developing
Testing Env
Testing Env
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:
web
api-version
string
optional
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
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
Modified at 2024-08-11 13:00:20