Update a bulk price by id
PATCH/v2/bulk-prices/:id
Update a bulk price by id
Request
Path Parameters
Bulk price identifier
- application/json
Body
required
Update bulk price input
Discount on bulk purchases, expressed either as a percentage of the standard price or as a specific reduced price per unit, depending on the bulk price discount type
Indicates the minimum quantity threshold needed to qualify for the bulk price.
Start date from which the bulk pricing is effective. Must be a valid ISO 8601 date string
End date of the bulk pricing offer. Must be a valid ISO 8601 date string
Responses
- 200
- 400
- 403
- 404
- 500
Bulk price updated
- application/json
- Schema
- Example (from schema)
Schema
Primary identifier
Creation date
Last modified date
Start date from which the bulk pricing is effective. Must be a valid ISO 8601 date string
End date of the bulk pricing offer. Must be a valid ISO 8601 date string
{
"id": 1234,
"createdAt": "2022-01-01T00:00:00.000Z",
"lastModifiedAt": "2022-01-02T00:00:00.000Z",
"validFrom": "2022-01-01T00:00:00.000Z",
"validTo": "2022-01-31T00:00:00.000Z"
}
Bad request
Forbidden
Bulk price not found
Unknown update bulk price error