Skip to main content
PUT
Update Product Group Products
Subtotal Connector tool: update_product_group_products Adds and removes products in one call, up to 500 product ids each. Adding a product already in the group, or removing one that isn’t, changes nothing. Only products from your brand catalog can be added. If any product to add isn’t in it, the call returns 404 and nothing changes. Call it with your API key, or with a Subtotal Connector OAuth token that includes product_groups:write. A token without it receives 403 insufficient_scope. Partner app tokens don’t include it.

Headers

authorization
string | null
x-api-key
string | null

Path Parameters

product_group_id
string
required

The group's product_group_id

Body

application/json

One membership edit: products to add and/or remove. Adds are idempotent; removes of non-members are no-ops.

add
string[]
Maximum array length: 500
remove
string[]
Maximum array length: 500

Response

Successful Response

product_group_id
string
required
name
string
required
product_count
integer
required
creation_date
string<date-time>
required