The purchase buttons
Last updated ยท Page 10 of 11
Show one button per entry of an item's unitItems, linking to that entry's myGrouponUrl. The
shopper signs in to Groupon to open it. A CANCELLED, REJECTED or REFUNDED unit gets no
button.
myGrouponUrl is the buyer's My Groupons list on the order's market
(https://www.groupon.com/mygroupons in the US), the same for every unit: Groupon's page for one
unit carries the buyer's account id in its address, which the Partner API never hands to you.
Name the product and the option on the button, so the shopper knows which one to open there.
expiresAt is null when Groupon names no expiry date for the unit, while the payment is still
being processed, and for a cancelled, rejected or refunded unit. Show no date then, never a guessed one.