ConsentDecisionInput
input type
Staff decide-input for grantConsent/withdrawConsent: the acted-on consumer is named and the capture surface is required.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
consumerId | ID ID! | yes | The acted-on Consumer. |
purposeId | ID ID! | yes | The ConsentPurpose decided on (tenant-scoped + active — a retired purpose refuses CONFLICT/REF_STATE naming it). |
policyVersion | String String! | yes | The consent-notice/policy version presented at this decision. |
captureSurface | String String! | yes | Where the decision was captured — storefront | pos | back_office | cli | import. |
captureLocale | String | no | The locale presented (canonical BCP-47 core); optional. |