Skip to main content
POST
/
products
/
bulk
/
category
Bulk update product category
curl --request POST \
  --url https://api.salesive.com/api/v1/products/bulk/category \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "productIds": [
    "66a1f2c4e1b3a40012ab34cd",
    "66a1f2c4e1b3a40012ab34ce"
  ],
  "category": "66a1f0aae1b3a40012ab1100"
}
'
{
  "status": 200,
  "success": true,
  "message": "Bulk update product category",
  "data": {}
}
Assigns the given category to multiple products in the store at once. The response message states how many were updated; no data payload is returned. Requires the WRITE_INVENTORY scope.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Body

application/json
productIds
string[]
required

Array of product ObjectIds (at least one).

category
string
required

Category ObjectId to assign to all listed products.

Response

Bulk update product category — success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Bulk update product category"

data
object
required
Example:
{}