Gift Cards
Creategiftcardconsent
Create or update GDPR consent for a customer identified by email or phone.
Use this endpoint when saving consent without a known customerId. Requires customerEmail or customerPhone in the request body.
post/v2/giftcards/gdpr/consent
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
programIdstring
Example:5eb7cf5a86d9755df3a6c593
cardIdstring
Example:5eb7cf5a86d9755df3a6c593
Headers
X-Eposn-Customer-Tokenstring nullable
X-Eposn-Merchant-Tokenstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 7 revisions of this API.