Create an exhibitor
createExhibitor takes gatheringId and an ExhibitorCreateParams value in exhibitor. The field name is required.
mutation CreateExhibitor($gatheringId: Int!) {
createExhibitor(
gatheringId: $gatheringId
exhibitor: {
name: "Acme Robotics"
description: "<p>Robots for every task.</p>"
website: "https://example.com"
email: "info@example.com"
location: { name: "Booth 12" }
sponsorLevel: { name: "Gold" }
feature: { label: "Exhibitors" }
}
) {
id
location {
sponsorLevel {
feature {
label
}
}
}
}
}
{
"data": {
"createExhibitor": {
"id": "701",
"name": "Acme Robotics",
"location": { "name": "Booth 12" },
"sponsorLevel": { "name": "Gold" },
"feature": { "label": "Exhibitors" }
}
}
}
These rules apply to the input fields.
featuretakes a FeatureParams value. Thelabelis the label of an exhibitors feature of the event. If you do not sendfeature, Touchpoint puts the exhibitor in the first exhibitors feature of the event. If the event has no exhibitors feature, Touchpoint creates one.sponsorLeveltakes a SponsorLevelParams value. If the level does not exist, Touchpoint creates it.locationtakes a LocationParams value with aname. If the event has no location with this name, Touchpoint creates it.
A create does not always make a new exhibitor. If the event has an exhibitor with the same name, Touchpoint changes that exhibitor.