Skip to main content

Örnek İptal Sipariş Gövdesi

YS tarafından iptal edilen bir siparişin örnek webhook gövdesi şu şekildedir:

{
"order_id": "73ed46fc-2333-4057-afaf-95565f667497",
"external_order_id": "q96w-f8go",
"order_code": "52",
"client":
{
"id": "21571",
"chain_id": "243cf05a-68f4-4909-901f-ccb290350414",
"name": "BiSU - q96w, 4CTXJV",
"country_code": "tr",
"store_id": "q96w",
"external_partner_config_id": "q96w"
},
"customer":
{
"_id": "trcwhq72",
"national_id": "",
"tax_id": "",
"first_name": "Ali",
"last_name": "Veli",
"phone_number": "+905399999999",
"delivery_address":
{
"country": "",
"city": "",
"street": "Toygarçeşme Sk.",
"number": "No: 7",
"latitude": 41.01864465,
"longitude": 29.07585684,
"company": "",
"block": "",
"building": "",
"apartment": "",
"entrance": "15",
"intercom": "",
"floor": "6",
"suburb": "Bulgurlu Mah. Üsküdar",
"zipcode": "",
"instructions": "15 | Bulgurlu mahallesi toygar çeşmesi sokak Hızır apt no 7 daire 15 Üsküdar bulgurlu\n Temassız teslimat - bu siparişi müşterinin kapısına bırakın",
"formattedAddress": ""
}
},
"comment": "- ** ÇATAL-BIÇAK GÖNDERMEYİN\n Online Kredi/Banka Kartı",
"items":
[
{
"_id": "503b2d4d-404c-4fcf-b26a-f0b5a3d82205",
"sku": "hvgep7d5d3",
"barcode":
[
"01172000003425"
],
"name": "Sırma Damacana Su 19 L",
"pricing":
{
"pricing_type": "UNIT",
"unit_price": 66,
"vat_percent": 0,
"total_price": 66,
"quantity": 1,
"min_quantity": 0,
"max_quantity": 1
},
"original_pricing":
{
"pricing_type": "UNIT",
"unit_price": 66,
"vat_percent": 0,
"total_price": 66,
"quantity": 1,
"min_quantity": 0,
"max_quantity": 1
},
"container_deposit": 0,
"discount": 0,
"instructions": "",
"status": "IN_CART"
}
],
"order_type": "DELIVERY",
"transport_type": "VENDOR_DELIVERY",
"payment":
{
"sub_total": 66,
"order_total": 66,
"delivery_fee": 0,
"service_fee": 0,
"difference_to_minimum": 0,
"discounts":
[],
"discount": 0,
"container_charge": 0,
"total_taxes": 0,
"type": "PAID"
},
"cancellation":
{
"reason": "NEVER_DELIVERED",
"cancelled_by": "VENDOR"
},
"status": "CANCELLED",
"sys":
{
"created_at": "2023-08-10T15:31:56.264995433Z",
"created_by": "Order Fulfilment",
"updated_at": "2023-08-10T15:31:56.26505673Z",
"updated_by": "Order Fulfilment",
"webhook_status": "",
"update_status": "SENT_TO_PARTNER"
},
"accepted_for": "2023-08-08T18:02:29Z",
"isPreorder": false
}