Skip to main content
PUT
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
products
/
reorder
Reorder Shop Products
curl --request PUT \
  --url https://api.getscale.ng/api/v1/hub/shop/{shopId}/products/reorder \
  --header 'Content-Type: application/json' \
  --header 'X-Shop-API-Key: <x-shop-api-key>' \
  --data '
{
  "orders": [
    {
      "productId": 123,
      "sortOrder": 123
    }
  ]
}
'
{
  "status": "success",
  "message": "Shop products order updated successfully"
}
Configures display sorting orders on general product listings catalog.

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.

Request Body (JSON)

orders
object[]
required
General shop product sorting configurations.
{
  "status": "success",
  "message": "Shop products order updated successfully"
}