Skip to main content
POST
Bulk update product category
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 | null
required
Example: