createExhibitor

Arguments

gatheringId: (Int!)
exhibitor: (ExhibitorParams) [see below for params]
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://cms.gatherdigital.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

When creating an exhibitor name is required.

name (String!) Display name of exhibitor.
email (String) Contact email for exhibitor.
description (String) Description for exhibitor. HTML supported.
website (String) Website URL for exhibitor.
location (LocationParams) Location name. Note that Location params are structured { name: "Booth 42" }