Skip to main content
PATCH
Rename Product Group
Subtotal Connector tool: rename_product_group Renames a group; its products stay in it. A name another of your groups uses returns 409, and a group that isn’t yours returns 404, like an unknown id. 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

Create / rename body (ENG-3282). Stripped first so a whitespace-only name cannot satisfy min_length.

name
string
required
Required string length: 1 - 60

Response

Successful Response

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