Promotions
Get a promotion by id
Changed onRate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Returns a promotion by id
get/open-api/v1.0/promotions/{promotionId}
Request
- Base URLhttps://api.fourthwall.com
- URLhttps://api.fourthwall.com/open-api/v1.0/promotions/{promotionId}
- Auth
- OAuth 2Implicit: https://auth.staging.fourthwall.com/auth/realms/Fourthwall/protocol/openid-connect/authScopes: promotions_read
- or HTTP basic
Path parameters
promotionIdstring required
Response
OK
Example response
{
"discount": {
"money": {
"value": 10,
"currency": "USD"
}
},
"requirements": {
"minimumOrderValue": {
"value": 10,
"currency": "USD"
}
}
}Changes
- info
added the non-success response with the status
- info