Commerce
List products
List products.
Newest first. Archived products only with status=ARCHIVED.
status?stringValue in
"DRAFT""ACTIVE""ARCHIVED"q?stringlimit?integerRange
1 <= value <= 100Default
25cursor?stringThe next_cursor of the previous page. Opaque; one that does not decode is 400 invalid_cursor.
X-Request-Id?stringYour id for this request; it becomes the request_id of any error. Without it the server makes one.
curl -X GET 'https://v3.ghala.io/v1/commerce/shop/products'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "price": "string", "stock": 0, "unit": "PIECE", "status": "DRAFT", "is_active": true, "product_type": "PHYSICAL", "category": "FOOD", "images": [ "string" ], "tags": [ "string" ], "digital_asset_url": "string", "digital_asset_filename": "string", "variants": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "price": "1500.00", "stock": 0, "is_active": true } ] } ], "next_cursor": "string", "has_more": true}