Skip to main content
GET
Get customer coupons

Headers

X-Household-Id
string

The customer's household id, when your environment uses households and the POS already knows it. Omitted, Lobyco looks it up. Ignored where households are not enabled.

Path Parameters

customerId
string
required

The customer's memberId, as the check-in gave it to the POS.

Query Parameters

storeId
string

Only return coupons valid in this store. Omitted, coupons for every store are returned. An unknown store gives 400.

includeOfferData
boolean
default:false

Include the offer's discount rules, content and receipt text with each coupon. Default false: ids and reservation fields only.

purchaseTime
string<date-time>

Evaluate the list as of this time instead of now, so that an earlier purchase can be replayed with the coupons that were valid when it happened; Lobyco's bonus allocation does this. An ISO 8601 time with its UTC offset. Omitted, now.

idempotencyKey
string

When replaying an earlier purchase: the key its coupons were redeemed with, its receipt id. Coupons already redeemed under it are still listed, so the replay sees what the purchase used.

Response

The coupons the customer can use now, with the store filter applied. Empty when there are none.

The coupons the customer can use now.

availableCoupons
object[]
required

The coupons the customer can use now, including ones another system has reserved. Empty when there are none.

Last modified on November 6, 2026