Get promotion

Returns detail about a promotion for the input product.

Request


GET https://api.domec.tools/v1.0/pd/promotions/{promotionCode:string}?eanCode=<string>


Parameters

The Get promotion receive the following parameters in the input.

NameTypeData TypeMandatory
eanCodequerystring
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