updateExhibitor

updateExhibitor

The updateExhibitor GraphQL mutation updates exhibitor details within a specific gathering.

Arguments

GraphQL Mutation

mutation {
  updateExhibitor(exhibitor: {name: "OmniCorp" }, gatheringId: 232, id: 71111) {
    name
    id
  }
}

CURL Request

curl -X POST https://api.certaintouchpoint.com/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -d '{ mutation { updateExhibitor(exhibitor: { name: "OmniCorp"}, gatheringId: 232, id: 71111) { name id } }'

GraphQL Response

{
  "data": {
    "updateExhibitor": {
      "name": "OmniCorp",
      "id": "71111"
    }
  }
}

ExhibitorParams

Related articles