Updates consent preferences for the current cart session
Documentation Index
Fetch the complete documentation index at: https://developers.firmly.ai/llms.txt
Use this file to discover all available pages before exploring further.
POST and PUT methods are supported for this endpoint, providing flexibility for different client implementations.id (string, required): Unique identifier of the consent to updaterevoke (boolean, optional): Set to true to revoke consent. Omit or set to false to grant consent. Default: falseexplicit: truerevokable: true can be revoked| Error Code | Description | Resolution |
|---|---|---|
ErrorCartNotFound | Cart does not exist | Verify cart ID and domain |
ErrorInvalidInputBody | Invalid request format | Check request body structure |
ErrorConsentNotFound | One or more consent IDs not found | Verify consent IDs with Get Consents |
ErrorConsentNotRevokable | Attempted to revoke non-revokable consent | Check consent revokable status |
ErrorStoreUnavailable | Store service unavailable | Retry request |
MissingAuthHeader | Missing authorization header | Include x-firmly-authorization header |