Skip to main content

Update Supplier Pricing Tier

PUT 

/api/supplier-pricing-tiers/2

Updates an existing supplier pricing tier.

Authentication: Requires Bearer token.

Validation (PUT — currency_code cannot be changed; all other fields are sometimes/optional):

  • name (required, max:255, unique ignoring current record)
  • pricing_type (sometimes, in:absolute,relative)
  • base_pricing_tier_id (sometimes, required_if:pricing_type,relative; nullable, integer)
  • adjustment_percentage (sometimes, required_if:pricing_type,relative; nullable, numeric, between:-99.9999,999.9999)
  • adjustment_fixed_amount (sometimes, nullable, numeric, between:-999999.9999,999999.9999)
  • rounding_value (sometimes, nullable, numeric, gt:0)

Note: currency_code is immutable — excluded from PUT validation.

Request

Responses

Successful response