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.
Important - Response Structure Varies:
search parameter: Returns a direct array [...]search parameter: Returns {product: [...]}product_id or sku: Returns {product: {...}}Basic Authentication with API Keys
The Quickbutik API uses Basic Authentication where you use your API key as both the username and password.
How it works:
api_key:api_key (using the SAME API key for both username and password)Authorization: Basic ENCODED_STRINGExample:
sk_live_abc123sk_live_abc123:sk_live_abc123c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=Authorization: Basic c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=cURL Example:
curl https://api.quickbutik.com/v1/orders -u your_api_key:your_api_key
All API requests must be made over HTTPS. Requests made over HTTP will be rejected.
API keys can be generated in the Quickbutik Control Panel under Settings → API.
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.
Note: When this parameter is used, the response returns a direct array instead of the usual {product: [...]} wrapper.
"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 <= 500The 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 >= 0Indicates whether or not details are returned. When true, includes additional information such as images, categories, metadata, and product package components for bundled products. Default is false for multiple items, true for single items
Product(s) retrieved successfully
Response structure when fetching by product_id/sku or without search parameter. Returns object with 'product' key containing either a single product or array of products.