Skip to content

Product Customer-Group Prices — Create

Adds a new tier-price row to a product.

Endpoint

EndpointMethod
/api/admin/catalog/products/{productId}/customer-group-pricesPOST

Request body

FieldTypeRequiredNotes
qtyintegeryesMinimum qty at which the tier applies. ≥ 1.
value_typestringyesfixed (absolute price) or discount (percent off).
valuenumberyesPrice (fixed) or percent (discount).
customer_group_idinteger|nullnonull = applies to every group.

The combination (qty, customer_group_id) must be unique per product.

Response

201 Created — the new row.

Errors

HTTPCause
404 Not FoundProduct not found.
422 Unprocessable EntityDuplicate (qty, customer_group_id), unknown group, or qty < 1.

Released under the MIT License.