Skip to main content
POST
Reserve 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.

Body

application/json

The coupons to reserve, who reserves them and until when.

The coupons to reserve, who reserves them and until when.

reservedBy
string
required

Who holds the reservation, such as the POS id or the basket id. While the reservation is active, only a call with the same value can release it, extend it or reserve more coupons under it.

Minimum string length: 1
reservedUntil
string<date-time>
required

When the reservation ends, as an ISO 8601 time with its UTC offset. Must not be in the past. Lobyco recommends 1 to 5 minutes from now: long enough to finish the sale, short enough that an abandoned basket does not block the customer elsewhere.

couponIds
string[]
required

The ids of the coupons to reserve, exactly as the coupon list returned them. At least one.

Response

The ids of the coupons now reserved, as sent.

The coupons that are now reserved.

couponIds
string[]
required

The ids of the coupons now reserved, as they were sent.

Last modified on August 10, 2026