Skip to main content

Arguments

input : CreateEstablishmentInput! required

Input variables needed for creating an establishment on a business.

Returns

CreateEstablishment

Create an establishment for a business.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can create establishments AND Can query establishments

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation CreateEstablishment($input: CreateEstablishmentInput!) { createEstablishment(input: $input) { establishment { ...EstablishmentTypeFragment } } }

Variables

Response

{ "data": { "createEstablishment": { "establishment": EstablishmentType } } }