cURL
curl --request GET \ --url https://api.fourthwall.com/open-api/v1.0/promotions/{promotionId} \ --header 'Authorization: Bearer <token>'
{ "type": "<string>", "id": "<string>", "title": "<string>", "code": "<string>", "discount": { "type": "<string>", "money": { "value": 10, "currency": "USD" }, "freeShipping": true }, "status": "Live", "requirements": { "minimumOrderValue": { "value": 10, "currency": "USD" } }, "usageCount": 123, "limits": { "maximumUsesNumber": 123, "oneUsePerCustomer": true }, "appliesTo": { "type": "<string>" } }
Returns a promotion by id
The access token received from the authorization server in the OAuth 2.0 flow.
OK
"SHOP_AUTO_APPLYING"
Show child attributes
Live
Ended
Archived
AllUsed