Product List

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 NameData TypeDescription
dataArrayList of product categories and products
data.categoryNameStringCategory name
data.categoryIdNumberCategory ID
data.productsArrayList of products in the category
data.products.productNameStringProduct name
data.products.productCodeString?Product code
data.products.productUnitsArrayList of product units
data.products.productUnits.unitNameStringUnit name (Tam, adet, etc.)
data.products.productUnits.pricesArrayPrice list
data.products.productUnits.prices.priceNumberPrice
data.products.productUnits.prices.orderTypeNumberOrder type
data.products.productUnits.productUnitIdNumberProduct unit ID
data.products.productUnits.isDefaultBooleanWhether it is the default unit
data.products.productIdNumberProduct ID
data.products.taxRateNumberTax rate
data.products.isStockFollowBooleanWhether stock tracking is performed
data.products.stockListArray?Stock list (by sales channel)
data.products.stockList.stockQuantityNumberStock quantity
data.products.stockList.salesChannelStringSales channel for which stock quantity is given
data.products.menusArrayMenu list
statusNumberResponse Codes
messageStringOperation result message