Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
{
"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"
}
}
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"
}
}'
{
"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": ""
}