v1

latestSwagger 2.02026-07-17148179252.3 KB
Catalog

Creates a BulkPricingRule.

post/catalog/products/{product_id}/bulk-pricing-rules

Request body

quantity_mininteger

The minimum inclusive quantity of a product to satisfy this rule. Must be greater than or equal to zero.

quantity_maxinteger

The maximum inclusive quantity of a product to satisfy this rule. Must be greater than the quantity_min value – unless this field has a value of 0 (zero), in which case there will be no maximum bound for this rule.

type'price' | 'percent' | 'fixed'

The type of adjustment that is made. Values: price - the adjustment amount per product; percent - the adjustment as a percentage of the original price; fixed - the adjusted absolute price of the product.

amountnumber double

The value of the adjustment by the bulk pricing rule.

Response

A BulkPricingRule object.

metaMeta

Empty meta object; may be used later.