Skip to content

List of products order in category

Request

Retrieves products and their priorities within a category.

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
categoryGuidstringrequired

Product category.

Example:5c498fb7-70ac-11e9-9208-08002774f818
Query
itemsPerPageinteger

Returned items per page. Default value is 500. Max value is 2000.

Example:itemsPerPage=888
pageinteger

Page number to return. Default value is 1.

Example:page=3
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X GET \
  'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/categories/5c498fb7-70ac-11e9-9208-08002774f818/productsPriority?itemsPerPage=888&page=3' \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
dataobjectrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": { "categoryProducts": [ … ], "paginator": { … } }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }