Product List
GET /Products
Lists the product list of the restaurant in Adisyo
Example Request
Product list
curl -X GET "https://ext.adisyo.com/api/External/v2/Products" \
--header "x-api-key: ..." \
--header "x-api-secret: ..." \
--header "x-api-consumer: ..."Request Parameters
This method does not require any additional parameters
Example Response
Product list
{
"data": [
{
"categoryName": "FIRINDAN",
"categoryId": 206669,
"products": [
{
"productName": "LAHMACUN",
"productCode": null,
"productUnits": [
{
"unitName": "Tam",
"prices": [
{
"price": 0,
"orderType": 1
},
{
"price": 0,
"orderType": 3
},
{
"price": 0,
"orderType": 5
}
],
"productUnitId": 2482507,
"isDefault": true
}
],
"productId": 2336571,
"taxRate": 10,
"isStockFollow": false,
"stockList": null,
"menus": []
},
{
"productName": "ADANA",
"productCode": null,
"productUnits": [
{
"unitName": "Tam",
"prices": [
{
"price": 0,
"orderType": 1
},
{
"price": 0,
"orderType": 3
},
{
"price": 0,
"orderType": 5
}
],
"productUnitId": 2482508,
"isDefault": true
}
],
"productId": 2336572,
"taxRate": 10,
"isStockFollow": false,
"stockList": null,
"menus": []
},
{
"productName": "HATAY DÖNER",
"productCode": null,
"productUnits": [
{
"unitName": "adet",
"prices": [
{
"price": 0,
"orderType": 1
},
{
"price": 0,
"orderType": 3
},
{
"price": 0,
"orderType": 5
}
],
"productUnitId": 2112388,
"isDefault": true
}
],
"productId": 1994344,
"taxRate": 10,
"isStockFollow": false,
"stockList": null,
"menus": []
},
{
"productName": "HAMBURGER",
"productCode": null,
"productUnits": [
{
"unitName": "adet",
"prices": [
{
"price": 0,
"orderType": 1
},
{
"price": 0,
"orderType": 3
},
{
"price": 0,
"orderType": 5
}
],
"productUnitId": 2112392,
"isDefault": true
}
],
"productId": 1994348,
"taxRate": 10,
"isStockFollow": false,
"stockList": null,
"menus": []
}
]
},
{
"categoryName": "BURGER MENÜLER",
"categoryId": 262361,
"products": [
{
"productName": "BURGER MENÜ",
"productCode": null,
"productUnits": [
{
"unitName": "adet",
"prices": [
{
"price": 114,
"orderType": 1
},
{
"price": 130,
"orderType": 3
},
{
"price": 114,
"orderType": 5
}
],
"productUnitId": 2953377,
"isDefault": true
}
],
"productId": 2767349,
"taxRate": 10,
"isStockFollow": false,
"stockList": null,
"menus": []
},
{
"productName": "DOUBLE BURGER MENÜ",
"productCode": null,
"productUnits": [
{
"unitName": "adet",
"prices": [
{
"price": 154,
"orderType": 1
},
{
"price": 170,
"orderType": 3
},
{
"price": 154,
"orderType": 5
}
],
"productUnitId": 2953379,
"isDefault": true
}
],
"productId": 2767351,
"taxRate": 10,
"isStockFollow": false,
"stockList": [
{
"stockQuantity": 0.0,
"salesChannel": "Ana Kanal"
},
{
"stockQuantity": 0.0,
"salesChannel": "Pazar yerleri"
}
],
"menus": []
}
]
}
],
"status": 100,
"message": "İşlem Başarılı."
}Response Parameters
| Parameter Name | Data Type | Description |
|---|---|---|
data | Array | List of product categories and products |
data.categoryName | String | Category name |
data.categoryId | Number | Category ID |
data.products | Array | List of products in the category |
data.products.productName | String | Product name |
data.products.productCode | String? | Product code |
data.products.productUnits | Array | List of product units |
data.products.productUnits.unitName | String | Unit name (Tam, adet, etc.) |
data.products.productUnits.prices | Array | Price list |
data.products.productUnits.prices.price | Number | Price |
data.products.productUnits.prices.orderType | Number | Order type |
data.products.productUnits.productUnitId | Number | Product unit ID |
data.products.productUnits.isDefault | Boolean | Whether it is the default unit |
data.products.productId | Number | Product ID |
data.products.taxRate | Number | Tax rate |
data.products.isStockFollow | Boolean | Whether stock tracking is performed |
data.products.stockList | Array? | Stock list (by sales channel) |
data.products.stockList.stockQuantity | Number | Stock quantity |
data.products.stockList.salesChannel | String | Sales channel for which stock quantity is given |
data.products.menus | Array | Menu list |
status | Number | Response Codes |
message | String | Operation result message |