Set catalog quantity rules
Writes the given products’ quantity terms in one request, keyed by prefixed product id. The stated pair is written to every variant of the product, which is the grain the database keeps them at. Both fields null clears that product’s terms; a product not yet in the assortment is added, since a term with nothing to apply to is not a reachable state. Products absent from the payload are left alone — an agreement may name terms for thousands of SKUs. Read them back on the assortment rows: GET /catalogs/{id}/products?expand=quantity_rule.
Required scope: write_products (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Path Parameters
Body
Quantity terms keyed by product: { minimum_order_quantity, order_multiple }, each a whole number or null. A product whose pair is both null has its terms cleared; a product not yet in the assortment is added.
Response
quantity rules set

