Remove Discount by code

Removes discount code on Norce Commerce basket and update Order with new cart

SecurityBearer
Request
path Parameters
orderId
required
string

Order id to update

query Parameters
discountCode
string

Discount code to be removed.

header Parameters
x-merchant
required
string

Merchant identifier.

Example: norce
x-channel
required
string

Channel identifier

Example: 1
Responses
200

OK

400

Bad Request

404

Not Found

delete/api/v1/orders/{orderId}/cart/discounts
Request samples
Response samples
application/json
{
  • "code": "cart-not-found",
  • "message": "Cart with id:{id} not found."
}
Copyright © Norce 2024. All right reserved.