Requires process_orders or process_test_orders permission
POST
/terminal/basket/check-promotions
curl \
--request POST 'https://api.au.enjovia.app/terminal/basket/check-promotions' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "Store-Subdomain: string" \
--data '{"basket":{"items":[{"product_id":"string","variant_id":"string","quantity":42}]}}'
Request examples
# Headers
Store-Subdomain: string
# Payload
{
"basket": {
"items": [
{
"product_id": "string",
"variant_id": "string",
"quantity": 42
}
]
}
}
Response examples (200)
{
"data": [
{
"id": "string",
"name": "string",
"type": "string",
"value": 42.0,
"applicable": true
}
]
}