UnapplyPromotion

This api removes the specified promotion applied for input cart

Request


DELETE https://api.domec.tools/v1.0/mktp/cart/{cartCode:string}/promotions/{promotionCode:string}


Parameters

The UnapplyPromotion receive the following parameters in the input.

NameTypeData TypeMandatory
cartCodepathstring
promotionCodepathstring

Responses

The following HTTP status codes may be returned, optionally with a response resource

Status codeDescriptionResponse body
200OK
Success
View body
400BadRequest
The input request contains errors which prevents executing the request
View body
404NotFound
Endpoint not found
View body