Creategiftcardconsent
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
Creategiftcardconsent
Authorizations
JWT access token obtained from POST /v2/token.
Query Parameters
Required string length:
24Pattern:
^[0-9a-f]{24}$Example:
"5eb7cf5a86d9755df3a6c593"
Required string length:
24Pattern:
^[0-9a-f]{24}$Example:
"5eb7cf5a86d9755df3a6c593"
Body
application/json
