Commerce
Get v1commerceanalyticsrecent orders
GET
/
v1
/
commerce
/
analytics
/
recent-orders
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/analytics/recent-ordersconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/analytics/recent-orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/analytics/recent-orders"
response = requests.get(url)
print(response.text){
"items": [
{
"contact_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"status": "<string>",
"total_amount": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Response
OK
Show child attributes
Show child attributes
⌘I
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/analytics/recent-ordersconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/analytics/recent-orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/analytics/recent-orders"
response = requests.get(url)
print(response.text){
"items": [
{
"contact_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"status": "<string>",
"total_amount": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}