Update Pricing Tier
PUT/api/product-pricing-tiers/:product_pricing_tier
Update an existing product pricing tier. currency_code cannot be changed on update.
products:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token.
Request body fields (all optional on update):
name(string, max:255, unique)pricing_type—absoluteorrelativebase_pricing_tier_id(nullable integer) — required if pricing_type=relativeadjustment_percentage(nullable numeric, -99.9999 to 999.9999) — required if pricing_type=relativeadjustment_fixed_amount(nullable numeric)rounding_value(nullable numeric, gt:0)
Relative tiers (pricing_type=relative) require relative_basis, one of:
pricing_tier— derive from another tier's price. Requiresbase_pricing_tier_id+adjustment_percentage.supplier_pricing_tier— cost-plus from the product's primary supplier cost. Optionalbase_supplier_pricing_tier_id(defaults to the default supplier tier) +adjustment_percentage.attribute— derive from a numeric/integer product attribute:value × attr_rate + attr_offset. Requiresbase_attribute_id+attr_rate(optionalattr_offset).
rounding_value and adjustment_fixed_amount apply to every basis. Supplier/pricing-tier bases inherit currency from their source; attribute basis uses currency_code.
Requires permission: pricing_tiers.update
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.