Skip to main content

Update a volume discount

Update a volume discount.

Authorizations:Token
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
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
404Resource not found
422Unprocessable entity