List products (admin)
GET
header
x-api-key<token>Organization-scoped API key with scope metadata.
page?integerRange
0 < value <= 9007199254740991perPage?integerRange
0 < value <= 200search?stringsortField?stringsortDirection?stringValue in
"asc""desc"Success
application/json- response
items*array<>total*numberpage*numberperPage*numberhasMore*booleancurl -X GET 'https://api-prood.vercel.app/v1/admin/products'Example Response
{ "items": [ { "id": "string", "sku": "string", "name": { "property1": "string", "property2": "string" }, "slug": "string", "description": { "property1": "string", "property2": "string" }, "shortDescription": { "property1": "string", "property2": "string" }, "price": { "amount": 0, "currency": "string", "formatted": "string", "originalAmount": 0, "discountPercent": 0 }, "primaryImage": { "url": "string", "alt": "string", "width": 0, "height": 0 }, "gallery": [ { "url": "string", "alt": "string", "width": 0, "height": 0 } ], "rating": { "average": 0, "count": 0 }, "variants": [ { "id": "string", "sku": "string", "name": { "property1": "string", "property2": "string" }, "price": { "amount": 0, "currency": "string", "formatted": "string", "originalAmount": 0, "discountPercent": 0 }, "inStock": true, "inventoryQuantity": 0 } ], "attributes": [ { "code": "string", "name": { "property1": "string", "property2": "string" }, "value": { "property1": "string", "property2": "string" } } ], "quantityLimit": 0, "categories": [ { "id": "string", "name": { "property1": "string", "property2": "string" }, "slug": "string", "description": { "property1": "string", "property2": "string" }, "image": { "url": "string", "alt": "string", "width": 0, "height": 0 }, "parentId": "string", "productCount": 0 } ], "inStock": true, "vatIncluded": true, "vatRate": 0, "tags": [ "string" ], "createdAt": "string", "updatedAt": "string", "productType": "physical", "requiresShipping": true, "isDropshipped": true, "status": "string" } ], "total": 0, "page": 0, "perPage": 0, "hasMore": true}