Product Customer-Group Prices — Update (GraphQL)
Updates an existing customer-group (tier) price row. This is a parent-scoped mutation — pass the product as the productId argument and the row IRI as input.id. Send only the fields you want to change. The new qty / customerGroupId combination must remain unique for the product. A null customerGroupId makes the price apply to every customer group.
See the Products overview for how the catalog product menu fits together.
Input
| Field | Type | Required | Notes |
|---|---|---|---|
productId | Int! | yes | Argument — parent product. |
id | ID! | yes | Tier-price row IRI. |
qty | Int | no | Quantity threshold (greater than or equal to 1). |
valueType | String | no | fixed or discount. |
value | Float | no | Price or discount value. |
customerGroupId | Int | no | null applies the price to every group. |

