Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
{
"customer": {
"external_id": "{{customer_external_id}}",
"firstname": "John",
"lastname": "Due",
"phone": "+905180001923",
"email": "[email protected]"
},
"external_id": "{% faker datatype.uuid %}",
"sku": "GAU",
"amount": 3,
"address": {
"billing": {
"company_name": "Şirket Adı",
"fullname": "John Due",
"invoice_type": "Individual",
"city": "İstanbul",
"county": "Beykoz",
"district": "Acarlar Mah.",
"address": "No: 37/4"
},
"shipping": {
"company_name": "Şirket Adı",
"fullname": "John Due",
"city": "İstanbul",
"county": "Beykoz",
"district": "Acarlar Mah.",
"address": "No: 37/4"
}
}
}
curl --location --request POST 'https://api.staging.mintedconnect.com/partner/delivery/create' \
--header 'x-client-id;' \
--header 'api-version: 3' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer": {
"external_id": "",
"firstname": "John",
"lastname": "Due",
"phone": "+905180001923",
"email": "[email protected]"
},
"external_id": "{% faker datatype.uuid %}",
"sku": "GAU",
"amount": 3,
"address": {
"billing": {
"company_name": "Şirket Adı",
"fullname": "John Due",
"invoice_type": "Individual",
"city": "İstanbul",
"county": "Beykoz",
"district": "Acarlar Mah.",
"address": "No: 37/4"
},
"shipping": {
"company_name": "Şirket Adı",
"fullname": "John Due",
"city": "İstanbul",
"county": "Beykoz",
"district": "Acarlar Mah.",
"address": "No: 37/4"
}
}
}'
{
"data": {
"id": 1089,
"guid": "1C19F9BD-2FCB-47C6-BC32-126CE4288C85",
"order_code": "RHI1GCW3",
"external_id": null,
"channel": "web",
"tx_type": "delivery",
"price_token": null,
"price": 70.01,
"tax": 0,
"total": 70.01,
"currency_rate": 1,
"currency_total": 70.01,
"status_id": 1,
"status_name": "Created",
"order_at": "2023-12-11T11:21:46+03:00",
"items": [
{
"item_currency_id": 1000004,
"item_currency_name": "Gold",
"product_id": 3000001,
"product_name": "Gold - Digital storage",
"product_weight": 1,
"spot_price": 0,
"price": 0,
"tax_rate": 0,
"tax": 0,
"amount": 3,
"total": 70.01,
"currency_id": 1000003,
"currency_rate": 1,
"currency_total": 70.01
}
],
"customer": {
"external_id": "1710174559",
"firstname": "Enver Engin",
"middlename": null,
"lastname": "Bütün",
"fullname": "Enver Engin Bütün",
"email": "[email protected]",
"phone": "+902123001203",
"gender": "M",
"identity_number": "21169718780",
"birthdate": "1985-08-02"
}
},
"success": true,
"code": 0,
"message": ""
}