Skip to main content

Update a volume discount

Update a volume discount.

Authorizations:Token, JWT
Query Parameters
id
required
stringResource identifier
Request Body Schema:
The updated Volume Discount resource
valuenumber
typestringDefault: "%"Example: "%"
subtotal_range_beginnumber or null
membershipinteger or null
zonesArray of integers
date_range_beginstring or null
date_range_endstring or null

Responses

200Volume Discount resource updated
Response schema:
Volume Discount resource updated
idinteger>= 0
valuenumber
typestringDefault: "%"Example: "%"
subtotal_range_beginnumber or null
membershipinteger or null
zonesArray of integers
date_range_beginstring or null
date_range_endstring or null
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
404Resource not found
Response schema:
Resource not found
typestring
titlestring
detailstring or null
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null