Stock

Get Stock List

Get the stock status and quantity of all available variants

get/v1/stock

Request

  • Base URL: https://api.roastify.app
  • URL: https://api.roastify.app/v1/stock
  • Auth: API key in header x-api-key

Response

Returns the stock list

skustring required

The SKU of the variant

stockQtynumber required

The stock quantity of the variant. If the quantity is 999, it means the stock is considered unlimited.

inStockboolean required

Boolean indicating whether the variant is in stock

Example response

[
  {
    "sku": "COF-GND-12O-FHV-BOX",
    "stockQty": 100,
    "inStock": true
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.