Promotions
Create a promotion
Changed onRate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Creates a promotion
post/open-api/v1.0/promotions
Request
- Base URLhttps://api.fourthwall.com
- URLhttps://api.fourthwall.com/open-api/v1.0/promotions
- Auth
- OAuth 2Implicit: https://auth.staging.fourthwall.com/auth/realms/Fourthwall/protocol/openid-connect/authScopes: promotions_write
- or HTTP basic
Request body
Example request
{
"discount": {
"money": {
"value": 10,
"currency": "USD"
}
},
"requirements": {
"minimumOrderValue": {
"value": 10,
"currency": "USD"
}
}
}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