Skip to main content
PATCH
/
dev
/
v1
/
products
/
bulk
Bulk update products
curl --request PATCH \
  --url https://api.shoppex.io/dev/v1/products/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "product_ids": [
    "prod_1",
    "prod_2"
  ],
  "update": {
    "sort_priority": 7,
    "on_hold": true
  }
}
'
{
  "data": {
    "updated_count": 2,
    "product_ids": [
      "prod_1",
      "prod_2"
    ]
  }
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response

data
object