Product Customer-Group Prices — Create
Adds a new tier-price row to a product.
Endpoint
| Endpoint | Method |
|---|---|
/api/admin/catalog/products/{productId}/customer-group-prices | POST |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
qty | integer | yes | Minimum qty at which the tier applies. ≥ 1. |
value_type | string | yes | fixed (absolute price) or discount (percent off). |
value | number | yes | Price (fixed) or percent (discount). |
customer_group_id | integer|null | no | null = applies to every group. |
The combination (qty, customer_group_id) must be unique per product.
Response
201 Created — the new row.
Errors
| HTTP | Cause |
|---|---|
404 Not Found | Product not found. |
422 Unprocessable Entity | Duplicate (qty, customer_group_id), unknown group, or qty < 1. |

