Skip to main content
PATCH
/
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": [
    "<string>"
  ],
  "update": {
    "price": 1,
    "currency": "<string>",
    "stock": 123,
    "unlisted": true,
    "private": true,
    "on_hold": true,
    "sort_priority": 123
  }
}
'
{
  "data": {
    "updated_count": 123,
    "product_ids": [
      "<string>"
    ]
  }
}

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 to update

Required array length: 1 - 100 elements
update
object
required

Response

Default Response

data
object