Update Volume Discount
Updates the quantity threshold, discount type, or discount value of an existing volume discount tier.
Requires the stores.products.update permission.
Authorizations
Your API key goes here
Path Parameters
The ID of the store containing the product.
The ID of the product.
The ID of the variant containing the tier.
The ID of the volume discount tier to update.
Body
The updated volume discount tier details.
Form for creating or updating a volume discount tier on a variant.
The minimum quantity required to activate this discount tier.
1 <= x <= 2147483647Specifies the type of discount to apply for volume pricing tiers.
0, 1, 2 The discount value. Interpretation depends on Komerza.Common.Forms.Products.VolumeDiscountForm.DiscountType:
- Percentage: A percentage off (e.g., 10 = 10% off, max 100)
- FixedAmount: Amount deducted per unit (e.g., 5 = $5 off per unit)
- FixedPrice: The new unit price (e.g., 8 = $8 per unit)
0 <= x <= 100000Response
The object was successfully updated.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Data transfer object for a volume discount tier associated with a variant.