PromoApi
All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| promoControllerGetPromosByStore | GET /v1/promo/{store_id} | Get list of promo per store |
| promoControllerValidatePromo | POST /v1/promo | Validate promo and get calculated result |
promoControllerGetPromosByStore
PromoListResponse promoControllerGetPromosByStore(store_id)
Get list of promo per store
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | String | Store ID of the list of promos you want to fetch | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
promoControllerValidatePromo
ValidPromoEntity promoControllerValidatePromo(PromoDTO)
Validate promo and get calculated result
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| PromoDTO | PromoDTO |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json