ApplyPromotion

Given a cart code and a specified promotion, this api applies, if available or compatible, the input promotion to input cart

Request


POST https://api.domec.tools/v1.0/mktp/cart/{cartCode:string}/promotions?promotionCode=<string>


Parameters

The ApplyPromotion receive the following parameters in the input.

NameTypeData TypeMandatory
cartCodepathstring
promotionCodequerystring

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