Internal
Used only by the Foodics adapter, for clients off the Gameball coupon engine (engine clients keep the V4 predefined endpoint): issues the customer a coupon from a redemption rule at the till, deducting the rule's points. The coupon is a Foodics coupon (Options.IsFoodics = true, Target = POS) that is never sent to the client's platform. Tenant comes from the ClientId header (GlobalFilter whitelist). RequestFilter is kept from the V4 coupons endpoints this replaces, so a client with Gameball disabled cannot redeem at the till.
Changed onpost/internal/v1/foodics/coupons
Request
- Base URLhttps://api.gameball.co (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: APIKey
Headers
Authorization, string
lang, string
APIKey, string required
SecretKey, string
Request body
Game Ball BLLView Models Integrations V4 Coupons Requests Create Coupon Request V4 required
value, number double nullable
ruleId, integer
customerId, string nullable
mobile, string nullable
email, string nullable
Response
OK
Changes
- info
endpoint added
- info