Single-use promo code: guest phone shows on the check in the POS but Orders API returns customer: null — is it retrievable anywhere?
I'm trying to attribute promo code redemptions back to individual guests and I've hit a wall I can't find documented either way. Hoping someone has solved this or can confirm it's not solvable.
Setup: Standard API Access, machine client, scopes include orders:read and guest.pi:read. Single location, full-service bar/restaurant, almost entirely dine-in.
What I ran — controlled test, today:
- Opened a dine-in check on the POS (dining option behavior
DINE_IN), tab named "KEVIN TEST" - Rang one item, $200
- Applied an active promo code whose
usageTypeisSINGLE_USE_PHONE - At the prompt, entered a known guest phone number
- Discount applied correctly, $10 off
- Settled the check, then pulled the order via
GET /orders/v2/orders/{guid}
What I got back. The redemption is recorded, and cleanly — appliedPromoCode populates for a code typed at the POS, which is already better than I expected:
appliedDiscounts[0]:
appliedPromoCode = "FBLT10"
discount.guid = 74e66371-...
discountAmount = 10.0
approver.guid = 2e17c513-... (the employee, not the guest)
tabName = "KEVIN TEST"
customer = null
appliedLoyaltyInfo = nullBut the phone number is nowhere in the payload.
Any suggestions?
-
Hi Kevin,
Thanks for reaching out. This forum is meant for general questions rather than issues tied to specific locations. Therefore, for something like this, I'll open an internal ticket and have someone from our team reach out directly to answer your question.
Best,
John
0
Please sign in to leave a comment.
Comments
1 comment