Get products
Fetch products in store with optional filtering. When no specific product_id or sku is provided, the following filters can be used to search and filter products.
Authorizations
API key authentication using Basic Auth. Use your API key as both username and password. See the Authentication guide for complete setup instructions.
Query Parameters
Product ID(s) to fetch. Can be a single ID or comma-separated list of IDs
"123,456,789"
Product SKU(s) to fetch. Can be a single SKU or comma-separated list of SKUs
"T-SHIRT-123,HOODIE-456"
Search products by title, description, SKU, or variant SKU
"cotton t-shirt"
Filter products by category ID(s). Can be a single ID or comma-separated list of IDs
"1,2,3"
Filter products by visibility status
true
Filter products modified since this date (UNIX timestamp)
1596097247
Field to sort products by
id
, title
, price
, qty
, sku
, visits
, purchase_price
Sort direction
asc
, desc
The maximum number of rows returned. The default is 100, and the value may not exceed 500
1 <= x <= 500
The amount of rows to skip before returning. This can be used to loop through all objects if there are more than the limit allows to be returned
x >= 0
Indicates whether or not details are returned. Default is false for multiple items, true for single items
Response
Product(s) retrieved successfully
The response is of type object
.