Relay (or withdraw) the customer’s consent
Relay (or withdraw) the customer’s consent
Send granted: false to relay a withdrawal. Answers the customer’s state per purpose.
Authentication
AuthorizationBearer
The token Liquify issued your organisation. Shown once; rotate it from Liquify if it is exposed.
Path parameters
customer_id
The customer_id POST /v1/customers returned.
Request
This endpoint expects an object.
purposes
Only the purposes the customer ticked.
Allowed values:
granted
false relays a withdrawal.
captured_at
When the customer agreed. Not in the future; relayed within 24 hours.
ip
The customer's IP address when they agreed.
consent_text_version
The version of Liquify's consent text you showed. Wording you wrote yourself is refused.
device
The customer's user agent or device.
Response
The customer's consent per purpose, after this call.
data
meta
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
