Eventjet GraphQL API documentation

shop

Get a shop by its slug.

The slug argument accepts the shop's current slug as well as every slug it used before, so existing links keep working after a rename. Shop.slug always resolves the current slug.

Resolves to null if no shop uses the given slug. No authorization is required.

This is the entry point for a storefront: Shop.events and Shop.eventGroups resolve what the shop offers, and Shop.checkoutForm describes the data a customer has to supply. The Shop type walks through the whole flow from browsing to checkout.

query GetShop($slug: ID!, $locale: String!) {
  shop(slug: $slug) {
    name
    events {
      id
      name(locale: $locale)
      earliestStart
    }
  }
}
query GetShop($slug: ID!, $locale: String!) {
  shop(slug: $slug) {
    name
    events {
      id
      name(locale: $locale)
      earliestStart
    }
  }
}

Arguments

Deprecated fields are hidden.
ArgumentDescriptionType
slug
ID!

Type

This field resolves to Shop, which has the following fields:

Deprecated fields are hidden.
FieldDescriptionType
acceptsDiscountCodesIndicates whether the shop accepts discount codes.Boolean
checkoutAgreements[ CheckoutAgreement! ]!
checkoutFormForm!
customerSupportEmailEmail
eventShopEvent
eventGroupShopEventGroup
eventGroups[ ShopEventGroup! ]!
events[ ShopEvent! ]!
logoImage
marketingCodeString
nameString!
paymentMethods
Deprecated:

Use Cart.paymentMethods instead. In the future, the allowed payment methods will depend on various factors related to the user's cart, such as the cart's total amount, the user's country, etc.

[ PaymentMethod ]
slugID!
themeColorColor