Gift Cards
Getgiftcardconsentbyidentifier
Look up GDPR consent by email, phone, or customer ID.
Use this endpoint when searching by email or phone (no customerId needed). For path-based lookup by customerId, use /gdpr/consent/{customerId}.
get/v2/giftcards/gdpr/consent/lookup
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
customerIdstring nullable
customerEmailstring nullable
customerPhonestring nullable
programIdstring
Example:5eb7cf5a86d9755df3a6c593
cardIdstring
Example:5eb7cf5a86d9755df3a6c593
Headers
X-Eposn-Customer-Tokenstring nullable
X-Eposn-Merchant-Tokenstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 7 revisions of this API.