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 on
post/internal/v1/foodics/coupons

Request

  • Base URL
    https://api.gameball.co (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: APIKey

Headers

Authorization, string
lang, string
APIKey, string required
SecretKey, string

Request body

GameBallBLLViewModelsIntegrationsV4CouponsRequestsCreateCouponRequestV4 required
value, number double nullable
ruleId, integer
customerId, string nullable
mobile, string nullable
email, string nullable

Response

OK

Changes