Skip to main content

PromoApi

All URIs are relative to http://localhost

MethodHTTP requestDescription
promoControllerGetPromosByStoreGET /v1/promo/{store_id}Get list of promo per store
promoControllerValidatePromoPOST /v1/promoValidate promo and get calculated result

promoControllerGetPromosByStore

PromoListResponse promoControllerGetPromosByStore(store_id)

Get list of promo per store

Parameters

NameTypeDescriptionNotes
store_idStringStore ID of the list of promos you want to fetch[default to null]

Return type

PromoListResponse

Authorization

api-key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

promoControllerValidatePromo

ValidPromoEntity promoControllerValidatePromo(PromoDTO)

Validate promo and get calculated result

Parameters

NameTypeDescriptionNotes
PromoDTOPromoDTO

Return type

ValidPromoEntity

Authorization

api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json