Skip to main content
POST
/
collections
/
{collection_id}
/
revert
Error
A valid request URL is required to generate request examples
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

collection_id
string
required

Query Parameters

merchant_id
string
required

Body

application/json
sort_order
enum<string>
required
Available options:
ALPHA_ASC,
ALPHA_DESC,
BEST_SELLING,
CREATED,
CREATED_DESC,
MANUAL,
PRICE_ASC,
PRICE_DESC
pinned_main_product_ids
string[]
required

Response

Successful Response