Get order items
The method allows you to get information about the items in the shopping cart sent to you in messages
Last updated
curl --request GET \
--url 'https://gate.whapi.cloud/business/orders/your-order-id?order_token=order-token&token=your-channel-token' \
--header 'accept: application/json'{
"messages": [
{
"id": "7GZVXunkHjZaIOgEgWPPrw-gDMTwl0rVw",
"from_me": false,
"type": "order",
"chat_id": "919984351847@s.whatsapp.net",
"timestamp": 1713264543,
"source": "mobile",
"order": {
"order_id": "964278151888836",
"seller": "61371989950",
"title": "Jonathan",
"token": "AR4ToE6jF7HwiKY8cUChFb+h6Blgb0sbRMOY3vwRHhsaeg==",
"item_count": 3,
"currency": "AUD",
"total_price": 359,
"status": "new",
"preview": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQAB......"
},
"from": "919984351847",
"from_name": "Gerald"
}
],
"event": {
"type": "messages",
"event": "post"
},
"channel_id": "MANTIS-M72HC"
}