Remove surcharge from product
POST/v2/surcharges/remove-from-product
Remove surcharge from product
Request
- application/json
Body
required
Remove surcharge from product input
surchargeIds uuid[]required
List of surcharge ids
productId integerrequired
Product identifier
Responses
- 200
- 400
- 403
- 404
- 500
Surcharge removed from product
- application/json
- Schema
- Example (from schema)
Schema
status stringrequired
Confirmation status value
message stringrequired
Confirmation message
{
"status": "success",
"message": "Successfully [added|removed] surcharges d9b1c4e0-4f1e-4b1e-8b5c-9c2d0a0a6a6e, e4953a4c-d9e5-5241-b9fd-00162fae77d8 to product 4242"
}
Bad request
Forbidden.
Surcharge not found
Unknown removing surcharge from product error
Loading...