curl --location --request GET 'https://dev-api.inwantaiwan.com/api/cms/v3/order/12' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": 201,
"code": "ORD1741579884",
"user": {
"id": 174,
"name": "RESS ab040388 siti",
"type": "reseller",
"cancel_count": 7
},
"status": "cancelled",
"oddo_number": null,
"referral_code": null,
"notes": "",
"admin_notes": "",
"cancelled_reason": "SALAH ORDER",
"shipping_address": {
"id": 52,
"name": "Novita",
"code": "",
"phone": "",
"phone_number": "",
"address": "(7-11) 苗栗縣後龍鎮新民里中心路122.122-1.122-2.122-3號 (新港庄門市) 229182",
"image": "https://inwantaiwan.b-cdn.net/live/1000169416.jpg",
"type": "mini_mart",
"status": "approved",
"notes": null
},
"items": [
{
"id": 224,
"name": "INDOMIE",
"quantity": 2,
"sku": "FIF0080",
"image": "https://inwantaiwan.b-cdn.net/live/1739605177770.jpeg",
"price": 12,
"final_price": 12,
"total": 24,
"options": [
{
"id": 1250,
"name": "AYAM SPESIAL"
}
]
},
{
"id": 225,
"name": "ABC SAMBAL SAOS ASLI 335ML",
"quantity": 1,
"sku": "FCS0340",
"image": "https://inwantaiwan.b-cdn.net/live/1739607696690.jpeg",
"price": 70,
"final_price": 70,
"total": 70,
"options": [
{
"id": 1311,
"name": "_default"
}
]
},
{
"id": 226,
"name": "PAKET INDOMIE CAMPUR 1/2 DUS",
"quantity": 1,
"sku": "FPACK124",
"image": "https://inwantaiwan.b-cdn.net/live/1739942641125.jpeg",
"price": 220,
"final_price": 220,
"total": 220,
"options": [
{
"id": 1664,
"name": "_default"
},
{
"id": 1664,
"name": "_default"
}
]
},
{
"id": 217,
"name": "MIE SEDAP INSTAN",
"quantity": 10,
"sku": "FIF0550",
"image": "https://inwantaiwan.b-cdn.net/live/1739604375473.jpeg",
"price": 12,
"final_price": 12,
"total": 120,
"options": [
{
"id": 3950,
"name": "KOREAN SPICY GORENG"
}
]
},
{
"id": 218,
"name": "CUANKI SOTO",
"quantity": 2,
"sku": "FIF0690",
"image": "https://inwantaiwan.b-cdn.net/live/1741575446121.jpeg",
"price": 100,
"final_price": 100,
"total": 200,
"options": [
{
"id": 3952,
"name": "_default"
}
]
},
{
"id": 219,
"name": "GANGSAR KACANG ATOM ORIGINAL 140G",
"quantity": 1,
"sku": "FPACK071",
"image": "https://inwantaiwan.b-cdn.net/live/1739603976742.jpeg",
"price": 100,
"final_price": 100,
"total": 100,
"options": [
{
"id": 1169,
"name": "PAKET 3 BUNGKUS GANGSAR"
}
]
},
{
"id": 220,
"name": "KHALAS BUAH KURMA 500G(BIG)",
"quantity": 1,
"sku": "FPC0290",
"image": "https://inwantaiwan.b-cdn.net/live/1739604232873.jpeg",
"price": 150,
"final_price": 99,
"total": 99,
"options": [
{
"id": 4252,
"name": "_default"
}
]
},
{
"id": 221,
"name": "INDOMIE",
"quantity": 3,
"sku": "FIF0040",
"image": "https://inwantaiwan.b-cdn.net/live/1739605177770.jpeg",
"price": 12,
"final_price": 12,
"total": 36,
"options": [
{
"id": 1247,
"name": "KALDU AYAM"
}
]
},
{
"id": 222,
"name": "INDOMIE",
"quantity": 3,
"sku": "FIF0060",
"image": "https://inwantaiwan.b-cdn.net/live/1739605177770.jpeg",
"price": 12,
"final_price": 12,
"total": 36,
"options": [
{
"id": 1248,
"name": "SOTO MIE"
}
]
},
{
"id": 223,
"name": "INDOMIE",
"quantity": 2,
"sku": "FIF0070",
"image": "https://inwantaiwan.b-cdn.net/live/1739605177770.jpeg",
"price": 12,
"final_price": 12,
"total": 24,
"options": [
{
"id": 1249,
"name": "AYAM BAWANG"
}
]
},
{
"id": 227,
"name": "PAKET SEBLAK BETON 3PC",
"quantity": 1,
"sku": "FPACK001",
"image": "https://inwantaiwan.b-cdn.net/live/1739866367681.jpeg",
"price": 88,
"final_price": 88,
"total": 88,
"options": [
{
"id": 1607,
"name": "_default"
},
{
"id": 1607,
"name": "_default"
}
]
},
{
"id": 228,
"name": "PAKET PILUS NGEBUT (3PC)",
"quantity": 1,
"sku": "FPACK130",
"image": "https://inwantaiwan.b-cdn.net/live/1739942940289.jpeg",
"price": 88,
"final_price": 88,
"total": 88,
"options": [
{
"id": 1669,
"name": "_default"
},
{
"id": 1669,
"name": "_default"
}
]
},
{
"id": 229,
"name": "PAKET SAMBAL TERASI ABC SASET (2 PCS)",
"quantity": 2,
"sku": "FPACK146",
"image": "https://inwantaiwan.b-cdn.net/live/1739943347738.jpeg",
"price": 130,
"final_price": 130,
"total": 260,
"options": [
{
"id": 1676,
"name": "_default"
},
{
"id": 1676,
"name": "_default"
}
]
}
],
"payment": {
"total_discount": 0,
"method": {
"type": "other",
"name": "COD",
"image": null,
"status": "waiting_payment",
"rejected_reason": null,
"approved_by": null,
"approved_at": null
},
"summary": {
"total": 1365,
"subtotal": 1365,
"shipping": {
"subtotal": 59,
"discount": 59
},
"total_discount_product": 51,
"deducted_point": 0,
"product_subtotal": 1365,
"service_fee": 0
}
},
"status_logs": [
{
"status": "created_at",
"date": "2025-03-10T04:11:24.000000Z"
},
{
"status": "cancelled_at",
"date": "2025-03-10T04:48:16.000000Z"
}
],
"discounts": [
{
"id": 236,
"type": "delivery",
"discountable_id": null,
"total": 59
},
{
"id": 237,
"type": "App\\Models\\ProductVariant",
"discountable_id": 4002,
"total": 0
},
{
"id": 238,
"type": "App\\Models\\ProductVariant",
"discountable_id": 4004,
"total": 0
},
{
"id": 239,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1406,
"total": 0
},
{
"id": 240,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1407,
"total": 51
},
{
"id": 241,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1469,
"total": 0
},
{
"id": 242,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1470,
"total": 0
},
{
"id": 243,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1471,
"total": 0
},
{
"id": 244,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1472,
"total": 0
},
{
"id": 245,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1524,
"total": 0
},
{
"id": 246,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1835,
"total": 0
},
{
"id": 247,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1778,
"total": 0
},
{
"id": 248,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1840,
"total": 0
},
{
"id": 249,
"type": "App\\Models\\ProductVariant",
"discountable_id": 1847,
"total": 0
}
],
"invoice_query": {
"expires": "1758806607",
"signature": "3743b70a30d12ca591228765bc6a3d804eff2c3ad986edfb28061b6f05f3de08"
},
"discount": null,
"can_return": false,
"platform": "android"
},
"links": {
"first": 199,
"last": 2950,
"next": 202,
"previous": 200,
"current": 3,
"total": 2726
}
}