createExhibitor

Arguments

GraphQL Mutation

mutation {
  createExhibitor(exhibitor: {
    name: "OmniCorp",
    email: "noone@omnicorp.io",
    website: "http://www.omnicorp.io",
    location: { name: "Booth 42" },
    description: "Taking over the world, one step at a time."
  }, gatheringId: 232) {
    id
    name
  }
}

CURL Request

curl -X POST https://api.certaintouchpoint.com/graphql \
  -H 'Content-Type: application/graphql' \
  -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' \
  -d '{ mutation { createExhibitor(exhibitor: { name: "OmniCorp", email: "noone@omnicorp.io", website: "http://www.omnicorp.io", location: { name: "Booth 42"}, description: "Taking over the world, one step at a time."}, gatheringId: 232) { id name } }'

GraphQL Response

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

ExhibitorParams

ExhibitorParams is the input object used to specify exhibitor details during the createExhibitor mutation.

The fields included in ExhibitorParams: