Skip to content

Query sales

Query.sales

Ready

This Mutation is available in both integration and production.

HTTP Item HTTP Value
Url https://{host}/graphql
Method POST

 
mutation Mutation($salesJourneyId:String!,$consentId:String!,$acceptanceChannel:String!,$clientIpAddress:String!) {
    presentConsent(salesJourneyId:$salesJourneyId,consentId:$consentId){
        salesJourneyId
        consent {
            consentInfo {
                consentId
                status
            }
        }
    }
}

 
{
    "salesJourneyId": "{{ salesJourneyId }}"
}

None

None

 
{
    "data": {
        "acceptConsent": {
            "salesJourneyId": "20eaf0fd-800e-47b0-bff7-5a0c6675b01f",
            "consent": {
                "consentInfo": {
                    "consentId": "3405d6b6-f1f6-46d8-9225-48ce83690731",
                    "status": "ACCEPTED"
                }
            }
        }
    }
}

 
{
    "errors" : []
}

Coming soon