Update a volume discount
Update a volume discount.
Authorizations:Token
Query Parameters
id required | stringResource identifier |
Request Body Schema:
The updated Volume Discount resource value | number |
type | stringDefault: "%" Example: "%" |
subtotal_range_begin | number or null |
membership | integer or null |
zones | Array of integers |
date_range_begin | string or null |
date_range_end | string or null |
Responses
200Volume Discount resource updated
Response schema:
Volume Discount resource updated id | integer |
value | number |
type | stringDefault: "%" Example: "%" |
subtotal_range_begin | number or null |
membership | integer or null |
zones | Array of integers |
date_range_begin | string or null |
date_range_end | string or null |
400Invalid input
404Resource not found
422Unprocessable entity