Find customer by code, phone, or UID
Find a customer by promo code (code), phone number (phone), or UDS identifier (uid). This is the primary endpoint for identifying customers during checkout.
Promo code — generated by the customer in the UDS mobile app (QR code). Short-lived and single-use. Allows point redemption during the transaction.
Phone number — for automated systems. Points cannot be redeemed when identifying by phone (unless purchaseByPhone is enabled in settings).
UID — permanent UDS customer identifier for returning customers.
The response includes the customer's loyalty calculation (purchase field) which shows available discounts and max redeemable points for the current transaction.
Query parameters
Promo code
Phone number in E164 format, URL-encoded. For example, +79123456789 should be passed as %2b79123456789.
Customer's uid
If specified, the response will include a new long-lived payment code in the code field. The old promo code will be deactivated.
Total receipt amount (in currency units).
A part of the bill amount for which cashback is not credited and to which the discount does not apply (in currency units).
A part of total that cannot be redeemed with points
Response
Customer found by the given search criteria.
Example response
{
"user": {
"tags": [
{
"id": 1
}
]
}
}