Skip to main content

Update Pricing Tiers

PUT 

/api/supplier-products/:supplier_product/pricing

Updates pricing tiers for a supplier product. Authentication: Requires Bearer token.

Required scope: suppliers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Fields:

  • pricing (required, array): Array of pricing tier entries
    • pricing.*.supplier_pricing_tier_id (required, integer): An existing supplier pricing tier that the product's supplier uses — one of the tiers attached to the supplier, or, when the supplier has no tiers attached, the account's default tier.
    • pricing.*.price (required, numeric, min:0): Price for this tier

A price on a tier the supplier doesn't use is refused with 422 on pricing.{i}.supplier_pricing_tier_id, because it would never show on the supplier. Attach the tier to the supplier first, or choose one of the supplier's tiers.

Requires permission: suppliers.update

Request​

Responses​

OK

Response Headers
    Content-Type