Commerce
Get v1commerceorders whatsapp messages
GET
/
v1
/
commerce
/
orders
/
{orderID}
/
whatsapp-messages
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/orders/{orderID}/whatsapp-messagesconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/orders/{orderID}/whatsapp-messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/orders/{orderID}/whatsapp-messages"
response = requests.get(url)
print(response.text){
"fulfillment_update": "<string>",
"order_confirmation": "<string>",
"order_summary": "<string>",
"payment_reminder": "<string>",
"booking_reminder": "<string>",
"booking_reschedule": "<string>",
"shipping_tracking": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/orders/{orderID}/whatsapp-messagesconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/orders/{orderID}/whatsapp-messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/orders/{orderID}/whatsapp-messages"
response = requests.get(url)
print(response.text){
"fulfillment_update": "<string>",
"order_confirmation": "<string>",
"order_summary": "<string>",
"payment_reminder": "<string>",
"booking_reminder": "<string>",
"booking_reschedule": "<string>",
"shipping_tracking": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}