Skip to main content
PATCH
/
products
/
order
Reorder products
curl --request PATCH \
  --url https://api.shoppex.io/dev/v1/products/order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "product_ids": [
    "<string>"
  ]
}
'
{
  "data": {
    "updated_count": 123
  }
}

Authorizations

Authorization
string
header
required

Use your API key with the Bearer scheme. Get your key from Dashboard → Settings → API Keys. Format: Authorization: Bearer shx_...

Body

application/json
product_ids
string[]
required

Array of product uniqids in desired order (first = highest priority)

Required array length: 1 - 500 elements

Response

Default Response

data
object