GetPromotions

Returns all available promotions for input marketplace code, in particular: 1. if cart code is null, as default, the api returns all the promotions available for that marketplace instance 2. if the client specifies the cart code, the api returns all the promotions available for that marketplace instance and valid for that cart code

Request


GET https://api.domec.tools/v1.0/mktp/promotions?marketplaceCode=<string>&cartCode=<string>


Parameters

The GetPromotions receive the following parameters in the input.

NameTypeData TypeMandatory
marketplaceCodequerystring
cartCodequerystring 

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