Reorder Products in a Category

Changes the order of products within one category. Requires a producer access token for the application.

You only list the products you want to move, not every product in the category. Each entry has a product_id and an optional zero-based position, and the entries are applied in list order. An entry without a position sends that product to the end. Products you don't list keep their relative order, and a product's position in any other category is not affected. Every product_id must already be in this category.

The response lists every product in the category with its display_order.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The client ID of the application.

uuid
required

The ID of the category.

Body Params
products
array of objects
required
length ≥ 1

The products to move, in the order to apply them.

products*
uuid
required

The ID of a product that is already in this category.

integer | null
≥ 0

Zero-based position to move the product to. If omitted, the product goes to the end.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json