Commerce
Get v1commerceanalyticsinventory turnover
GET
/
v1
/
commerce
/
analytics
/
inventory-turnover
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/analytics/inventory-turnoverconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/analytics/inventory-turnover', 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/inventory-turnover"
response = requests.get(url)
print(response.text){
"items": [
{
"category": "<string>",
"product_id": "<string>",
"stock_qty": 123,
"title": "<string>",
"turnover_ratio": 123,
"units_sold": 123
}
]
}{
"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/analytics/inventory-turnoverconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/analytics/inventory-turnover', 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/inventory-turnover"
response = requests.get(url)
print(response.text){
"items": [
{
"category": "<string>",
"product_id": "<string>",
"stock_qty": 123,
"title": "<string>",
"turnover_ratio": 123,
"units_sold": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}