Update a bulk cost price by id
PATCH/v2/bulk-cost-prices/:id
Update a bulk cost price by id
Request
Path Parameters
Bulk cost price identifier
- application/json
Body
required
Update bulk cost 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 cost 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 cost price not found
Unknown update bulk cost price error