@cloudcart/storefront-mcp 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +116 -2
- package/data/storefront.json +1 -0
- package/dist/app-resources.d.ts +40 -0
- package/dist/app-resources.d.ts.map +1 -0
- package/dist/app-resources.js +109 -0
- package/dist/app-resources.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +100 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts/storefront.d.ts +14 -0
- package/dist/prompts/storefront.d.ts.map +1 -0
- package/dist/prompts/storefront.js +322 -0
- package/dist/prompts/storefront.js.map +1 -0
- package/dist/schema/loader.d.ts +47 -0
- package/dist/schema/loader.d.ts.map +1 -0
- package/dist/schema/loader.js +34 -0
- package/dist/schema/loader.js.map +1 -0
- package/dist/tools/introspect-schema.d.ts +17 -0
- package/dist/tools/introspect-schema.d.ts.map +1 -0
- package/dist/tools/introspect-schema.js +245 -0
- package/dist/tools/introspect-schema.js.map +1 -0
- package/dist/tools/learn-storefront-api.d.ts +11 -0
- package/dist/tools/learn-storefront-api.d.ts.map +1 -0
- package/dist/tools/learn-storefront-api.js +13 -0
- package/dist/tools/learn-storefront-api.js.map +1 -0
- package/dist/tools/validate-graphql.d.ts +18 -0
- package/dist/tools/validate-graphql.d.ts.map +1 -0
- package/dist/tools/validate-graphql.js +222 -0
- package/dist/tools/validate-graphql.js.map +1 -0
- package/package.json +52 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"data":{"__schema":{"queryType":{"name":"Query","kind":"OBJECT"},"mutationType":{"name":"Mutation","kind":"OBJECT"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Attribute","description":"A key-value attribute.","fields":[{"name":"key","description":"The attribute key.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The attribute value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreditPlan","description":"An instalment plan offered by a credit provider.\n\nPlans are computed from the amount financed, so entering a down payment\nchanges every one of them — re-read the list when it changes.\n\nA credit provider with no plans cannot be used. Where the list comes back\nempty, do not offer it.","fields":[{"name":"id","description":"The plan identifier. Pass it to cartPaymentMethodUpdate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"months","description":"How many monthly instalments.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"monthlyPayment","description":"What the buyer pays each month.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"downPayment","description":"The down payment this plan assumes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalRepayment","description":"The total the buyer repays over the whole term.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"interestRate","description":"The nominal interest rate, as a percentage.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"annualPercentageRate","description":"The annual percentage rate of charge, as a percentage.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreditProvider","description":"A credit institution the merchant has enabled.\n\n`handle` is the same identifier a credit payment method carries on the cart, so\nan offer shown on a product page lines up with the method the buyer picks at\ncheckout.","fields":[{"name":"handle","description":"A stable handle, matching CartPaymentMethod.handle for the same provider.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The provider's name, as the merchant titled it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":"The provider's logo.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pricing","description":"Whether the plans were computed here or fetched from the provider.\n\nLOCAL providers are arithmetic and cost nothing to ask. REMOTE ones are an\nHTTP call each, which is why a product listing answers with the local ones\nonly — see `Product.creditOffers`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CreditPricingSource","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"minAmount","description":"The smallest amount this provider will finance. Null when the merchant set none.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CreditPricingSource","description":"Where a provider's instalment figures come from.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"LOCAL","description":"Computed from the provider's configured rate and term.","isDeprecated":false,"deprecationReason":null},{"name":"REMOTE","description":"Fetched from the provider's own API.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ProductSortKeys","description":"The set of valid sort keys for product queries.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TITLE","description":"By title, A to Z.","isDeprecated":false,"deprecationReason":null},{"name":"PRICE","description":"By price, lowest first.","isDeprecated":false,"deprecationReason":null},{"name":"BEST_SELLING","description":"By units sold, best sellers first.","isDeprecated":false,"deprecationReason":null},{"name":"CREATED_AT","description":"By creation, oldest first.","isDeprecated":false,"deprecationReason":null},{"name":"UPDATED_AT","description":"The listing engine keeps no update time to sort by; sorts as CREATED_AT.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT_TYPE","description":"The listing engine has no product-type order; products keep the default order.","isDeprecated":false,"deprecationReason":null},{"name":"VENDOR","description":"The listing engine has no vendor order; products keep the default order.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"In a search, by relevance; in a listing, the merchant's own arrangement.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"By id, which follows creation order.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"CollectionSortKeys","description":"The set of valid sort keys for collection queries.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TITLE","description":"By title.","isDeprecated":false,"deprecationReason":null},{"name":"UPDATED_AT","description":"By last update.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"By id, which follows creation order.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Collections have no relevance order; sorts as ID.","isDeprecated":false,"deprecationReason":null},{"name":"MANUAL","description":"In the order the merchant set in the admin, first to last (`reverse` lists it last to first).\nThat order is a category's place among the categories of its parent, so list one level at a\ntime: with `topLevel`, or a category's `children`. Smart collections have no such order: they\nsort as `ID`.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"PageSortKeys","description":"The set of valid sort keys for page queries.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TITLE","description":"By title.","isDeprecated":false,"deprecationReason":null},{"name":"UPDATED_AT","description":"By last update.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"By id, which follows creation order.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"BlogSortKeys","description":"The set of valid sort keys for blog queries.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TITLE","description":"By title.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"By id, which follows creation order.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ArticleSortKeys","description":"The set of valid sort keys for article queries.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TITLE","description":"By title.","isDeprecated":false,"deprecationReason":null},{"name":"PUBLISHED_AT","description":"By publish date.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"By id, which follows creation order.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"OrderSortKeys","description":"The set of valid sort keys for order queries.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PROCESSED_AT","description":"When the order was placed.","isDeprecated":false,"deprecationReason":null},{"name":"TOTAL_PRICE","description":"The order's total.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"The order's id.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SearchType","description":"The types of search result items.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PRODUCT","description":"Products.","isDeprecated":false,"deprecationReason":null},{"name":"PAGE","description":"The store's pages.","isDeprecated":false,"deprecationReason":null},{"name":"ARTICLE","description":"Blog articles.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"OrderFinancialStatus","description":"The financial status of an order.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PENDING","description":"Not paid: no payment has completed.","isDeprecated":false,"deprecationReason":null},{"name":"AUTHORIZED","description":"The payment is authorised and not yet captured.","isDeprecated":false,"deprecationReason":null},{"name":"PARTIALLY_PAID","description":"Not returned: the platform records no part payments.","isDeprecated":false,"deprecationReason":null},{"name":"PAID","description":"Paid in full.","isDeprecated":false,"deprecationReason":null},{"name":"PARTIALLY_REFUNDED","description":"Part of the payment was refunded.","isDeprecated":false,"deprecationReason":null},{"name":"REFUNDED","description":"The payment was refunded.","isDeprecated":false,"deprecationReason":null},{"name":"VOIDED","description":"The payment failed, was cancelled, timed out, voided or charged back.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"OrderFulfillmentStatus","description":"The fulfillment status of an order.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UNFULFILLED","description":"Not sent yet.","isDeprecated":false,"deprecationReason":null},{"name":"PARTIALLY_FULFILLED","description":"Not returned: the platform marks an order fulfilled or not, with nothing in between.","isDeprecated":false,"deprecationReason":null},{"name":"FULFILLED","description":"Sent, or the order is completed.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"WeightUnit","description":"Weight units.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"KILOGRAMS","description":"Kilograms: the unit of a store on the metric system.","isDeprecated":false,"deprecationReason":null},{"name":"GRAMS","description":"Grams. Not returned: weights are given in kilograms or pounds.","isDeprecated":false,"deprecationReason":null},{"name":"POUNDS","description":"Pounds: the unit of a store on the imperial system.","isDeprecated":false,"deprecationReason":null},{"name":"OUNCES","description":"Ounces. Not returned: weights are given in kilograms or pounds.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"LengthUnit","description":"Units of measurement for length.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"MILLIMETERS","description":"1000 millimeters equals 1 meter. CloudCart stores dimensions in millimeters.","isDeprecated":false,"deprecationReason":null},{"name":"CENTIMETERS","description":"100 centimeters equals 1 meter.","isDeprecated":false,"deprecationReason":null},{"name":"METERS","description":"Metric system unit of length.","isDeprecated":false,"deprecationReason":null},{"name":"INCHES","description":"12 inches equals 1 foot.","isDeprecated":false,"deprecationReason":null},{"name":"FEET","description":"Imperial system unit of length.","isDeprecated":false,"deprecationReason":null},{"name":"YARDS","description":"1 yard equals 3 feet.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ObjectDimensions","description":"The size of an object, in one unit.","fields":[{"name":"length","description":"The length, or null when it is not set.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":"The width, or null when it is not set.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":"The height, or null when it is not set.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":"The unit of the length, width and height.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"LengthUnit","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CountryCode","description":"ISO 3166-1 alpha-2 country code (e.g. BG, US).","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BG","description":"Bulgaria.","isDeprecated":false,"deprecationReason":null},{"name":"US","description":"United States.","isDeprecated":false,"deprecationReason":null},{"name":"GB","description":"United Kingdom.","isDeprecated":false,"deprecationReason":null},{"name":"DE","description":"Germany.","isDeprecated":false,"deprecationReason":null},{"name":"FR","description":"France.","isDeprecated":false,"deprecationReason":null},{"name":"RO","description":"Romania.","isDeprecated":false,"deprecationReason":null},{"name":"GR","description":"Greece.","isDeprecated":false,"deprecationReason":null},{"name":"TR","description":"Türkiye.","isDeprecated":false,"deprecationReason":null},{"name":"NL","description":"Netherlands.","isDeprecated":false,"deprecationReason":null},{"name":"IT","description":"Italy.","isDeprecated":false,"deprecationReason":null},{"name":"ES","description":"Spain.","isDeprecated":false,"deprecationReason":null},{"name":"AT","description":"Austria.","isDeprecated":false,"deprecationReason":null},{"name":"CZ","description":"Czechia.","isDeprecated":false,"deprecationReason":null},{"name":"PL","description":"Poland.","isDeprecated":false,"deprecationReason":null},{"name":"HU","description":"Hungary.","isDeprecated":false,"deprecationReason":null},{"name":"RS","description":"Serbia.","isDeprecated":false,"deprecationReason":null},{"name":"MK","description":"North Macedonia.","isDeprecated":false,"deprecationReason":null},{"name":"HR","description":"Croatia.","isDeprecated":false,"deprecationReason":null},{"name":"SI","description":"Slovenia.","isDeprecated":false,"deprecationReason":null},{"name":"SK","description":"Slovakia.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BG","description":"Bulgarian.","isDeprecated":false,"deprecationReason":null},{"name":"EN","description":"English.","isDeprecated":false,"deprecationReason":null},{"name":"DE","description":"German.","isDeprecated":false,"deprecationReason":null},{"name":"FR","description":"French.","isDeprecated":false,"deprecationReason":null},{"name":"RO","description":"Romanian.","isDeprecated":false,"deprecationReason":null},{"name":"EL","description":"Greek.","isDeprecated":false,"deprecationReason":null},{"name":"TR","description":"Turkish.","isDeprecated":false,"deprecationReason":null},{"name":"NL","description":"Dutch.","isDeprecated":false,"deprecationReason":null},{"name":"IT","description":"Italian.","isDeprecated":false,"deprecationReason":null},{"name":"ES","description":"Spanish.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"CurrencyCode","description":"The three-letter currency codes supported.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BGN","description":"Bulgarian lev.","isDeprecated":false,"deprecationReason":null},{"name":"EUR","description":"Euro.","isDeprecated":false,"deprecationReason":null},{"name":"USD","description":"United States dollar.","isDeprecated":false,"deprecationReason":null},{"name":"GBP","description":"Pound sterling.","isDeprecated":false,"deprecationReason":null},{"name":"RON","description":"Romanian leu.","isDeprecated":false,"deprecationReason":null},{"name":"TRY","description":"Turkish lira.","isDeprecated":false,"deprecationReason":null},{"name":"CHF","description":"Swiss franc.","isDeprecated":false,"deprecationReason":null},{"name":"CZK","description":"Czech koruna.","isDeprecated":false,"deprecationReason":null},{"name":"PLN","description":"Polish złoty.","isDeprecated":false,"deprecationReason":null},{"name":"HUF","description":"Hungarian forint.","isDeprecated":false,"deprecationReason":null},{"name":"RSD","description":"Serbian dinar.","isDeprecated":false,"deprecationReason":null},{"name":"MKD","description":"Macedonian denar.","isDeprecated":false,"deprecationReason":null},{"name":"HRK","description":"Croatian kuna, replaced by the euro in 2023.","isDeprecated":false,"deprecationReason":null},{"name":"SEK","description":"Swedish krona.","isDeprecated":false,"deprecationReason":null},{"name":"NOK","description":"Norwegian krone.","isDeprecated":false,"deprecationReason":null},{"name":"DKK","description":"Danish krone.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"CartErrorCode","description":"Possible error codes from cart mutations.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"APP_NOT_ACTIVE","description":"The store does not take orders in its mobile app yet (the app is in sandbox).","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"The input is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"PREVIEW_ONLY","description":"The request comes from CloudCart Preview, which shows a store's design and never places an order.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_MERCHANDISE_LINE","description":"The merchandise is unknown, not for sale, or not part of the bundle it was chosen for.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_QUANTITY","description":"The quantity cannot be had: not enough stock, or over one of the merchant's cart limits.","isDeprecated":false,"deprecationReason":null},{"name":"MISSING_DISCOUNT_CODE","description":"Not returned by this API.","isDeprecated":false,"deprecationReason":null},{"name":"MISSING_NOTE","description":"Not returned by this API.","isDeprecated":false,"deprecationReason":null},{"name":"MISSING_CUSTOMIZATION","description":"A customization the merchant requires is not answered (`ProductCustomization.required`); the message names it.","isDeprecated":false,"deprecationReason":null},{"name":"FILE_TOO_LARGE","description":"The file is larger than the store accepts (`ProductCustomization.fileUpload.maxFileSize`).","isDeprecated":false,"deprecationReason":null},{"name":"FILE_TYPE_NOT_ALLOWED","description":"The file is not of a type the store accepts (`ProductCustomization.fileUpload`).","isDeprecated":false,"deprecationReason":null},{"name":"THROTTLED","description":"Too many requests of this kind from this visitor in a minute; try again shortly.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"CustomerErrorCode","description":"Possible error codes from customer mutations.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BLANK","description":"A required value is missing.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"A value is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"TAKEN","description":"Already in use, such as an email another account has.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_LONG","description":"A value is longer than allowed.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_SHORT","description":"A value is shorter than allowed.","isDeprecated":false,"deprecationReason":null},{"name":"TOKEN_INVALID","description":"The access token or code is invalid or has expired.","isDeprecated":false,"deprecationReason":null},{"name":"ALREADY_ENABLED","description":"Not returned by this API.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_FOUND","description":"What was named does not exist.","isDeprecated":false,"deprecationReason":null},{"name":"UNIDENTIFIED_CUSTOMER","description":"No customer matches the details given.","isDeprecated":false,"deprecationReason":null},{"name":"POLICY_NOT_ACCEPTED","description":"A policy the form requires was not accepted.","isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_DISABLED","description":"The customer's account is disabled or banned, so it cannot sign in.","isDeprecated":false,"deprecationReason":null},{"name":"THROTTLED","description":"Too many requests of this kind from this visitor in a minute; try again shortly.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"CropRegion","description":"Crop region for image transforms.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CENTER","description":"Keep the centre.","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Keep the top.","isDeprecated":false,"deprecationReason":null},{"name":"BOTTOM","description":"Keep the bottom.","isDeprecated":false,"deprecationReason":null},{"name":"LEFT","description":"Keep the left side.","isDeprecated":false,"deprecationReason":null},{"name":"RIGHT","description":"Keep the right side.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ImageContentType","description":"Preferred image content type.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"WEBP","description":"WebP.","isDeprecated":false,"deprecationReason":null},{"name":"JPG","description":"JPEG.","isDeprecated":false,"deprecationReason":null},{"name":"PNG","description":"PNG.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Image","description":"An image resource.","fields":[{"name":"id","description":"A unique identifier for the image.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The location of the image as a URL.\n\nWithout `transform`, the store's image at the platform's largest size.","args":[{"name":"transform","description":"A size, crop or format to serve the image in. The store's image CDN\nresizes and converts it. Images that are not the store's own (an\nexternal URL) are returned unchanged.","type":{"kind":"INPUT_OBJECT","name":"ImageTransformInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"altText","description":"Alternative text for the image.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":"The width of the image in pixels.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":"The height of the image in pixels.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ImageTransformInput","description":"How to serve an image. The image keeps its proportions and fits inside\n`maxWidth` × `maxHeight`; it is never enlarged past its own size.","fields":null,"inputFields":[{"name":"maxWidth","description":"The largest width in pixels, 1 to 5760. Values outside the range are brought into it.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"maxHeight","description":"The largest height in pixels, 1 to 5760. Values outside the range are brought into it.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"crop","description":"Fill the whole `maxWidth` × `maxHeight` box and crop what does not fit,\nkeeping this side. Needs both `maxWidth` and `maxHeight`; ignored otherwise.","type":{"kind":"ENUM","name":"CropRegion","ofType":null},"defaultValue":null},{"name":"scale","description":"A multiplier for high-density screens: 1, 2 or 3. The pixel sizes are multiplied by it, up to 5760.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"preferredContentType","description":"Convert the image to this format. Vector (SVG) images are converted only when this is given.","type":{"kind":"ENUM","name":"ImageContentType","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ImageConnection","description":"A connection to a list of images.","fields":[{"name":"edges","description":"A list of image edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ImageEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the image nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Image","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ImageEdge","description":"An edge in an image connection.","fields":[{"name":"node","description":"The image node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Image","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MoneyV2","description":"A monetary value with currency.","fields":[{"name":"amount","description":"The decimal money amount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Decimal","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"The three-letter currency code (e.g. 'BGN', 'EUR', 'USD').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CurrencyCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"formatted","description":"The amount rendered for display, using the store's own currency pattern and,\nwhere the law requires it, dual BGN/EUR presentation. Prefer this over\nformatting `amount` yourself: the storefront cannot reproduce the merchant's\nconfigured format, and a mismatch would show the buyer a different number\nthan the order will charge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductPriceRange","description":"A price range for a product.","fields":[{"name":"minVariantPrice","description":"The lowest variant price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxVariantPrice","description":"The highest variant price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Node","description":"An object with a global ID that `node` and `nodes` find again: a product, a\ncollection, a vendor, a product tag, a page, a blog, an article, an article tag\nor a store location.","fields":[{"name":"id","description":"A globally-unique identifier: `gid://cloudcart/{Type}/{id}`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"ProductTag","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Vendor","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Blog","ofType":null},{"kind":"OBJECT","name":"Article","ofType":null},{"kind":"OBJECT","name":"ArticleTag","ofType":null},{"kind":"OBJECT","name":"Page","ofType":null},{"kind":"OBJECT","name":"StoreLocation","ofType":null}]},{"kind":"OBJECT","name":"PageInfo","description":"Information about pagination in a connection.","fields":[{"name":"hasNextPage","description":"Whether there are more pages after the current page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasPreviousPage","description":"Whether there are pages before the current page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startCursor","description":"The cursor of the first edge in the connection.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endCursor","description":"The cursor of the last edge in the connection.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SEO","description":"SEO information for a resource.","fields":[{"name":"title","description":"The meta title.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The meta description.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductBundle","description":"What a bundle product contains.\n\nA bundle is sold as one product and fulfilled as several: the buyer picks a\nvariant for every product in it, and `cartBundleAdd` puts one line per product\nin the cart, tied together by `CartLine.bundle`. Nothing here prices the cart —\nthe server does that when the bundle is added, exactly as the web storefront\ndoes.","fields":[{"name":"products","description":"The members, in the merchant's order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductBundleItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"priceType","description":"How the bundle is priced: FIXED, PERCENT or INDIVIDUAL. Descriptive — the server prices the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"BundlePriceType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountPercent","description":"Percent off each member, for PERCENT. Null otherwise.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtPrice","description":"What the members would cost bought separately, for a 'save X' line. Null when it is not a saving.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductBundleItem","description":"One product inside a bundle, with the merchant's settings for it.","fields":[{"name":"product","description":"The member product, with its own variants, options, customizations and media. Its title and short description are the ones the merchant wrote for this bundle.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Product","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"How many of it one bundle contains.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showDetails","description":"Whether to show its title and description, or only its picture.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showPrice","description":"Whether to show its price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hideThumbnail","description":"Whether the merchant hid its thumbnail.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceInBundle","description":"Its unit price inside the bundle, when the merchant set one. Null means it is priced by the bundle's own rule.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"BundlePriceType","description":"How a bundle's price is worked out.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"FIXED","description":"The bundle has one price, shared out across its members in proportion to their own prices.","isDeprecated":false,"deprecationReason":null},{"name":"PERCENT","description":"Each member costs its own price less the bundle's percentage.","isDeprecated":false,"deprecationReason":null},{"name":"INDIVIDUAL","description":"The merchant set a price for each member inside the bundle.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"FilterType","description":"The type of a product filter.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"LIST","description":"A list of selectable values (checkboxes, radio buttons).","isDeprecated":false,"deprecationReason":null},{"name":"PRICE_RANGE","description":"A price range with min/max in the store currency.","isDeprecated":false,"deprecationReason":null},{"name":"RANGE","description":"A numeric range with min/max (e.g. tire size, weight).","isDeprecated":false,"deprecationReason":null},{"name":"BOOLEAN","description":"A boolean toggle (e.g. on sale, new, featured).","isDeprecated":false,"deprecationReason":null},{"name":"SWATCH_COLOR","description":"A color swatch selector.","isDeprecated":false,"deprecationReason":null},{"name":"SWATCH_IMAGE","description":"An image swatch selector.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Filter","description":"A filter available for the current product listing.","fields":[{"name":"id","description":"A stable identifier (e.g. 'filter.v.vendor', 'filter.p.property.5').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"A human-readable label (e.g. 'Vendor', 'Color', 'Price').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The filter UI type — determines how the filter should be rendered.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"FilterType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"presentation","description":"The presentation type of the underlying data (select, color, image, radio, numeric_alpha, checkbox, range).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":"The display position for ordering filters in the UI.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":"Available values for LIST, BOOLEAN, SWATCH_COLOR, and SWATCH_IMAGE filters.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FilterValue","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"minValue","description":"The minimum value for PRICE_RANGE and RANGE filters.","args":[],"type":{"kind":"OBJECT","name":"FilterRangeValue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maxValue","description":"The maximum value for PRICE_RANGE and RANGE filters.","args":[],"type":{"kind":"OBJECT","name":"FilterRangeValue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"rangeStep","description":"The step increment for RANGE slider filters (e.g. 0.5, 1).","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"decimals","description":"The number of decimal places for RANGE filters.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FilterRangeValue","description":"A range boundary value for PRICE_RANGE and RANGE filters.","fields":[{"name":"value","description":"The numeric value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"The currency code (only for PRICE_RANGE filters).","args":[],"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FilterValue","description":"A single selectable value within a filter.","fields":[{"name":"id","description":"A stable identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"A human-readable label (e.g. 'Nike', 'Red', 'In Stock').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":"The number of products matching this value. Counted only when the query asks for it:\nleave `count` out when the storefront shows no numbers, and the listing does not pay\nfor the counting, which is most of a large listing's facet cost.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":"The display position for ordering values within the filter.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"input","description":"A JSON-encoded ProductFilter input that applies this value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"swatchColor","description":"The swatch color hex value (for SWATCH_COLOR filters, e.g. '#d90000').","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"swatchImage","description":"The swatch image URL (for SWATCH_IMAGE filters).","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FilterCapabilities","description":"What a client can rely on in a connection's `filters`.","fields":[{"name":"exactCounts","description":"Every `FilterValue.count` is a real product count. When false, show values without numbers.\nFalse also when the query does not select `FilterValue.count`, since nothing is counted then.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"truncatedValues","description":"At least one filter stopped at the engine's value limit, so it may not list every value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":"Facets are served for this listing. False when the listing engine is degraded — hide the filter control.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"inStockFilter","description":"`ProductFilter.available: true` would narrow this store's listings — false when out-of-stock products are hidden anyway.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductComparison","description":"Products side by side, as the platform's compare page shows them: the\nproducts, then one row per property that the products' own categories use.","fields":[{"name":"products","description":"The products, in the order asked for; any that are no longer on the storefront are left out.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Product","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"rows","description":"The properties, one row each, in the order they first appear.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductComparisonRow","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductComparisonRow","description":"One property across the compared products.","fields":[{"name":"name","description":"The property's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cells","description":"One cell per product, in the order of `ProductComparison.products`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductComparisonCell","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductComparisonCell","description":"One product's values for a property.","fields":[{"name":"productId","description":"The product's id.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":"Its values; empty when the product has none for this property.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCreditOffer","description":"What one credit institution will lend against this product, and on what terms.\n\nThe provider is the same one the buyer will meet at checkout — `provider.handle`\nmatches `CartPaymentMethod.handle` — so a plan shown here can be carried through\nto `cartPaymentMethodUpdate` without a second lookup.","fields":[{"name":"provider","description":"The credit institution making the offer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CreditProvider","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"plans","description":"The instalment plans it offers for this amount, lowest monthly payment first\n(the shorter term first between equal payments).\n\nNever empty: a provider with nothing to offer is left out of `creditOffers`\nrather than listed with an empty plan list.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CreditPlan","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomization","description":"A choice the merchant lets the buyer make about a product — an engraving, a\ngift wrap, a cut to size, an uploaded file.\n\nDistinct from a variant option: this does not select a variant, it rides along\nwith the line, usually changes its price, and is part of what makes one line\ndifferent from another.","fields":[{"name":"id","description":"A globally-unique identifier. Send it back as `CartLineInput.customizations[].customizationId`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"How the buyer answers:\n\n`select`, `radio`, `checkbox` — one of `values`, sent as its id\n`text`, `textarea` — free text\n`weight`, `length` — a number, in the unit named by `valueSymbol`\n`square` — two numbers, length and width, sent as `values`\n`file` — a file the buyer uploads with `cartCustomizationFileUpload`; the\nhandle it returns is the answer. `fileUpload` gives the limits.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The label shown to the buyer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the merchant marked it as required.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"multiple","description":"Whether the buyer may choose more than one of `values`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sortOrder","description":"The display order among a product's customizations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"A fixed sum this adds to the line, when the charge is on the customization\nitself rather than on the value chosen. Null when the values carry the\ncharge, when it is free, or when the merchant charges a percentage — see\n`percentage`.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"percentage","description":"A share of the product's price this adds, as a percentage — `10.00` means\nten percent. Set instead of `price` when the merchant charges\nproportionally. Null otherwise.","args":[],"type":{"kind":"SCALAR","name":"Decimal","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"perItem","description":"Whether the charge applies once for the line or per unit bought.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"valueSymbol","description":"The unit the buyer enters, for the measured types — `cm`, `kg`, and so on.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"minSquare","description":"The smallest measure charged for, for the measured types — an area in the product's unit for\n`square`, a length or weight in the buyer's unit for `length` and `weight`. A smaller entry is\npriced as this much.","args":[],"type":{"kind":"SCALAR","name":"Decimal","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productSymbol","description":"The unit the product's price is quoted in, for the measured types — `m`, `kg`, and so on.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unitRatio","description":"How many of the buyer's units (`valueSymbol`) make one of the product's (`productSymbol`) —\n`100` for a price per metre entered in centimetres. The variant's price is per product unit, so\nfor `length` and `weight` the line's base price is `price / unitRatio × entered`, and for\n`square` it is `price × (length / unitRatio) × (width / unitRatio)`. Null for the other types.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":"The choices, for the types that have them. Empty otherwise.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductCustomizationValue","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"fileUpload","description":"What the store accepts as the file, for the `file` type. Null for the other types.","args":[],"type":{"kind":"OBJECT","name":"ProductCustomizationFileUpload","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomizationFileUpload","description":"What a store accepts as the file of a `file` customization. The limits are the\nstore's, the same for every file customization, and checked on the file itself.","fields":[{"name":"maxFileSize","description":"The largest file accepted, in bytes. 0 when the store sets no limit.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"allowedExtensions","description":"The file extensions accepted, lower case and without the dot. Empty when any is.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"allowedMimeTypes","description":"The MIME types accepted, checked on the file's contents. Empty when any is.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomizationValue","description":"One choice within a customization.","fields":[{"name":"id","description":"A globally-unique identifier. This is what to send as the answer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The label shown to the buyer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"A fixed sum choosing this adds to the line. Null when it is free, or when the charge is a percentage.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"percentage","description":"A share of the product's price choosing this adds — `10.00` means ten percent. Null when the charge is a fixed sum.","args":[],"type":{"kind":"SCALAR","name":"Decimal","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"An image illustrating the choice, when the merchant set one.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sortOrder","description":"The display order among the customization's values.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductMedia","description":"One piece of media attached to a product — a photograph, a YouTube video the merchant\nembedded, or a 360° spin they uploaded frame by frame.\n\n`images` serves the same records flattened to still pictures: a video comes back as its\nYouTube thumbnail, a spin as its first frame. That is what a card or a plain gallery wants,\nand it stays as it is. `media` is for a gallery that can actually play the video and turn\nthe spin, so it keeps each record whole.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mediaContentType","description":"What this record is. Branch on it — the fields below are filled per type.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductMediaContentType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"previewImage","description":"The still picture that stands in for this media in a gallery or a thumbnail strip.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"alt","description":"Alternative text.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":"The merchant's own ordering, counted from zero.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"externalVideoId","description":"The YouTube video id. EXTERNAL_VIDEO only.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"host","description":"Who hosts the video. EXTERNAL_VIDEO only.","args":[],"type":{"kind":"ENUM","name":"MediaHost","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"embedUrl","description":"A player URL to put in an iframe or a WebView. EXTERNAL_VIDEO only.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"originUrl","description":"The video's own page on its host, for opening it outside the store. EXTERNAL_VIDEO only.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"frames","description":"The spin's frames in shooting order, the preview image first. THREE_SIXTY_IMAGE only;\nempty for every other type.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Image","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProductMediaContentType","description":"The kind of media attached to a product.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":"A still photograph.","isDeprecated":false,"deprecationReason":null},{"name":"EXTERNAL_VIDEO","description":"A video hosted elsewhere — currently always YouTube.","isDeprecated":false,"deprecationReason":null},{"name":"THREE_SIXTY_IMAGE","description":"A 360° spin: an ordered set of frames the buyer drags through.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"MediaHost","description":"A site hosting an external video.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"YOUTUBE","description":"youtube.com","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ProductTag","description":"A tag the merchant puts on products, with its own page on the online store,\n`/tags/{handle}`.\n\nA CloudCart extension. Shopify's Storefront API knows tags only as the\n`Product.tags` strings; here a tag is an object too, shaped like a `Collection`\nso a tag page renders the way a collection page does. `Product.tags` keeps\nreturning the plain strings.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The tag's text, as `Product.tags` lists it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string for the tag, as used in its online store URL.\nWhen `productTag` was asked for an older handle of the tag, this is the\ncurrent one: send the shopper there, as the platform's tag page does.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"A plain text description, optionally truncated.","args":[{"name":"truncateAt","description":"Truncates the description to this many characters and appends '...'.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The description as HTML.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"SEO information. Without the merchant's own, the title is the tag's text.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SEO","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL to the tag's page on the online store.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"Products with this tag that are visible on the storefront. Order by default:\nthe merchant's arrangement (`RELEVANCE`), in the direction the store sets\nfor its listings. When the merchant lists products that cannot be bought\nlast, they come after the others in every order.","args":[{"name":"first","description":"Returns the first n products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns products after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns products before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Omitted: the store's own listing order — its listing setting, or best sellers first when it set none.","type":{"kind":"ENUM","name":"ProductSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Turns the key's order around: newest, Z to A, dearest or least sold first. No effect without a key, or with `RELEVANCE`, `PRODUCT_TYPE` or `VENDOR`.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"filters","description":"Filter products by availability, price, tag, or variant option.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductFilter","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"smartFacetCounts","description":"Whether to compute smart facet counts via cross-filter aggregations. Disable for faster responses when exact counts are not needed.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":"A product represents an individual item for sale.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The product title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string for the product.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"A plain text description, optionally truncated.","args":[{"name":"truncateAt","description":"Cuts the text to this many characters, then appends `...`, when it is longer.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The description as HTML.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionTitle","description":"The name the merchant gave the description, shown as its tab's title before the\nproduct's `tabs`. Null when there is none: show your own \"Description\".","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shortDescription","description":"A short summary of the product.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"availableForSale","description":"Whether at least one variant is available for sale.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"statusType","description":"The stock status type (in_stock, out_stock, request, subscribe).","args":[],"type":{"kind":"ENUM","name":"ProductStatusType","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"statusName","description":"The localized stock status label.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultVariantId","description":"The variant the store adds to the cart when none is chosen — the merchant's default, normally the cheapest.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"priceRange","description":"The price range across all variants.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductPriceRange","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtPriceRange","description":"The compare-at price range across all variants: each variant's regular price,\nor the manufacturer's suggested retail price when its discount gives one. Equal\nto `priceRange` when nothing is on sale.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductPriceRange","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discount","description":"The discount of the variant the product is shown with (`defaultVariantId`),\nwhile it applies: the same as that variant's `discount`. Null when it has none.","args":[],"type":{"kind":"OBJECT","name":"ProductDiscount","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"freeShipping","description":"Whether the product qualifies for free shipping.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":"List of product options (e.g. Size, Color).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductOption","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"selectedOrFirstAvailableVariant","description":"The variant a selection of option values leads to: the one it names exactly;\notherwise the first variant that agrees with it and can be bought, the first\nthat agrees, the first that can be bought, or the first variant. With no\nselection, the first variant that can be bought.\n\nVariants have no position in CloudCart; as on the storefront, the first is\nthe default variant (`defaultVariantId`), then the rest from the cheapest.","args":[{"name":"selectedOptions","description":"The option values chosen so far, by option name.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SelectedOptionInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"ignoreUnknownOptions","description":"Whether to skip selected options this product does not have, rather than match nothing.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true"},{"name":"caseInsensitiveMatch","description":"Whether to match option names and values regardless of case.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variantBySelectedOptions","description":"The variant with exactly these option values — one for every option. Null\nwhen no variant has them.","args":[{"name":"selectedOptions","description":"A value for every option, by option name.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SelectedOptionInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null},{"name":"ignoreUnknownOptions","description":"Whether to skip selected options this product does not have, rather than match nothing.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"},{"name":"caseInsensitiveMatch","description":"Whether to match option names and values regardless of case.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"adjacentVariants","description":"The variants one option value away from the variant the selection leads to\n(see selectedOrFirstAvailableVariant), ordered by id — what a variant picker\nneeds to show each neighbouring choice's price and availability.","args":[{"name":"selectedOptions","description":"The option values chosen so far, by option name.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SelectedOptionInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"ignoreUnknownOptions","description":"Whether to skip selected options this product does not have, rather than match nothing.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true"},{"name":"caseInsensitiveMatch","description":"Whether to match option names and values regardless of case.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductVariant","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"encodedVariantExistence","description":"Every combination of option values that has a variant, in Shopify's v1\nencoding: positions in `options` and their `optionValues`, as a trie. Decode\nit with Nitrogen's `decodeEncodedVariant`. Null for a product without options.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"encodedVariantAvailability","description":"Every combination of option values whose variant can be bought, encoded as\n`encodedVariantExistence` is. Null for a product without options.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":"List of product variants. Order: by id, the order the merchant made them.","args":[{"name":"first","description":"Returns the first n variants.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns variants after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n variants.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns variants before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductVariantConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"images","description":"Product images. Order: the merchant's order in the gallery.","args":[{"name":"first","description":"Returns the first n images.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns images after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n images.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns images before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ImageConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredImage","description":"The first image of the product.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"media","description":"The product's media in the merchant's order — photographs, an embedded YouTube video,\na 360° spin.\n\nThe same records `images` returns, but kept whole rather than flattened to a still: use\nthis to build a gallery that plays the video and turns the spin, and `images` when a\npicture is all you can show.","args":[{"name":"first","description":"Returns the first n media: 25 when omitted, 100 at most.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductMedia","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":"Collections that include this product. Order: the product's main category\nfirst, the others by id.","args":[{"name":"first","description":"Returns the first n collections.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns collections after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n collections.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns collections before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CollectionConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reviewEligibility","description":"Whether the viewer may review this product, and why not when they may not.\n\nRead it before offering a review form: with the merchant's default setting only people who\nbought the product may review it, so most viewers cannot, and finding that out after writing a\nreview is the wrong order. Without a token this answers for an anonymous viewer.","args":[{"name":"customerAccessToken","description":"The customer access token, when the viewer is signed in.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"email","description":"The viewer's address, when they are a guest the storefront already knows — from a previous\norder, say. The buyer check runs against it, so ask with the same identity you will submit\nunder. Ignored when a token is given.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewEligibility","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"SEO information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SEO","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":"A list of tags associated with the product.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"vendor","description":"The name of the product vendor.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"vendorDetails","description":"The product vendor as an object, with its logo and page. Null when the product has no vendor.","args":[],"type":{"kind":"OBJECT","name":"Vendor","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"vendorImage","description":"The vendor's logo. Null when the product has no vendor or the vendor has no logo.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productType","description":"How the product is sold, one of:\n- `simple`: one variant, nothing to choose;\n- `multiple`: variants, chosen by `options`;\n- `digital`: a download;\n- `bundle`: several products sold together, added with `cartBundleAdd`\n (never `cartLinesAdd`); `bundle` describes them.\n\nRead at no cost for a list of products, unlike `bundle`, which loads\neach bundle's products.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"bundle","description":"What this product contains, when it is a bundle. Null for every product that is not one.\n\nA bundle cannot go in the cart through `cartLinesAdd`: choose a variant for each of\n`bundle.products` and add them together with `cartBundleAdd`.","args":[],"type":{"kind":"OBJECT","name":"ProductBundle","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalInventory","description":"The total inventory across all variants.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"publishedAt","description":"The date and time when the product was published.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL to the product page on the online store.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isNew","description":"Whether this product is marked as new.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isFeatured","description":"Whether this product is featured.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"labels","description":"Product labels (e.g. New, Featured, Sale).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductLabel","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"banners","description":"Product banner images (overlaid on product card at specific positions).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductBanner","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"sizeChart","description":"The size chart the merchant attached to this product's category or brand. Its content is a\nCMS page — read it with `Query.page(handle: pageHandle)`. Null when there is none.","args":[],"type":{"kind":"OBJECT","name":"ProductSizeChart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"quantityDiscounts","description":"Volume pricing — the unit price at each quantity tier, ascending. Empty when the product has\nnone for this buyer. The cart applies it; this is for showing it before one exists. These are\nthe default variant's tiers: for the variant a page shows, read `ProductVariant.quantityDiscounts`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductQuantityDiscount","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityTierPrice","description":"What the given pieces of this product cost in the cart, as the platform charges them: every piece of the\nproduct counts toward its quantity tier, whatever its variant, and each is priced at its own variant's tier for\nthat count — or at the variant's price while the count reaches none of its tiers. For a tier offered with a\nvariant chosen for each piece. Null when a line names no variant of this product, a quantity is under one, or\nthere are more than 100 lines.","args":[{"name":"lines","description":"The pieces, by variant.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductPiecesInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductPiecesPrice","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"energyClass","description":"EU energy class label for this product.","args":[],"type":{"kind":"OBJECT","name":"EnergyClass","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"files","description":"Downloadable files available for this product. Order: oldest first.","args":[{"name":"first","description":"Returns the first n files.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns files after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n files.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns files before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductFileConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"properties","description":"Product specifications/attributes from category properties.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductProperty","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"dimensions","description":"The product's size — length, width and height — as the merchant entered it\nin the admin, the same for every variant. Null when none of the three is set.\nFor the weight, see `ProductVariant.weight`.","args":[],"type":{"kind":"OBJECT","name":"ObjectDimensions","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customizations","description":"Choices the buyer makes about this product beyond picking a variant — an\nengraving, gift wrapping, a cut to size, an uploaded artwork.\n\nThese are not `options`. A variant option decides which variant is bought;\na customization is attached to the line, usually changes its price, and\nforms part of the line's identity — the same variant with different\ncustomizations is a separate line, not a larger quantity.\n\nSend the buyer's answers back as `CartLineInput.customizations`. Empty when\nthe merchant has set none up, or does not run the product options app.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductCustomization","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"tabs","description":"The tabs of content the merchant added to the product beside its description —\ncare instructions, a size guide — in the order they were added. Empty when there\nare none. The web storefront's own sections (stock per shop, reviews) are not\namong them.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductTab","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"linkedProducts","description":"Manually linked products set by the merchant. Order: the merchant's order.","args":[{"name":"first","description":"Returns the first n linked products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns linked products after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n linked products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns linked products before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"unavailableProducts","description":"How linked products that cannot be bought are treated: HIDE leaves them out,\nLAST lists them after the others. Left out, the store's own settings decide. A\nstore that hides such products keeps them hidden whatever is asked.","type":{"kind":"ENUM","name":"SearchUnavailableProductsType","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"relatedProducts","description":"Products like this one, as a list to page through for \"You may also like\": the\nmerchant's linked products (50 at most), then the products of this product's\nmain category and the categories under it, without this product or the linked\nones. Forward only. `filters` is empty on this connection.\nOrder: the linked products in the merchant's order, then the category's\nproducts in the merchant's order for the category.","args":[{"name":"first","description":"Returns the first n products. Defaults to 25, at most 100.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns the products after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"linked","description":"Whether the merchant's linked products come first, as by default. False leaves\nthem out: the category's products alone, still without any linked product, for a\nstorefront that shows `linkedProducts` apart.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"creditOffers","description":"Consumer-credit terms for this product, one entry per credit institution the\nmerchant has enabled. Empty when the store offers no credit, or when the\namount falls under every provider's minimum.\n\nThe amount financed is the chosen variant's price, or the product's own when\nno variant is named. Quantity is one — this answers \"what would this cost per\nmonth\", not what a basket costs.\n\nCosts nothing unless selected. When it is selected on a product **listing**,\nonly providers with `pricing: LOCAL` answer: the others are an HTTP call to\nthe institution each, and a page of 24 products would be dozens of them. Ask\non a single product to see every provider.\n\nFor the variant a storefront picks by its options, ask `ProductVariant.creditOffers`\non `selectedOrFirstAvailableVariant(selectedOptions:)` instead: the same terms, in\nthe same request.","args":[{"name":"variantId","description":"The variant being priced. Defaults to the product's own price.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"downPayment","description":"A down payment the buyer wants to make, in major units. Changes every plan.","type":{"kind":"SCALAR","name":"Decimal","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductCreditOffer","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"sellingPlanGroups","description":"The subscription options the merchant offers on this product, if any.\n\nEmpty — not an error — whenever a subscription cannot be sold: the merchant\ndoes not run the Subscriptions app, no payment provider they enabled can\ncharge a saved card again, nothing targets this product, or the product is\ndigital (a recurring purchase of digital content inside a native app falls\nunder the stores' own in-app purchase rules, so the API does not offer one).\n\nThe prices are for `variantId`; without it they are the product's own.","args":[{"name":"variantId","description":"The variant being priced. Defaults to the product's own price.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SellingPlanGroup","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"reviewSummary","description":"Review summary (average rating and count). Null if the store does not run the ProductReview app.","args":[],"type":{"kind":"OBJECT","name":"ProductReviewSummary","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"reviews","description":"Customer reviews for this product. Empty if the store does not run the ProductReview\napp. Order: the merchant's (`productReviewSettings.sortKey`) unless `sortKey` is given —\nnewest first, or highest rated first.","args":[{"name":"first","description":"Returns the first n reviews: 10 when neither `first` nor `last` is given, 50 at most.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns reviews after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n reviews, 50 at most.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns reviews before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"rating","description":"Only the reviews with this rating, 1–5 — the platform storefront's star filter.\n`totalCount` then counts those.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sortKey","description":"The order. The merchant's order when not given.","type":{"kind":"ENUM","name":"ProductReviewSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Oldest or lowest rated first instead.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"The date and time the product was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time the product was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockByStore","description":"Which physical store locations carry this product, and — only when `includeQuantity: true` is\npassed — how much stock each holds (summed across variants). Quantities are hidden by default so\nmerchants who do not want to expose stock levels are not leaked; the storefront opts in explicitly.","args":[{"name":"includeQuantity","description":"Set true to include the numeric per-store quantity (otherwise `quantity` is null).","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"StoreStock","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProductStatusType","description":"The stock status of a product or variant.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IN_STOCK","description":"The product is in stock and available for purchase.","isDeprecated":false,"deprecationReason":null},{"name":"OUT_OF_STOCK","description":"The product is out of stock.","isDeprecated":false,"deprecationReason":null},{"name":"REQUEST","description":"The product is available on request (contact for pricing/availability).","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIBE","description":"The product is out of stock but customers can subscribe for notifications.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ProductDiscount","description":"A discount on a product variant, while it applies.","fields":[{"name":"name","description":"The discount name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The discount type (flat, fixed, percent, etc.).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"percent","description":"The discount percentage (0-100).","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"typeValueFormatted","description":"Formatted discount value for display (e.g. '-15%' or '-5.00 лв.').","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"style","description":"The badge's CSS, as the platform's themes use it. Use `backgroundColor` and `textColor` rather than parsing it.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"backgroundColor","description":"The badge's background colour, as the merchant set it (hex, such as `#FF0000`). Null when none is set.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"textColor","description":"The badge's text colour, as the merchant set it (hex). Null when none is set.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"amountOff","description":"What the discount takes off one unit: the regular price minus the discounted price.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hideDiscountPrice","description":"Whether to hide the original (crossed-out) price. Always false when the\ndiscount gives a manufacturer's suggested retail price, which the platform\nthen shows instead.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"msrpPrice","description":"MSRP (manufacturer suggested retail price) if applicable.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"startDate","description":"The discount start date.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endDate","description":"The discount's last day, at midnight. Use `endsAt` for when it ends.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":"When the discount stops applying: the end of its last day in the store's\ntimezone, given in UTC. Null when it has no end. A countdown counts down to it.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countdownOnListing","description":"Whether to show a countdown timer on product listings.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"countdownOnDetail","description":"Whether to show a countdown timer on the product detail page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductBanner","description":"A banner image overlaid on a product card.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The banner name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":"The banner image URL.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":"The position on the product card (tl = top-left, tr = top-right, bl = bottom-left, br = bottom-right).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EnergyClass","description":"EU energy class label for a product.","fields":[{"name":"label","description":"The energy class label (e.g. 'A', 'B', 'E').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":"The energy class badge image URL.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"documentUrl","description":"The energy label document URL (PDF).","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productSheetUrl","description":"The product information sheet URL (EPREL / product fiche).","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOption","description":"A product option (e.g. Size, Color).","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The option name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"How the store presents the option: select, color, image, radio, 2d or numeric_alpha.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":"The option's values, in the same order as `optionValues`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionValues","description":"The option's values the product's variants use, in the merchant's order for\nthem. Positions in this list are the ones `encodedVariantExistence` uses.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductOptionValue","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionValue","description":"A value of a product option, such as Red for Color.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The value, as the variants' `selectedOptions` name it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstSelectableVariant","description":"The variant that pairs this value with the first values of the other\noptions. Null only when no variant uses this value.","args":[],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"swatch","description":"The colour or image the store shows for the value, for options presented that way.","args":[],"type":{"kind":"OBJECT","name":"ProductOptionValueSwatch","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionValueSwatch","description":"How an option value is shown as a swatch.","fields":[{"name":"color","description":"The colour, as a CSS hex value, for a colour option.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The image, for an image option.","args":[],"type":{"kind":"OBJECT","name":"MediaImage","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SelectedOptionInput","description":"An option value chosen by name.","fields":null,"inputFields":[{"name":"name","description":"The option name.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"value","description":"The option value.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTab","description":"A tab of content the merchant added to a product beside its description.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The tab's title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"contentHtml","description":"The tab's content, as the merchant wrote it in the editor.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductFile","description":"A downloadable product file.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The display name of the file.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"filename","description":"The original filename.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The download URL.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":"The file size in bytes.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductFileConnection","description":"A connection to a list of product files.","fields":[{"name":"edges","description":"A list of file edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductFileEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the file nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductFile","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductFileEdge","description":"An edge in a product file connection.","fields":[{"name":"node","description":"The file node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductFile","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductProperty","description":"A product property/specification (e.g. Material: Cotton).","fields":[{"name":"name","description":"The property name (e.g. Material, Weight).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":"The property values for this product.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductLabel","description":"A product label (e.g. New, Featured, Sale).","fields":[{"name":"name","description":"The label text.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"color","description":"The background color (hex).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"textColor","description":"The text color (hex).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":"The position on the product card.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductConnection","description":"A connection to a list of products.","fields":[{"name":"edges","description":"A list of product edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the product nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Product","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":"Available filters for narrowing results (powered by Elasticsearch aggregations).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Filter","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"filterCapabilities","description":"What a client can rely on in `filters`: whether counts are exact, whether values were cut off, whether facets are served at all.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"FilterCapabilities","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"Total number of products matching the current query and filters.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductEdge","description":"An edge in a product connection.","fields":[{"name":"node","description":"The product node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Product","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductSizeChart","description":"A size chart, as the merchant's CMS page that holds it.","fields":[{"name":"name","description":"The link text the merchant chose.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageHandle","description":"The page's handle, for Query.page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductQuantityDiscount","description":"One volume-pricing tier.","fields":[{"name":"variantId","description":"The variant this tier applies to (null for a legacy product-wide tier).","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"minQuantity","description":"The smallest quantity this tier applies to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxQuantity","description":"The largest, or null for the open-ended top tier.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The unit price within this tier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The store's own wording for the tier — \"from 5 to 9 pcs.\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtPrice","description":"The unit price the tier is off: the variant's price before any discount. Null when the tier saves nothing.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"percentOff","description":"The tier's saving on the unit price, in whole percent, rounded. Null when it saves nothing.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":"The price of the tier's least quantity (`minQuantity` pieces at `price`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtTotalPrice","description":"The price of the tier's least quantity before the tier (`minQuantity` pieces at `compareAtPrice`). Null when it saves nothing.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalSaving","description":"What the tier's least quantity saves: `compareAtTotalPrice` less `totalPrice`. Null when it saves nothing.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductPiecesPrice","description":"What pieces of one product cost in the cart (`Product.quantityTierPrice`).","fields":[{"name":"totalPrice","description":"What the pieces cost.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtTotalPrice","description":"What they cost at each variant's price before any discount. Null when that is no more.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"percentOff","description":"The saving against `compareAtTotalPrice`, in whole percent, rounded. Null without one.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalSaving","description":"What the pieces save: `compareAtTotalPrice` less `totalPrice`. Null without a saving.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewSummary","description":"A summary of product reviews: the average rating, the count, and the count at each rating.","fields":[{"name":"averageRating","description":"The average rating (0.0–5.0).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roundedRating","description":"The average rating rounded to the nearest integer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"The total number of approved reviews.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"ratingDistribution","description":"How many approved reviews gave each rating, from 5 stars down to 1. Every rating\nis listed, with 0 when no review has it — the bars of the platform storefront's\nreview summary. Filter the list to one of them with `Product.reviews(rating:)`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductReviewRatingCount","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewRatingCount","description":"How many approved reviews gave a rating.","fields":[{"name":"rating","description":"The rating, 1–5.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":"The number of approved reviews with it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductReview","description":"A customer review of a product.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"rating","description":"The star rating (1–5).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The review title.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"comment","description":"The review comment text.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"author","description":"The review author.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReviewAuthor","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When the review was published.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"answers","description":"The merchant's approved replies to this review, oldest first.","args":[{"name":"first","description":"Returns the first n replies; all of them when omitted.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductReview","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReviewAuthor","description":"The author of a review.","fields":[{"name":"name","description":"The author's display name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"initials","description":"The author's initials (for avatar placeholder).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewConnection","description":"A connection to a list of reviews.","fields":[{"name":"edges","description":"A list of review edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductReviewEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the review nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductReview","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"The total number of reviews.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewEdge","description":"An edge in a review connection.","fields":[{"name":"node","description":"The review node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReview","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductReviewInput","description":"A review to be written.","fields":null,"inputFields":[{"name":"rating","description":"The star rating, 1 to 5.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"title","description":"A short headline. Up to 200 characters.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"comment","description":"The review itself. Up to 1000 characters.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"email","description":"The reviewer's address, for a guest. Ignored when a customer token is sent — the account's own\naddress wins, exactly as it does on the merchant's storefront.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"authorName","description":"The reviewer's display name, for a guest. Ignored when a customer token is sent.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewSubmitPayload","description":"The result of submitting a review.","fields":[{"name":"review","description":"The review, when one was created.","args":[],"type":{"kind":"OBJECT","name":"ProductReview","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"How the submission ended.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the submission failed, when it did.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductReviewUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProductReviewStatus","description":"How a submission ended.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PUBLISHED","description":"Published; it is already visible on the product.","isDeprecated":false,"deprecationReason":null},{"name":"PENDING_APPROVAL","description":"Accepted, and waiting for the merchant to approve it.","isDeprecated":false,"deprecationReason":null},{"name":"REJECTED","description":"Nothing was created. See userErrors.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewUserError","description":"An error that stopped a review being written.","fields":[{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The reason, for a storefront that needs to branch on it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewErrorCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProductReviewErrorCode","description":"Why a review was refused.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"NOT_A_BUYER","description":"The merchant accepts reviews only from people who bought the product.","isDeprecated":false,"deprecationReason":null},{"name":"ALREADY_REVIEWED","description":"This person has already reviewed this product.","isDeprecated":false,"deprecationReason":null},{"name":"WINDOW_CLOSED","description":"Past the merchant's review window after the order.","isDeprecated":false,"deprecationReason":null},{"name":"ORDER_NOT_ELIGIBLE","description":"The named order is not paid, completed or fulfilled.","isDeprecated":false,"deprecationReason":null},{"name":"REVIEWS_DISABLED","description":"The store does not run the reviews app.","isDeprecated":false,"deprecationReason":null},{"name":"TOKEN_INVALID","description":"The token does not identify anyone.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"The input failed validation.","isDeprecated":false,"deprecationReason":null},{"name":"THROTTLED","description":"Too many reviews from this visitor in the last minute; try again shortly.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewEligibility","description":"Whether the viewer may review a product.","fields":[{"name":"canReview","description":"Whether a review would be accepted right now.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":"Why not. Null when they can.","args":[],"type":{"kind":"ENUM","name":"ProductReviewErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresApproval","description":"Whether the merchant holds every review for approval. A review can also be held for its rating\nalone when the merchant set a star threshold, so a published review is never promised here —\n`ProductReviewSubmitPayload.status` is what says what actually happened.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProductReviewSortKeys","description":"The order of a product's reviews. Each is descending; `reverse` turns it around.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CREATED_AT","description":"Newest first.","isDeprecated":false,"deprecationReason":null},{"name":"RATING","description":"Highest rating first, and the newest first among the same rating.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewSettings","description":"How the merchant set up the Product Reviews app: the order of the reviews, what a product page\nshows of them, and who may answer them. The settings are store-wide and the same for every\nvisitor, so this can be cached like other settings the merchant edits.","fields":[{"name":"sortKey","description":"The order `Product.reviews` lists reviews in when no `sortKey` is given.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewSortKeys","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"summaryOnly","description":"Show only the product's overall rating (`Product.reviewSummary`), not the reviews themselves.\nThe list is still served, so honouring the setting is the storefront's part.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hideRatingWithoutReviews","description":"Hide a product's rating while it has no reviews. When false, a product with none shows its\nempty rating, as the platform's product page and listings do.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showRatingInLists","description":"Show a product's rating in product lists — its card in a collection, a search or a\nrecommendation — as the merchant's \"Show product list rating\" does.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customersCanAnswer","description":"Whether a signed-in customer may answer a review (`productReviewAnswerCreate`). A guest\nnever may, as on the platform.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"answersRequireApproval","description":"Whether an answer waits for the merchant's approval before it is shown.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellingPlanGroup","description":"A named set of subscription options the merchant attached to products —\n\"Subscribe & Save\".\n\nA product can carry more than one group. Render each group as its own block:\nthe name is the merchant's heading for the choice, and the plans under it are\nthe intervals they offer.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The merchant's name for the group, as a heading above its plans.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"merchantCode","description":"The merchant's own reference for the group. Null when they set none.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"plans","description":"The plans in this group, in the merchant's order. Never empty.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SellingPlan","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellingPlan","description":"One subscription option — \"every month, 10% off\".\n\nSend `id` as `CartLineInput.sellingPlanId` to buy the product on this plan. The\nline is then a separate line from the same product bought once, at the price\n`price` reports.","fields":[{"name":"id","description":"A globally unique identifier. This is what a cart line is created with.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The merchant's name for the plan.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"How often it is delivered, in the buyer's language — \"Every month\", \"Every 30 days\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deliveriesPerCycle","description":"How many deliveries one charge pays for. 1 is pay-as-you-go; more than one\nmeans the buyer pays up front for a run of deliveries.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"prepaid","description":"Whether one charge covers several deliveries.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"prepaidNote","description":"The merchant's wording for a prepaid plan — \"Charged once for 3 deliveries\". Null when it is not prepaid.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"minCycles","description":"The smallest number of cycles the buyer commits to, when the merchant set one.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maxCycles","description":"The number of cycles after which the subscription ends by itself, when the merchant set one.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"priceAdjustment","description":"What the plan takes off the first cycle, for showing the saving. Null when\nthe plan is not discounted.\n\nLater cycles can be priced differently; those tiers belong to the contract\nand are not offered here, because a buy button that quotes a price the buyer\nis not about to pay is worse than one that quotes nothing.","args":[],"type":{"kind":"OBJECT","name":"SellingPlanPriceAdjustment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The unit price on this plan, adjustment already applied. Use it as-is —\nthe cart applies the same adjustment with the same rounding, so working it\nout from `priceAdjustment` risks quoting a price the checkout contradicts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtPrice","description":"The price without the plan's discount, for a crossed-out figure. Null when the plan takes nothing off.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellingPlanPriceAdjustment","description":"How a plan changes the price of a cycle.","fields":[{"name":"type","description":"The kind of adjustment.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SellingPlanAdjustmentType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The amount: whole percent for `PERCENTAGE`, and money in the store's\ncurrency for `FIXED_AMOUNT` and `PRICE`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Decimal","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"afterCycle","description":"The cycle this adjustment comes into force from. 0 is the first order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SellingPlanAdjustmentType","description":"The kinds of price adjustment a selling plan can make.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PERCENTAGE","description":"A percentage off the price.","isDeprecated":false,"deprecationReason":null},{"name":"FIXED_AMOUNT","description":"A flat amount off the price.","isDeprecated":false,"deprecationReason":null},{"name":"PRICE","description":"An absolute price, replacing the product's own.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"StoreStock","description":"The presence and (optionally) available quantity of a product/variant at a physical store location.\nThe numeric `quantity` is returned only when the query opts in via `includeQuantity: true` — by default\nit is null, so a merchant's stock levels are not exposed unless explicitly requested.","fields":[{"name":"store","description":"The physical store / pickup location.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"StoreLocation","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"Available quantity at this store. Null unless the query requested `includeQuantity: true`.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":"A product variant represents a specific version of a product.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The variant title (e.g. 'Large / Red').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":"The SKU (stock keeping unit).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"barcode","description":"The barcode.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The variant price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtPrice","description":"The compare-at price while the variant is on sale: its regular price, or the\nmanufacturer's suggested retail price when its discount gives one\n(`discount.msrpPrice`), as the platform shows it. Null when it is not on sale.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"discount","description":"The variant's own discount, the one its `price` and `compareAtPrice` come\nfrom: the cheapest that applies today for the buyer's customer group. Null\nwhen none applies.","args":[],"type":{"kind":"OBJECT","name":"ProductDiscount","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":"The variant's `price` per reference amount — per `unitPriceMeasurement.referenceValue`\n`referenceUnit`, such as 25.00 per 1 kg — as the storefront shows it next to\nthe price. Null when the variant is not sold by a unit of measure (the store's\nUnits app).","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceMeasurement","description":"How much the variant holds and what `unitPrice` refers to. Null when `unitPrice` is.","args":[],"type":{"kind":"OBJECT","name":"UnitPriceMeasurement","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"availableForSale","description":"Whether this variant is available for sale.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currentlyNotInStock","description":"Whether this variant is currently not in stock but available for purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requiresShipping","description":"Whether the variant requires shipping.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"minimumQuantity","description":"The smallest quantity this variant is sold in. At least 1.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"selectedOptions","description":"The selected option values for this variant.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SelectedOption","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The variant image.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"quantityDiscounts","description":"The variant's quantity tiers, ascending: its own, or the product's when it has none, for this\nbuyer's customer group — the unit price the cart charges for each quantity, the last tier for\nevery quantity above it. Empty when there are none. With each tier's price before it, its saving\nand the prices for its least quantity, so a storefront can offer them as choices. Loaded for every\nvariant of a list at once.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductQuantityDiscount","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"mediaIds","description":"The product media this variant is sold under, as ids into `Product.media`, in the order the\nmerchant arranged them on the variant.\n\nA gallery showing this variant should show these and nothing else. **Empty means show the\nwhole gallery**, not \"show nothing\" — it is what a merchant who linked no pictures to this\nvariant gets, and it is the rule the web storefront follows too.\n\nIds rather than images: the client already holds every picture from `Product.media`, and\nrepeating their URLs once per variant would multiply the product payload for nothing.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityAvailable","description":"The available quantity.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"weight","description":"The weight of the variant.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"weightUnit","description":"The unit of measurement for weight.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"WeightUnit","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"statusType","description":"The stock status type of this variant.","args":[],"type":{"kind":"ENUM","name":"ProductStatusType","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"statusName","description":"The localized stock status label.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"Whether this variant is active and visible.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"The parent product.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Product","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"creditOffers","description":"Consumer-credit terms for this variant's price — `Product.creditOffers` for this\nvariant. Asked on the variant `selectedOrFirstAvailableVariant(selectedOptions:)`\npicks, the terms come in the same request that reads the options from the URL,\nwithout first learning the variant's id.\n\nCosts nothing unless selected; within a product listing only providers with\n`pricing: LOCAL` answer, as on `Product.creditOffers`.","args":[{"name":"downPayment","description":"A down payment the buyer wants to make, in major units. Changes every plan.","type":{"kind":"SCALAR","name":"Decimal","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductCreditOffer","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"stockByStore","description":"Which physical stores carry this variant, with per-store quantity only when `includeQuantity: true`.","args":[{"name":"includeQuantity","description":"Set true to include the numeric per-store quantity (otherwise `quantity` is null).","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"StoreStock","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UnitPriceMeasurement","description":"The measurement behind a variant's unit price.\n\nThe units are the merchant's own (the store's Units app), so unlike Shopify's\nenums they are given by name, as the storefront shows them — for example kg or g.","fields":[{"name":"measuredType","description":"How sold by the unit the variant is: MEASURED when it is bought in steps of\n`quantityValue` (such as 100 g at a time), COUNTABLE when it is bought by the\npiece and each piece holds `quantityValue`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UnitPriceMeasuredType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityValue","description":"The amount of `quantityUnit` the price is for: one step, or what one piece holds.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityUnit","description":"The unit the variant is sold in.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"referenceValue","description":"The amount of `referenceUnit` that `unitPrice` is for.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"referenceUnit","description":"The unit `unitPrice` refers to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"UnitPriceMeasuredType","description":"How a variant is sold by its unit of measure.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"MEASURED","description":"Bought in steps of a measured amount, such as 100 g at a time.","isDeprecated":false,"deprecationReason":null},{"name":"COUNTABLE","description":"Bought by the piece; each piece holds a measured amount, such as a 500 g pack.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SelectedOption","description":"A selected option value (e.g. name: 'Size', value: 'Large').","fields":[{"name":"name","description":"The option name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The option value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The option type (select, color, image, radio, 2d, numeric_alpha).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"color","description":"The color hex value (for color-type options, e.g. '#FF0000').","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"swatchUrl","description":"The swatch image URL (for image-type options).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantConnection","description":"A connection to a list of product variants.","fields":[{"name":"edges","description":"A list of variant edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductVariantEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the variant nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductVariant","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantEdge","description":"An edge in a variant connection.","fields":[{"name":"node","description":"The variant node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductVariant","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Vendor","description":"The brand or manufacturer behind a product, with its logo, description and own\npage on the online store.\n\nA CloudCart extension. Shopify's Storefront API knows the vendor only as the\n`Product.vendor` string; here the same vendor is an object too, shaped like a\n`Collection` so a brand page renders the way a collection page does.\n`Product.vendor` keeps returning the plain name.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The vendor name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The vendor name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string for the vendor, as used in its online store URL.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"A plain text description, optionally truncated.","args":[{"name":"truncateAt","description":"Truncates the description to this many characters and appends '...'.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The description as HTML.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The vendor's logo, or null when the merchant has not uploaded one. Unlike a\nproduct or collection image there is no placeholder fallback: a storefront\nwith no logo should show the vendor's name instead.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"SEO information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SEO","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL to the vendor's page on the online store.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"Products by this vendor that are visible on the storefront. Order by\ndefault: the merchant's arrangement (`RELEVANCE`), in the direction the\nstore sets for its listings. When the merchant lists products that cannot be\nbought last, they come after the others in every order.","args":[{"name":"first","description":"Returns the first n products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns products after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns products before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Omitted: the store's own listing order — its listing setting, or best sellers first when it set none.","type":{"kind":"ENUM","name":"ProductSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Turns the key's order around: newest, Z to A, dearest or least sold first. No effect without a key, or with `RELEVANCE`, `PRODUCT_TYPE` or `VENDOR`.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"filters","description":"Filter products by availability, price, tag, or variant option.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductFilter","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"smartFacetCounts","description":"Whether to compute smart facet counts via cross-filter aggregations. Disable for faster responses when exact counts are not needed.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"The date and time the vendor was created.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time the vendor was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VendorConnection","description":"A connection to a list of vendors.","fields":[{"name":"edges","description":"A list of vendor edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"VendorEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the vendor nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Vendor","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VendorEdge","description":"An edge in a vendor connection.","fields":[{"name":"node","description":"The vendor node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Vendor","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Collection","description":"A collection represents a group of products (category or smart collection).","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The collection title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The collection's page on the online store: `/category/{handle}` for a category,\n`/selection/{handle}` for a smart collection. Link to this instead of building\nthe address, and never read the kind of collection from its `id`.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"A plain text description, optionally truncated.","args":[{"name":"truncateAt","description":"Cuts the text to this many characters, then appends `...`, when it is longer.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The description as HTML.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The collection image.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":"The parent collection (null if top-level).","args":[],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"children","description":"Child collections. Order: the merchant's order in the category tree.","args":[{"name":"first","description":"Returns the first n child collections.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns child collections after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n child collections.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns child collections before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CollectionConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"breadcrumb","description":"Breadcrumb path from root to this collection.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Collection","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"googleTaxonomy","description":"Google Product Taxonomy for this collection.","args":[],"type":{"kind":"OBJECT","name":"GoogleTaxonomy","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"restrictions","description":"Payment and shipping restrictions for this collection.","args":[],"type":{"kind":"OBJECT","name":"CollectionRestrictions","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"color","description":"The hex color assigned to this collection.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"icon","description":"The icon identifier.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productsCount","description":"The number of products in this collection.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"displayChildren","description":"Whether to display child collections on the storefront.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"Products in this collection. Order by default: the merchant's arrangement\n(`RELEVANCE`), in the direction the store sets for its listings. When the\nmerchant lists products that cannot be bought last, they come after the\nothers in every order.","args":[{"name":"first","description":"Returns the first n products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns products after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns products before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Omitted: a smart collection's own order when it has one, otherwise the store's own listing order — its listing setting, or best sellers first when it set none.","type":{"kind":"ENUM","name":"ProductSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Turns the key's order around: newest, Z to A, dearest or least sold first. No effect without a key, or with `RELEVANCE`, `PRODUCT_TYPE` or `VENDOR`.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"filters","description":"Filter products by availability, price, tag, or variant option.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductFilter","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"smartFacetCounts","description":"Whether to compute smart facet counts via cross-filter aggregations. Disable for faster responses when exact counts are not needed.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"SEO information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SEO","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"The date and time the collection was created.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time the collection was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GoogleTaxonomy","description":"Google Product Taxonomy classification.","fields":[{"name":"id","description":"The taxonomy ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The full taxonomy name (e.g. 'Apparel & Accessories > Shoes').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionRestrictions","description":"Payment and shipping restrictions for a collection.","fields":[{"name":"allowedPaymentIds","description":"Allowed payment method IDs (empty means all allowed).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"allowedShippingIds","description":"Allowed shipping method IDs (empty means all allowed).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionConnection","description":"A connection to a list of collections.","fields":[{"name":"edges","description":"A list of collection edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CollectionEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the collection nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Collection","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionEdge","description":"An edge in a collection connection.","fields":[{"name":"node","description":"The collection node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Collection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilter","description":"Filters for products within a collection.","fields":null,"inputFields":[{"name":"available","description":"In-stock products only when true. False does not restrict.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"variantOption","description":"Filter by variant option.","type":{"kind":"INPUT_OBJECT","name":"VariantOptionFilter","ofType":null},"defaultValue":null},{"name":"productVendor","description":"Filter by product vendor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"price","description":"Filter by price range.","type":{"kind":"INPUT_OBJECT","name":"PriceRangeFilter","ofType":null},"defaultValue":null},{"name":"tag","description":"Filter by tag.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"onSale","description":"Filter by sale status.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"isNew","description":"Filter by new status.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"isFeatured","description":"Filter by featured status.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"productMetafield","description":"Filter by category property value.","type":{"kind":"INPUT_OBJECT","name":"MetafieldFilter","ofType":null},"defaultValue":null},{"name":"brandModel","description":"Filter by brand model.","type":{"kind":"INPUT_OBJECT","name":"BrandModelFilter","ofType":null},"defaultValue":null},{"name":"category","description":"Filter by category.","type":{"kind":"INPUT_OBJECT","name":"CategoryFilter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"VariantOptionFilter","description":"Filter products by a specific variant option. Give `optionId` — it is exact where names are not, since two\nparameters can share a name. `name` and `value` are the fallback for inputs that predate ids.","fields":null,"inputFields":[{"name":"optionId","description":"The option id, as `FilterValue.input` carries it.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"name","description":"The option name (e.g. 'Color').","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"value","description":"The option value (e.g. 'Red').","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PriceRangeFilter","description":"Filter products by price range.","fields":null,"inputFields":[{"name":"min","description":"Minimum price.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"max","description":"Maximum price.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MetafieldFilter","description":"Filter by a category property (metafield) value. `optionId` wins over the handles when given.","fields":null,"inputFields":[{"name":"optionId","description":"The property option id, as `FilterValue.input` carries it.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"namespace","description":"The property namespace or handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"key","description":"The property key or handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"value","description":"The value to match.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BrandModelFilter","description":"Filter by brand and optional model.","fields":null,"inputFields":[{"name":"brandId","description":"The brand ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"modelId","description":"Optional model ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CategoryFilter","description":"Filter by category.","fields":null,"inputFields":[{"name":"id","description":"The category ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CollectionKind","description":"The two kinds of collection. Each has its own address on the store, so the\nsame handle can belong to one of each.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CATEGORY","description":"A category the merchant files products into (`/category/{handle}`).","isDeprecated":false,"deprecationReason":null},{"name":"SMART_COLLECTION","description":"A smart collection, whose products the merchant's rules pick (`/selection/{handle}`).","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartCheckoutReadiness","description":"Whether a cart can be turned into an order.","fields":[{"name":"status","description":"READY when nothing is missing.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartCheckoutStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"missing","description":"What still has to be supplied. Empty when the status is READY.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartCheckoutRequirement","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"consents","description":"The consents the buyer must accept, with the form each belongs to. Collect\nthem in the checkout and pass the accepted ids when submitting — a headless\nstorefront must send them explicitly, since nothing else records them.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartCheckoutConsent","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartCheckoutStatus","description":"Whether a cart can be turned into an order.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"READY","description":"Everything the server requires is present.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_READY","description":"Something is missing — see the requirements.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"CartCheckoutRequirement","description":"Something a cart still needs before it can be submitted.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BUYER_EMAIL","description":"An email address to reach the buyer.","isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS","description":"A delivery address.","isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_OPTION","description":"A chosen delivery service.","isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_SLOT","description":"A delivery time slot, for couriers that require one.","isDeprecated":false,"deprecationReason":null},{"name":"BILLING_ADDRESS","description":"A separate billing address.","isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_METHOD","description":"A payment method that is still on offer. Also reported when a method was\nchosen earlier but the cart has changed since and no longer allows it.","isDeprecated":false,"deprecationReason":null},{"name":"CONSENTS","description":"The buyer's consent to the store's policies.","isDeprecated":false,"deprecationReason":null},{"name":"ACCOUNT_REQUIRED","description":"The cart holds a subscription and the buyer is a guest. Only a registered\ncustomer may subscribe: the contract, the saved card and the buyer's own\nmanage/cancel page all hang off the account. Sign them in and send the token\nthrough `cartBuyerIdentityUpdate`.","isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS_REQUIRED","description":"The cart holds a subscription and is set for collection from an office, a\nlocker or a shop. Renewals are built as address deliveries, so only a\ndelivery address can be accepted.","isDeprecated":false,"deprecationReason":null},{"name":"ORDER_VALUE_TOO_LOW","description":"The order is below the smallest the store accepts.","isDeprecated":false,"deprecationReason":null},{"name":"ORDER_VALUE_TOO_HIGH","description":"The order is above the largest the store accepts.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartCheckoutConsent","description":"A consent the buyer must give before the order is submitted.","fields":[{"name":"id","description":"The policy's id, the same as `Policy.id` in `policies`. Send it back among the accepted consents.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"form","description":"Which checkout form the consent belongs to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutConsentForm","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the buyer must accept it, or may leave it unchecked.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartDeliveryMethodType","description":"How the buyer receives the shipment.\n\nThis is derived from the delivery address, not chosen independently: an address\ncarrying a courier office resolves to OFFICE, one carrying a parcel locker to\nLOCKER, an in-store pickup to MARKETPLACE, and anything else to ADDRESS.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ADDRESS","description":"Courier delivery to the buyer's own address.","isDeprecated":false,"deprecationReason":null},{"name":"OFFICE","description":"Pickup from a courier's office.","isDeprecated":false,"deprecationReason":null},{"name":"LOCKER","description":"Pickup from an automated parcel locker.","isDeprecated":false,"deprecationReason":null},{"name":"MARKETPLACE","description":"Pickup from one of the merchant's own stores.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartDelivery","description":"The cart's delivery state: where it is going, which couriers can take it, and\nwhat has been chosen.\n\nNote that `carriers` never triggers a courier API call. Prices appear only for\ncouriers that have already been quoted; quote the rest with `cartDeliveryQuote`,\none call per courier, issued in parallel. This mirrors what the storefront\nitself does and keeps a slow courier from holding up the whole checkout.","fields":[{"name":"address","description":"Where the order is going. Null until an address is set — no courier can price without one.","args":[],"type":{"kind":"OBJECT","name":"CartDeliveryAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"methodType","description":"How the buyer receives the shipment, derived from the address.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartDeliveryMethodType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"carriers","description":"The couriers allowed to serve this cart, after every restriction the store applies.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartDeliveryCarrier","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"selectedOptionHandle","description":"The handle of the chosen delivery option, if any.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDeliveryCarrier","description":"A courier that may serve this cart.","fields":[{"name":"handle","description":"A stable handle identifying the courier. Pass it to cartDeliveryQuote.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The courier's name, for display.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":"The courier's logo.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"quoted","description":"Whether this courier has been asked for prices yet.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":"The services this courier offers for the cart. Empty while `quoted` is\nfalse, and also when the courier answered but has no service to the\ndestination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartDeliveryOption","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDeliveryOption","description":"A delivery service the buyer can choose.","fields":[{"name":"handle","description":"A stable handle for this service, formed as `{courierId}:{serviceId}`.\nPass it to cartSelectedDeliveryOptionUpdate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The service name, as the courier calls it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Extra detail the courier supplies — the service description, insurance included, and the like.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"estimatedCost","description":"What the delivery costs, after the merchant's own shipping rates have been applied.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deliveryDate","description":"When the courier expects to deliver, when it says.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pickupDate","description":"When the courier expects to collect the parcel, when it says.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insurance","description":"The insurance amount included in the price, when the courier adds one.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cashOnDeliveryAllowed","description":"Whether cash on delivery can be used with this service.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"insuranceAllowed","description":"Whether the parcel can be insured with this service.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fixedTimeDeliveryAllowed","description":"Whether a fixed delivery time can be requested with this service.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDeliveryAddress","description":"Where the order is going.","fields":[{"name":"id","description":"A globally-unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The recipient's first name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The recipient's last name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The contact phone number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":"The two-letter country code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":"The province, region or state.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"The city.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postCode","description":"The postal code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetName","description":"The street name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetNumber","description":"The street number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"additionalInformation","description":"Additional address detail — apartment, floor, entrance.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"companyName","description":"The company name, for invoicing.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pickupPoint","description":"The chosen courier office or parcel locker, when the buyer picks one up.","args":[],"type":{"kind":"OBJECT","name":"CartPickupPoint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"store","description":"The chosen store, when the buyer collects in person. List them with `storeLocations`.","args":[],"type":{"kind":"OBJECT","name":"StoreLocation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"formatted","description":"The address rendered as a single line, for display.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartPickupPoint","description":"A courier office or parcel locker the buyer can collect from.","fields":[{"name":"id","description":"A stable identifier. Pass it to cartDeliveryAddressUpdate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The point's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"carrierHandle","description":"The courier that operates it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"Whether it is an office or an automated locker.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartDeliveryMethodType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"address","description":"The point's address, for display.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"The city the point is in.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":"Latitude, for placing it on a map.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":"Longitude, for placing it on a map.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDeliverySlot","description":"A delivery time slot, for couriers that require the buyer to choose one.","fields":[{"name":"key","description":"The slot key. Pass it to cartSelectedDeliveryOptionUpdate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"from","description":"When the slot opens.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"to","description":"When the slot closes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The slot's day and date, rendered for display.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"disabled","description":"Whether the slot is full and cannot be chosen.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDiscountApplication","description":"A discount the platform applied to the cart: what it is, and everything it took\noff. Its allocations, on lines (`CartLine.discountAllocations`) and on the whole\ncart (`Cart.discountAllocations`), point back to it.","fields":[{"name":"key","description":"Stable within a cart, and the same on the cart and on its lines. A cart\ndiscount keeps the platform's key (`code.5`, `container.7`, `over.12`,\n`countdown.3`, `payment`, `payment.free_shipping`, a cart rule's\n`cart-rule-…`), which its `Cart.totals` rows carry too, followed by `.` and a\nVAT group when the merchant splits discounts per VAT rate. A line discount is\nits source and its discount (`code.5`, `product.34`), or the line when the\ndiscount has no id of its own (`upsell.line.12`, `quantity.line.12`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"source","description":"Where the discount came from.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartDiscountSource","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The merchant's name for the discount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The code the buyer entered, for code discounts. A container gives its codes, separated by `; `.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"targetType","description":"Whether it takes money off the goods or off shipping.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DiscountApplicationTargetType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The discount's configured value: a percentage, or an amount off. Free\nshipping is 100%. Null when the platform has no single value, such as a fixed\nprice per variant or a cart rule.","args":[],"type":{"kind":"UNION","name":"PricingValue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalAllocatedAmount","description":"Everything this discount took off the cart, as a positive amount: the sum of its allocations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":"When it stops applying, in UTC: a countdown's expiry for this cart, or else\nthe end of the discount's last day in the store's timezone. Null when it has\nno end.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"DiscountApplicationTargetType","description":"What a discount takes money off.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"LINE_ITEM","description":"The goods: a line, or the cart's goods as a whole.","isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING_LINE","description":"The shipping cost.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"UNION","name":"PricingValue","description":"A discount's configured value: an amount off, or a percentage.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MoneyV2","ofType":null},{"kind":"OBJECT","name":"PricingPercentageValue","ofType":null}]},{"kind":"OBJECT","name":"PricingPercentageValue","description":"A percentage off.","fields":[{"name":"percentage","description":"The percentage, from 0 to 100: 12.5 is 12.5% off.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLineSelectedOption","description":"A chosen variant parameter — colour, size and the like.","fields":[{"name":"name","description":"The parameter's name, as the merchant defined it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The chosen value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLineOption","description":"A merchant-defined product option chosen for this line.\n\nOptions can carry a surcharge, which is already included in the line's cost,\nand some collect a file upload instead of a value.","fields":[{"name":"customizationId","description":"The customization this answers, matching `product.customizations[].id`.\nSend it back to reproduce the line — to reorder, or to edit the answer.\nNull for an option the merchant has since deleted.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"valueId","description":"The chosen value's id, for the types that offer choices. Null for free\ntext, measurements and files, where `value` is the answer.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The option's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The input type the merchant configured — text, select, file, length, weight, square and so on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The chosen value, rendered for display. Null when the option collects a file.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"symbol","description":"The unit symbol, for options measured in length, weight or area.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The surcharge this option adds. Zero when the option is free.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"perItem","description":"Whether the surcharge is charged per item or once for the line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"file","description":"The uploaded file, when the option collects one.","args":[],"type":{"kind":"OBJECT","name":"CartLineOptionFile","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLineOptionFile","description":"A file the buyer uploaded for a product option.","fields":[{"name":"name","description":"The file name as uploaded.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"extension","description":"The file extension.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":"The MIME type.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":"The size in bytes.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"A URL the buyer can download the file from.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDiscountAllocation","description":"A discount's share of a cart line, or of the whole cart (`Cart.discountAllocations`).\n\nCloudCart resolves a single automatic discount per line by precedence —\nup-sell beats cross-sell beats bundle beats quantity tier beats the variant's\nown discount — and a discount code is allocated separately on top of it.","fields":[{"name":"source","description":"Where the discount came from.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartDiscountSource","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The merchant's name for the discount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The code the buyer entered, for code discounts.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"discountedAmount","description":"The amount taken off this line, or off the cart, as a positive value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountApplication","description":"The application this allocation belongs to: the discount, and everything it took off the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartDiscountApplication","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetType","description":"Whether it is off the goods or off shipping.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DiscountApplicationTargetType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartDiscountSource","description":"Where a discount came from.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CODE","description":"A discount code the buyer entered.","isDeprecated":false,"deprecationReason":null},{"name":"UPSELL","description":"An up-sell offer attached to another product in the cart.","isDeprecated":false,"deprecationReason":null},{"name":"CROSS_SELL","description":"A cross-sell offer triggered by another product in the cart.","isDeprecated":false,"deprecationReason":null},{"name":"BUNDLE","description":"The line's membership in a bundle.","isDeprecated":false,"deprecationReason":null},{"name":"CART_RULE","description":"A cart rule the merchant configured.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT","description":"The variant's own discount (`ProductVariant.discount`).","isDeprecated":false,"deprecationReason":null},{"name":"QUANTITY","description":"A quantity tier on the product (`Product.quantityDiscounts`), for a line with enough pieces.","isDeprecated":false,"deprecationReason":null},{"name":"ORDER_THRESHOLD","description":"The best cart-value threshold discount, such as 10% off over 100.00, or free shipping over it.","isDeprecated":false,"deprecationReason":null},{"name":"COUNTDOWN","description":"The countdown offer, valid until its `endsAt`.","isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_METHOD","description":"A discount for the chosen payment method, on the goods or on shipping.","isDeprecated":false,"deprecationReason":null},{"name":"SELLING_PLAN","description":"The discount of the subscription plan a line is bought on (`CartLine.sellingPlan`).","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartLineWarning","description":"A problem with a cart line.","fields":[{"name":"code","description":"What is wrong.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartLineWarningCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The message to show the buyer, in their language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartLineWarningCode","description":"What is wrong with a cart line.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INSUFFICIENT_STOCK","description":"The requested quantity exceeds the stock on hand and the product does not allow backorders.","isDeprecated":false,"deprecationReason":null},{"name":"MAX_QUANTITY_REACHED","description":"The quantity exceeds the per-product limit the merchant set.","isDeprecated":false,"deprecationReason":null},{"name":"BELOW_MINIMUM_QUANTITY","description":"The quantity is below the minimum the merchant set for this product.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartLineUnit","description":"Measurement details for a product sold by length, weight or area.","fields":[{"name":"name","description":"The unit's name — metre, kilogram, square metre.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The measured amount for one item.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"valueFormatted","description":"The measured amount, rendered for display.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalFormatted","description":"The measured amount across the whole line, rendered for display.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"minimum","description":"The smallest amount the buyer may order.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLineBundle","description":"The bundle a line belongs to.\n\nEvery line of a bundle carries this, and lines sharing an `id` are one bundle:\ngroup them under `title` to show the buyer what they actually bought. There is\nno separate line for the bundle itself — the bundle is the group, and its price\nis the sum of its members.","fields":[{"name":"id","description":"A globally-unique identifier for the bundle within this cart. Lines sharing it belong together.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The bundle product's title, for the heading above its members.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"How many of the bundle the buyer took. Each member's own quantity is already multiplied by it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"The bundle product itself, when the merchant still offers it.","args":[],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartMessage","description":"A notice raised by the merchant's cart rules.","fields":[{"name":"messageHtml","description":"The message to show the buyer. Merchant-authored rich text — sanitise it before rendering, exactly as you would a product description.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CartOffer","description":"An offer of the store's Up/Cross-sell app: a cross-sell (more products, at the\noffer's price) or an up-sell (a better variant instead of the one being added).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CrossSellOffer","ofType":null},{"kind":"OBJECT","name":"UpSellOffer","ofType":null}]},{"kind":"ENUM","name":"CrossSellDisplay","description":"How a cross-sell reaches the buyer.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"POPUP","description":"Shown to the buyer, who adds the products they want with the offer's `id` as the line's `crossSellId`.","isDeprecated":false,"deprecationReason":null},{"name":"ADD_TO_CART","description":"Added for the buyer: the platform puts the offered products into the cart at\nthe offer's price. After an add to cart `cartLinesAdd` has already done it;\nthe cart page's offer is added with `cartCrossSellApply`.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CrossSellOffer","description":"A cross-sell offer, as the store's platform picks it for this cart: one at random\namong those whose conditions the cart meets, and that the buyer has neither seen\nas often as the merchant allows nor dismissed (see `OfferHistoryInput`).","fields":[{"name":"id","description":"A globally unique identifier: `gid://cloudcart/CrossSell/{id}`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The offer's title, as the merchant wrote it.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The offer's text, as the merchant wrote it.","args":[],"type":{"kind":"SCALAR","name":"HTML","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"acceptButtonText","description":"The label of the button that takes the offer.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"declineButtonText","description":"The label of the button that declines it.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"display","description":"How the offer reaches the buyer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CrossSellDisplay","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showAddedProducts","description":"For an `ADD_TO_CART` offer: whether the merchant wants the buyer shown the products it added.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":"When the offer ends, if the merchant shows a countdown to it; null otherwise.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"colors","description":"The colours the merchant chose for the offer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"OfferColors","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"The products offered, as many as the merchant allows, with the offer's price\non them: `price` is what the buyer pays with the offer, `compareAtPrice` the\nprice without it. The platform leaves out products the buyer cannot buy and,\nwhen the merchant asks, those already in the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Product","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nextIfAccepted","description":"The offer the merchant shows next when the buyer takes this one; null when there is none.","args":[],"type":{"kind":"UNION","name":"CartOffer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nextIfDeclined","description":"The offer the merchant shows next when the buyer declines this one; null when there is none.","args":[],"type":{"kind":"UNION","name":"CartOffer","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UpSellOffer","description":"An up-sell offer: the store proposes its offer variant instead of the variant the\nbuyer is adding. To take it, add the offer variant with the trigger variant as the\nline's `upSellTriggerVariantId`; the offer's price applies only to that variant.","fields":[{"name":"id","description":"A globally unique identifier: `gid://cloudcart/UpSell/{id}`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The offer's title, with the products' names and prices filled in.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The offer's text, with the products' names and prices filled in.","args":[],"type":{"kind":"SCALAR","name":"HTML","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"acceptButtonText","description":"The label of the button that takes the offer.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"declineButtonText","description":"The label of the button that declines it.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"colors","description":"The colours the merchant chose for the offer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"OfferColors","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"triggerVariant","description":"The variant being added, which the offer replaces.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductVariant","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"offerVariant","description":"The variant offered instead.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductVariant","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"How many of the offer variant to add.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The offer variant's price with the offer, when the merchant set one; null when the variant keeps its own price.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"additionalCost","description":"How much more the offer variant costs than the trigger variant, each.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showOnlyAdditionalCost","description":"Whether the merchant wants only `additionalCost` shown, not the offer variant's price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"nextIfAccepted","description":"The offer the merchant shows next when the buyer takes this one; null when there is none.","args":[],"type":{"kind":"UNION","name":"CartOffer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nextIfDeclined","description":"The offer the merchant shows next when the buyer declines this one; null when there is none.","args":[],"type":{"kind":"UNION","name":"CartOffer","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OfferColors","description":"The colours of an offer, as CSS colours.","fields":[{"name":"background","description":"The offer's background.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"text","description":"The offer's text.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"buttonBackground","description":"The accept button's background.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"buttonText","description":"The accept button's text.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartOfferPayload","description":"The result of counting an offer.","fields":[{"name":"counted","description":"Whether the offer was counted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why it was not.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartPaymentMethod","description":"A payment method the buyer may use for this cart.\n\nThe list is already filtered by everything the server checks — the order total,\nthe amount window the merchant set, category restrictions, whether the chosen\ncourier collects cash, and the courier's own whitelist. A method that appears\nhere will be accepted; one that does not would be refused at submission.\n\nThe list is empty until the cart is far enough along: a shippable cart needs a\ndelivery service chosen first, because half of those checks depend on it.","fields":[{"name":"handle","description":"A stable handle. Pass it to cartPaymentMethodUpdate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The method's name, as the merchant titled it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":"The method's logo.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"group","description":"Whether this is an ordinary method or a credit or leasing plan.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPaymentGroup","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The merchant's own explanation of the method. Null when the store hides these.","args":[],"type":{"kind":"SCALAR","name":"HTML","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"completion","description":"Whether choosing it finishes the order on the server or sends the buyer to the provider.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPaymentCompletion","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"minOrderAmount","description":"The smallest order this method accepts. Null when it has no minimum.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":"A price change the merchant attached to this method — a discount for paying by card, a surcharge for cash.","args":[],"type":{"kind":"OBJECT","name":"CartPaymentAdjustment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"recalculatesShipping","description":"Whether choosing this method can change what delivery costs. When true,\nre-read the cart after selecting it — the courier may reprice.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"supportedInApp","description":"Whether the CloudCart mobile storefront app offers this method. Providers\njoin the app one at a time, after a real test payment through it. Other\nstorefronts can ignore this.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartPaymentGroup","description":"Whether a payment method is an ordinary one or a credit plan.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"REGULAR","description":"An ordinary method — card, bank transfer, cash on delivery.","isDeprecated":false,"deprecationReason":null},{"name":"CREDIT","description":"A credit or leasing plan.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"CartPaymentCompletion","description":"How far a payment method can get without leaving the API.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SERVER_SIDE","description":"The order is placed on the server — cash on delivery, bank transfer, pay in store.","isDeprecated":false,"deprecationReason":null},{"name":"REQUIRES_REDIRECT","description":"The buyer must be sent to the provider's page to pay — to `redirectUrl` from the submission.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartPaymentAdjustment","description":"A price change the merchant attached to a payment method.\n\nWhich field carries the value depends on the type, so that money and\npercentages are never confused for one another.","fields":[{"name":"type","description":"How the change is applied.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPaymentAdjustmentType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":"The sum taken off, for a FIXED adjustment. Null otherwise.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"percentage","description":"The share taken off, as a percentage, for a PERCENT adjustment. Null otherwise.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartPaymentAdjustmentType","description":"How a payment adjustment is applied.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"FIXED","description":"A fixed amount.","isDeprecated":false,"deprecationReason":null},{"name":"PERCENT","description":"A percentage of the order.","isDeprecated":false,"deprecationReason":null},{"name":"FREE_SHIPPING","description":"Delivery becomes free.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartPaymentSession","description":"A payment session for collecting card details inside your own checkout.\n\nOnly CloudCart Pay offers this, and only when the merchant has it set to\ninline. Mount the provider's embedded form with these values, let the buyer\nenter their card, then submit the cart as usual — the payment links itself to\nthis session.\n\nPrefer it where available: the buyer never leaves your storefront, unlike the\nredirect every other online method requires.","fields":[{"name":"provider","description":"The payment method this session belongs to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sessionId","description":"The session identifier to hand to the provider's embedded form.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"publishableKey","description":"The merchant's publishable key for the provider's client library.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartPaymentSessionPayload","description":"The result of opening a payment session.","fields":[{"name":"session","description":"The session, when one could be opened.","args":[],"type":{"kind":"OBJECT","name":"CartPaymentSession","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why no session could be opened.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"warnings","description":"What the mutation did not apply although it succeeded: inputs sent that had\nno effect, each with the path of the input. Empty when everything sent was\napplied; empty too when the mutation failed (see `userErrors`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartWarning","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartSubmitPayload","description":"The result of submitting a cart.","fields":[{"name":"status","description":"How the submission ended.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartSubmitStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"The order that was created. Present unless the submission failed before an order existed.","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"redirectUrl","description":"Where to send the buyer to pay. Present only with REQUIRES_REDIRECT.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the submission failed, when it did.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"warnings","description":"What the mutation did not apply although it succeeded: inputs sent that had\nno effect, each with the path of the input. Empty when everything sent was\napplied; empty too when the mutation failed (see `userErrors`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartWarning","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartSubmitStatus","description":"How a submission ended.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"COMPLETED","description":"The order was created and needs nothing further from the buyer.","isDeprecated":false,"deprecationReason":null},{"name":"REQUIRES_REDIRECT","description":"The order exists but is not paid: send the buyer to `redirectUrl` to\nfinish. This is how every card payment ends, in this API and in the\nmerchant's own checkout alike.","isDeprecated":false,"deprecationReason":null},{"name":"FAILED","description":"Nothing was created. See userErrors.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Cart","description":"A cart represents a shopping session.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":"The cart lines. Order: as the platform's cart lists them — lines with less\nstock than their quantity first, then by the store's cart setting: in the\norder of their categories in the category tree, or the oldest line first.","args":[{"name":"first","description":"Returns the first n lines.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns lines after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n lines.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns lines before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartLineConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cost","description":"The cost summary of the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartCost","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totals","description":"The order summary exactly as the merchant configured it — every row, in the\norder it must be shown, with the merchant's own labels. Render these rows as\ngiven; `cost` is derived from the same data and is there for logic, not for\ndisplay. Rows are omitted entirely when they do not apply to this cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartTotalLine","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":"The total quantity of all items in the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"buyerIdentity","description":"The buyer identity associated with the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartBuyerIdentity","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountCodes","description":"The discount codes applied to the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartDiscountCode","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discountApplications","description":"Every discount the platform applied to this cart, each once, with everything\nit took off: on the lines, on the whole cart and on shipping. Order: the\nlines' discounts in the order of the lines, then the cart's in the order of\nthe order summary, then free shipping.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartDiscountApplication","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discountAllocations","description":"The discounts on the whole cart, which no line carries, one per discount and\ntarget: off the goods (`targetType: LINE_ITEM`, together\n`cost.totalDiscountAmount`) and off shipping (`SHIPPING_LINE`, free shipping,\nalready inside `cost.totalShippingAmount`). Line discounts are on\n`CartLine.discountAllocations`. Order: as the order summary lists them.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartDiscountAllocation","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"Always null: a CloudCart cart has no note. The buyer writes a note for the merchant in the checkout, and it is kept on the order.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"attributes","description":"The storefront's own attributes on the cart, as `cartAttributesUpdate` wrote\nthem. They are kept apart from the store's own data on the cart, so a key\nnever changes how the cart is priced or ordered.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Attribute","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"messages","description":"Notices the merchant's cart rules raise about this cart — a threshold\nalmost reached, a promotion that just applied. Display them; they are the\nmerchant speaking to the buyer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartMessage","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"delivery","description":"Where the order is going, which couriers can take it, and what has been chosen.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartDelivery","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethods","description":"The payment methods this cart may use. Empty until a shippable cart has a\ndelivery service chosen — the courier decides half of what is allowed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartPaymentMethod","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"selectedPaymentMethod","description":"The payment method chosen for this cart, if any.","args":[],"type":{"kind":"OBJECT","name":"CartPaymentMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hasSubscription","description":"Whether any line is bought on a subscription plan. A subscription cart is\nrestricted: registered customers only, delivery to an address only, and only\npayment providers that can charge the saved card again. `cartCheckoutReadiness`\nreports each of those as its own requirement.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUrl","description":"A URL to the web checkout for this cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When the cart was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"When the cart was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"crossSellOffer","description":"The cross-sell the store shows on this cart's page, or null when none applies\nor the Up/Cross-sell app is not active. Picked at random among those that\napply, so two reads can differ: show the one read, and record that it was\nshown with `cartOfferViewed`.","args":[{"name":"history","description":"What the buyer has already seen and dismissed, which the merchant's limits count.","type":{"kind":"INPUT_OBJECT","name":"OfferHistoryInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"CrossSellOffer","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLine","description":"A line item in the cart.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"merchandise","description":"The merchandise (variant) for this line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductVariant","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cost","description":"The cost of this line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartLineCost","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The product title as it belongs on this line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":"The variant's SKU.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"barcode","description":"The variant's barcode.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDigital","description":"Whether the line needs no delivery.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"selectedOptions","description":"The chosen variant parameters — colour, size and the like.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineSelectedOption","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":"Merchant-defined product options chosen for this line, with their surcharges and uploaded files.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineOption","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discountAllocations","description":"The discounts applied to this line. A line carries at most one automatic\ndiscount — the pricing engine picks a single winner by precedence — plus a\ndiscount code and any cart-rule reductions.\n\nThese amounts are already inside `cost.totalAmount` and inside the cart's\n`subtotalAmount`. Never add them on top.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartDiscountAllocation","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"warnings","description":"Problems with this line that stop or limit the checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineWarning","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"allowQuantityChange","description":"Whether the buyer may change the quantity. False for bundle members and for lines the merchant fixed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":"Measurement details, for products sold by length, weight or area.","args":[],"type":{"kind":"OBJECT","name":"CartLineUnit","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"bundle","description":"The bundle this line belongs to, when it is part of one.","args":[],"type":{"kind":"OBJECT","name":"CartLineBundle","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sellingPlan","description":"The subscription plan this line is bought on, when it is one. Null for an\nordinary one-time line.\n\n`cost` already carries the plan's discount, so the plan's own `price` is\nthere to label the line, not to be added to anything.","args":[],"type":{"kind":"OBJECT","name":"SellingPlan","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartCost","description":"The cart's monetary aggregates. Every field here is derived from the same rows\nreturned by `Cart.totals`, so the two can never disagree. Use these for logic —\ncomparisons, free-shipping thresholds, analytics values — and `totals` for what\nthe buyer sees.","fields":[{"name":"totalAmount","description":"The amount the buyer will be charged, after discounts and including tax.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalAmount","description":"The value of the goods, after line-level discounts and before shipping.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalTaxAmount","description":"The total tax. Null when the cart carries no taxable amount.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalShippingAmount","description":"The chosen shipping cost. Null until a delivery option is selected.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalDiscountAmount","description":"The discounts on the whole cart, as a positive amount: the `discount.before`\nrows of `totals`. Line discounts are already inside `subtotalAmount`, and\n`totalSavedAmount` has both. Null when none apply.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalBeforeDiscountsAmount","description":"The lines at their prices before any discount: options included, line discounts not taken off.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalSavedAmount","description":"Everything the buyer saves, as a positive amount: the lines' discounts, the\ncart's discounts and free shipping together. Null when nothing is saved.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartTotalLine","description":"A single row of the order summary, as configured by the merchant.\n\nRows arrive in display order and must be rendered in that order — mandatory tax\nitemisation and fee disclosure depend on it. Do not reorder, recompute, merge or\nfilter them.","fields":[{"name":"group","description":"The group this row belongs to: subtotal, discount.before, tax.before, shipping, tax.after or total.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"key","description":"The row's key within its group — stable enough to match rows across recalculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The merchant's label for this row.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Secondary text: the discount percentage, the coupon code, the shipping service and insurance, or the VAT rate.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":"The row's amount. Discounts are returned as negative amounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"useForTotal","description":"Whether this row is part of the sum that produces the grand total.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"afterTotal","description":"Whether this row is displayed below the grand total rather than above it — 'VAT included' rows are.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hideInInvoice","description":"Whether the merchant hides this row on invoices and receipts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLineCost","description":"The cost of a cart line.","fields":[{"name":"totalAmount","description":"The total cost for this line (price x quantity).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountPerQuantity","description":"The per-unit amount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtAmountPerQuantity","description":"The compare-at total (before discount).","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalAmount","description":"The line before its discounts: the price with options, times the quantity.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartBuyerIdentity","description":"The buyer identity of a cart.","fields":[{"name":"email","description":"The buyer's email.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The buyer's phone number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":"The authenticated customer.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":"The buyer's country code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDiscountCode","description":"A discount code applied to a cart.","fields":[{"name":"code","description":"The discount code.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"applicable","description":"Whether the code is applicable.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLineConnection","description":"A connection to a list of cart lines.","fields":[{"name":"edges","description":"A list of cart line edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the cart line nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLine","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLineEdge","description":"An edge in a cart line connection.","fields":[{"name":"node","description":"The cart line node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartLine","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartPayload","description":"The result payload for cart mutations.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"User errors that occurred during the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"warnings","description":"What the mutation did not apply although it succeeded: inputs sent that had\nno effect, each with the path of the input. Empty when everything sent was\napplied; empty too when the mutation failed (see `userErrors`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartWarning","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"crossSellOffer","description":"For `cartLinesAdd` and `cartCreate`: the cross-sell the store picked for the\nlines just added, or null; for `cartLinesUpdate`, for the lines whose quantity\nchanged. Picked only when the mutation got `offerHistory`. A `POPUP` offer is to\nbe shown; an `ADD_TO_CART` one has already added its products to `cart`. For\n`cartCrossSellApply`: the offer added. Null for the other mutations.","args":[],"type":{"kind":"OBJECT","name":"CrossSellOffer","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartUserError","description":"An error that occurred during a cart mutation.","fields":[{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"CartErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartWarning","description":"Something a successful cart mutation did not do: an input that was sent and\nhad no effect. Unlike a user error, the mutation completed; the client decides\nwhether the buyer needs to know.","fields":[{"name":"code","description":"What kind of warning this is.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartWarningCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"What was not applied, or what the cart changed on its own, and why. It never repeats a value sent with the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"target","description":"The cart the warning is about.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The path to the input that was not applied, as in `CartUserError.field`. Null for a change the cart made on its own.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartWarningCode","description":"The kinds of cart warning.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INPUT_IGNORED","description":"An input was sent and had no effect: CloudCart does not store it, or does not apply it in this situation (the message says which).","isDeprecated":false,"deprecationReason":null},{"name":"DISCOUNT_CODE_NOT_HONOURED","description":"A discount code stopped applying and the cart dropped it: the cart changed so\nthe code's conditions no longer hold, or a product with a discount the code\nmay not be combined with was added. The message names the code, and\n`discountCodes` no longer lists it.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartCustomizationFileUploadPayload","description":"The result of `cartCustomizationFileUpload`.","fields":[{"name":"file","description":"The stored file, with the handle to send as the customization's value. Null when it was refused.","args":[],"type":{"kind":"OBJECT","name":"CartCustomizationFile","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the file was refused: the customization (`customizationId`), or the file's type or size (`file`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartCustomizationFile","description":"A file uploaded for a `file` customization and not yet in a cart. It reaches the\ncart when a line is added with its `handle` as the customization's value.","fields":[{"name":"handle","description":"What to send as `CartLineCustomizationInput.value` (or in a bundle item's\ncustomizations). Opaque; it names the file, the store and the customization,\nand can be used once, until `expiresAt`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The file's name, as the buyer's device gave it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":"The file's size, in bytes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":"The file's MIME type, read from its contents.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"extension","description":"The file's extension, lower case and without the dot, read from its contents.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"expiresAt","description":"When the handle stops being accepted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":"A customer account.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The customer's first name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The customer's last name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"displayName","description":"The customer's name as the store shows it — in the order the merchant set\n(first and last, or last and first) — or, without a name, their email or phone.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The customer's email address.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The customer's phone number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultAddress","description":"The default shipping address.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"addresses","description":"A list of shipping addresses. Order: by id, the order they were added.","args":[{"name":"first","description":"Returns the first n addresses.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns addresses after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n addresses.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns addresses before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MailingAddressConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":"The default billing address.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddresses","description":"A list of billing addresses. Order: by id, the order they were added.","args":[{"name":"first","description":"Returns the first n billing addresses.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns billing addresses after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n billing addresses.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns billing addresses before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MailingAddressConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":"The customer's orders, cancelled ones left out. Order: newest first, by id.\n`sortKey` and `reverse` are accepted but do not change the order yet.","args":[{"name":"first","description":"Returns the first n orders (at most 100).","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns orders after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n orders (at most 100).","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns orders before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by: `PROCESSED_AT`, `TOTAL_PRICE` or `ID`. Not applied yet: the list stays newest first.","type":{"kind":"ENUM","name":"OrderSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Ascending order instead. Not applied yet: the list stays newest first.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"OrderConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"policyConsentRequest","description":"The policies the store asks this customer to accept after signing in (the GDPR app's\n\"request for consent for registered users after login\"), or null when there is nothing\nto ask: the app is off, the merchant has not enabled the request, or the customer has\naccepted a policy before, on any form. Show `text` with the policies once the customer\nis signed in, and send what they accept to `customerPolicyConsentAccept`.","args":[],"type":{"kind":"OBJECT","name":"CustomerPolicyConsentRequest","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"gdprRequests","description":"The GDPR requests the customer sent while signed in (`gdprRequestCreate`).\nEmpty while the store does not run the GDPR app. Order: newest first.","args":[{"name":"first","description":"Returns the first n requests (at most 100).","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns requests after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n requests (at most 100).","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns requests before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"GdprRequestConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"policyAcceptance","description":"One policy the customer accepted (`PolicyAcceptance.id`), or null when it is not\ntheirs or the store does not run the GDPR app — the platform's `/account/gdpr/{id}`.","args":[{"name":"id","description":"The acceptance's id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"PolicyAcceptance","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"dataExport","description":"A copy of the customer's data as a file, as the GDPR app's \"download my data\" links\ngive it on the CloudCart storefront. Null while the store does not run the GDPR app.","args":[{"name":"kind","description":"Which file.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerDataExportKind","kind":"ENUM","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"CustomerDataExport","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"policyAcceptances","description":"The policies the customer accepted, each as it read when they accepted it:\non any form, whether signed in or with their e-mail address — the platform's\n\"My GDPR\" account page. Empty while the store does not run the GDPR app.\nOrder: newest first.","args":[{"name":"first","description":"Returns the first n acceptances (at most 100).","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns acceptances after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n acceptances (at most 100).","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns acceptances before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PolicyAcceptanceConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"wishlist","description":"The customer's wishlist. Order: the most recently added first.","args":[{"name":"first","description":"Returns the first n wishlist items.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns wishlist items after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n wishlist items.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns wishlist items before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"WishlistItemConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"wishlistProductIds","description":"IDs of products currently in the wishlist (for fast client-side membership checks).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"downloads","description":"Digital downloads available from the customer's completed orders. Order: newest first.","args":[{"name":"first","description":"Returns the first n downloads.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns downloads after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n downloads.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns downloads before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerDownloadConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"payments","description":"A flat, cross-order list of the customer's payments. Order: newest first.","args":[{"name":"first","description":"Returns the first n payments.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns payments after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n payments.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns payments before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerPaymentConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptions","description":"The customer's subscriptions. Order: newest first.\n\nEmpty when the store does not run the Subscriptions app — an empty list, not\nan error, so a client can ask unconditionally and offer the section only\nwhen there is something in it.","args":[{"name":"first","description":"Returns the first n subscriptions.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns subscriptions after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n subscriptions.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns subscriptions before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerSubscriptionConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subscription","description":"One subscription of theirs, by its `reference` or its id. Null when it is\nnot this customer's — a contract is only ever looked up inside their own set.","args":[{"name":"id","description":"The subscription's `reference`, or its id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"CustomerSubscription","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"acceptsMarketing","description":"Whether the customer accepts marketing.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"numberOfOrders","description":"The total number of orders.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":"Tags associated with the customer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When the customer account was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"When the customer account was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returns","description":"Returns this customer has raised. Order: newest first.","args":[{"name":"first","description":"Returns the first n returns.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns returns after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n returns.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns returns before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MailingAddress","description":"A mailing address.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"address1","description":"The street and house number, joined. To edit an address, use `streetName` and `streetNumber`.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetName","description":"The street.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetNumber","description":"The house or building number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"address2","description":"Additional address detail: apartment, floor, entrance.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"The city.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The country name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCodeV2","description":"The two-letter country code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The first name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The last name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The phone number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":"The province or state.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"provinceCode","description":"The province or state code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zip","description":"The postal or ZIP code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":"The company name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"companyVat","description":"The company VAT number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"companyBulstat","description":"The company's registration number (Bulgarian EIK/BULSTAT). Billing addresses only.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"companyMol","description":"The company's responsible person (Bulgarian MOL). Billing addresses only.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MailingAddressConnection","description":"A connection to a list of mailing addresses.","fields":[{"name":"edges","description":"A list of address edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MailingAddressEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the address nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MailingAddress","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MailingAddressEdge","description":"An edge in a mailing address connection.","fields":[{"name":"node","description":"The address node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MailingAddress","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAccessTokenPayload","description":"The result payload for customer access token mutations.","fields":[{"name":"customerAccessToken","description":"The customer access token.","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAccessToken","description":"A customer access token.","fields":[{"name":"accessToken","description":"The access token string.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"expiresAt","description":"When the token expires.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerPolicyConsentRequest","description":"The store's request that a signed-in customer accept its policies: the GDPR app's\n\"request for consent for registered users after login\".","fields":[{"name":"text","description":"The merchant's message for the request, as HTML. Empty when they wrote none.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"policies","description":"The policies asked, required ones first. Whether each must be accepted is in its\n`forms` entry for `POLICIES_POPUP`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Policy","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerPayload","description":"The result payload for customer mutations.","fields":[{"name":"customer","description":"The updated customer.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAddressCreatePayload","description":"The result payload for customer address create mutations.","fields":[{"name":"customerAddress","description":"The created address.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAddressUpdatePayload","description":"The result payload for customer address update mutations.","fields":[{"name":"customerAddress","description":"The updated address.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAddressDeletePayload","description":"The result payload for customer address delete mutations.","fields":[{"name":"deletedCustomerAddressId","description":"The ID of the deleted address.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGenericPayload","description":"A generic customer payload that only carries user errors.","fields":[{"name":"customerUserErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAccessTokenDeletePayload","description":"The result payload for customer access token delete mutations.","fields":[{"name":"deletedAccessToken","description":"The deleted access token.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"deletedCustomerAccessTokenId","description":"The deleted access token ID.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerUserError","description":"An error from a customer mutation.","fields":[{"name":"field","description":"The path to the input field.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"CustomerErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerDownload","description":"A digital file available for download from one of the customer's orders.","fields":[{"name":"id","description":"A globally-unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileName","description":"Display name of the file.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":"File size in bytes (0 if unknown).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productTitle","description":"The product the file belongs to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productHandle","description":"The product handle (for building links back to the product page).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"vendor","description":"The vendor, if any.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orderNumber","description":"The order this download came from, as the customer is shown it. A string — see `Order.orderNumber`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderedAt","description":"When the order was placed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"downloadUrl","description":"A short-lived signed URL (valid for 15 minutes). The link streams the file directly.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerDownloadConnection","description":"A connection to the customer's downloads.","fields":[{"name":"edges","description":"A list of download edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerDownloadEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of download nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerDownload","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"The total number of downloadable files.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerDownloadEdge","description":"An edge in a customer download connection.","fields":[{"name":"node","description":"The download node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerDownload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerPayment","description":"A payment record across all of the customer's orders.","fields":[{"name":"id","description":"A globally-unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"providerName","description":"The payment provider's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":"The payment amount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountFormatted","description":"The amount formatted for display (respects the site's currency format).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"The payment status (raw value — e.g. paid, pending, authorized, refunded, failed, voided, cancelled).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"statusFormatted","description":"The status formatted for display (localized).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"referenceId","description":"The provider's reference/transaction ID, if any.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orderId","description":"The order this payment belongs to (global ID).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderNumber","description":"The order identifier the customer is shown. A string — see `Order.orderNumber`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When the payment was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerPaymentConnection","description":"A connection to a list of customer payments.","fields":[{"name":"edges","description":"A list of payment edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerPaymentEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of payment nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerPayment","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"The total number of payments.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerPaymentEdge","description":"An edge in a customer payment connection.","fields":[{"name":"node","description":"The payment node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerPayment","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerSubscription","description":"A running subscription contract belonging to the signed-in customer.\n\nEverything a recurring charge has to be answerable for: what is being charged,\nwhen the next one falls, where it is going, which card it hits, and — through\n`allowedActions` — exactly what the buyer may do about it.\n\nAddressed by `reference`, the code that appears in the customer's own e-mails.","fields":[{"name":"id","description":"A globally unique identifier, built from `reference`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reference","description":"The code the customer sees in their e-mails, and the one to address this contract by.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"Where the contract stands.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscriptionStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"planName","description":"The merchant's name for the plan it was bought on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"planLabel","description":"How often it is delivered, in the buyer's language — \"Every month\".\n\nTaken from the plan as it was at signup, not as it is now: a merchant\nediting the plan does not change a contract that has already been agreed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cycleIndex","description":"How many cycles have been billed. 0 is the original order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"minCycles","description":"The smallest number of cycles the buyer committed to, when the plan set one.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maxCycles","description":"The number of cycles after which this ends by itself, when the plan set one.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nextBillingDate","description":"When the next charge falls. Null for a cancelled contract.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nextDeliveryDate","description":"When the next delivery is due. Null for a cancelled contract.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"recurringTotal","description":"What the next charge comes to, as the contract froze it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":"What is being delivered.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerSubscriptionLine","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"allowedActions","description":"What this customer may do to this contract right now, after both the\nmerchant's self-service settings and the contract's own status. Render only\nthese; anything else is refused by the matching mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerSubscriptionAction","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"orderNumber","description":"The order this contract started from, as the customer is shown it. Null when the order has been removed.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"address","description":"Where the renewals are delivered.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"payment","description":"The card the renewals are charged to.","args":[],"type":{"kind":"OBJECT","name":"CustomerSubscriptionPayment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"schedule","description":"The deliveries this contract has a record of — shipped, skipped and upcoming.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerSubscriptionCycle","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":"What has happened to this contract, newest first.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerSubscriptionEvent","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pausedAt","description":"When the contract was paused, if it is.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cancelledAt","description":"When it was cancelled, if it was.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When it started.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SubscriptionStatus","description":"Where a subscription contract stands.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ACTIVE","description":"Being charged and delivered on schedule.","isDeprecated":false,"deprecationReason":null},{"name":"PAUSED","description":"Stopped for now; nothing is charged or shipped until it is resumed.","isDeprecated":false,"deprecationReason":null},{"name":"PAST_DUE","description":"A charge failed and is being retried. It is still a live contract.","isDeprecated":false,"deprecationReason":null},{"name":"CANCELLED","description":"Ended, and it will not be charged again.","isDeprecated":false,"deprecationReason":null},{"name":"EXPIRED","description":"Ran to the end of its agreed cycles.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"CustomerSubscriptionAction","description":"Something the customer may do to their own subscription.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SKIP","description":"Skip the next delivery; the schedule moves on by one period.","isDeprecated":false,"deprecationReason":null},{"name":"RESCHEDULE","description":"Move the next delivery, and the charge that pays for it, to a date of their choosing.","isDeprecated":false,"deprecationReason":null},{"name":"PAUSE","description":"Stop indefinitely, keeping the contract.","isDeprecated":false,"deprecationReason":null},{"name":"RESUME","description":"Start a paused contract again.","isDeprecated":false,"deprecationReason":null},{"name":"CANCEL","description":"End the contract for good.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CustomerSubscriptionLine","description":"One product on a subscription.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The product's title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"variantTitle","description":"The variant's title, when the product has variants.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"How many of it are delivered each cycle.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Float","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":"The unit price the contract was agreed at, plan discount included.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":"A picture of the product.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":"The product, for linking to its page. Null when the merchant has deleted it.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variantId","description":"The variant.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerSubscriptionPayment","description":"The card a subscription's renewals are charged to.","fields":[{"name":"provider","description":"The payment provider's handle.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"brand","description":"The card network, when the provider reports one.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastFour","description":"The last four digits, when the provider stored them.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerSubscriptionCycle","description":"One delivery in a subscription's schedule.","fields":[{"name":"cycleIndex","description":"Which cycle this is. 0 is the original order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"What happened to it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscriptionCycleStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"billingDate","description":"When it is (or was) charged. Null for a delivery already paid for by an earlier charge.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"deliveryDate","description":"When it is (or was) delivered.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orderNumber","description":"The order it produced, as the customer is shown it. Null until it has been billed.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SubscriptionCycleStatus","description":"What became of one cycle of a subscription.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCHEDULED","description":"Not yet due.","isDeprecated":false,"deprecationReason":null},{"name":"SKIPPED","description":"The customer skipped it.","isDeprecated":false,"deprecationReason":null},{"name":"BILLED","description":"Charged.","isDeprecated":false,"deprecationReason":null},{"name":"DELIVERED","description":"Delivered.","isDeprecated":false,"deprecationReason":null},{"name":"FAILED","description":"The charge, or the order behind it, failed.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CustomerSubscriptionEvent","description":"Something that happened to a subscription.\n\nThe fact and its date only: an event's payload is written for the merchant's\nadmin screen — a gateway's refusal message, a note they typed — and is not the\ncustomer's to read.","fields":[{"name":"type","description":"What happened, as an upper-case key: CREATED, CHARGED, SKIPPED, PAUSED, CANCELLED and so on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"actor","description":"Who did it: CUSTOMER, MERCHANT or SYSTEM.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerSubscriptionConnection","description":"A connection to a list of subscriptions.","fields":[{"name":"edges","description":"A list of subscription edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerSubscriptionEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the subscription nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerSubscription","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"How many subscriptions the customer has in total.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerSubscriptionEdge","description":"An edge in a subscription connection.","fields":[{"name":"node","description":"The subscription node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerSubscription","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerSubscriptionPayload","description":"The result payload for a subscription mutation.","fields":[{"name":"subscription","description":"The contract as it now stands. Null when the change was refused.","args":[],"type":{"kind":"OBJECT","name":"CustomerSubscription","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"WishlistItem","description":"An item saved to the customer's wishlist.","fields":[{"name":"id","description":"A globally-unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"The product saved to the wishlist.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Product","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addedAt","description":"When the item was added to the wishlist.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"WishlistItemConnection","description":"A connection to a list of wishlist items.","fields":[{"name":"edges","description":"A list of wishlist item edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"WishlistItemEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the wishlist item nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"WishlistItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"The total number of items in the wishlist.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"WishlistItemEdge","description":"An edge in a wishlist item connection.","fields":[{"name":"node","description":"The wishlist item node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"WishlistItem","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerWishlistPayload","description":"The result payload for customer wishlist mutations.","fields":[{"name":"wishlistItem","description":"The wishlist item affected by the mutation (null when removed).","args":[],"type":{"kind":"OBJECT","name":"WishlistItem","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"User errors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CustomerUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DraftOrder","description":"An order the merchant prepared, waiting for the buyer to pay it.","fields":[{"name":"order","description":"The order itself, with its lines, prices and addresses.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Order","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"missing","description":"What the buyer still has to supply. Empty when only payment is left.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartCheckoutRequirement","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethods","description":"The payment methods this order may be paid with.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartPaymentMethod","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DraftOrderPayPayload","description":"The result of paying an order by link.","fields":[{"name":"status","description":"How it ended.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartSubmitStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"The order that was paid.","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"redirectUrl","description":"Where to send the buyer to pay. Present only with REQUIRES_REDIRECT.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why it failed, when it did.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Order","description":"An order is a customer's completed request to purchase products.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderNumber","description":"The order identifier the customer is shown — what the merchant's own e-mails and\nstorefront quote, and what support will ask for.\n\nA **string**, not a number. Every order has a row id and a seven-character\nreference (`vOL86nn`), and the merchant chooses which of the two their buyers\nsee; on a store that chose the reference there is no integer to return.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"processedAt","description":"When the order was processed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":"The total price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalPrice","description":"The subtotal price (before shipping and tax).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalShippingPrice","description":"The total shipping price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalTax","description":"The total tax amount.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lineItems","description":"The line items. Order: by id, the order the checkout wrote them.","args":[{"name":"first","description":"Returns the first n line items.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns line items after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n line items.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns line items before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"OrderLineItemConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":"The shipping address.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"financialStatus","description":"The financial status.","args":[],"type":{"kind":"ENUM","name":"OrderFinancialStatus","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentStatus","description":"The fulfillment status.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"OrderFulfillmentStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddress","description":"The billing address.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"The currency code.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"statusUrl","description":"A URL to check order status.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totals","description":"Order totals (subtotal, shipping, tax, discounts, total).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"OrderTotal","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethod","description":"Payment method name(s).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"Customer note on the order.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":"Fulfillment tracking details.","args":[],"type":{"kind":"OBJECT","name":"OrderFulfillmentDetails","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"payments","description":"Payment history.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"OrderPaymentRecord","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":"Applied discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"OrderDiscountRecord","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"invoiceNumber","description":"Invoice number (null if invoicing is off or not generated).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingDate","description":"Requested delivery date.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"returnEligibility","description":"Whether this order can still be returned and how long the customer has left. Reports\n`eligible: false` when the store does not offer returns rather than failing.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnEligibility","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returns","description":"Returns raised against this order, newest first.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Return","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderTotal","description":"A single total line on an order (subtotal, shipping, tax, discount, total).","fields":[{"name":"group","description":"The group (subtotal, shipping, tax.after, discount.before, total, etc.).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The display name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceFormatted","description":"The formatted price string (with currency symbol).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The raw amount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderFulfillmentDetails","description":"Fulfillment/shipping tracking details.","fields":[{"name":"shippingProvider","description":"The shipping provider name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"trackingNumber","description":"The tracking number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"trackingUrl","description":"The tracking URL.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"expeditionDate","description":"Expedition date.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"deliveryDate","description":"Expected delivery date.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fulfilledAt","description":"Date the fulfillment was completed.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderPaymentRecord","description":"A payment transaction on an order.","fields":[{"name":"providerName","description":"The payment provider name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountFormatted","description":"The payment amount formatted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"The payment status.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"statusFormatted","description":"The status formatted for display.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"referenceId","description":"The provider reference ID.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"dateAdded","description":"When the payment was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderDiscountRecord","description":"A discount applied to an order.","fields":[{"name":"name","description":"The discount name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The discount code (if coupon-based).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The discount type (flat, percent, shipping, fixed).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The discount value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLineItem","description":"A line item in an order.","fields":[{"name":"id","description":"A globally-unique identifier for this line of the order. Use it to reference the line when raising a\nreturn, so the same product bought twice with different options stays distinguishable.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the line item.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity ordered.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productHandle","description":"The product handle (for building /products/{handle} links).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The product image URL.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variant","description":"The variant associated with this line item.","args":[],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"originalTotalPrice","description":"The original total price for this line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedTotalPrice","description":"The discounted total price for this line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPrice","description":"What one piece of this line was paid: the line's total after its discounts and modifications divided by its\nquantity, as the store's server-side purchase report gives each item. A browser event under the same event id\ncarries the same price per item.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderConnection","description":"A connection to a list of orders.","fields":[{"name":"edges","description":"A list of order edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"OrderEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the order nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Order","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"How many orders the connection has across all its pages.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderEdge","description":"An edge in an order connection.","fields":[{"name":"node","description":"The order node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Order","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLineItemConnection","description":"A connection to a list of order line items.","fields":[{"name":"edges","description":"A list of order line item edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"OrderLineItemEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the order line item nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"OrderLineItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLineItemEdge","description":"An edge in an order line item connection.","fields":[{"name":"node","description":"The line item node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"OrderLineItem","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Return","description":"A return (right-of-withdrawal request) raised by a customer against an order.\n\nCloudCart models this as two linked records: the customer-facing withdrawal request, and — once the\nmerchant's plan auto-creates it — a core order return that becomes the authoritative status. This type\npresents them as one resource: identity and contents come from the request, while `status` prefers the\ncore return whenever one exists.","fields":[{"name":"id","description":"A globally-unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reference","description":"The public reference used to track this return without signing in — the same value that appears in\nthe tracking link of every notification email.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"Where the return currently stands.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requestedAt","description":"When the customer submitted the return.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"The order this return was raised against. Null if the order is no longer available.","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orderNumber","description":"The order's public number, retained on the return even if the order is removed.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lineItems","description":"The items being returned. Empty for a full return, where the whole order is implied.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnLineItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totals","description":"Monetary breakdown of what is being refunded.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnTotal","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"isFullReturn","description":"Whether the return covers the entire order rather than selected items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"The note the customer left when submitting the return.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"statusNote","description":"The merchant's explanation of the current status — why a return was refused, or what happens next.\nWritten when the status was last changed, and the same text the customer receives by email and sees\non the tracking page. Null when the merchant gave no reason.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":"How the refund is to be paid out.","args":[],"type":{"kind":"OBJECT","name":"ReturnRefund","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ReturnStatus","description":"The lifecycle state of a return. Mirrors the core order-return status set.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PENDING","description":"Submitted and awaiting the merchant's decision.","isDeprecated":false,"deprecationReason":null},{"name":"RETURNED","description":"The goods were returned and the return is closed.","isDeprecated":false,"deprecationReason":null},{"name":"CANCELLED","description":"The return was cancelled and will not proceed.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ReturnLineItem","description":"A single item included in a return.","fields":[{"name":"title","description":"The product name as it appeared on the order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"How many units of this item are being returned.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The unit price including VAT as recorded on the order line, before any discount was applied. Compare\nit against `refundTotal` to show the customer what a discounted item is actually worth back.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundTotal","description":"The amount that will actually be refunded for this line, with discounts already taken into account.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"selectedOptions","description":"The variant options chosen on the order, as name/value pairs.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnLineItemOption","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"The product being returned. Null if it no longer exists in the catalog.","args":[],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnLineItemOption","description":"A variant option recorded on a returned line.","fields":[{"name":"name","description":"The option name, for example \"Size\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The chosen value, for example \"M\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnTotal","description":"A named monetary total on a return, such as the goods subtotal or the shipping refund.","fields":[{"name":"key","description":"The total's identifier, for example \"subtotal\" or \"shipping\".","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The total's label in the store's language, as the platform's return page shows it: the subtotal, the discount\nand the refund amount by name, a VAT row with its rate (\"Including VAT (20%)\"). Never empty.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":"The amount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnRefund","description":"How a return's refund is to be paid back to the customer.","fields":[{"name":"method","description":"The payout method the customer selected.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"accountName","description":"The account holder's name, when refunding to a bank account.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ibanLast4","description":"The IBAN the refund is paid to, masked to its last four characters. Returned only to a customer who\nhas verified ownership of the order.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refundedAmount","description":"The amount already refunded, if the payout has been made.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refundedAt","description":"When the refund was paid out.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnEligibility","description":"Whether an order can still be returned, and how long the customer has left.\n\nThe cooling-off clock starts when the goods are received, so an order that has not been delivered yet is\neligible to withdraw but reports `startedAt: null` — the countdown has not begun.","fields":[{"name":"eligible","description":"Whether a return can be raised for this order right now.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"expired","description":"Whether the return window has already closed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"windowDays","description":"The configured length of the return window, in days.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":"When the window started, i.e. when the goods were received. Null before delivery.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":"When the window closes. Null until it can be determined.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"remainingSeconds","description":"Seconds left before the window closes. Zero when it has not started or has expired.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundMethods","description":"The refund payout methods the customer may choose from.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ReturnRequestStep","description":"The steps a customer works through to raise a return.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AWAITING_CODE","description":"Awaiting the verification code that was emailed to the customer.","isDeprecated":false,"deprecationReason":null},{"name":"VERIFIED","description":"The code was accepted; the customer can now choose items and confirm.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ReturnRequestFlow","description":"The state of an in-progress return request. The `token` identifies the flow across mutations, standing in\nfor the session a browser-based checkout would use.","fields":[{"name":"token","description":"Opaque token identifying this verification flow. Pass it to the follow-up mutations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":"Which step the customer is on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnRequestStep","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"The order being returned, once the code has been verified.","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"resendAvailableInSeconds","description":"Seconds the customer must wait before another code can be sent.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returnableItems","description":"The order's lines with how much of each may still be returned. Empty until the code is verified.\nBuild the customer's picker from this rather than from `order.lineItems`, which reports what was\nordered, not what is still returnable.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnableLineItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"hasReturnable","description":"Whether anything on the order is still returnable. False once it has been returned in full.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"canPartial","description":"Whether the customer may return only part of the order. False when the order is a single\nall-or-nothing unit — then the return always covers the whole order, so offer no choice.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"allowFull","description":"Whether a whole-order return may be offered. False once anything has already been returned — only\nthe remaining lines can go back, as a partial.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isCancellation","description":"Whether a whole-order return would be recorded as a cancellation rather than a return, because the\ngoods have not shipped yet. Worth telling the customer, as no goods need sending back.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundOptions","description":"Which refund payout methods this order may use.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnRefundOptions","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"legalPages","description":"The merchant's terms and return-policy pages. Show these to the customer and obtain agreement before\ncreating the return — the accepted text is snapshotted against the request as the legal record.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnLegalPage","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnableLineItem","description":"An order line together with how much of it can still be returned.","fields":[{"name":"id","description":"Identifies the line — pass this as `lineItemId` when creating the return.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The product name as it appears on the order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"How many units were originally ordered on this line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"remaining","description":"How many units may still be returned, after any earlier returns.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullOnly","description":"Whether the line can only go back whole. True for bundle members, whole-order options and single\nunits — send the full `remaining` quantity and offer the customer no quantity input.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"bundleId","description":"Groups lines belonging to the same bundle; bundle members are returned together.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnRefundOptions","description":"Which refund payout methods the customer may choose from, meaning the ones the store will actually\nrecord. When every field is false the store does not take a payout choice at all — do not ask the\ncustomer how they want the money back, and send no `refund` on `returnRequestCreate`; the merchant\nsettles it outside the API.\n\nCard availability is split by scope because a payment gateway may be able to refund a whole order but\nnot part of one, or the reverse.","fields":[{"name":"cardForFullReturn","description":"Whether a whole-order return may be refunded back to the card it was paid with.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cardForPartialReturn","description":"Whether a partial return may be refunded back to the card it was paid with.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"bank","description":"Whether a bank transfer payout is offered. Requires the customer's account name and IBAN.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnLegalPage","description":"A merchant page the customer must agree to before a return is created.","fields":[{"name":"id","description":"The page's identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The page title, for the agreement label.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"Where the page can be read in full.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnConnection","description":"A paginated list of returns.","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A shortcut for the nodes contained in the edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Return","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnEdge","description":"An edge in a return connection.","fields":[{"name":"node","description":"The return at the end of the edge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Return","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Blog","description":"A blog on the online store.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The blog title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"SEO information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SEO","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The blog's image, set by the merchant in the admin. Null when none is set.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"commentPolicy","description":"Whether the blog's articles take comments, and whether they appear at once.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CommentPolicy","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"articles","description":"Articles in this blog. Order by default: newest first (`ID`). Every key\nlists in descending order — Z to A for `TITLE`, latest first for\n`PUBLISHED_AT` — and `reverse: true` lists in ascending order.","args":[{"name":"first","description":"Returns the first n articles.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns articles after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n articles.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns articles before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Defaults to `ID`.","type":{"kind":"ENUM","name":"ArticleSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Ascending order instead: oldest, A to Z, or earliest published first.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ArticleConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"articleByHandle","description":"Find an article by its handle within this blog.","args":[{"name":"handle","description":"The article handle.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Article","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Article","description":"A blog article.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The article title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"contentHtml","description":"The article content as HTML.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"excerpt","description":"A plain text excerpt.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"blog","description":"The blog the article belongs to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Blog","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The article's featured image.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"authorV2","description":"The author's name.","args":[],"type":{"kind":"OBJECT","name":"ArticleAuthor","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"SEO information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SEO","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":"Tags associated with the article.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"comments","description":"The article's published comments. A signed-in customer also sees their own\ncomments that still wait for approval, as on the platform's article page.\nOrder: newest first.","args":[{"name":"first","description":"Returns the first n comments.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns comments after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n comments.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns comments before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CommentConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"publishedAt","description":"When the article was published.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When the article was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"When the article was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ArticleTag","description":"A tag the merchant puts on blog articles. Its page is `/blog/tag/{handle}`.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The tag's text, as `Article.tags` lists it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"articles","description":"The published articles that carry this tag. Order by default: newest first\n(`ID`). Every key lists in descending order — Z to A for `TITLE`, latest\nfirst for `PUBLISHED_AT` — and `reverse: true` lists in ascending order.","args":[{"name":"first","description":"Returns the first n articles.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns articles after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n articles.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns articles before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Defaults to `ID`.","type":{"kind":"ENUM","name":"ArticleSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Ascending order instead: oldest, A to Z, or earliest published first.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ArticleConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ArticleAuthor","description":"The author of a blog article.","fields":[{"name":"name","description":"The author's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BlogConnection","description":"A connection to a list of blogs.","fields":[{"name":"edges","description":"A list of blog edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"BlogEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the blog nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Blog","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BlogEdge","description":"An edge in a blog connection.","fields":[{"name":"node","description":"The blog node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Blog","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ArticleConnection","description":"A connection to a list of articles.","fields":[{"name":"edges","description":"A list of article edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ArticleEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the article nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Article","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ArticleEdge","description":"An edge in an article connection.","fields":[{"name":"node","description":"The article node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Article","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CommentPolicy","description":"Whether a blog's articles take comments. The merchant sets it per blog.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AUTO_PUBLISHED","description":"Comments are published as soon as they are posted.","isDeprecated":false,"deprecationReason":null},{"name":"MODERATED","description":"Comments wait for the merchant's approval before they are published.","isDeprecated":false,"deprecationReason":null},{"name":"CLOSED","description":"The blog takes no comments.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Comment","description":"A comment on a blog article.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"content","description":"The comment, as plain text.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"author","description":"Who wrote it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CommentAuthor","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":"Whether it is published; false only for a signed-in customer's own comment that waits for approval.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When it was posted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CommentAuthor","description":"The author of a comment. Only the name is public; the e-mail address is not given out.","fields":[{"name":"name","description":"The author's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CommentConnection","description":"A connection to a list of comments.","fields":[{"name":"edges","description":"A list of comment edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CommentEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the comment nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Comment","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CommentEdge","description":"An edge in a comment connection.","fields":[{"name":"node","description":"The comment node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Comment","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Menu","description":"A navigation menu.","fields":[{"name":"id","description":"The menu's number in the store, not a global id: menus keep the raw id they\nhad before the API moved to `gid://cloudcart/...` ids, because clients store\nit. It is unique among menus only; a menu item can have the same number.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The menu title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A stable key for the menu, such as `main` or `footer`. Pass it to `menu(handle:)`.\nA menu the merchant created without one is keyed by its title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":"The menu items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MenuItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MenuItem","description":"A navigation menu item.","fields":[{"name":"id","description":"The item's number in the store, not a global id: menu items keep the raw id\nthey had before the API moved to `gid://cloudcart/...` ids, because clients\nstore it. It is unique among menu items only; a menu can have the same\nnumber. The resource the item links to is in `resourceId`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The menu item title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The menu item URL.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type of resource linked to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"resourceId","description":"The id of the linked product, collection, vendor, blog, article or page — the\nsame id that resource's own query returns. Null for links to a storefront\nsection or to an address the merchant typed in.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"An image the merchant attached to the item, for menus that show one. Null when there is none.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"openInNewTab","description":"Whether the merchant set the link to open in a new browser tab.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":"Nested child menu items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MenuItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Page","description":"A content page of the store — about us, delivery terms, a policy — with its body as HTML.\n\nPages made with the merchant's page builder are not available through this API: their content is a\nlayout only the platform's own storefront can render. They never appear in `page`, `pages`, search,\nmenus (a menu item that links to one is left out, or kept as a heading without a link when it has items\nunder it), policies, or the legal and terms pages of returns and checkout.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The page title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"body","description":"The full page content as HTML.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"bodySummary","description":"A summary of the page body.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"SEO information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SEO","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When the page was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"When the page was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PageConnection","description":"A connection to a list of pages.","fields":[{"name":"edges","description":"A list of page edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PageEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the page nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Page","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PageEdge","description":"An edge in a page connection.","fields":[{"name":"node","description":"The page node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Page","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Policy","description":"A store policy: a page the merchant asks buyers to accept on one or more forms,\nsuch as registration, the contact form or order submission.\n\nCloudCart has no policy resource of its own. A policy is an ordinary page: one\nthe GDPR app attaches to a form while that app is active, or otherwise one of the\ncheckout terms pages the merchant requires with every order. This differs from\nShopify, whose policies are a fixed set of shop fields.","fields":[{"name":"id","description":"A globally unique identifier. Send it back in a mutation's accepted policy\nids: `CustomerCreateInput.acceptedPolicyIds` or\n`CartSubmitInput.acceptedConsentIds`. Checkout's consents carry the same id.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"page","description":"The policy page, with its title, handle and body.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Page","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"forms","description":"The forms on which the buyer is asked to accept this policy.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PolicyRequirement","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PolicyRequirement","description":"Whether a policy must be accepted on one form.","fields":[{"name":"form","description":"The form.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PolicyForm","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the buyer must accept the policy on this form, or may leave it unchecked.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"PolicyForm","description":"A form on which the merchant can ask the buyer to accept policies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"REGISTER","description":"Customer registration.","isDeprecated":false,"deprecationReason":null},{"name":"CONTACTS","description":"The contact form.","isDeprecated":false,"deprecationReason":null},{"name":"SUBMIT_PAYMENT","description":"Submitting an order.","isDeprecated":false,"deprecationReason":null},{"name":"SEGMENT_SUBSCRIPTION_POPUP","description":"A subscribers' subscription form.","isDeprecated":false,"deprecationReason":null},{"name":"POLICIES_POPUP","description":"The request for consent shown to a registered customer after signing in.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"UrlRedirect","description":"A redirect the merchant set up in the admin (SEO → 301 redirects): a visitor\nwho opens `path` is sent on to `target` with a permanent (301) redirect.","fields":[{"name":"id","description":"A globally-unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"path","description":"The address visitors are redirected from, as the merchant entered it: a path,\noptionally with a query string. A `*` stands for any run of characters, so\n`/sale/*` covers every address under `/sale/`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"target","description":"Where visitors are sent. A path on this store when the redirect points to a\nproduct, collection, vendor, blog, article, page, store section or an address\non the store; a full URL when it points to another site.\n\nPaths follow the platform storefront's URL structure (`/product/{handle}`,\n`/category/{handle}`…). A storefront with routes of its own can use\n`resourceId` to build the address instead.\n\nNull when the product, collection or other record the redirect pointed to no\nlonger exists — the platform storefront then does not redirect.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"resourceId","description":"The id of the product, collection, vendor, blog, article or page the redirect\npoints to — the same id that resource's own query returns. Null for redirects\nto a store section, a typed-in address or another site, and when the record\nno longer exists.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UrlRedirectConnection","description":"A list of URL redirects.","fields":[{"name":"edges","description":"A list of URL redirect edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"UrlRedirectEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the URL redirect nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"UrlRedirect","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UrlRedirectEdge","description":"An edge in a URL redirect connection.","fields":[{"name":"node","description":"The URL redirect node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UrlRedirect","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AnalyticsEventPayload","description":"The result of reporting an event.","fields":[{"name":"eventId","description":"The identifier this event was reported under: `input.eventId` when it was\ngiven, otherwise one made here — fire the same event from the browser with\nit so the vendor counts it once. A `BEGIN_CHECKOUT` with `input.cartId` and\na `PURCHASE` with `input.orderId` always take the one derived from the cart\nor the order, whatever `input.eventId` says, so a retry reports the same\nconversion: fire the browser's event with this one, not your own.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reportsTo","description":"The vendors it is reported to server-side. Each is sent right after this\nresponse, so reporting never slows the storefront; a vendor that then\nrejects it (a revoked token, say) is not reflected here. Empty is not a\nfailure: the merchant may not have server-side reporting configured, or the\nbuyer may not have consented — fire the browser pixel regardless.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"AnalyticsProvider","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"dispatched","description":"The same list as `reportsTo`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"AnalyticsProvider","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AnalyticsEvent","description":"A storefront event worth reporting.\n\nEach event also reaches CloudCart Analytics, the platform's own reports, when\n`input.visitorId` is set — the same events the platform storefront records,\nbuilt the same way. Report each page once: a product page with `VIEW_CONTENT`,\na search results page with `SEARCH`, every other page with `PAGE_VIEW` and its\n`pageType`. The checkout reports `BEGIN_CHECKOUT` and `PURCHASE` to CloudCart\nAnalytics itself, so those two are passed on to the advertising vendors only.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PAGE_VIEW","description":"A page was viewed. Set `input.pageType`, and `input.resourceId` for a category, collection, tag, vendor or page.","isDeprecated":false,"deprecationReason":null},{"name":"VIEW_CONTENT","description":"A product was viewed. Set `input.resourceId` to the product.","isDeprecated":false,"deprecationReason":null},{"name":"SEARCH","description":"A search was made. Set `input.searchTerm`.","isDeprecated":false,"deprecationReason":null},{"name":"ADD_TO_CART","description":"A product was added to the cart. Set `input.cartId` and `input.merchandiseId`.","isDeprecated":false,"deprecationReason":null},{"name":"REMOVE_FROM_CART","description":"A product was removed from the cart. Set `input.cartId`, `input.merchandiseId` and `input.quantity`.","isDeprecated":false,"deprecationReason":null},{"name":"ADD_TO_WISHLIST","description":"A product was added to a wishlist. Set `input.resourceId` to the product.","isDeprecated":false,"deprecationReason":null},{"name":"REMOVE_FROM_WISHLIST","description":"A product was removed from a wishlist. Set `input.resourceId` to the product.","isDeprecated":false,"deprecationReason":null},{"name":"IDENTIFY_CUSTOMER","description":"The signed-in customer identified themselves, on signing in or registering: CloudCart Analytics links\nthe visitor (`input.visitorId`) to them and refreshes their details. The customer is the buyer in\n`@inContext(buyer:)`; without one nothing is sent. Send it from the storefront's server, with\n`input.userAgent` set to the visitor's.","isDeprecated":false,"deprecationReason":null},{"name":"BEGIN_FAST_ORDER","description":"The buyer opened the fast order form for a product. Set `input.merchandiseId` and `input.quantity`.\nThe order itself is reported by `fastOrderSubmit`, which links it to this event for the same visitor\n(`FastOrderInput.attribution.visitorId`). Meta and TikTok get it under the name the merchant chose for\nthis step (`fastOrderSettings.trackingEvents.checkout`).","isDeprecated":false,"deprecationReason":null},{"name":"VIEW_CART","description":"The cart was shown without a page of its own, such as a cart drawer. Set `input.cartId`. CloudCart\nAnalytics records a cart view, as for the platform's cart panel; it is not a page view, so the\nadvertising vendors are not sent it. The cart page itself is a `PAGE_VIEW` with `pageType: CART`.","isDeprecated":false,"deprecationReason":null},{"name":"BEGIN_CHECKOUT","description":"The buyer entered the checkout.","isDeprecated":false,"deprecationReason":null},{"name":"PURCHASE","description":"An order was placed.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"AnalyticsPageType","description":"The kind of storefront page an event happened on.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"HOME","description":"The home page.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT","description":"A product page.","isDeprecated":false,"deprecationReason":null},{"name":"CATEGORY","description":"A category's page, as the platform names it (its event is `viewCategory`). Set `resourceId` to the category's `Collection.id`.","isDeprecated":false,"deprecationReason":null},{"name":"COLLECTION","description":"A smart collection's page (`viewCollection`). Set `resourceId` to its `Collection.id`. A category's id here is still\ntaken as a category's page, as older clients send it; send `CATEGORY` for a category.","isDeprecated":false,"deprecationReason":null},{"name":"TAG","description":"A tag's page: the products with one tag (`viewTag`). Set `resourceId` to its `ProductTag.id`.","isDeprecated":false,"deprecationReason":null},{"name":"LIST_COLLECTIONS","description":"The list of collections.","isDeprecated":false,"deprecationReason":null},{"name":"VENDOR","description":"A vendor (brand) page.","isDeprecated":false,"deprecationReason":null},{"name":"PAGE","description":"A content page.","isDeprecated":false,"deprecationReason":null},{"name":"POLICY","description":"A policy page.","isDeprecated":false,"deprecationReason":null},{"name":"SEARCH","description":"Search results.","isDeprecated":false,"deprecationReason":null},{"name":"CART","description":"The cart.","isDeprecated":false,"deprecationReason":null},{"name":"BLOG","description":"A blog.","isDeprecated":false,"deprecationReason":null},{"name":"ARTICLE","description":"A blog article.","isDeprecated":false,"deprecationReason":null},{"name":"ACCOUNT","description":"A page of the customer account.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_FOUND","description":"A page that was not found.","isDeprecated":false,"deprecationReason":null},{"name":"OTHER","description":"Any other page.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"AnalyticsSettings","description":"The marketing pixels this store runs.\n\nA headless storefront loads the vendors' libraries itself; this says which\nones, with which identifiers, and under which consent. The merchant's own\nstorefront gets the same information as a generated script.","fields":[{"name":"pixels","description":"The pixels the merchant has switched on and configured.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"AnalyticsPixel","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"consentGroups","description":"Every consent group the pixels can follow, and whether it counts as accepted\nuntil the buyer says otherwise — a group the merchant switched off included,\nas accepted (`cookieConsent.inactiveGroups`). Build a cookie banner from\n`cookieConsent.groups`, which lists only the groups the store offers. Empty\nwhen the store does not run the consent app — in which case nothing gates\nthe pixels.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"AnalyticsConsentGroup","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AnalyticsPixel","description":"A marketing pixel the merchant runs.","fields":[{"name":"provider","description":"Which vendor.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"AnalyticsProvider","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The pixel, measurement or advertiser identifier the vendor's library needs.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"consentGroup","description":"The consent group this pixel belongs to. Do not fire it until the buyer\nhas accepted that group. For Google Analytics and Google Ads it is the GDPR\napp's Google Consent Mode group (`consent_mode_for_traffic`) while the\nmerchant runs it, as on the merchant's own storefront.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"serverSide","description":"Whether the merchant has server-side reporting configured for this vendor.\nWhen true, report conversions through `analyticsEventPublish` as well as\nfrom the browser — the shared event id keeps Meta and TikTok from counting\nthem twice; Google Analytics does not deduplicate, so mark its browser\nevents with `reportedInBrowser`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"conversionLabel","description":"The conversion label, for Google Ads.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"businessVertical","description":"The business vertical, for Google Ads remarketing.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"remarketing","description":"Whether the merchant sends Google Ads the products viewed, for dynamic\nremarketing. Null for other vendors.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productGroup","description":"Whether a listing's view is reported to Meta as a view of its products\n(`ViewContent` of a `product_group`), as the merchant chose. Null for other\nvendors.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"debug","description":"Whether the merchant turned on Google Analytics' debug mode. Null for other vendors.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AnalyticsProvider","description":"A marketing pixel vendor.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"GOOGLE_ANALYTICS","description":"Google Analytics 4.","isDeprecated":false,"deprecationReason":null},{"name":"GOOGLE_ADS","description":"Google Ads, including dynamic remarketing.","isDeprecated":false,"deprecationReason":null},{"name":"GOOGLE_TAG_MANAGER","description":"Google Tag Manager.","isDeprecated":false,"deprecationReason":null},{"name":"META","description":"Meta — Facebook and Instagram.","isDeprecated":false,"deprecationReason":null},{"name":"TIKTOK","description":"TikTok.","isDeprecated":false,"deprecationReason":null},{"name":"RETARGETING","description":"Retargeting.biz.","isDeprecated":false,"deprecationReason":null},{"name":"GLAMI","description":"Glami.","isDeprecated":false,"deprecationReason":null},{"name":"SKROUTZ","description":"Skroutz Analytics.","isDeprecated":false,"deprecationReason":null},{"name":"PROFITSHARE","description":"Profitshare.","isDeprecated":false,"deprecationReason":null},{"name":"CLOUDCART_ANALYTICS","description":"CloudCart Analytics, the platform's own visitor analytics behind the\nmerchant's reports. Not a pixel — `analyticsSettings` never lists it — but\n`analyticsEventPublish` reports it in `dispatched` when an event was handed to it.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"AnalyticsConsentGroup","description":"A consent group the buyer can accept or refuse.","fields":[{"name":"key","description":"The group's key, as referenced by each pixel's consentGroup.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"acceptedByDefault","description":"Whether the group counts as accepted until the buyer says otherwise.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutSettings","description":"Everything a storefront needs in order to build this store's checkout.\n\nThe checkout form is not the same in two stores: the merchant decides which\nfields exist, which are mandatory, which consents must be collected and what\ncustom fields to ask for. Read this once when the checkout mounts and drive the\nform from it — hardcoding fields will break on the next store.","fields":[{"name":"fields","description":"Which address and company fields the checkout collects, and whether each is mandatory.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldSettings","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"registration","description":"Who may check out — guests, registered customers, or both.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutRegistrationSettings","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"limits","description":"Order value and quantity limits enforced by the server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutLimitSettings","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"delivery","description":"Delivery defaults the merchant configured.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutDeliveryDefaults","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maps","description":"Map widgets on the address, office and locker pickers.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutMapSettings","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"legal","description":"Terms, GDPR consents and marketing opt-in.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutLegalSettings","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":"Merchant-defined extra fields collected alongside the buyer's details.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CheckoutCustomField","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CheckoutFieldVisibility","description":"Whether a checkout field is collected, and whether it is mandatory.\n\nHistoric note: this normalises three generations of stored values — the current\n`required` / `optional` / `hidden` strings, an empty value (which the server\ntreats as required), and legacy boolean flags where a truthy value meant the\nfield was hidden. Never infer requirement from the field's presence alone.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"REQUIRED","description":"The field is collected and must have a value.","isDeprecated":false,"deprecationReason":null},{"name":"OPTIONAL","description":"The field is collected but may be left empty.","isDeprecated":false,"deprecationReason":null},{"name":"HIDDEN","description":"The field is not collected at all and must not be shown.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutFieldSettings","description":"Which address and company fields this store's checkout collects.","fields":[{"name":"firstName","description":"The buyer's first name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The buyer's last name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The contact phone number.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":"The province, region or state. Covers both the code and the name — the merchant configures them together.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"streetName","description":"The street name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"streetNumber","description":"The street number.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"additionalInformation","description":"Additional address information — apartment, floor, entrance.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"postCode","description":"The postal code.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"companyName","description":"The company name, collected for invoicing.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"companyVat","description":"The company VAT number.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"companyBulstat","description":"The company registration number (ЕИК / Bulstat).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"companyMol","description":"The company's accountable person (МОЛ).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"validateCompanyVat","description":"Whether the VAT number is verified against VIES before the order is accepted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddress","description":"Whether a separate billing address is collected, and whether it is mandatory.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutFieldVisibility","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"invoicingAddress","description":"Which address the invoice is issued to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutInvoicingAddress","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CheckoutInvoicingAddress","description":"Which address the invoice is issued to.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SHIPPING_ADDRESS","description":"The delivery address.","isDeprecated":false,"deprecationReason":null},{"name":"BILLING_ADDRESS","description":"The separate billing address.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutRegistrationSettings","description":"Who may complete a checkout in this store.","fields":[{"name":"customerAccess","description":"Whether guests, registered customers, or both may check out.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutCustomerAccess","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unconfirmedAccountsRestricted","description":"Whether customers with an unconfirmed email address are blocked from checking out.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"guestToCustomer","description":"Whether a guest is turned into a registered customer once the order is placed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requireShippingAddress","description":"Whether registration requires a delivery address.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requireBillingAddress","description":"Whether registration requires a billing address.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CheckoutCustomerAccess","description":"Who may complete a checkout.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BOTH","description":"Both guests and registered customers.","isDeprecated":false,"deprecationReason":null},{"name":"MEMBER","description":"Registered customers only.","isDeprecated":false,"deprecationReason":null},{"name":"GUEST","description":"Guests only.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLimitSettings","description":"Order value and quantity limits enforced by the server.","fields":[{"name":"minOrderAmount","description":"The smallest order the store accepts. Null when there is no minimum.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maxOrderAmount","description":"The largest order the store accepts. Null when there is no maximum.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maxProducts","description":"The most units the whole cart may hold, all lines together. Null when unlimited.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maxQuantityPerVariant","description":"The most units of one variant (one cart line) the cart may hold. Null when unlimited.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutDeliveryDefaults","description":"Delivery defaults the merchant configured.","fields":[{"name":"methodType","description":"The delivery method preselected for a new checkout. Null when the merchant set none.","args":[],"type":{"kind":"ENUM","name":"CartDeliveryMethodType","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requireAddressForDigital","description":"Whether a delivery address is collected for carts that contain only digital products.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"autoSelectSingleOption","description":"Whether a sole available delivery option is selected automatically instead of being shown as a choice.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableMethodTypes","description":"The delivery methods the store can serve: those at least one active courier supports, as the\nstorefront's checkout offers them — ADDRESS alone when no courier claims any. A\nmethod missing here has no courier behind it and should not be offered. MARKETPLACE is listed\nwhen the merchant runs store pickup, whether or not a store location is set up yet.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartDeliveryMethodType","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutMapSettings","description":"Map widgets on the address, office and locker pickers.","fields":[{"name":"addressMapEnabled","description":"Whether to show a map when the buyer enters a delivery address.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"officeMapEnabled","description":"Whether to show a map when the buyer picks a courier office.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lockerMapEnabled","description":"Whether to show a map when the buyer picks a parcel locker.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"googleMapsApiKey","description":"The merchant's browser key for Google Maps. Null when no map is configured.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"googleMapsApiVersion","description":"Which Google Maps API the merchant's key targets.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLegalSettings","description":"Terms, GDPR consents and the marketing opt-in.","fields":[{"name":"marketingConsentEnabled","description":"Whether to offer the marketing opt-in checkbox.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showPaymentDescription","description":"Whether payment methods show the merchant's own description text.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"termsPages","description":"Pages the buyer must accept before the order is submitted. Empty when the\nGDPR app is active — that app replaces this mechanism entirely, so use\n`gdprPolicies` instead and never present both.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CheckoutTermsPage","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"gdprActive","description":"Whether the GDPR app governs consents in this store.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"gdprPolicies","description":"Consent policies, in display order. Each names the form it belongs to, so a\nsingle read covers the buyer step, the order submission and the marketing\nopt-in.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CheckoutGdprPolicy","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutTermsPage","description":"A page the buyer must accept before the order is submitted.","fields":[{"name":"id","description":"A globally-unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The page title, used as the checkbox label.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"The page's URL handle, for linking to the full text.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"contentHtml","description":"The full text of the page.","args":[],"type":{"kind":"SCALAR","name":"HTML","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutGdprPolicy","description":"A GDPR consent policy attached to a checkout form.","fields":[{"name":"id","description":"The policy's id, the same as `Policy.id` in `policies`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"form","description":"Which form this consent belongs to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutConsentForm","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The policy title, used as the checkbox label.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"The policy's URL handle, for linking to the full text.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"contentHtml","description":"The full text of the policy.","args":[],"type":{"kind":"SCALAR","name":"HTML","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the buyer must accept it. Optional policies are shown unchecked.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CheckoutConsentForm","description":"The checkout step a consent belongs to.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"REGISTER","description":"Collected when the buyer identifies themselves.","isDeprecated":false,"deprecationReason":null},{"name":"SUBMIT_PAYMENT","description":"Collected when the order is submitted.","isDeprecated":false,"deprecationReason":null},{"name":"MARKETING","description":"The marketing opt-in.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutCustomField","description":"A merchant-defined field collected alongside the buyer's details.","fields":[{"name":"id","description":"A globally-unique identifier. Pass it back as the key when submitting the value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The input type: checkbox, select, radio, text, textarea, phone or link.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The label shown to the buyer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the merchant marked this field as required.\n\nEnforce it in the storefront. The platform does not refuse an order that\nleaves it unanswered — the merchant's own checkout only marks the field in\nthe form — and this API deliberately behaves the same rather than rejecting\norders the merchant's checkout would accept.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sortOrder","description":"The display order among custom fields.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":"The choices, for the types that have them.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CheckoutCustomFieldOption","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutCustomFieldOption","description":"A choice within a custom field.","fields":[{"name":"id","description":"A globally-unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The label shown to the buyer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sortOrder","description":"The display order among the choices.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CookieConsentMode","description":"How the store asks for cookie consent.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BAR","description":"A bar along the page. The store stays usable while the visitor has not chosen.","isDeprecated":false,"deprecationReason":null},{"name":"WALL","description":"The preference center over the page. The store is blocked until the visitor chooses.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CookieConsent","description":"The cookie consent banner the merchant runs with the GDPR app, as set up in\nits admin. The platform storefront shows the same banner from the same settings.","fields":[{"name":"active","description":"False when the store does not run the GDPR app: show no banner then. The other fields are empty.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mode","description":"How consent is asked. Null when the merchant shows neither a bar nor a wall.","args":[],"type":{"kind":"ENUM","name":"CookieConsentMode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cookieName","description":"The cookie that stores the visitor's choice: every group as `key:yes` or\n`key:no`, joined with `+` — for example `system:yes+performance:no` — on\npath `/`, kept for 365 days. The platform storefront and checkout read the\nsame cookie, so a choice made in one holds in the other.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"barHtml","description":"The bar's text.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preferencesHtml","description":"The introduction at the top of the preference center.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"policyPage","description":"The page that explains the store's cookies: the one the merchant chose, or\nthe page with the handle `cookie-policy`. Null when there is neither.","args":[],"type":{"kind":"OBJECT","name":"Page","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"groups","description":"The consent groups, in the order to show them.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CookieConsentGroup","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"inactiveGroups","description":"The groups the merchant switched off. The banner does not offer them and a visitor's choice\nnever names them, so each counts as `acceptedByDefault`, as on the platform: accepted, but for\nGoogle Consent Mode's group, whose switching off turns Consent Mode off instead.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CookieConsentInactiveGroup","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"labels","description":"The banner's buttons and headings, in the store's language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CookieConsentLabels","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showBar","description":"Whether to show a bar.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showWall","description":"Whether to show a wall. Never true together with showBar — the bar wins.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"barText","description":"The bar's text.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"consentText","description":"The introduction at the top of the preference center.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cookiePolicyHandle","description":"Handle of the cookie policy page; empty when there is none.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CookieConsentGroup","description":"A group of cookies the visitor accepts or refuses together.","fields":[{"name":"key","description":"The key the consent cookie stores the choice under: `system`, `performance`\n(analytics), `functional` (preferences), `targeting` (marketing), or\n`consent_mode_for_traffic` — Google Consent Mode, listed when the merchant\nturned it on. While it is listed, the platform runs Google's tags (Google\nAnalytics, Google Ads) only once the visitor accepts it, whatever the other\ngroups say.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The group's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The group's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"What the group's cookies are for.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"What the group's cookies are for; null when the merchant wrote nothing.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the group is always on. Strictly necessary cookies cannot be refused, and the choice stores them as accepted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preselected","description":"Whether the group's switch starts on in the preference center.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"acceptedByDefault","description":"Whether the platform counts the group as accepted while the visitor has\nnot chosen. The same value `analyticsSettings.consentGroups` reports.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"providers","description":"The services that set the group's cookies.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CookieConsentProvider","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CookieConsentInactiveGroup","description":"A consent group the merchant switched off, and what it counts as.","fields":[{"name":"key","description":"The group's key, as `CookieConsentGroup.key` would be.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"acceptedByDefault","description":"Whether the group counts as accepted: it does for every group the platform defaults to accepted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CookieConsentProvider","description":"A service that sets cookies in a consent group.","fields":[{"name":"name","description":"The service's name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"What the service does with its cookies.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cookies","description":"The names of the cookies it sets.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CookieConsentLabels","description":"The banner's buttons and headings, in the store's language.","fields":[{"name":"accept","description":"The button that accepts every group.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reject","description":"The button that refuses every group except the required ones.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"settings","description":"The link that opens the preference center.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"save","description":"The preference center's button that saves the switches as they are set.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preferenceCenter","description":"The preference center's title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"yourPrivacy","description":"The heading of the preference center's introduction.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cookies","description":"The heading of a group's list of cookies.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"moreInformation","description":"The link to the cookie policy page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"close","description":"The button that closes the bar or the preference center without a choice.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FastOrderSettings","description":"The merchant's Fast Order: buying one product or bundle straight from its page,\nwith a few details and no checkout.\n\nOrdered this way, the order is cash on delivery with no delivery method chosen\n— the merchant arranges delivery with the buyer, exactly as for a fast order\nfrom their own storefront.","fields":[{"name":"buttonTitle","description":"The product-page button's text, as the merchant wrote it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"finishButtonTitle","description":"The submit button's text, as the merchant wrote it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The merchant's text shown above the form. Null when there is none.","args":[],"type":{"kind":"SCALAR","name":"HTML","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"successMessageHtml","description":"The merchant's text shown once the order is placed. Null when there is none.","args":[],"type":{"kind":"SCALAR","name":"HTML","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phoneRequired","description":"Whether to ask for, and require, a phone number. A guest's e-mail is always required.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstNameRequired","description":"Whether to ask for, and require, a first name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastNameRequired","description":"Whether to ask for, and require, a last name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingEvents","description":"The names the merchant's tracking reports the fast order's steps under.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"FastOrderTrackingEvents","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FastOrderTrackingEvents","description":"The event names the merchant chose for the fast order in their tracking — the\nMeta pixel's standard names unless they changed them.","fields":[{"name":"checkout","description":"Reported when the fast order form opens.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"purchase","description":"Reported when the fast order is placed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FastOrderPayload","description":"The result of placing a fast order.","fields":[{"name":"status","description":"COMPLETED when the order was placed, FAILED when it was not.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartSubmitStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"The order that was placed.","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the order was not placed, each naming the input field at fault.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"analyticsEventId","description":"The id the purchase was reported to the ad vendors' server side under, made\nfrom the order as the platform makes it. Report the purchase from the\nbrowser's pixels with it — under the merchant's name for it\n(`fastOrderSettings.trackingEvents.purchase`) — so each vendor counts it once.\nNull when no order was placed.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"FormErrorCode","description":"Possible error codes from the storefront's form mutations.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BLANK","description":"A required field was left empty.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"A field's value is not valid, e.g. an e-mail address or a phone number.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_LONG","description":"A field's value is longer than allowed.","isDeprecated":false,"deprecationReason":null},{"name":"POLICY_NOT_ACCEPTED","description":"A policy the form requires was not accepted.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_FOUND","description":"The thing the form refers to — a product, a variant, an article — does not exist or is not on sale.","isDeprecated":false,"deprecationReason":null},{"name":"UNAVAILABLE","description":"The store does not take this form, e.g. its app is not installed or the merchant turned it off.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_ALLOWED","description":"The store's rules do not let this visitor send it, e.g. only customers who\nbought the product may review it, or the blog takes no comments.","isDeprecated":false,"deprecationReason":null},{"name":"TAKEN","description":"The visitor has already sent it, e.g. a review of the same product.","isDeprecated":false,"deprecationReason":null},{"name":"THROTTLED","description":"This visitor has sent this form too often in the last minute. Wait a minute\nand try again. A storefront that calls the API from its own server must send\nits private token and the visitor's address (`X-Storefront-Private-Token`,\n`X-Storefront-Buyer-IP`), or all its visitors count as one.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"FormUserError","description":"An error from one of the storefront's form mutations.","fields":[{"name":"field","description":"The path to the input field the error is about, e.g. `[\"input\", \"email\"]`; null when it is about the whole form.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message, in the store's language, ready to show the visitor.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"FormErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ContactFormSubmitPayload","description":"The result of `contactFormSubmit`.","fields":[{"name":"message","description":"The store's confirmation, in its language, ready to show the visitor; null when the message was not sent.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the message was not sent. Empty when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FormUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewAnswerCreatePayload","description":"The result of `productReviewAnswerCreate`.","fields":[{"name":"answer","description":"The answer; null when it was not saved.","args":[],"type":{"kind":"OBJECT","name":"ProductReview","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":"Whether the answer is already under its review. When the merchant approves\nanswers first (`productReviewSettings.answersRequireApproval`), it waits and\nis not among the review's `answers` yet.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The store's confirmation, in its language — it says whether the answer waits for approval; null when it was not saved.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the answer was not saved. Empty when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FormUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductReviewCreatePayload","description":"The result of `productReviewCreate`.","fields":[{"name":"review","description":"The review; null when it was not saved.","args":[],"type":{"kind":"OBJECT","name":"ProductReview","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"published","description":"Whether the review is already on the product page. When the merchant\napproves reviews first, or approves only those with enough stars, it waits\nfor approval and is not among `Product.reviews` yet.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The store's confirmation, in its language — it says whether the review waits for approval; null when it was not saved.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the review was not saved. Empty when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FormUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"BackInStockChannel","description":"A way the store can reach a visitor about a product.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"EMAIL","description":"By e-mail.","isDeprecated":false,"deprecationReason":null},{"name":"PHONE","description":"By text message, or a messaging app on the same number.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ProductBackInStockPayload","description":"The result of `productBackInStockSubscribe`.","fields":[{"name":"subscribed","description":"Whether the request was saved: the visitor is on the list.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The store's confirmation, in its language; null when the request was not saved.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the request was not saved. Empty when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductBackInStockUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductBackInStockUserError","description":"Why a back-in-stock request was not saved: a `FormUserError`, under the name clients built against it know.","fields":[{"name":"field","description":"The path to the input field the error is about, e.g. `[\"input\", \"email\"]`; null when it is about the whole form.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message, in the store's language, ready to show the visitor.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"FormErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ArticleCommentCreatePayload","description":"The result of `articleCommentCreate`.","fields":[{"name":"comment","description":"The comment; null when it was not saved.","args":[],"type":{"kind":"OBJECT","name":"Comment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The store's confirmation, in its language — it says whether the comment waits for approval; null when it was not saved.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the comment was not saved. Empty when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FormUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"GdprRequestType","description":"What a GDPR request asks of the store, as the GDPR app's request form offers it.\nThe merchant handles requests in the app's admin.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INFO","description":"A question about how the store processes the person's data.","isDeprecated":false,"deprecationReason":null},{"name":"DOWNLOAD","description":"A request for a copy of the person's data.","isDeprecated":false,"deprecationReason":null},{"name":"DELETE","description":"A request to delete the person's data.","isDeprecated":false,"deprecationReason":null},{"name":"MARKETING_UNSUBSCRIBE","description":"A request to stop receiving marketing.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"GdprRequest","description":"A GDPR request a person sent the store.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"What the request asks.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"GdprRequestType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The message sent with the request; empty when there was none.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"When the request was sent.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"processedAt","description":"When the merchant marked the request as handled; null while it waits.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GdprRequestConnection","description":"A list of GDPR requests.","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"GdprRequestEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the requests.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"GdprRequest","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"How many requests the connection has across all its pages.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GdprRequestEdge","description":"An edge in a GDPR request connection.","fields":[{"name":"node","description":"The request.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"GdprRequest","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PolicyAcceptance","description":"A policy the customer accepted, as it read when they accepted it: the store keeps\na copy, so a later edit of the policy page does not change what was agreed to.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The policy's title when it was accepted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"contentHtml","description":"The policy's text when it was accepted, as HTML.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"HTML","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"form","description":"The form it was accepted on; null for a form this API does not list (`PolicyForm`).","args":[],"type":{"kind":"ENUM","name":"PolicyForm","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"acceptedAt","description":"When it was accepted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PolicyAcceptanceConnection","description":"A list of policy acceptances.","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PolicyAcceptanceEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the acceptances.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PolicyAcceptance","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"How many acceptances the connection has across all its pages.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PolicyAcceptanceEdge","description":"An edge in a policy acceptance connection.","fields":[{"name":"node","description":"The acceptance.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PolicyAcceptance","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CustomerDataExportKind","description":"Which copy of the customer's data to export.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PERSONAL_INFORMATION","description":"The customer's id, name and e-mail address.","isDeprecated":false,"deprecationReason":null},{"name":"ADDRESSES","description":"The delivery and billing addresses on the customer's orders.","isDeprecated":false,"deprecationReason":null},{"name":"ORDERS","description":"The customer's orders: status, total, products and addresses.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CustomerDataExport","description":"A copy of the customer's data as a file — what the GDPR app's download links\ngive on the CloudCart storefront. Serve `content` as a download under `filename`.","fields":[{"name":"filename","description":"The file name the platform gives it, e.g. `orders.csv`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"contentType","description":"The file's media type.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"content","description":"The file: semicolon-separated values, UTF-8 with a byte-order mark, as the platform's download.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GdprRequestCreatePayload","description":"The result of `gdprRequestCreate`.","fields":[{"name":"message","description":"The store's confirmation, in its language, ready to show; null when the request was not taken.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the request was not taken. Empty when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FormUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppConfig","description":"The merchant's design for this store's native mobile app — colours, typography,\nhome-screen layout, bottom tabs and feature flags.\n\nRead it once at boot and drive the shell from it. It changes only when the merchant\nsaves in their admin panel, so a client is expected to cache it and re-render when\n`version` moves.\n\n**Every field is nullable, and null means \"the merchant has no opinion — use your own\ndefault\".** It does not mean \"empty\". An unconfigured store answers with nulls\nthroughout, and a client that treats those as values would paint the platform's\nplaceholder colours over the branding it was built with.\n\nDeliberately permissive on the wire. There are no enums here and `MobileAppSection` is\na flat record with a `type` string rather than a union, because a client that ships a\nfragment or an enum case the server does not have yet fails the WHOLE query and gets no\nconfig at all — the opposite of graceful. An unknown string costs one ignored section.","fields":[{"name":"schema","description":"The shape's version. Bumped when a change cannot be absorbed by a client holding an\nolder cached copy; such a client should discard its cache rather than migrate it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"version","description":"A stamp over the config's contents. Unchanged means nothing was saved since the last\nread, so a client can skip its re-render and its cache write.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"colors","description":"Palette. Null members keep the client's compiled colour.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppColors","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"typography","description":"Type family and the density scale.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppTypography","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"home","description":"The home screen's composition.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppHome","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tabs","description":"The bottom tabs, in the order they should render. Null when the merchant has never\nconfigured them. A tab absent from this list is not part of the app; a tab present\nwith `enabled: false` was deliberately switched off.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MobileAppTab","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"features","description":"Which optional features the merchant wants surfaced.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppFeatures","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"catalog","description":"How the catalogue grid is laid out.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppCatalog","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"What the product page shows around the gallery.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppProduct","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"branding","description":"Images the app shows as the store's identity.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppBranding","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"style","description":"Shape. What the app's own look is made of, beyond colour and type.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppStyle","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pages","description":"The app's own landing pages, in the merchant's order: only their ids and titles. Read a page's\nsections with `mobileAppPage(id:)` when it is opened. A link or tab of type `appPage` names one of\nthese by id; the server drops links and tabs to a page that no longer exists.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MobileAppPageRef","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"menu","description":"The merchant's menu: a list of links, opened by the ☰ button on the home screen (when `showOnHome`) and by\na tab of type `menu`. Links only, no icons.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppMenu","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reviews","description":"How the Product reviews app shows ratings, read from that app's own settings — the switches the web\nstorefront's product lists and product page follow. Null when the app is not installed or is off.","args":[],"type":{"kind":"OBJECT","name":"MobileAppReviews","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"labels","description":"The product ribbons' colours from the web theme's Labels settings (Design → Labels), so the app paints\nNew, Featured, Sale and the discount badge as the web store does. A member or colour the theme does not\nset is null, and the app keeps its own. The merchant's own product labels carry their colours on\n`Product.labels` and are not affected.","args":[],"type":{"kind":"OBJECT","name":"MobileAppLabels","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppLabels","description":"The theme's ribbon colours, per kind of ribbon.","fields":[{"name":"new","description":"The New ribbon. `name` is its text, as `Product.labels` gives it, so the client can tell it apart.","args":[],"type":{"kind":"OBJECT","name":"MobileAppLabelStyle","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"featured","description":"The Featured ribbon. `name` as for `new`.","args":[],"type":{"kind":"OBJECT","name":"MobileAppLabelStyle","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sale","description":"The Sale ribbon, on a product whose price fell with no discount to quote.","args":[],"type":{"kind":"OBJECT","name":"MobileAppLabelStyle","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"discount","description":"The discount badge (`-15%`).","args":[],"type":{"kind":"OBJECT","name":"MobileAppLabelStyle","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppLabelStyle","description":"One ribbon's text and colours. Colours are `#rrggbb`.","fields":[{"name":"name","description":"The ribbon's text as `Product.labels` gives it, for the platform's New and Featured; null for the Sale ribbon and the discount badge.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"background","description":"The ribbon's background colour; null when the theme does not set it as a plain colour.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"text","description":"The ribbon's text colour; null when the theme does not set it as a plain colour.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppReviews","description":"The Product reviews app's display settings (Apps → Product reviews), as the web storefront applies them.","fields":[{"name":"showInListing","description":"The star rating under the name on product cards in lists (`show_in_listing`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hideEmptyRating","description":"A product with no rating yet shows no stars at all, rather than five empty ones (`hidden_rating`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppMenu","description":"The merchant's menu of links for the app.","fields":[{"name":"showOnHome","description":"Whether the home screen shows the menu (see `homeStyle`). Nothing to show while `items` is empty.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"homeStyle","description":"How the home screen shows it while `showOnHome`: `button` — the ☰ in the top bar opens a drawer; `bar` — the\nlinks themselves in a row under the top bar. Treat a value you do not know as `button`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":"The links, in the merchant's order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MobileAppMenuItem","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppMenuItem","description":"One link of the menu. `type` is what a tab the merchant adds can open: `appPage`, `page`, `category`,\n`collection`, `product` or `url`, with `value` as for a tab. Skip a type you do not know.","fields":[{"name":"id","description":"Identifies the link within the menu, where it is unique.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"What the link opens: `appPage`, `page`, `category`, `collection`, `product` or `url`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The target, as a tab's `value`: a page handle, an id or a web address.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The link's text. Null only when the target had no name to take.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppPageRef","description":"One of the app's landing pages, as the config lists it.","fields":[{"name":"id","description":"Stable across renames — what links and tabs point at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The page's name, for a screen header.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppPage","description":"One of the app's landing pages: a screen built from the same sections as the home screen. Render its\nsections exactly as the home screen's.","fields":[{"name":"id","description":"Stable across renames — what links and tabs point at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The page's name, for the screen header.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"version","description":"A stamp over the page's contents. Unchanged means nothing was saved since the last read.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sections","description":"The sections to render, top to bottom. May be empty.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MobileAppSection","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppStyle","description":"The store's shape language.\n\nSeparate from `colors` and `typography` because it is neither: these are the decisions that make\ntwo stores with the same palette still look like different shops.","fields":[{"name":"buttonRadius","description":"How round every button in the app is: `sharp`, `soft`, `rounded` or `pill`.\n\nOne value for all of them — the app had a rounded primary button and pill call-to-actions on\nthe home screen, which read as two different apps stitched together. A name rather than a\nnumber: the client owns the pixels, so a later release can retune a step without a config\nmigration, and a value it does not recognise falls back to its own default.\n\nNull when the merchant has never chosen — keep the client's compiled default.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppBranding","description":"The store's identity inside the app.","fields":[{"name":"logoUrl","description":"The logo on the Home tab of the bottom bar. Null means the merchant has not uploaded one for\nthe app — keep the tab's house icon. (Clients before this rule fell back to `shop.logoUrl`.)","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppColors","description":"The app's palette, as six-digit hex (`#rrggbb`).\n\nNull on any member means the client keeps whatever it compiled in.","fields":[{"name":"brand","description":"Primary brand colour — tab bar accent, buttons, hero.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"onBrand","description":"Foreground on top of `brand`.\n\nNull does NOT mean black: it means derive one, which for this app is a relative\nluminance test against the brand colour. A merchant only sets this to overrule a\nbad automatic pick.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ink","description":"Primary text colour.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"surface","description":"Recessed background behind cards and thumbnails.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"border","description":"Hairline and divider colour.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sale","description":"Sale / discounted price colour.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"success","description":"Success and in-stock colour.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"background","description":"Background behind every screen (home, listings, product page, cart, account). `surface` panels sit on top of it.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppTypography","description":"Type family and density.","fields":[{"name":"family","description":"The family's display name, e.g. `Inter`. `System` means the platform's own font —\nrender it and download nothing.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"scale","description":"Multiplier on the app's root type size. Also scales the spacing ramp derived from\nit, so it reads as a density control rather than a font-size control.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"files","description":"Where to download each weight from. Null for `System`.","args":[],"type":{"kind":"OBJECT","name":"MobileAppFontFiles","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"headingFamily","description":"A second family for headings: section titles, screen titles, the product name, a\nbanner's title. Null means headings use `family`. `System` means the platform's own font.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"headingFiles","description":"Where to download the heading family's weights from. Null when `headingFamily` is null or `System`.","args":[],"type":{"kind":"OBJECT","name":"MobileAppFontFiles","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppFontFiles","description":"One downloadable font file per weight, because a font registered at runtime cannot have\nits weight synthesised — a single file registered under one name renders at that one\nweight whatever weight is asked for.\n\nAny member may be null when the family has no cut at that weight. Fall back rather than\nskipping the family: medium ← regular, semiBold ← bold ← regular. With no `regular`\nthere is nothing to fall back from, so use the system font.","fields":[{"name":"regular","description":"Weight 400.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"medium","description":"Weight 500.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"semiBold","description":"Weight 600.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"bold","description":"Weight 700.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppHome","description":"The home screen's composition.","fields":[{"name":"sections","description":"The sections to render, top to bottom. Null when the merchant has never configured\nthe home screen. Render each section independently — one that fails to load its\ndata should render nothing and leave the rest of the screen standing.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MobileAppSection","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppSection","description":"One home-screen section.\n\nA flat record covering every section type: fields that do not apply to this section's\n`type` are null. Switch on `type` and ignore a section whose type you do not recognise —\nthat is the intended forward-compatibility path, and the reason this is not a union.","fields":[{"name":"id","description":"Stable per-instance identity, unique within the list.\n\nNot the type: a merchant may legitimately place two of the same type — two banner strips for\ntwo campaigns, two product rails for two collections — and a client that keys its rendering on\nthe type collapses them into one. Use this as the render key.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"What to render: `banner`, `categories`, `products`, `bannerList`, `countdown`, `html`, `video`,\n`recentlyViewed`, `brands`, `featuredProduct` or `bannerProduct` — or, for a schema-1 client, `hero` and `banners` instead of `banner`. Treat any other value as a section to skip; more types will be added without\na schema version bump, and skipping is what lets the store serve one before this client knows it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":"False when the merchant kept the section but switched it off.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Heading. Null means use the app's own translated heading for this section type.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eyebrow","description":"`hero` only. The small line ABOVE the heading — the eyebrow. Null means use the app's own\ntranslated one (`sfapp.home.hero.title`), which is what a merchant who never touched it gets.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtitle","description":"`hero` only. Supporting line under the heading.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ctaLabel","description":"`hero`, `countdown` and `bannerList`. Text ON THE BUTTON, and nothing else: null means no button\nis rendered at all, not that the app should substitute a heading for it. On a `hero` the card\nitself stays tappable either way — see `linkType`. On a `bannerList` the button sits UNDER the\ntiles: it is the \"see all\" beneath a row of category banners, where each tile opens one category\nand the button opens the lot.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":"`hero` only. Background image. Render a scrim over it regardless of the image —\na merchant will eventually upload a light photo behind light text.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkType","description":"`hero` and `bannerList`. What the call-to-action opens: `none`, `catalog`, `category`,\n`product`, `url` or `appPage`. Unknown values should behave as `none`.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkValue","description":"`hero` and `bannerList`. The target for `linkType` — a category id, product id, absolute URL, or an app page id (`appPage`, see `MobileAppConfig.pages`).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":"`hero` only. Height in points. Null means as tall as its own copy, which is what every hero\nwas before the field existed. A value is a MINIMUM, not a cap: copy that does not fit still\ngrows the banner rather than being clipped.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"contentAlign","description":"`hero` only. Where the block of copy sits vertically: `top`, `middle` or `bottom`. Null and\nunknown values mean `middle`. Only visible on a hero given a `height` taller than its copy.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"textAlign","description":"`hero` only. How the copy and the button are aligned: `left`, `center` or `right`. Null and\nunknown values mean `left`.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"overlay","description":"`hero` only. How dark the scrim over the background image is, in percent. Null means 35.\nClamp it into 20–70 before use: the copy is drawn light whatever the merchant chose, so a\nscrim that can reach zero is a hero that can become unreadable over a pale photograph.\nIgnored by a hero with no image.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"`categories`, `products` and `recentlyViewed`. How many items to fetch. Clamp it before use.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"layout","description":"`products` and `brands`. How the cards are arranged: `grid` (the wrapping grid of `columns` per row)\nor `carousel` (one row that slides sideways). Unknown or absent values should render the grid.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"columns","description":"`products`, `recentlyViewed`, `brands` and `bannerList`. Grid columns — 2 or 3 for products,\n2 to 4 for brands, 1 to 3 for a banner list, where 1 is the stacked full-width list. Clamp it\nbefore use. Ignored by a `carousel`.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"categoryItems","description":"`categories` only. The merchant's hand-picked shortcuts, in order. Empty means the automatic\nstrip — the first `limit` categories — which is what every store saved before this field renders.\nSkip a shortcut whose category no longer resolves.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MobileAppCategoryShortcut","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"display","description":"`categories` only. What a shortcut shows: `both` (picture and name), `text` or `image`. Null and\nunknown values mean `both`. Schema 2.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"imageShape","description":"`categories` only. The shape a shortcut's picture is cut to: `circle`, `rounded` or `square`.\nNull and unknown values mean `circle`. Schema 2.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"vendorIds","description":"`brands` only. Vendor ids, in order; resolve them with the `vendors` query. Empty renders nothing.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"collectionId","description":"`products` only. Which collection to draw from. Null means the store's featured set.\nSuperseded by `productSource` and `sourceIds` where those are served: a store keeps writing the\nfirst picked category here (and null for any other source), so a client that predates them still\nshows something sensible.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productSource","description":"`products` only. Where the products come from, as the web storefront's Product showcase picks\nthem: `all`, `category`, `collection` (a smart collection), `vendor`, `product` (hand-picked) or\n`tag`. Null means `all` — or, with a `collectionId`, that one category. Unknown values mean `all`.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sourceIds","description":"`products` only. The values for `productSource`, in the merchant's order: category, smart\ncollection, vendor or product ids — or, for `tag`, the tags' text. Several values of one source\nwiden each other (products from any of them). Empty with a source other than `all` renders nothing.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"filterNew","description":"`products` only. `yes` keeps only new products, `no` leaves them out, `both` (and null) does not\nfilter. Ignored by `productSource: product`.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"filterSale","description":"`products` only. The same three values as `filterNew`, for products on sale.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"filterFeatured","description":"`products` only. The same three values as `filterNew`, for the products the merchant marked featured.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productSort","description":"`products` only. The order: `bestSelling`, `newest`, `oldest`, `nameAsc`, `nameDesc`,\n`priceAsc` or `priceDesc`. `default` (and null, and unknown values) means best selling for\n`all`, and the store's own order for any other source. Ignored by `productSource: product`,\nwhich keeps the merchant's picked order.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":"`banner` and `bannerList` (and `banners` for a schema-1 client). The banners, in order. An empty list is legal — a campaign the\nmerchant is still assembling — and should render nothing rather than an empty strip.\n\nThe two types hold the same items and differ only in how they are laid out: `banners` shows one\nat a time behind a swipe, `bannerList` shows all of them at once, `columns` per row, with each\nitem's `caption` under it.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"MobileAppBanner","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"autoplay","description":"`banner` (with more than one item), `banners` and `video`. Whether it advances or plays on its own.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"interval","description":"`banner` and `banners`. Seconds per slide, 3-30. Ignored when `autoplay` is false.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":"`countdown` only. When it ends, UTC ISO-8601. Hide the whole section once it has passed —\na row of zeroes reads as a broken app, not as a finished promotion.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"content","description":"`html` only. Already sanitised server-side against a narrow allowlist; render it as rich text,\nnever in a WebView.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maxHeight","description":"`html` only. Maximum height in pixels. Null means as tall as the content.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"`video` only. A hosted MP4 or HLS stream for the platform's own player. Never an embed page.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"poster","description":"`video` only. Still shown before playback starts.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"muted","description":"`video` only. Autoplay with sound is blocked on both platforms, so this pairs with `autoplay`.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":"`featuredProduct` and `bannerProduct`: the product the section shows, as a product id.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"backgroundColor","description":"`featuredProduct` only. The ground behind the product, `#rrggbb`. Null means the brand colour. With an\n`imageUrl` the picture is the ground, under an `overlay` scrim.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showPrice","description":"`featuredProduct` only: show the price. Null means yes.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showSku","description":"`featuredProduct` only: show the SKU of the product's default variant. Null means no.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showBrand","description":"`featuredProduct` only: show the brand (vendor). Null means yes.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"mediaSide","description":"`bannerProduct` only: the side its picture takes, `left` or `right`; the product sits on the other.\nAlternated down a page, it makes the page read composed. Skip values you do not know.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppBanner","description":"One banner of a `banner`, `banners` or `bannerList` section.","fields":[{"name":"imageUrl","description":"The picture. Always present on `banners` and `bannerList`. On a `banner` it may be null: the item\nis drawn on the brand colour, as a hero without a picture always was.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"caption","description":"The line under the tile, in the merchant's own words — a category name, an offer.\n\n`bannerList` only: a carousel slide is artwork with its wording already inside the picture, and\na caption under it would read as a duplicate. Null means the tile is the picture alone.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eyebrow","description":"`banner` only. The small line above the title, over the picture. Null means none.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"`banner` only. The large line over the picture. Null means none.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtitle","description":"`banner` only. The supporting line under the title. Null means none.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ctaLabel","description":"`banner` only. Text on the button over the picture. Null means no button; the picture still opens the link.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkType","description":"What tapping it opens: `none`, `catalog`, `category`, `product`, `url` or `appPage`.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"linkValue","description":"The target for `linkType` — a category id, product id, absolute URL, or an app page id (`appPage`, see `MobileAppConfig.pages`).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppCategoryShortcut","description":"One hand-picked shortcut of a `categories` section.","fields":[{"name":"categoryId","description":"The category — accepted by `collection(id:)`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imageUrl","description":"The merchant's picture for it. Null means use the category's own image.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppTab","description":"One bottom tab.","fields":[{"name":"id","description":"The tab's identity: `home`, `catalog`, `cart`, `orders` or `settings` for a built-in, or a generated\nid for a tab the merchant added (read `type`). Skip an id you do not have a screen for.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":"Whether it renders. At least one tab in the list is always enabled. False exactly when `display` is `hidden`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"display","description":"How the tab is drawn: `both` (icon and label), `text`, `icon` or `hidden`. Null and unknown values\nmean `both`.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"Label override. Null means use the app's own translated tab title.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"iconUrl","description":"The merchant's own icon for the tab when it is an SVG, painted in the bar's colours. Null means the app's own icon.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"iconImageUrl","description":"The merchant's own picture for the tab, whatever its format: an SVG is painted in the bar's colours,\nany other image is drawn as it is. Prefer it over `iconUrl` when you can draw a bitmap.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"What the tab opens. The built-ins `home`, `catalog`, `cart`, `orders` and `settings` (the same as\n`id`), or a tab the merchant added: `page` (a store page, `value` = its handle), `appPage` (one of\nthe app's landing pages, `value` = its id, read it with `mobileAppPage`), `category`,\n`collection` (a smart collection), `product` (`value` = the id), or `url` (`value` = a web address,\nopened in the browser), or `menu` (opens the menu, `value` null). Skip a type you do not know.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"What a tab the merchant added opens: a page handle, an id or a web address. Null on a built-in.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppCatalog","description":"How many product cards sit across a row of the catalogue grid.\n\nTwo numbers rather than one because a phone and a tablet are not the same canvas. The client picks\nbetween them by the width it is actually rendering at, so a large phone in landscape and a small\ntablet resolve the same way — there is no device model to key on.\n\nNull on either member means the merchant has no opinion and the client keeps its own default.","fields":[{"name":"columnsPhone","description":"Cards per row on a phone-sized screen. One or two.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"columnsTablet","description":"Cards per row on a tablet-sized screen. Two, three or four.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":"The listing's Sort and Filters controls. Null means the merchant has never saved them.","args":[],"type":{"kind":"OBJECT","name":"MobileAppCatalogFilters","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"listView","description":"One product per row, the picture beside the name, instead of the grid.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cardImage","description":"The shape of a product card's picture wherever a card is drawn: `square`, `portrait` (3:4) or\n`landscape` (4:3). Null means the merchant has no opinion; skip values you do not know.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"filterOrder","description":"The order of the facet families on the Filters screen — `price`, `vendor`, `category`, `property`,\n`variant`, `brandModel`, `inStock`, `sale`, `new`, `featured`. Skip names you do not know.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"filtersFirst","description":"The listing toolbar shows Filters before Sort. Null or false keeps Sort first.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"categoryImages","description":"The catalogue's category rows show the category's picture. Null or false shows the name only.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cardVariants","description":"Product cards show the product's colours (its `color` option) and sizes (its `radio` option) under\nthe name, for reading only. Null means the merchant has no opinion; false hides them.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppCatalogFilters","description":"Which listing controls the app offers, and which facet families the Filters screen shows.\n\nA family switched on still appears only when the listing has values for it. Null on any member means\nthe merchant has no opinion and the client keeps its own default.","fields":[{"name":"enabled","description":"The Filters button and screen as a whole.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"The Sort button.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"vendor","description":"Brands (`filter.v.vendor`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"category","description":"Categories (`filter.p.category`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"property","description":"Category properties (`filter.p.property.*`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variant","description":"Variant options such as size and colour (`filter.v.option.*`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The price range (`filter.v.price`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sale","description":"Products on sale (`filter.v.sale`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"new","description":"New products (`filter.v.new`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"featured","description":"Featured products (`filter.v.featured`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"brandModel","description":"Brand and model (`filter.v.brand.*`), from the Brand & Model app.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"inStock","description":"An in-stock toggle, offered where the store lists out-of-stock products (`ProductFilter.available`).","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppProduct","description":"Switches on the product page.\n\nNull on either member means the merchant has no opinion and the client keeps its own default.","fields":[{"name":"galleryIndicator","description":"Whether the gallery draws its position indicator — the row of dots, or a `3 / 12` counter\nonce there are more pictures than dots can be counted at a glance.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"galleryArrows","description":"Whether the gallery draws previous/next arrows on every slide.\n\nFalse does not mean the arrows never appear. A slide that takes the swipe for itself — a 360°\nspin the buyer turns with their finger, a video playing in an embedded player — still gets\nthem, because there they are the only way off that slide. This says whether the rest of the\ngallery gets them too.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showPrice","description":"The price and any discount on it. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showBrand","description":"The brand name above the product's title. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showSku","description":"The SKU of the chosen variant. For a schema-1 client, the SKU, the barcode and the weight together.\nNull means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showBarcode","description":"The barcode of the chosen variant. Schema 2. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showWeight","description":"The weight of the chosen variant. Schema 2. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"chooseQuantity","description":"The quantity stepper. Off, every add is the variant's minimum. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showBuyButton","description":"The add-to-cart and Fast Order buttons. Off turns the page into a catalogue entry. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"preselectVariant","description":"Open the product on its default variant rather than asking the shopper to choose. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showDescription","description":"The product's description. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showShortDescription","description":"The one-line summary under the title. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showProperties","description":"The specifications table. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"imageZoom","description":"Opening a picture full screen, with pinch-to-zoom. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"showCreditCalculator","description":"\"From X/month\" under the price and the credit calculator, where the store runs a credit provider the product qualifies for. Null means the merchant has not set it.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MobileAppFeatures","description":"Optional features the merchant can hide.\n\nThese gate ENTRY POINTS, not screens. A false flag means stop offering the feature in\nthe UI; it does not mean the corresponding screen cannot exist, and a client should keep\nevery screen registered so an old push notification or deep link cannot crash it.","fields":[{"name":"wishlist","description":"Save-for-later hearts on product cards and the product page.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"accounts","description":"Sign-in, profile, addresses and order history.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"notifications","description":"Push notifications and the in-app inbox.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"search","description":"Catalog search.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StorefrontPushDevice","description":"One install of a native storefront app that can receive order-status push for this store.\n\nThe address is the Expo push token the device registered with; there is nothing else to hold, since\ndelivery goes through the Expo Push Service and the FCM/APNs credentials live in the app's EAS\nproject rather than here.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"platform","description":"The mobile platform this install runs on.","args":[],"type":{"kind":"ENUM","name":"StorefrontPushPlatform","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locale","description":"The store locale the shopper reads the app in; notifications are written in it.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"appVersion","description":"The marketing version of the binary that registered.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"Whether the device is currently addressable.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"StorefrontPushPlatform","description":"The mobile platform a push device runs on.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IOS","description":"Apple iOS.","isDeprecated":false,"deprecationReason":null},{"name":"ANDROID","description":"Android.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"StorefrontPushDeviceRegisterPayload","description":"The result of registering a device.","fields":[{"name":"device","description":"The device, when it was accepted.","args":[],"type":{"kind":"OBJECT","name":"StorefrontPushDevice","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the registration was refused, when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"StorefrontPushUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StorefrontPushDeviceUnregisterPayload","description":"The result of unregistering a device.","fields":[{"name":"deleted","description":"Whether a device was found and switched off.\n\nFalse for a token this store has never seen, which is not an error: a client that unregisters\non logout has no way of knowing whether it ever managed to register in the first place.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the request was refused, when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"StorefrontPushUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StorefrontPushOrderSubscribePayload","description":"The result of binding an order to a device.","fields":[{"name":"subscribed","description":"Whether the device will now hear about this order's status.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the binding was refused, when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"StorefrontPushUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StorefrontPushUserError","description":"An error that stopped a push registration.","fields":[{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The reason, for a client that needs to branch on it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"StorefrontPushErrorCode","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"StorefrontPushErrorCode","description":"Why a push request was refused.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INVALID_TOKEN","description":"The token is not an address the Expo push service can deliver to.","isDeprecated":false,"deprecationReason":null},{"name":"ORDER_NOT_FOUND","description":"The order does not exist on this store.","isDeprecated":false,"deprecationReason":null},{"name":"DEVICE_NOT_REGISTERED","description":"The device is not registered, so there is nothing to bind an order to.","isDeprecated":false,"deprecationReason":null},{"name":"PUSH_DISABLED","description":"The merchant has switched shopper push off for this store.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"Something else was wrong with the input.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ShopContact","description":"How shoppers can reach the store. A field is null when the merchant left it empty.","fields":[{"name":"email","description":"The store's e-mail address, where the contact form's messages go.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The store's phone number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"companyName","description":"The company that runs the store.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"registrationNumber","description":"The company's registration number, from the store's invoicing settings — in Bulgaria its UIC (ЕИК) or BULSTAT.\nShow it with the company's name where the store says who it is.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"vatNumber","description":"The company's VAT number, from the store's invoicing settings.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"address","description":"The store's address; null when none of its parts is set.","args":[],"type":{"kind":"OBJECT","name":"ShopAddress","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShopAddress","description":"The store's address, from its settings. Each part is null when it is not set.","fields":[{"name":"address1","description":"The street and number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"The city.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zip","description":"The postal or ZIP code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The country's name, in the store's language.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCodeV2","description":"The two-letter country code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Shop","description":"Information about the shop.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The shop name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The shop description.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"homePageSeo","description":"The home page's title and description for search engines and shared links, as the merchant set them on the\nhome page's SEO tab — what the CloudCart storefront puts in its home page's `<title>` and meta description.\nEach is null when the merchant left it empty; fall back to the shop's `name` and `description`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SEO","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"ianaTimezone","description":"The store's time zone, as an IANA name (`Europe/Sofia`): the one the merchant set, in which the store's days\nbegin and end — a discount's last day, say. Show the API's dates in it, and a client's text matches the store's.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logoUrl","description":"The merchant's logo, or null when they have not uploaded one — the storefront falls back to\nrendering the shop name as text in that case, and a client should do the same.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"brand","description":"The shop's branding.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Brand","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"primaryDomain","description":"The primary domain.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Domain","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentSettings","description":"Payment settings.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PaymentSettings","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"moneyFormat","description":"The money format string.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyFormat","description":"How the store writes an amount of money — what every `MoneyV2.formatted` is made with: the currency's symbol and\nwhere it stands, the decimals and the separators. For a client that shows an amount it adds up from amounts the\nAPI gave (the product page's quantity tier cards, for pieces of several variants); `moneyFormat` is not this.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CurrencyFormat","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"contact","description":"How shoppers can reach the store: the e-mail, phone, company and address the\nmerchant set in the store's settings (General and Invoicing) — what the\nCloudCart storefront shows on its contact page. Social network links are not\nhere: on the platform they belong to the theme.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ShopContact","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"llmsTxt","description":"The store's llms.txt — the Markdown summary an AI assistant reads to learn what this shop sells and\nwhich pages to follow (llmstxt.org). A headless storefront serves this at its own `/llms.txt`, since\nthe request never reaches the platform. Null when the store publishes none.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"backInStockChannels","description":"How the store can tell a visitor that a product is back in stock — the\nfields to offer on a product whose `statusType` is `SUBSCRIBE`, and what\n`productBackInStockSubscribe` takes. These are the campaign channels the\nmerchant has set up; empty when there are none, and the store then takes\nno such requests.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"BackInStockChannel","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"gdprRequestTypes","description":"The GDPR requests the store takes through `gdprRequestCreate`. Empty when the\nstore does not run the GDPR app, which then takes no requests and keeps no\n`Customer.gdprRequests` or `Customer.policyAcceptances` to show.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"GdprRequestType","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Brand","description":"The shop's branding.\n\nCloudCart keeps a logo for the storefront but no brand colours, slogan or cover\nimage, so unlike Shopify's `Brand` this type carries the logo only.","fields":[{"name":"logo","description":"The main logo, the one the storefront header shows. Null when the merchant has\nnot uploaded one; render the shop name as text instead, as the storefront does.","args":[],"type":{"kind":"OBJECT","name":"MediaImage","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MediaImage","description":"An image with its alternative text, such as the shop's logo or an option value's swatch.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"alt","description":"Alternative text for the image.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The image itself.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Image","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"previewImage","description":"A preview of the image — for an image, the image itself.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Image","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Domain","description":"A domain for the shop.","fields":[{"name":"host","description":"The host name (e.g. 'example.com').","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The full URL.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"URL","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentSettings","description":"Payment settings for the shop.","fields":[{"name":"currencyCode","description":"The accepted currencies.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"acceptedCardBrands","description":"The accepted payment methods.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Localization","description":"Where the store sells, and in which language.\n\nA CloudCart store has one language and one currency: every price is in the\nstore's currency, whichever country the buyer is in.","fields":[{"name":"availableCountries","description":"The countries the store sells to: those its couriers deliver to, or every\ncountry when they are not limited. The list for a country selector and for\nthe country of an address (`MailingAddressInput.countryCode`), named in the\nstore's language, in the order the store's own address form lists them.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Country","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguages","description":"The store's languages. A store has one today.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Language","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The country the store operates from, as the merchant set it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Country","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":"The store's language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Language","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":"A country the store sells to.","fields":[{"name":"isoCode","description":"The two-letter country code (ISO 3166-1 alpha-2).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The country's name, as the store's address form shows it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currency","description":"The currency buyers in this country pay in: the store's currency.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CountryCurrency","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CountryCurrency","description":"A currency.","fields":[{"name":"isoCode","description":"The three-letter currency code (ISO 4217).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The currency's name, in the store's language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"symbol","description":"The currency symbol.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Language","description":"A language.","fields":[{"name":"isoCode","description":"The two-letter language code (ISO 639-1), in capitals.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The language's name, in that language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CurrencyFormat","description":"How the store writes an amount of money (`Shop.currencyFormat`), as `MoneyV2.formatted` does: a minus sign and a space\nwhen the amount is below zero, the symbol and a space before the amount or a space and the symbol after it, the\namount in `decimals` decimals with its separators — rounded to whole units first when `wholeUnits`.","fields":[{"name":"symbol","description":"The currency's symbol, such as `€`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"symbolPosition","description":"Where the symbol stands beside the amount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CurrencySymbolPosition","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"decimals","description":"How many decimals the amount is written with.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"wholeUnits","description":"Whether the amount is rounded to whole units before it is written: the currency has no coins in this store.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"decimalSeparator","description":"The decimal separator, such as `,`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"thousandsSeparator","description":"The separator between thousands, such as a space; empty for none.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CurrencySymbolPosition","description":"Where a currency's symbol stands beside an amount.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BEFORE","description":"Before the amount, a space between: `€ 12.00`.","isDeprecated":false,"deprecationReason":null},{"name":"AFTER","description":"After the amount, a space between: `12,00 €`.","isDeprecated":false,"deprecationReason":null},{"name":"NONE","description":"Not written.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"StoreLocation","description":"A physical store / pickup location of the merchant (CloudCart 'shop'), where inventory can be held.\nDistinct from `Shop`, which describes the online store (merchant) itself.","fields":[{"name":"id","description":"Globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The store name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The store description.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"Contact phone number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"Contact e-mail.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"urlHandle","description":"URL handle of the store's page on the storefront.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"City (as stored on the store record; see `address` for the structured address).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":"GPS latitude.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":"GPS longitude.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"worktimeText","description":"Free-text working hours (see `workingHours` for the structured, per-day schedule).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"address","description":"The structured postal address of the store.","args":[],"type":{"kind":"OBJECT","name":"StoreAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"workingHours","description":"Structured working hours — one entry per configured day of the week, in the week's order, Monday first.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"StoreWorkingHours","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StoreAddress","description":"A store's structured postal address.","fields":[{"name":"country","description":"Country name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":"ISO 3166-1 alpha-2 country code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":"State / region name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"City name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"street","description":"Street name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetNumber","description":"Street / building number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postCode","description":"Postal code.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"text","description":"Full address line.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":"GPS latitude.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":"GPS longitude.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StoreWorkingHours","description":"A store's working hours for a single day of the week.","fields":[{"name":"day","description":"Day of week as stored on the record: a lowercase English day name (\"monday\" … \"sunday\").","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"from","description":"Opening time (HH:MM).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"to","description":"Closing time (HH:MM).","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"Whether the store is open on this day.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeForm","description":"A subscribe form the merchant built in the Marketing Suite (Subscribers → Forms).\nA visitor who sends it becomes a subscriber of the store, on each channel they\ngave that the store has set up, and the merchant's campaigns reach them there.\n\nThe content and the rules are typed fields; the look — sizes, colours, fonts,\npositions, animations — is in `design`, as the merchant's form builder stored it.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"placement","description":"Whether the form opens over the page or sits in it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormPlacement","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"layout","description":"How the form is laid out on the page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormLayout","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showToSubscribers","description":"Whether the merchant shows the form to visitors who are already\nsubscribers. When false, a pop-up is left out for a known subscriber (see\n`visitorIsSubscribed`); an embedded form shows its success page instead when\nits button only shows the success page, and is left out otherwise — as on the\nplatform's storefront.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"visitorIsSubscribed","description":"Whether the visitor is known as a subscriber: the signed-in customer, or the\nvisitor the query names with `visitorId`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"showWithoutMarketingConsent","description":"Whether the form may show before the visitor accepts the store's marketing\ncookies (the consent group `targeting`). When false, show it only once\n`customerPrivacy.marketingAllowed()` is true.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"formPage","description":"The page with the form.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormPage","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"successPage","description":"The page shown once the form is sent.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormPage","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":"The visitor details the form asks for, in the merchant's order. Only those\nthe store can use: no e-mail or phone without a channel set up for it, and\nonly the e-mail in a `BAR` layout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubscribeFormField","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":"The merchant's own questions, in the merchant's order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubscribeFormCustomField","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"policies","description":"The policies the form asks the visitor to accept.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubscribeFormPolicy","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"display","description":"When a pop-up opens, on which pages, and how long it stays away once closed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormDisplay","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fontFamily","description":"The Google Fonts family the merchant chose for the form, or null.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fontStylesheetUrl","description":"The Google Fonts stylesheet for `fontFamily`, or null.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"design","description":"The form's look, as the merchant's form builder keeps it:\n`{layout, style, pages: {form, success}, fields, customFields, policies}`.\n`layout` has `type`, `design`, `imagePosition`, `position.desktop|mobile`,\n`inAnimation` / `outAnimation` (animate.css names), `overlay` and the close\nbutton; `style` the background, text colour and font; each page its box size,\nimage placement and the styles of its texts and button; `fields`,\n`customFields` and `policies` the field and label styles by key. Meant for a\nstorefront that reproduces the builder's design; others can ignore it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"JSON","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SubscribeFormPlacement","description":"Where a subscribe form appears.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"POPUP","description":"Over the page, opened by the form's own triggers. Listed by `subscribeForms`.","isDeprecated":false,"deprecationReason":null},{"name":"EMBEDDED","description":"Inside the page where the storefront places it, by id.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SubscribeFormLayout","description":"How a subscribe form is laid out.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SLIDE_IN","description":"A box that slides in at a corner or edge.","isDeprecated":false,"deprecationReason":null},{"name":"MODAL","description":"A box in the middle of the page.","isDeprecated":false,"deprecationReason":null},{"name":"SIDEBAR","description":"A panel along the side of the page.","isDeprecated":false,"deprecationReason":null},{"name":"BAR","description":"A strip across the top or bottom of the page. It takes only an e-mail address.","isDeprecated":false,"deprecationReason":null},{"name":"PANEL","description":"A small panel at a bottom corner.","isDeprecated":false,"deprecationReason":null},{"name":"FULLSCREEN","description":"The whole screen.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormPage","description":"One page of a subscribe form.","fields":[{"name":"title","description":"The heading, as plain text, or null.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The text under the heading, as plain text, or null.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The page's image; null when the layout has none.","args":[],"type":{"kind":"OBJECT","name":"SubscribeFormImage","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"button","description":"The page's button.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormButton","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormImage","description":"The image of a subscribe form page.","fields":[{"name":"desktopUrl","description":"The image for wide screens.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"mobileUrl","description":"The image for phones.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isPlaceholder","description":"Whether this is still the builder's placeholder rather than an image the merchant chose.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormButton","description":"The button of a subscribe form page.","fields":[{"name":"text","description":"The label, or null.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"visible","description":"Whether the button is shown.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"action","description":"What it does. On the form page it sends the form first, and does this once\nthe form is accepted.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormAction","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"Where `OPEN_URL` goes; null otherwise.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SubscribeFormAction","description":"What a subscribe form button does.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SHOW_SUCCESS_PAGE","description":"Shows the success page. Only on the form page.","isDeprecated":false,"deprecationReason":null},{"name":"CLOSE","description":"Closes the form.","isDeprecated":false,"deprecationReason":null},{"name":"OPEN_URL","description":"Opens `url`.","isDeprecated":false,"deprecationReason":null},{"name":"ASK_FOR_PUSH_NOTIFICATIONS","description":"Closes the form and asks the browser's permission for push notifications.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormField","description":"A visitor detail a subscribe form asks for.","fields":[{"name":"key","description":"Which detail; also its name in `SubscribeFormSubmitInput`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormFieldKey","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The label, or null.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"placeholder","description":"The placeholder, or null.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the visitor must fill it in.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SubscribeFormFieldKey","description":"The visitor details a subscribe form can ask for.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"FIRST_NAME","description":"The first name.","isDeprecated":false,"deprecationReason":null},{"name":"LAST_NAME","description":"The last name.","isDeprecated":false,"deprecationReason":null},{"name":"EMAIL","description":"The e-mail address.","isDeprecated":false,"deprecationReason":null},{"name":"PHONE","description":"The phone number, in international format (`+359…`).","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormCustomField","description":"A question of the merchant's own on a subscribe form. The answer is kept on the subscriber.","fields":[{"name":"id","description":"A globally unique identifier, to answer it with in `SubscribeFormSubmitInput.customFields`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"What kind of answer it takes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormCustomFieldType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The label.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"placeholder","description":"The placeholder, or null.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the visitor must answer it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":"The answers to choose from, for `SELECT`, `RADIO` and `CHECKBOX`; empty for the others.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubscribeFormCustomFieldOption","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SubscribeFormCustomFieldType","description":"What kind of answer a custom field takes.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TEXT","description":"A line of text.","isDeprecated":false,"deprecationReason":null},{"name":"TEXTAREA","description":"Several lines of text.","isDeprecated":false,"deprecationReason":null},{"name":"PHONE","description":"A phone number, in international format (`+359…`).","isDeprecated":false,"deprecationReason":null},{"name":"SELECT","description":"One option, from a list.","isDeprecated":false,"deprecationReason":null},{"name":"RADIO","description":"One option, from buttons.","isDeprecated":false,"deprecationReason":null},{"name":"CHECKBOX","description":"Any number of options.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormCustomFieldOption","description":"An answer to choose for a custom field.","fields":[{"name":"id","description":"A globally unique identifier, to send back as the answer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"The option's label.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormPolicy","description":"A policy a subscribe form asks the visitor to accept.","fields":[{"name":"id","description":"The id to send back in `SubscribeFormSubmitInput.acceptedPolicyIds` — the same as the policy's `Policy.id`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"page","description":"The policy page, with its title and body.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Page","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":"Whether the form cannot be sent without it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"marketingConsent","description":"Whether accepting it opts the visitor in to the store's marketing.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormDisplay","description":"When a pop-up form opens, and where.","fields":[{"name":"triggers","description":"What opens it; the first to happen does. Empty means the pop-up never opens.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubscribeFormTrigger","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"includedUrlPatterns","description":"The pages it may open on, as URL patterns where `*` matches anything; empty\nmeans every page not excluded. A pattern without a query string matches only\na page without one.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"excludedUrlPatterns","description":"The pages it never opens on, in the same pattern form.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"afterClose","description":"How long the form stays away after the visitor closes it; null when closing it\ndoes not keep it away. The platform's storefront remembers this in the cookie\n`popup-subscription-displayed_{form id}=false`.","args":[],"type":{"kind":"OBJECT","name":"SubscribeFormSnooze","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormTrigger","description":"Something that opens a pop-up form.","fields":[{"name":"type","description":"What it is.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormTriggerType","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seconds","description":"For `TIME_ON_PAGE`, how long the visitor must have been on the page; null otherwise.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SubscribeFormTriggerType","description":"What opens a pop-up form.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AUTO","description":"As soon as the page opens.","isDeprecated":false,"deprecationReason":null},{"name":"TIME_ON_PAGE","description":"Once the visitor has been on the page for `seconds`.","isDeprecated":false,"deprecationReason":null},{"name":"EXIT_INTENT","description":"When the pointer leaves the window — a desktop visitor about to leave.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormSnooze","description":"How long a closed form stays away.","fields":[{"name":"forever","description":"Whether it never shows again.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seconds","description":"For how long, in seconds; null when `forever`.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubscribeFormSubmitPayload","description":"The result of `subscribeFormSubmit`.","fields":[{"name":"subscribed","description":"Whether the visitor is now a subscriber. Show the form's success page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Why the form was not accepted. Empty when it was.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"FormUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VisitorSession","description":"The visitor identity CloudCart Analytics assigns.\n\nThe platform issues it, not the storefront — the merchant's own site receives\nit from a middleware that a GraphQL request never passes through. Ask for one\nwhen a visitor first arrives, keep it for as long as the browser keeps a\ncookie, and send it back with attribution and analytics events.\n\nThe same identifier is what server-side conversion reporting uses to tie an\nevent to a visitor: Meta's API refuses an event without it.","fields":[{"name":"visitorId","description":"The visitor identifier. Persist it and reuse it on every later visit.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sessionId","description":"The analytics session identifier, when the service issued one.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResultItem","description":"A search result item (product, page, or article).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Page","ofType":null},{"kind":"OBJECT","name":"Article","ofType":null}]},{"kind":"OBJECT","name":"SearchResultItemConnection","description":"A connection to search results. Products come first, in the order the search\nengine ranks them, then pages, then articles.","fields":[{"name":"edges","description":"A list of search result edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchResultItemEdge","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the search result nodes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchResultItem","kind":"UNION","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Pagination information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageInfo","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productFilters","description":"Filters for narrowing the product results, with their counts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Filter","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"The total number of results: the products, pages and articles together.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productCount","description":"The total number of matching products alone, the figure a paged product list counts against.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResultItemEdge","description":"An edge in a search result connection.","fields":[{"name":"node","description":"The search result node.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchResultItem","kind":"UNION","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cursor","description":"A cursor for pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SearchUnavailableProductsType","description":"How search treats products that cannot be bought.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SHOW","description":"List them in the order they are found.","isDeprecated":false,"deprecationReason":null},{"name":"HIDE","description":"Leave them out.","isDeprecated":false,"deprecationReason":null},{"name":"LAST","description":"List them after all the other results.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"PredictiveSearchType","description":"The types of resources predictive search can return.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PRODUCT","description":"Products.","isDeprecated":false,"deprecationReason":null},{"name":"COLLECTION","description":"Collections.","isDeprecated":false,"deprecationReason":null},{"name":"PAGE","description":"Pages.","isDeprecated":false,"deprecationReason":null},{"name":"ARTICLE","description":"Blog articles.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"PredictiveSearchLimitScope","description":"How the predictive search limit is spread over the result types.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ALL","description":"Up to `limit` results in all, across every type.","isDeprecated":false,"deprecationReason":null},{"name":"EACH","description":"Up to `limit` results of each type.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"PredictiveSearchResult","description":"Predictive search results grouped by type.","fields":[{"name":"engine","description":"Which search answered: `aura` (the store runs Aura Search — the merchant's synonyms, weights and\npins, with matching collections and vendors) or `basic`. Clients may show `productsFound` and\n`vendors` only for `aura`; for `basic` they are empty.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"Matching products.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Product","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productsFound","description":"`aura` only: how many products match in all — the count behind a \"See all results\". Null for `basic`.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":"Matching collections, most relevant first: the categories Aura Search matches, or for `basic` a match on the name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Collection","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"vendors","description":"`aura` only: the brands that match, most relevant first. Empty for `basic`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Vendor","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pages","description":"Matching pages.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Page","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"articles","description":"Matching articles.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Article","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartAttributionInput","description":"Where the buyer came from.\n\nTwo ways to say it, and most clients have at least one.\n\nGive `landingUrl` and `referrer` whenever the entry point is a URL — a web\npage, a deep link into an app, an install referrer. The platform then derives\neverything else with the same classifier the merchant's own storefront uses:\nUTM parameters, Google Ads and Meta click ids, and the traffic grouping the\nmerchant's reporting is built on. That is the better path: one URL yields more\nthan the three fields below ever could.\n\nWhere there is genuinely no such URL, name the campaign directly with the\n`utm*` fields.\n\nBoth may be given. Explicit fields win over anything read from the URL, so use\nthem to correct rather than to repeat.\n\nAttach this as soon as the cart exists, not at checkout. The buyer's origin\nbelongs to the visit that started the journey, and by the payment step it is\nlong gone.","fields":null,"inputFields":[{"name":"landingUrl","description":"The full URL the buyer entered through, query string included. UTM\nparameters, `gclid`, `fbclid` and the rest are read from it. A deep link or\nan install referrer counts — anything that carries the campaign in a URL.","type":{"kind":"SCALAR","name":"URL","ofType":null},"defaultValue":null},{"name":"referrer","description":"Where the buyer came from, when the client knows it — a browser's `document.referrer`, or the equivalent.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"utmSource","description":"The campaign source, when the client holds it as a value rather than inside a URL.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"utmMedium","description":"The campaign medium.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"utmCampaign","description":"The campaign name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"visitorId","description":"The visitor identifier issued by `visitorSessionCreate`. Any client can\nhold one — it is not a cookie, and a mobile app should persist it exactly\nas a browser would.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"searchTerm","description":"The last phrase the buyer searched for with Aura Search (the phrase `predictiveSearch` answered with\n`engine: aura`), so the order counts as coming from search in the merchant's Aura reports — what the\nweb storefront records in its session on every search-as-you-type.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"searchedAt","description":"When that search happened. Defaults to now. Kept only with `searchTerm`;\nwithout one it is ignored, with a warning.","type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartSubmitInput","description":"What the buyer supplies when submitting the order.","fields":null,"inputFields":[{"name":"acceptedConsentIds","description":"The ids of the consents the buyer accepted, from\n`cartCheckoutReadiness.consents`, at most 100. Every required one must be present.\nThese are `Policy` ids; an id of any other type is rejected.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"note","description":"A note from the buyer for the merchant.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"buyerIp","description":"The buyer's IP address, when your storefront renders on a server and the\nrequest to this API therefore comes from the server rather than the buyer.\nRecorded with the consent; leave it out and the caller's address is used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"buyerUserAgent","description":"The buyer's browser user agent, for the same reason as `buyerIp`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartDeliveryAddressInput","description":"A street address to deliver to.\n\nWhich fields are required is decided by the store — read\n`checkoutSettings.fields` and drive the form from it rather than assuming.","fields":null,"inputFields":[{"name":"firstName","description":"The recipient's first name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":"The recipient's last name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"The contact phone number.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":"The two-letter country code.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"state","description":"The province, region or state.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":"The city.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postCode","description":"The postal code.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetName","description":"The street name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetNumber","description":"The street number.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"additionalInformation","description":"Additional address detail — apartment, floor, entrance.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"companyName","description":"The company name, for invoicing.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"companyVat","description":"The company VAT number.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"note","description":"A note for the courier.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"pickupPointId","description":"Collect from a courier office or parcel locker instead of delivering to the\nstreet address. Take the id from `cartPickupPoints`; it carries the courier\nand the kind of point, so nothing else needs to be sent.\n\nThe name, phone and any company details are still collected — only the\nstreet part is replaced by the pickup point.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"addressId","description":"One of the buyer's saved addresses, from `customer.addresses`.\n\nOnly available once the cart is signed in — the address must belong to\nthat customer, and one that does not is refused rather than ignored.\n\nThe saved address supplies the destination; any other field sent alongside\nit is applied on top, so a buyer can ship to a stored address with a\ndifferent phone number without editing the address itself.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"storeId","description":"Collect in person from one of the merchant's own stores instead of having\nthe order delivered. Take the id from `storeLocations`.\n\nAvailability is confirmed when the order is submitted: the merchant may\nrequire every item to be in stock at the chosen store, and stock can run\nout between choosing and submitting.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartInput","description":"Input for creating a new cart.","fields":null,"inputFields":[{"name":"lines","description":"Initial cart lines, at most 100.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"discountCodes","description":"Discount codes to apply.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"buyerIdentity","description":"The buyer identity.","type":{"kind":"INPUT_OBJECT","name":"CartBuyerIdentityInput","ofType":null},"defaultValue":null},{"name":"note","description":"Ignored, with a warning (`INPUT_IGNORED`): a CloudCart cart has no note. The\nbuyer writes one in the checkout.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"attributes","description":"Custom attributes.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"AttributeInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartLineInput","description":"Input for adding a line item to a cart.","fields":null,"inputFields":[{"name":"merchandiseId","description":"The ID of the merchandise (variant).","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"quantity","description":"The quantity, at least 1.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":"1"},{"name":"customizations","description":"The buyer's answers to the product's customizations, listed by\n`product.customizations`.\n\nThese are part of what identifies the line. The same variant added twice\nwith different answers becomes two lines; added twice with the same answers\nit becomes one line of quantity two. They also change what the line costs,\nso the price comes back in the response rather than being calculable here.\nAn answer that cannot be applied is dropped, with a warning: a\n`customizationId` that is not an id or that the store has no customization\nfor, a `value` sent beside `values`, or a customization answered twice (the\nlater answer is kept). At most 100.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineCustomizationInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"sellingPlanId","description":"Buy this line on a subscription, by the id of one of the product's\n`sellingPlanGroups[].plans[]`.\n\nPart of the line's identity: the same variant bought once and subscribed to\nis two lines, at two prices, and they never merge. The plan is re-checked\nagainst the variant on the server — a plan configured for another product is\nrefused, not silently dropped — and it changes what the line costs, so read\nthe price back from the response.\n\nA cart that carries one may only be paid by a provider that can charge the\nsaved card again, and only by a registered customer; see\n`cartCheckoutReadiness`.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"upSellTriggerVariantId","description":"The trigger variant of the up-sell (`upSellOffer`) the buyer took: the\nline is the offer variant, at the offer's price, and the merchant's up-sell\nstatistics count it. Applied only when that trigger has one active up-sell\nand this line's variant is its offer variant; otherwise the line is added at\nits own price, with a warning.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"crossSellId","description":"The cross-sell offer (`CrossSellOffer.id`) this line came from: the line gets\nthe offer's price when the cart holds the offer's trigger products, and the\nmerchant's statistics count it. Only a `POPUP` offer is taken this way. When\nthe offer is not active, is not one the API shows, does not apply to the\nline, or the cart already holds this variant without it, the line is added at\nits own price, with a warning.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartLineCustomizationInput","description":"One answer to a product customization.","fields":null,"inputFields":[{"name":"customizationId","description":"The customization, from `product.customizations`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"value","description":"The answer, for the types that take a single one: the chosen value's id for\n`select`, `radio` and `checkbox`; the text for `text` and `textarea`; the\nnumber above zero for `weight` and `length` (anything else refuses the line\nwith `INVALID`); for `file`, the `handle` that\n`cartCustomizationFileUpload` returned. A handle is used once: adding the\nline moves the file into the cart. A handle that cannot be used (expired,\nused, or not this customization's) refuses the line with `INVALID`, and the\nfile must be uploaded again.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"values","description":"The answers, for a customization that takes several: the chosen value ids\nwhen `multiple` is set, or length and width in that order for `square` —\ntwo numbers above zero, or both left blank for no answer; anything else\nrefuses the line with `INVALID`.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartLineUpdateInput","description":"Input for updating a cart line.\n\nThere is no free-form data on a line. Anything attached to a line has to reach\nthe order, be priced, and appear on the picking list, and the platform's way of\ndoing that is a product customization the merchant configured — see\n`product.customizations`. Arbitrary line properties would have nowhere to go.","fields":null,"inputFields":[{"name":"id","description":"The ID of the cart line to update.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"quantity","description":"The new quantity.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"merchandiseId","description":"The new merchandise ID. The line keeps its customizations, as this input takes none: onto another\nproduct, the swap is refused with `MISSING_CUSTOMIZATION` when that product's required customizations\nare not among them, and with `INVALID` when the line answers a customization that product does not\nask. Remove the line and add the new one instead.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"sellingPlanId","description":"Change the subscription plan, or send `null` to turn the line back into a\none-time purchase.\n\nOmitting the field leaves the line's plan alone — but changing\n`merchandiseId` re-checks it, and a plan that does not apply to the new\nvariant is dropped rather than carried across to a variant it was never\napproved for.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartBuyerIdentityInput","description":"Who is buying.\n\nA cart starts with nobody attached and may stay that way. Identity can arrive\nat any moment and in any order — sign in first, type an email halfway through,\nor stay anonymous until the last step. Every field is optional and each may be\nsent on its own.\n\nA customer record is only created once there is an email to create it from.\nAnything sent before that — a phone, a name — is held against the cart and\nfolded in when an email or a sign-in gives it an owner, so nothing is lost by\nsending it early.","fields":null,"inputFields":[{"name":"email","description":"The buyer's email. This is what identifies a guest: sending it attaches a\nguest customer to the cart, reusing an existing one for the same address\nrather than creating a second. On a cart signed in as a customer it is\nignored, with a warning: the customer keeps the email they signed in with.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"The buyer's phone number. Held against the cart until there is a customer to\nput it on. On a cart signed in as a customer it is saved only when the\ncustomer has no phone; otherwise it is ignored, with a warning.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":"The buyer's first name. On a cart signed in as a customer it is ignored,\nwith a warning: the name in the account is kept.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":"The buyer's last name. On a cart signed in as a customer it is ignored, with\na warning: the name in the account is kept.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":"Ignored, with a warning: a CloudCart cart keeps no buyer country, because a\nstore serves one country.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customerAccessToken","description":"Signs the cart in as a registered customer. This outranks any guest\nidentified earlier on the same cart — a guest created from a typed email is\na placeholder for exactly this. An invalid or expired token is refused\nrather than ignored.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":"Answers to the merchant's own questions about the buyer, listed by\n`checkoutSettings.customFields`.\n\nThis replaces every answer the buyer has given, so send the complete set\neach time — omitting a field clears it rather than leaving it alone.\n\nSent before there is a customer to hold them, the answers wait on the cart\nand are recorded once an email or a sign-in identifies the buyer.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CheckoutCustomFieldInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CheckoutCustomFieldInput","description":"One answer to a merchant-defined question about the buyer.","fields":null,"inputFields":[{"name":"fieldId","description":"The field, from `checkoutSettings.customFields`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"value","description":"The answer. For a field offering options this is the chosen option's label;\nfor a checkbox, the value the merchant configured. Sending null leaves the\nfield unanswered.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AttributeInput","description":"Input for a key-value attribute.","fields":null,"inputFields":[{"name":"key","description":"The attribute key, up to 245 characters. An attribute whose key is empty or longer is skipped, with a warning.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"value","description":"The attribute value.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartBundleInput","description":"A bundle the buyer is adding, with a choice made for each product in it.","fields":null,"inputFields":[{"name":"bundleId","description":"The bundle product.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"quantity","description":"How many of the bundle, at least 1. Each product's own quantity is multiplied by this.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1"},{"name":"items","description":"One entry per product in the bundle — all of them, or the bundle is refused.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartBundleItemInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartBundleItemInput","description":"The buyer's choice for one product inside a bundle.","fields":null,"inputFields":[{"name":"merchandiseId","description":"The chosen variant. It must belong to a product this bundle contains.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"customizations","description":"The buyer's answers to that product's customizations. Answers that cannot be\napplied are dropped with a warning, as on `CartLineInput.customizations`.\nAt most 100.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineCustomizationInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OfferHistoryInput","description":"What the buyer has done with the store's offers, kept by the storefront (a cookie)\nsince the API keeps nothing per buyer. The merchant limits how often one buyer sees\nan offer, and a dismissed offer is not shown again. Up to 100 entries of each list\nare read; offers no longer in the store are skipped.","fields":null,"inputFields":[{"name":"views","description":"How many times the buyer has seen each offer.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"OfferViewsInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"dismissed","description":"The offers the buyer dismissed.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OfferViewsInput","description":"How many times the buyer has seen one offer.","fields":null,"inputFields":[{"name":"offerId","description":"The offer's `id`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"count","description":"How many times.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductPiecesInput","description":"Pieces of one variant of a product (`Product.quantityTierPrice`).","fields":null,"inputFields":[{"name":"variantId","description":"The variant's ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"quantity","description":"How many pieces of it.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerCreateInput","description":"Input for creating a customer. No password is required — customers sign in via an emailed six-digit code.","fields":null,"inputFields":[{"name":"email","description":"The customer's email.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"firstName","description":"The customer's first name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":"The customer's last name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"The customer's phone number.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"acceptsMarketing","description":"Whether the customer accepts marketing.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"acceptedPolicyIds","description":"The ids of the policies the customer accepted, from `policies(form: REGISTER)`,\nat most 100. When sent, every required one must be present, and the acceptance is recorded\nwith a snapshot of each policy's text, as the merchant's own registration form\ndoes. Send it — an empty list when the customer accepted none — whenever the\nstore has registration policies. Left out, nothing is checked or recorded, as\nfor storefronts built before this field existed; that allowance will end.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"buyerIp","description":"The customer's IP address, when your storefront renders on a server and the\nrequest to this API therefore comes from the server rather than the customer.\nRecorded with the policy acceptance. Leave it out, or send anything but a valid\nIPv4/IPv6 address, and the caller's address is used; with the private token the\n`X-Storefront-Buyer-IP` header is used instead.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"buyerUserAgent","description":"The customer's browser user agent, for the same reason as `buyerIp`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerUpdateInput","description":"Input for updating a customer.","fields":null,"inputFields":[{"name":"firstName","description":"The customer's first name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":"The customer's last name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"email","description":"The customer's email.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"The customer's phone number.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"acceptsMarketing","description":"Whether the customer accepts marketing.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MailingAddressInput","description":"A customer's delivery or billing address.\n\nThe store decides which fields are asked for and which are required: read\n`checkoutSettings.fields` and build the form from it. The address is checked\nagainst those settings and refused with one `CustomerUserError` per field,\n`field` being `[\"address\", \"<input field>\"]`.\n\nOn an update, only the fields sent change; a field sent empty is cleared. The\nrules apply to the address as it will be saved.","fields":null,"inputFields":[{"name":"address1","description":"The street. Send the house number in `streetNumber` when the store asks for it separately.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetNumber","description":"The house or building number.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"address2","description":"Additional address detail: apartment, floor, entrance.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":"The city.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":"The two-letter country code (ISO 3166-1 alpha-2). It must be one of\n`localization.availableCountries`. Takes precedence over `country`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"country","description":"The country's name, or its two-letter code. Prefer `countryCode`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":"The first name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":"The last name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"The phone number, checked against the address's country and stored in international (E.164) form, as the platform stores every address's phone.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":"The province, region or state. Sending it or `provinceCode` replaces both.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"provinceCode","description":"The province, region or state code. Sending it or `province` replaces both.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"zip","description":"The postal or ZIP code.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":"The company name. Asked for on billing addresses.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"companyVat","description":"The company VAT number. Asked for on billing addresses. Within the EU it is\nconfirmed with VIES when the store has `checkoutSettings.fields.validateCompanyVat`\non, and refused when VIES does not confirm it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"companyBulstat","description":"The company's registration number (Bulgarian EIK/BULSTAT). Billing addresses only; ignored on a delivery address.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"companyMol","description":"The company's responsible person (Bulgarian MOL). Billing addresses only; ignored on a delivery address.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ReturnLineItemInput","description":"An item the customer wants to include in a return.","fields":null,"inputFields":[{"name":"lineItemId","description":"The order line to return, as given by `OrderLineItem.id`. Lines are identified per-order, so the same\nproduct bought twice with different options can be returned independently.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"quantity","description":"How many units to return. Defaults to the full remaining quantity of the line.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ReturnRefundInput","description":"How the customer wants the refund paid back.","fields":null,"inputFields":[{"name":"method","description":"The payout method, chosen from `ReturnEligibility.refundMethods`. The store validates the choice\nserver-side and falls back to its default when the method is not offered.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"accountName","description":"The account holder's name. Required when refunding to a bank account.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"iban","description":"The IBAN to refund to. Required when refunding to a bank account.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"bic","description":"The bank's BIC/SWIFT code, when the store requires it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AnalyticsEventInput","description":"What happened, and everything known about who it happened to.","fields":null,"inputFields":[{"name":"cartId","description":"The cart the event concerns.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"orderId","description":"The order the event concerns, for a purchase. Read only when the operation\nruns for the order's own customer (`@inContext(buyer)`): its lines, total\nand e-mail then go to the ad platforms. Anyone else's order, a guest's\nincluded, is ignored, and the event is sent without order data.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"visitorId","description":"The visitor identifier from `visitorSessionCreate`. Meta refuses an event\nit cannot tie to anyone, and CloudCart Analytics records visits by it, so\nwithout this nothing is sent server-side.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"consentedGroups","description":"The consent groups the buyer has accepted. The platform's consent rules\nthen decide what each vendor may receive; a group not listed counts as its\ndefault (`analyticsSettings.consentGroups[].acceptedByDefault`).","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"refusedGroups","description":"The consent groups the buyer has refused. Each counts as refused whatever\nits default, as on the merchant's own storefront, and a refusal wins over\nthe same group in `consentedGroups`. A group in neither list counts as its\ndefault.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"url","description":"The page the event happened on.","type":{"kind":"SCALAR","name":"URL","ofType":null},"defaultValue":null},{"name":"userAgent","description":"The buyer's browser user agent, where the client knows it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"fbp","description":"Meta's browser cookie, where the client has it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"fbc","description":"Meta's click identifier, where the client has it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"ttclid","description":"TikTok's click identifier, where the client has it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"ttp","description":"TikTok's browser cookie, where the client has it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"pageType","description":"The kind of page, for `PAGE_VIEW`.","type":{"kind":"ENUM","name":"AnalyticsPageType","ofType":null},"defaultValue":null},{"name":"resourceId","description":"What the event is about: the viewed product (`VIEW_CONTENT`, wishlist\nevents), or the category, collection, tag, vendor or page (`PAGE_VIEW`).","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"merchandiseId","description":"The product variant added to or removed from the cart.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"quantity","description":"How many were added (`ADD_TO_CART`) or removed (`REMOVE_FROM_CART`). The\nline's whole quantity when not given.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"searchTerm","description":"The search terms, for `SEARCH`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"referrer","description":"The page the visitor came from: on the first page of a visit the browser's\n`document.referrer`, after that the storefront page before this one — what\n`document.referrer` would be had each page been loaded in full. It decides\nthe traffic source in the merchant's reports.","type":{"kind":"SCALAR","name":"URL","ofType":null},"defaultValue":null},{"name":"pageTitle","description":"The page's title.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"eventId","description":"The identifier the browser's pixels reported this event under: 32\nhexadecimal characters, as the merchant's own storefront makes them. Meta\nand TikTok count an event once when the browser and the server share it.\nAny other value is ignored, and the API makes one and returns it. A\ncheckout with `cartId` and a purchase with `orderId` take the identifier\nderived from the cart or the order instead (`AnalyticsEventPayload.eventId`).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"reportedInBrowser","description":"The vendors the browser already sent this event to. A vendor that cannot\ntell the two apart (Google Analytics: the Measurement Protocol adds to what\nthe browser sends) is then not sent it from the server; Meta and TikTok\nstill are, and count it once by `eventId`.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"AnalyticsProvider","kind":"ENUM","ofType":null}}},"defaultValue":null},{"name":"customerEmailHash","description":"The signed-in customer's e-mail, trimmed, lower-cased and SHA-256 hashed\n(64 hexadecimal characters), for Meta to match the event to them. Never the\ne-mail itself. An order's own e-mail (`orderId`) takes precedence.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ArticleCommentCreateInput","description":"A comment on a blog article.","fields":null,"inputFields":[{"name":"articleId","description":"The article.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"content","description":"The comment, up to 1000 characters, as plain text.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"authorName","description":"The commenter's name. Required unless a customer is signed in, whose own name is shown.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"authorEmail","description":"The commenter's e-mail address. Required unless a customer is signed in. It\nis kept for the merchant and never shown.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductBackInStockInput","description":"A visitor's request to be told when a product is back in stock.","fields":null,"inputFields":[{"name":"productId","description":"The product. Required: given here, or — by clients built before it moved into\nthe input — as the mutation's own `productId` argument.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"variantId","description":"The variant wanted; without it, the product's default variant.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"firstName","description":"The visitor's first name, up to 100 characters.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"lastName","description":"The visitor's last name, up to 100 characters.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"email","description":"Where to send the notice by e-mail. Taken when `Shop.backInStockChannels` has `EMAIL`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"Where to send the notice by text message, in international format\n(`+359…`). Taken when `Shop.backInStockChannels` has `PHONE`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"acceptedPolicyIds","description":"The ids of the policies the visitor accepted, from\n`policies(form: SEGMENT_SUBSCRIPTION_POPUP)`, at most 100. Every required one\nmust be present; the acceptance is recorded with a snapshot of each policy's text.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"buyerUserAgent","description":"The visitor's browser user agent, for a storefront that calls the API from its own server.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ContactFormInput","description":"A message to the store from its contact form.","fields":null,"inputFields":[{"name":"firstName","description":"The sender's first name. Required, with `lastName`, `email` and `phone`, unless\na customer is signed in (a customer access token in `Authorization`, or\n`@inContext(buyer:)`); a signed-in customer's own name, e-mail and phone are\nused instead, as on the platform's contact form.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":"The sender's last name, up to 100 characters.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"email","description":"The sender's e-mail address. The store replies to it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"The sender's phone number, in any format the store's country accepts.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"subject","description":"The subject.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"message","description":"The message, up to 1800 characters.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"productId","description":"The product the message asks about — for instance a product whose status is\n`REQUEST`, whose price is given on request. The store then also counts the\nsender as interested in the product, as its own product inquiry form does.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"variantId","description":"The variant of `productId` the message asks about.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"acceptedPolicyIds","description":"The ids of the policies the sender accepted, from `policies(form: CONTACTS)`,\nat most 100. Every required one must be present; the acceptance is recorded with a\nsnapshot of each policy's text.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"buyerUserAgent","description":"The sender's browser user agent, recorded with the policy acceptance, for a\nstorefront that calls the API from its own server.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"GdprRequestCreateInput","description":"A GDPR request, as the GDPR app's request form takes it.","fields":null,"inputFields":[{"name":"type","description":"What the request asks.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"GdprRequestType","kind":"ENUM","ofType":null}},"defaultValue":null},{"name":"email","description":"The e-mail address of the person the request is about.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"name","description":"The person's name.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"message","description":"A message with the request, at most 191 characters.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductReviewCreateInput","description":"A review of a product, from the product page.","fields":null,"inputFields":[{"name":"productId","description":"The product reviewed.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"rating","description":"The star rating, 1 to 5.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Int","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"title","description":"The review's title, up to 200 characters.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"comment","description":"The review, up to 1000 characters.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"authorName","description":"The reviewer's name, up to 200 characters. Required unless a customer is\nsigned in, whose own name is used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"authorEmail","description":"The reviewer's e-mail address. Required unless a customer is signed in, whose\nown address is used. A store that takes reviews only from buyers looks for an\norder of the product placed with this address.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductReviewAnswerCreateInput","description":"An answer to a review, from the product page.","fields":null,"inputFields":[{"name":"reviewId","description":"The review answered: a `ProductReview.id` from `Product.reviews`, not an answer's.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"comment","description":"The answer, up to 1000 characters.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StorefrontPushDeviceInput","description":"The device to register for order-status push.","fields":null,"inputFields":[{"name":"token","description":"The Expo push token (`ExponentPushToken[…]`) this install was issued.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"platform","description":"The mobile platform.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"StorefrontPushPlatform","kind":"ENUM","ofType":null}},"defaultValue":null},{"name":"locale","description":"The store locale the shopper reads the app in.\n\nNotifications are written in it, so a store selling in several languages tells each buyer about\ntheir order in the one they shopped in. Falls back to the store's own language when omitted.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"appVersion","description":"The marketing version of the binary, so a bad release can be identified from the device list.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"marketing","description":"The shopper's \"Offers\" answer: whether this install may receive the store's campaigns as push.\n\n`true` makes the install a campaign recipient (a subscriber on the mobile app channel, joined to\nthe signed-in customer); `false` stops it. Omitted leaves the previous answer as it was — order\nstatus push is not affected either way.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SubscribeFormSubmitInput","description":"What a visitor sends with a subscribe form. Which details it takes, `SubscribeForm.fields` says.","fields":null,"inputFields":[{"name":"email","description":"The e-mail address.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"The phone number, in international format (`+359…`).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":"The first name, up to 191 characters.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":"The last name, up to 191 characters.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":"The answers to the form's custom fields.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubscribeFormCustomFieldInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"acceptedPolicyIds","description":"The ids of the form's policies the visitor accepted (`SubscribeForm.policies`), at most 100. Every required one must be present.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"visitorId","description":"The visitor, as `visitorSessionCreate` issued it. The subscriber is linked to\nit, so the store recognises the visitor and credits what they do later.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"buyerUserAgent","description":"The visitor's browser user agent, for a storefront that calls the API from its own server.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SubscribeFormCustomFieldInput","description":"An answer to a subscribe form's custom field.","fields":null,"inputFields":[{"name":"fieldId","description":"The field (`SubscribeFormCustomField.id`).","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"value","description":"The answer to a `TEXT`, `TEXTAREA` or `PHONE` field, or the chosen option's id for `SELECT` and `RADIO`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"optionIds","description":"The chosen options' ids, for `CHECKBOX`.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FastOrderInput","description":"What the buyer ordered and told us, for a fast order.","fields":null,"inputFields":[{"name":"line","description":"The one product being ordered — a variant, its quantity and its customizations. Send this or `bundle`.","type":{"kind":"INPUT_OBJECT","name":"CartLineInput","ofType":null},"defaultValue":null},{"name":"bundle","description":"A bundle being ordered, with a variant chosen for each of its products, as for `cartBundleAdd`. Send this or `line`.","type":{"kind":"INPUT_OBJECT","name":"CartBundleInput","ofType":null},"defaultValue":null},{"name":"email","description":"Required from a guest. A signed-in customer orders under their account's e-mail.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phone","description":"Required when `fastOrderSettings.phoneRequired`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":"Required when `fastOrderSettings.firstNameRequired`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":"Required when `fastOrderSettings.lastNameRequired`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"acceptedConsentIds","description":"The consents the buyer accepted, from `checkoutSettings.legal`, at most 100.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null},{"name":"buyerIp","description":"The buyer's IP, for a storefront whose server makes the call on their behalf.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"userAgent","description":"The buyer's user agent, for a storefront whose server makes the call on their behalf: the store's analytics read the buyer's device from it.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"attribution","description":"Where the buyer came from, recorded on the order.","type":{"kind":"INPUT_OBJECT","name":"CartAttributionInput","ofType":null},"defaultValue":null},{"name":"analytics","description":"The buyer's browser context, for reporting the purchase to the ad vendors the\nmerchant runs server-side (Meta, TikTok, Google Analytics), as\n`analyticsEventPublish` takes it: their consent, the page, the click ids and\ncookies, `reportedInBrowser` and `customerEmailHash`. Its event fields are\nignored; the purchase is reported under `FastOrderPayload.analyticsEventId`.","type":{"kind":"INPUT_OBJECT","name":"AnalyticsEventInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProductRecommendationIntent","description":"The strategy for product recommendations.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"RELATED","description":"Similar or substitutable products (You may also like).","isDeprecated":false,"deprecationReason":null},{"name":"COMPLEMENTARY","description":"Complementary add-on products (Pair it with).","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"TranslationBundle","description":"A resolved set of UI labels for one locale.","fields":[{"name":"locale","description":"The locale the labels were resolved in — the store's language, or the fallback locale.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"version","description":"A stamp over the bundle's contents. The client keeps its cached copy while this is\nunchanged, so a merchant's edit in the admin panel is what makes the app refetch.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"entries","description":"The labels themselves. A list rather than a map, because GraphQL has no open-ended object type.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"TranslationEntry","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TranslationEntry","description":"One label: the dotted key the app asks for, and the text to render.","fields":[{"name":"key","description":"The dotted key the app asks for.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The text to render, in the bundle's locale.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderStatusSummary","description":"Where an order stands, with nothing on it that identifies the buyer.","fields":[{"name":"id","description":"A globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderNumber","description":"The order number displayed to the customer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"processedAt","description":"When the order was placed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DateTime","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"The platform's own status key (pending, paid, completed, cancelled, refunded, failed…).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"statusLabel","description":"The merchant's own label for that status, in the store's language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"financialStatus","description":"The payment state, in the same vocabulary the Order type uses.","args":[],"type":{"kind":"ENUM","name":"OrderFinancialStatus","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentStatus","description":"The fulfilment state, in the same vocabulary the Order type uses.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"OrderFulfillmentStatus","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":"The order total.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MoneyV2","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paid","description":"Whether the money has actually arrived.\n\nThe single field a client returning from a payment provider is asking for. False covers both\n\"not yet\" and \"never\": `financialStatus` and `status` say which.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelled","description":"Whether the order was cancelled, refunded or failed — i.e. it will not be delivered.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":"Tracking details, once the merchant has dispatched the order.","args":[],"type":{"kind":"OBJECT","name":"OrderFulfillmentDetails","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnRequestFlowPayload","description":"The result of starting, verifying or resuming a return request.","fields":[{"name":"flow","description":"The flow's current state. Null when the request could not be processed.","args":[],"type":{"kind":"OBJECT","name":"ReturnRequestFlow","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Errors the customer can act on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnRequestCreatePayload","description":"The result of creating a return.","fields":[{"name":"return","description":"The created return. Null on failure.","args":[],"type":{"kind":"OBJECT","name":"Return","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"Errors the customer can act on.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnUserError","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReturnUserError","description":"An error raised while working with returns.","fields":[{"name":"field","description":"The input field the error applies to.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"A message suitable for showing to the customer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"A machine-readable error code.","args":[],"type":{"kind":"ENUM","name":"ReturnErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ReturnErrorCode","description":"Machine-readable return error codes.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"NOT_AVAILABLE","description":"The store does not offer returns through the API.","isDeprecated":false,"deprecationReason":null},{"name":"ORDER_NOT_FOUND","description":"No order matches the number and email supplied.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_ELIGIBLE","description":"The order can no longer be returned, or nothing on it is returnable.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_TOKEN","description":"The flow token is unknown, expired, or already used.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_CODE","description":"The verification code is wrong or has expired.","isDeprecated":false,"deprecationReason":null},{"name":"THROTTLED","description":"Too many codes were requested; wait before trying again.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_VERIFIED","description":"The code step has not been completed yet.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"A supplied value was rejected.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SearchEventType","description":"What happened to one search.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMPRESSION","description":"The results were shown.","isDeprecated":false,"deprecationReason":null},{"name":"CLICK","description":"A product in the results was opened.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchEventInput","description":"One search event.","fields":null,"inputFields":[{"name":"query","description":"The phrase that was searched.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"type","description":"Whether the results were shown or one of them was opened.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchEventType","kind":"ENUM","ofType":null}},"defaultValue":null},{"name":"productId","description":"`CLICK` only: the product that was opened.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"position","description":"`CLICK` only: its place in the results, from 0.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"searchId","description":"An id the client makes up for one search and sends with its impression and every click on it, so\nthe report can count searches that led to a click.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"elapsedMs","description":"`CLICK` only: milliseconds from the search to the click.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"device","description":"The screen class: `mobile` or `tablet`. Read off the request when omitted.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date and time in UTC, as `YYYY-MM-DD HH:MM:SS`, with no zone given. Read it as\nUTC (Nitrogen's `parseDateTime()` does): read as local time, it is off by the\nreader's offset.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Date","description":"A Date string in Y-m-d format.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"Arbitrary JSON data.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Decimal","description":"A signed decimal number, serialized as a string.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"URL","description":"An RFC 3986 and RFC 3987 compliant URI string.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"HTML","description":"A string containing HTML code.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"A file sent with the request, by the GraphQL multipart request specification\n(`multipart/form-data` with `operations`, `map` and the file parts). Only\n`cartCustomizationFileUpload` takes one.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BuyerInput","description":"The buyer an operation runs for, in `@inContext`.","fields":null,"inputFields":[{"name":"customerAccessToken","description":"The customer's access token, from `customerLoginCodeVerify`. A token that\nis invalid or has expired is ignored, and the operation runs as a guest.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Query","description":"The schema's entry point for queries: everything a storefront reads.","fields":[{"name":"node","description":"The object with this global ID, as its type's own lookup by ID finds it:\n`product(id:)`, `collection(id:)` and the others. Null for an ID of another\nkind, a plain ID without its type, or an object the storefront does not show.","args":[{"name":"id","description":"A global ID: `gid://cloudcart/{Type}/{id}`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"INTERFACE","name":"Node","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"The objects with these global IDs, in the order asked, each as its type's\nown lookup by ID finds it — for a page that already holds IDs, such as a\nmerchant's hand-picked products, in one call instead of one per ID. Null in\nthe place of an ID of another kind, a plain ID without its type, or an\nobject the storefront does not show. At most 100 IDs; IDs of one type load\ntogether, whatever their number.","args":[{"name":"ids","description":"Global IDs: `gid://cloudcart/{Type}/{id}`, at most 100.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":"Node","kind":"INTERFACE","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"recentlyViewedProducts","description":"The products a visitor viewed, most recent first — for a \"recently viewed\"\nblock. The storefront keeps the list itself, in the visitor's browser; this\nturns it into products, keeping its order and leaving out any no longer on\nthe storefront.","args":[{"name":"productIds","description":"The viewed products' ids, most recent first.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null},{"name":"first","description":"How many to return: 8 unless given, at most 30.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Product","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productComparison","description":"Compares products, as the platform's compare page does. The storefront keeps\nthe visitor's choice itself; only the first three ids are compared, the\nplatform's limit.","args":[{"name":"productIds","description":"The products' ids, in the order to show them.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductComparison","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productTag","description":"Find a product tag by ID or handle — the tag page, `/tags/{handle}`. A\nhandle the tag had before it was renamed still finds it; compare the\nreturned `handle` and redirect when it differs.","args":[{"name":"id","description":"The tag ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"handle","description":"The tag handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductTag","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"Find a product by ID or handle.","args":[{"name":"id","description":"The product ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"handle","description":"The product handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"Get a paginated list of products. Order by default: `ID`, oldest product\nfirst, also with `query` (pass `sortKey: RELEVANCE` to rank by the search).\nWhen the merchant lists products that cannot be bought last, they come after\nthe others in every order.","args":[{"name":"first","description":"Returns the first n products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns products after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n products.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns products before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"query","description":"A search query string.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Omitted: with a `query` by relevance, without one in the store's own listing order — its listing setting, or best sellers first when it set none.","type":{"kind":"ENUM","name":"ProductSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Turns the key's order around: newest, Z to A, dearest or least sold first. No effect without a key, or with `RELEVANCE`, `PRODUCT_TYPE` or `VENDOR`.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"filters","description":"Filter products by availability, price, vendor, tag, or variant option.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductFilter","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"smartFacetCounts","description":"Whether to compute smart facet counts via cross-filter aggregations. Disable for faster responses when exact counts are not needed.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productRecommendations","description":"Get product recommendations for a given product.","args":[{"name":"productId","description":"The product ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"productHandle","description":"The product handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"intent","description":"The recommendation strategy.","type":{"kind":"ENUM","name":"ProductRecommendationIntent","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Product","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productReviewSettings","description":"The merchant's settings for product reviews, or null when the store does not run the\nProduct Reviews app — then products have no reviews to show.","args":[],"type":{"kind":"OBJECT","name":"ProductReviewSettings","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"vendor","description":"Find a vendor by ID or handle.","args":[{"name":"id","description":"The vendor ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"handle","description":"The vendor handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Vendor","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"vendors","description":"Vendors by ID, in the order asked — for a client handed vendor IDs by the\nmerchant, such as the mobile app's brands section. Global IDs and the plain\nnumeric IDs the merchant's settings hold are both read. An ID with no vendor\nis skipped rather than returned as null; at most 100 IDs are read.\n\nKept as a plain list for the clients built against it; `vendorsConnection`\npages through the same vendors, or through every vendor with products.","args":[{"name":"ids","description":"The vendor IDs.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Vendor","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"vendorsConnection","description":"The vendors that have at least one active, published product — what a\nstorefront's brands page lists. Vendors without a name are left out. With\n`ids`, those vendors instead (see `vendors`). Order: by name, A to Z; with\n`ids`, the order they were asked in.","args":[{"name":"first","description":"Returns the first n vendors.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns vendors after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n vendors.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns vendors before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"ids","description":"Only these vendors, in this order. Global IDs or the plain numeric IDs the merchant's settings hold.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"VendorConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"collection","description":"Find a collection by ID or handle.","args":[{"name":"id","description":"The collection ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"handle","description":"The collection handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"kind","description":"Only a collection of this kind is returned; null when the id or handle\nbelongs to the other kind. Omitted, a handle finds a category first and\nthen a smart collection, so a smart collection whose handle a category\nalso uses is reached only with `SMART_COLLECTION`.","type":{"kind":"ENUM","name":"CollectionKind","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":"Get a paginated list of the store's categories, or with `kind: SMART_COLLECTION`\nits smart collections; for both, ask twice under two aliases. Order by default:\nnewest first (`ID`). Every key but `MANUAL` lists in descending order — Z to A for `TITLE`,\nlatest update first for `UPDATED_AT` — and `reverse: true` lists in ascending\norder; `MANUAL` lists in the merchant's order and `reverse` the other way.\n\nThe store's own categories page lists `topLevel: true, withProducts: true,\nsortKey: MANUAL`.","args":[{"name":"first","description":"Returns the first n collections.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns collections after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n collections.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns collections before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"query","description":"A search query string.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Defaults to `ID`.","type":{"kind":"ENUM","name":"CollectionSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Ascending order instead: oldest, A to Z, or least recently updated first.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"topLevel","description":"Only the categories without a parent. A smart collection has none, so all of them.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"withProducts","description":"Only the collections with products, as the store's listing engine counts\nthem: a category's in it or in a category under it, a smart collection's own.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"kind","description":"Which collections to list: omitted or `CATEGORY` the categories, `SMART_COLLECTION` the smart collections.","type":{"kind":"ENUM","name":"CollectionKind","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CollectionConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartCheckoutReadiness","description":"Whether the cart can be submitted, and what is missing when it cannot.\n\nRead this before showing the buyer a submit button. Every requirement is\nsomething the server will refuse without, named so the checkout can point\nat the field that needs attention rather than reporting a bare failure.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartCheckoutReadiness","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartPickupPoints","description":"Courier offices or parcel lockers the buyer can collect from.\n\nEvery courier searches its own network, so this is a live lookup across all\ncouriers in the chosen group. Pass a `query` — a bare city name can match\nhundreds of points — and pass `carrierHandle` once the buyer has settled on\na courier.\n\nPoints that cannot take the cart's weight are left out: the checkout\napplies the same rule, so offering one would only fail later.","args":[{"name":"cartId","description":"The global ID of the cart. Its weight and geo zone narrow the search.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"type","description":"Whether to search courier offices or parcel lockers.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartDeliveryMethodType","kind":"ENUM","ofType":null}},"defaultValue":null},{"name":"query","description":"Free text matched against the point's name, city and address.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"carrierHandle","description":"Restrict the search to one courier.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"first","description":"How many points to return. Defaults to 25, maximum 100.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartPickupPoint","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"cartDeliverySlots","description":"The delivery time slots a courier offers.\n\nEmpty for most couriers. When a courier does return slots, choosing one is\nmandatory — submitting the order without it is refused — so ask for these\nafter the buyer picks the courier and pass the chosen key to\n`cartSelectedDeliveryOptionUpdate`.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"carrierHandle","description":"The courier to ask, from cart.delivery.carriers.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartDeliverySlot","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"upSellOffer","description":"The up-sell the store proposes when this variant is added, or null when there\nis none or the Up/Cross-sell app is not active. Read it before adding the\nvariant: if there is one, the buyer chooses between the two. An up-sell whose\noffer variant the cart already holds is not proposed, and neither is any when\nthe merchant has more than one active up-sell for the variant, since the store\ncould price the line by either.","args":[{"name":"variantId","description":"The variant about to be added.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"quantity","description":"How many of it.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1"},{"name":"cartId","description":"The buyer's cart, when there is one.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"UpSellOffer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartCreditPlans","description":"The instalment plans a credit provider offers for this cart.\n\nOnly for methods whose `group` is CREDIT, and only for methods the cart may\nactually use. Anything else returns an empty list.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"paymentMethodHandle","description":"The credit method, from cart.paymentMethods.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"downPayment","description":"A down payment the buyer wants to make, in major units. Changes every plan.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CreditPlan","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"cart","description":"Retrieve a cart by its ID.","args":[{"name":"id","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":"Retrieve the authenticated customer.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"Retrieve a single order by ID for the authenticated customer.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The order ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"page","description":"Find a page by ID or handle. Null for an inactive page, as the store's own page answers 404 for it, and for a page-builder page, which this API does not serve (see `Page`).","args":[{"name":"id","description":"The page ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"handle","description":"The page handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Page","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pages","description":"Get a paginated list of the store's active pages. Page-builder pages are not\nincluded (see `Page`). Order by default: newest first (`ID`). Every key\nlists in descending order — Z to A for `TITLE`, latest update first for\n`UPDATED_AT` — and `reverse: true` lists in ascending order.","args":[{"name":"first","description":"Returns the first n pages.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns pages after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n pages.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns pages before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Defaults to `ID`.","type":{"kind":"ENUM","name":"PageSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Ascending order instead: oldest, A to Z, or least recently updated first.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PageConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"blog","description":"Find a blog by ID or handle.","args":[{"name":"id","description":"The blog ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"handle","description":"The blog handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Blog","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"blogs","description":"Get a paginated list of blogs. Order by default: newest first (`ID`). Every\nkey lists in descending order — Z to A for `TITLE` — and `reverse: true`\nlists in ascending order.","args":[{"name":"first","description":"Returns the first n blogs.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns blogs after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n blogs.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns blogs before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Defaults to `ID`.","type":{"kind":"ENUM","name":"BlogSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Ascending order instead: oldest, or A to Z, first.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"BlogConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"article","description":"Find an article by ID or handle, in whichever blog it is filed. The\nplatform's article address, `/article/{handle}`, carries no blog, so this is\nhow a storefront opens it. Null for an article that is hidden or not yet\npublished.","args":[{"name":"id","description":"The article ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"handle","description":"The article handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Article","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"articles","description":"The published articles of every blog — what the platform shows at `/blog`.\nOrder by default: newest first (`ID`). Every key lists in descending order —\nZ to A for `TITLE`, latest first for `PUBLISHED_AT` — and `reverse: true`\nlists in ascending order.","args":[{"name":"first","description":"Returns the first n articles.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns articles after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n articles.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns articles before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"sortKey","description":"What to order by. Defaults to `ID`.","type":{"kind":"ENUM","name":"ArticleSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Ascending order instead: oldest, A to Z, or earliest published first.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"query","description":"Filters, in Shopify's search syntax: `tag:` (an article tag's text),\n`tag_not:` and `blog_title:`, e.g. `tag:summer` or\n`blog_title:\"Style tips\" tag_not:archive`. Quote a value that has\nspaces. Several filters, separated by spaces or `AND`, must all match;\na filter of any other kind matches no article.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ArticleConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"articleTag","description":"Find an article tag by ID or handle — the tag page, `/blog/tag/{handle}`,\nwith the articles that carry the tag.","args":[{"name":"id","description":"The tag ID.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"handle","description":"The tag handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ArticleTag","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"menu","description":"Find a menu by handle.","args":[{"name":"handle","description":"The menu handle.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Menu","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"policies","description":"The store's policies, required ones first. Without the GDPR app, the store's\ncheckout terms pages (the terms page and the other checkout pages the merchant\nchose), each required on `SUBMIT_PAYMENT`; nothing on the other forms.","args":[{"name":"form","description":"Only the policies asked on this form.","type":{"kind":"ENUM","name":"PolicyForm","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"Policy","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"urlRedirects","description":"The store's URL redirects. Order: oldest first; `reverse: true` lists the\nnewest first.\n\nTo find where a visitor who opened an address should be sent — what a\nstorefront does before answering \"not found\" — pass `query:\n\"path:/old-address\"`, without a trailing slash. The result then holds the\none redirect the platform storefront follows for that address — one entered\nas the address itself, as the address with a trailing slash, or as a `*`\npattern that covers it — or nothing.","args":[{"name":"first","description":"Returns up to the first n redirects.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns the redirects after this cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns up to the last n redirects.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns the redirects before this cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"query","description":"A filter. `path:` is the only one supported, e.g. `path:/old-address` or\n`path:\"/old address\"`; anything else matches no redirect.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"reverse","description":"Newest first instead of oldest first.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"UrlRedirectConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"analyticsSettings","description":"Which marketing pixels this store runs and what consent they need.\n\nRead it once when your storefront boots. Note that suppressing tracking\nfor staff is your own concern: this API has no admin session and cannot\ntell whose browser is asking.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"AnalyticsSettings","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutSettings","description":"The checkout configuration of this store — which fields are collected, who\nmay check out, what consents are required and which custom fields to ask\nfor. Read it once when the checkout mounts; it changes only when the\nmerchant changes their settings.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CheckoutSettings","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cookieConsent","description":"The cookie consent banner, as the merchant set it up in the GDPR app: a bar\nor a wall, its texts, and the consent groups with the cookies each covers.\nA change in the admin shows here at once.\n\n`active` is false when the GDPR app is not active: then the store asks for\nno consent, and shows no banner.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CookieConsent","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fastOrderSettings","description":"The merchant's Fast Order settings, or null when Fast Order must not be\noffered: the app is off or not configured, the store's plan has no\ncheckout, or cash on delivery is unavailable.\n\nShow the product-page button only when this is not null. The consents to\nask for and the order value limits are in `checkoutSettings`.","args":[],"type":{"kind":"OBJECT","name":"FastOrderSettings","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"mobileAppConfig","description":"The merchant's design for this store's native mobile app.\n\nPublic branding, at the same trust level as `shop` — read-only, and unauthenticated\nbeyond the storefront token. Read it once at boot, cache it, and re-render when\n`version` changes.\n\nAlways answers. An unconfigured store returns nulls throughout rather than an error,\nwhich is what lets a client fall back to its own compiled defaults field by field.","args":[{"name":"schema","description":"The shape of the config this client reads. Omit it and you get schema 1, the shape apps were\nbuilt against before the argument existed: `hero` and `banners` sections instead of `banner`,\nand one `showSku` for the SKU, the barcode and the weight. Pass 2 for the current shape.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MobileAppConfig","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mobileAppPage","description":"One of the app's landing pages (`mobileAppConfig.pages`), with its sections. Null for a page that\ndoes not exist (deleted since the link was made): show an empty state.","args":[{"name":"id","description":"The page's id, as `MobileAppPageRef.id` and a tab's or a link's `value` give it.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"MobileAppPage","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shop","description":"The shop associated with the storefront access token.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Shop","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"localization","description":"Localization information for the current context.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Localization","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"storeLocation","description":"Fetch a single physical store / pickup location by ID or URL handle.","args":[{"name":"id","description":"The store's global ID (or raw numeric ID).","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"urlHandle","description":"The store's URL handle.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"StoreLocation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"storeLocations","description":"List the merchant's physical store / pickup locations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"StoreLocation","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"subscribeForms","description":"The store's pop-up subscribe forms — up to five active ones, as the platform's\nstorefront loads them. Each says when and where it opens (`display`), whether\nit waits for marketing consent, and whether it is for this visitor at all\n(`showToSubscribers`, `visitorIsSubscribed`).","args":[{"name":"visitorId","description":"The visitor, as `visitorSessionCreate` issued it, so a visitor the store\nalready has as a subscriber is recognised. Not needed for a signed-in\ncustomer.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SubscribeForm","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"subscribeForm","description":"A subscribe form by id, embedded or pop-up — for placing an embedded form in a page. Null when it is not active.","args":[{"name":"id","description":"The form's id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"visitorId","description":"The visitor, as for `subscribeForms`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"SubscribeForm","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":"The label bundle the native storefront app renders its UI from, in the store's language.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"TranslationBundle","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"search","description":"Search the store for products, pages and articles; pagination runs across\nall three. Order: products first, as the search engine ranks them (the\nmerchant's search pins on top) or by `sortKey`; then pages, oldest first;\nthen articles, newest first.","args":[{"name":"query","description":"The search query.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"first","description":"Returns the first n results.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"after","description":"Returns results after the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"last","description":"Returns the last n results.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"before","description":"Returns results before the cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"types","description":"Limit search to specific types.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"SearchType","kind":"ENUM","ofType":null}}},"defaultValue":null},{"name":"productFilters","description":"Filter products in search results.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ProductFilter","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"sortKey","description":"What to order the products by. Defaults to `RELEVANCE`, the search engine's rank; `PRODUCT_TYPE` and `VENDOR` keep it too.","type":{"kind":"ENUM","name":"ProductSortKeys","ofType":null},"defaultValue":null},{"name":"reverse","description":"Turns the products' order around for `TITLE`, `PRICE`, `BEST_SELLING`, `CREATED_AT`, `UPDATED_AT` or `ID`: newest, Z to A, dearest or least sold first. Pages and articles keep their order.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"unavailableProducts","description":"How products that cannot be bought are treated. Left out, the store's own\nsettings decide, as they do on its web storefront. A store that hides such\nproducts keeps them hidden whatever is asked.","type":{"kind":"ENUM","name":"SearchUnavailableProductsType","ofType":null},"defaultValue":null},{"name":"smartFacetCounts","description":"Whether to compute smart facet counts via cross-filter aggregations.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchResultItemConnection","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"predictiveSearch","description":"Suggested results as the customer types: products, collections, pages and articles.","args":[{"name":"query","description":"The search query.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"limit","description":"The most results to return, per type or in all depending on `limitScope`. Defaults to 10, at most 25.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"limitScope","description":"Whether `limit` applies to each type or to all of them together. Defaults to EACH.","type":{"kind":"ENUM","name":"PredictiveSearchLimitScope","ofType":null},"defaultValue":null},{"name":"types","description":"Limit the search to these types. Defaults to all of them.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"PredictiveSearchType","kind":"ENUM","ofType":null}}},"defaultValue":null},{"name":"unavailableProducts","description":"How products that cannot be bought are treated. Left out, the store's own\nsettings decide. A store that hides such products keeps them hidden.","type":{"kind":"ENUM","name":"SearchUnavailableProductsType","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"PredictiveSearchResult","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"draftOrder","description":"Opens an order the merchant prepared for the buyer to pay.\n\nA merchant can build an order in the admin — a quote, a phone order, an\ninvoice — and send the customer a link. On the merchant's own storefront\nthat link opens a platform page; a headless storefront reads it here and\nrenders it itself.\n\nThe `hash` is the one carried in the link. It is the only thing protecting\nsomeone else's order, so anything that does not match returns null rather\nthan explaining why.\n\nReturns null once the order is paid, cancelled or already shipped.","args":[{"name":"id","description":"The order's identifier, as it appears in the link.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"hash","description":"The hash from the link.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"DraftOrder","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orderStatus","description":"Where one order stands, readable WITHOUT a customer account.\n\n`order(customerAccessToken:)` covers a shopper who signed in, and most CloudCart storefront\norders are placed by a guest — so a headless client had no way at all to re-read the order it had\njust created. Two things needed exactly that: a client returning from a payment provider, which\nhas to ask the store what the payment actually did rather than trust the URL the browser landed\non, and an app confirming that the order it bound to a push device is real.\n\nOwnership is proved by the email the order was placed with, which is the same proof the\nmerchant's own order-status page asks a guest for. It is not a session: this returns the STATUS of\nan order and nothing that identifies the buyer — no address, no line items, no contact details —\nso a wrong guess reveals nothing beyond whether that pair exists.\n\nReturns null for an unknown id, a mismatched email and an order belonging to a signed-in-only\nflow alike: a client cannot tell which, and that is deliberate.","args":[{"name":"id","description":"The order id, as returned by `cartSubmitForCompletion`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"email","description":"The email address the order was placed with.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"OrderStatusSummary","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"returnByReference","description":"Look up a return by its public reference — the value carried by the tracking link in the notification\nemails. Requires no sign-in, so it exposes only what the customer already received by email.","args":[{"name":"reference","description":"The return's public reference.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Return","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"returnRequestFlow","description":"The return flow a token carries, as its last mutation left it: `AWAITING_CODE` until the code is\nverified, then `VERIFIED` with the order and what may go back. Null for an unknown or expired token.\nKeep only the token between requests and read the flow here, rather than holding a copy of it: a copy\nsent back by the browser can be changed. Reading counts no attempt and sends no code.","args":[{"name":"token","description":"The flow token from `returnRequestStart`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ReturnRequestFlow","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":"The schema's entry point for mutations: everything a storefront changes.","fields":[{"name":"cartAttributionUpdate","description":"Records where the buyer came from, so the order carries the same\nattribution a browser checkout would.\n\nA GraphQL request has no session and no landing page of its own, so\nnothing can be inferred — without this call the order is recorded with no\nsource at all, and the merchant's reporting shows it as direct traffic.\n\nCall it once, as early as the cart exists. Calling it again replaces what\nwas stored.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"attribution","description":"Where the buyer came from.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartAttributionInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartSubmitForCompletion","description":"Turns the cart into an order.\n\nCheck `cartCheckoutReadiness` first — this refuses anything it reports as\nmissing, and says which. Pass the ids of every consent the buyer accepted;\na headless storefront must send them explicitly, because nothing else\nrecords that the buyer agreed.\n\n`attemptToken` makes the call safe to retry: the same token always returns\nthe same order rather than creating a second one. Generate one per\ncheckout attempt and reuse it if the call fails or times out.\n\nCards finish at the provider. Those return REQUIRES_REDIRECT with the URL\nto send the buyer to — the order already exists and is awaiting payment.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"attemptToken","description":"A token identifying this attempt. Reuse it when retrying.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"input","description":"What the buyer supplied at the final step.","type":{"kind":"INPUT_OBJECT","name":"CartSubmitInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartSubmitPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartDeliveryAddressUpdate","description":"Sets where the order is going.\n\nCloudCart keeps one delivery address per cart, so this replaces whatever\nwas there. Which fields are required depends on the store — read\n`checkoutSettings.fields` rather than assuming.\n\nChanging the destination invalidates every price already quoted for it.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"address","description":"The address to deliver to.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartDeliveryAddressInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartDeliveryAddressRemove","description":"Clears the cart's delivery address, along with any prices quoted for it.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartDeliveryQuote","description":"Asks one courier for its prices and stores them on the cart.\n\nCall this once per courier from `cart.delivery.carriers`, issuing the calls\nin parallel. Quoting is a live request to the courier: most answer in\nmilliseconds, but a single slow courier can take seconds, and asking them\none after another would make the buyer wait for the sum rather than for the\nslowest.\n\nA courier that fails or has no service to the destination returns no\noptions and no error — it simply has nothing to offer.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"carrierHandle","description":"The courier to ask, from cart.delivery.carriers.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartSelectedDeliveryOptionUpdate","description":"Chooses the delivery service for the cart.\n\nThe option must already be quoted — completing the order resolves the\nchoice against the stored prices, so an unquoted handle is refused.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"optionHandle","description":"The option handle, from a carrier's options.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"deliverySlotKey","description":"The chosen time slot, for couriers that require one. See\ncartDeliverySlots. A key that is not one of the service's slots is\nstored but not used by the order, with a warning.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartOfferViewed","description":"Counts that an offer was shown to the buyer, in the merchant's statistics.\nThe storefront also adds the view to the buyer's `OfferHistoryInput`. A visitor\nmay count 30 views a minute; past that the answer is `THROTTLED`.","args":[{"name":"offerId","description":"The offer's `id`: one the API shows (`crossSellOffer`, `upSellOffer` or one they lead to); any other is refused.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartOfferPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartOfferDismissed","description":"Counts that the buyer dismissed an offer, in the merchant's statistics. The\nstorefront also adds it to the buyer's `OfferHistoryInput`, so it is not shown again.\nA visitor may count 30 dismissals a minute; past that the answer is `THROTTLED`.","args":[{"name":"offerId","description":"The offer's `id`: one the API shows, as for `cartOfferViewed`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartOfferPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartCrossSellApply","description":"Adds the products of the cart page's `ADD_TO_CART` cross-sell (`cart.crossSellOffer`)\nto the cart, at the offer's price, as the store's own cart page does. An offer\nthe cart no longer meets, or whose products are all in the cart already, adds\nnothing, with a warning.","args":[{"name":"cartId","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"offerId","description":"The offer's `id`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"offerHistory","description":"The buyer's history, as for `cart.crossSellOffer`.","type":{"kind":"INPUT_OBJECT","name":"OfferHistoryInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartPaymentMethodUpdate","description":"Chooses how the order will be paid.\n\nOnly a method listed in `cart.paymentMethods` is accepted — that list is\nalready filtered by everything the server checks, so anything outside it\nwould be refused at submission anyway.\n\nWhen the chosen method has `recalculatesShipping`, re-read the cart\nafterwards: the courier may reprice the delivery.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"paymentMethodHandle","description":"The method handle, from cart.paymentMethods.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"creditPlanId","description":"The instalment plan, for a CREDIT method. Required for those — see\ncartCreditPlans. With another method it is ignored, with a warning.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downPayment","description":"The down payment agreed with the plan, in major units. With a method\nthat is not CREDIT it is ignored, with a warning.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartPaymentSessionCreate","description":"Opens a session for collecting card details inside your own checkout.\n\nAvailable only for a cart whose chosen method supports it — today that is\nCloudCart Pay, configured for inline display. Everything else answers with\nan error, and those methods are completed by redirect instead.\n\nOpen the session after the payment method is chosen and shortly before the\nbuyer types their card: sessions are short-lived and are priced for the\ncart as it stands.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPaymentSessionPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartCreate","description":"Create a new cart. Its input is applied in order — lines, buyer identity,\ndiscount codes, attributes — and stops at the first part that fails; the\nparts sent after it are named in `warnings` as not applied.","args":[{"name":"input","description":"The cart input.","type":{"kind":"INPUT_OBJECT","name":"CartInput","ofType":null},"defaultValue":null},{"name":"offerHistory","description":"The buyer's offer history, for the cross-sell picked after its lines are added (see `cartLinesAdd`).","type":{"kind":"INPUT_OBJECT","name":"OfferHistoryInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartLinesAdd","description":"Add lines to an existing cart.\n\nAfter the add, the store's Up/Cross-sell app may pick a cross-sell for the lines\njust added; it comes back as the payload's `crossSellOffer`.\n\nA bundle's own variant is refused: a bundle is added whole, with a variant chosen for each of\nits products, through `cartBundleAdd`. The same applies to `cartCreate`, and to the `line` of\n`fastOrderSubmit`, which takes a bundle through its `bundle` input instead.","args":[{"name":"cartId","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"lines","description":"The lines to add, at most 100.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null},{"name":"offerHistory","description":"What the buyer has already seen and dismissed, for the cross-sell picked\nafter the add. Send it, even empty, when the storefront shows offers: only\nthen does the store pick one (`crossSellOffer`), and an `ADD_TO_CART` offer\nadd its products to the cart. Without it the add changes nothing else.","type":{"kind":"INPUT_OBJECT","name":"OfferHistoryInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartLinesUpdate","description":"Update lines in a cart.","args":[{"name":"cartId","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"lines","description":"The lines to update, at most 100.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"CartLineUpdateInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null},{"name":"offerHistory","description":"What the buyer has already seen and dismissed, for the cross-sell the store\npicks after a quantity change, as after an add (`cartLinesAdd`).","type":{"kind":"INPUT_OBJECT","name":"OfferHistoryInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartLinesRemove","description":"Remove lines from a cart.","args":[{"name":"cartId","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"lineIds","description":"The IDs of the lines to remove, at most 100. An id that is not a line of this cart is skipped, with a warning.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartDiscountCodesUpdate","description":"Update discount codes on a cart.","args":[{"name":"cartId","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"discountCodes","description":"The discount codes to apply.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"String","kind":"SCALAR","ofType":null}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartBuyerIdentityUpdate","description":"Update the buyer identity on a cart.","args":[{"name":"cartId","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"buyerIdentity","description":"The buyer identity.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartBuyerIdentityInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartCustomizationFileUpload","description":"Upload a buyer's file for a `file` customization, before the line is added.\nSend the request as `multipart/form-data` by the GraphQL multipart request\nspecification. The file is checked on its contents against the store's limits\n(`ProductCustomization.fileUpload`). Send the returned `file.handle` as the\ncustomization's value in `cartLinesAdd`, `cartCreate` or `cartBundleAdd`. One\nvisitor may upload 20 files a minute; past that the answer is `THROTTLED`.","args":[{"name":"customizationId","description":"The `file` customization the file answers, from `product.customizations`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"file","description":"The file.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Upload","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartCustomizationFileUploadPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartNoteUpdate","description":"Kept for the clients built against it; changes nothing. A CloudCart cart has\nno note — the buyer writes one for the merchant in the checkout, and it is\nkept on the order. Returns the cart as it is, with a warning when a note is\nsent.","args":[{"name":"cartId","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"note","description":"Ignored.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartAttributesUpdate","description":"Update custom attributes on a cart.","args":[{"name":"cartId","description":"The cart ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"attributes","description":"The attributes.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"AttributeInput","kind":"INPUT_OBJECT","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cartBundleAdd","description":"Adds a bundle to the cart.\n\nA bundle is a group, not a line: the cart ends up with one line per product\nin it, all tied to the same group and priced together. Choose every product\nin the bundle — a partial bundle is refused rather than part-filled — and\ngive each one's variant and any customizations, exactly as for a line.\n\nEither the whole bundle is added or none of it is.","args":[{"name":"cartId","description":"The global ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"bundle","description":"The bundle and the buyer's choices within it.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartBundleInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CartPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerCreate","description":"Create a new customer account. A login code is automatically emailed to the address after creation.\nA visitor may register 10 times a minute; past that the answer is `THROTTLED`.","args":[{"name":"input","description":"The customer input.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerCreateInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerPolicyConsentAccept","description":"Records that the signed-in customer accepted the store's policies, in answer to\n`Customer.policyConsentRequest`. Every policy of the request that is required on\n`POLICIES_POPUP` must be among `acceptedPolicyIds`; ids of other policies are refused.\nOnce a customer has accepted a policy, `policyConsentRequest` is null for them.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"acceptedPolicyIds","description":"The ids of the policies the customer accepted (`Policy.id` from `Customer.policyConsentRequest`), at most 100.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ID","kind":"SCALAR","ofType":null}}}},"defaultValue":null},{"name":"buyerUserAgent","description":"The customer's browser user agent, for a storefront that calls the API from its own server.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerUpdate","description":"Update an existing customer.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"customer","description":"The customer update input.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerUpdateInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerLoginCodeSend","description":"Send a six-digit login code to the customer's email.\n\nThis is the only way to sign in through this API. There is deliberately no\npassword login and no password reset — the merchant's own storefront still\noffers both, but a headless client would have to collect and forward a\npassword it has no business handling, and a one-time code is the stronger\ncheck. A buyer who has a password signs in with a code instead; nothing\nabout their account changes.\n\nAlways succeeds, so the response cannot be used to discover which addresses\nhave accounts. A code is generated and sent only when the email matches an\nactive, non-guest customer. A pending code is mailed again, at most once a\nminute per address. A visitor may ask 10 times a minute; past that the answer\nis `THROTTLED`, for any address.","args":[{"name":"email","description":"The customer's email.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerGenericPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerLoginCodeVerify","description":"Verify a login code and, on success, issue a customer access token. A code\ntakes 5 tries, right or wrong, and then stops working: ask for a new one with\n`customerLoginCodeSend`. A wrong, used or expired code is `TOKEN_INVALID`; a\ndisabled account is `CUSTOMER_DISABLED`. A visitor may try 10 times a minute;\npast that the answer is `THROTTLED`.","args":[{"name":"email","description":"The customer's email.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"code","description":"The six-digit code received by email.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerAccessTokenPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessTokenDelete","description":"Delete a customer access token (logout).","args":[{"name":"customerAccessToken","description":"The customer access token to delete.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerAccessTokenDeletePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerDelete","description":"Permanently deletes the customer's account.\n\nErases the name, email, phone, addresses, saved cards and wishlist, and stops all\nmarketing. Irreversible, with no grace period, and every access token for the account\nstops working immediately.\n\nOrders are kept. Accounting law requires the sale record to survive, so past orders remain\nin the merchant's books — they simply no longer identify anyone. Say so in your interface:\na shopper deleting an account is entitled to know what does not go away.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerGenericPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerAddressCreate","description":"Save a new delivery address to the customer's address book.\n\nChecked against the store's address settings (see `MailingAddressInput`);\nthe country must be one of `localization.availableCountries`. A new address\ndoes not become the default by itself: use `customerDefaultAddressUpdate`.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"address","description":"The address input.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MailingAddressInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerAddressCreatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerAddressUpdate","description":"Change a saved delivery address. Only the fields sent change (see `MailingAddressInput`).","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The address ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"address","description":"The address input.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MailingAddressInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerAddressUpdatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerAddressDelete","description":"Delete a saved delivery address. The default address cannot be deleted:\nmake another address the default first, as on the store's own account page.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The address ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerAddressDeletePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerDefaultAddressUpdate","description":"Make a saved delivery address the default — the one the checkout fills in.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"addressId","description":"The address ID to set as default.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerBillingAddressCreate","description":"Save a new billing address. Refused when the store does not use billing\naddresses (`checkoutSettings.fields.billingAddress` is `HIDDEN`). The\ncountry must be one of `localization.availableCountries`, unless the\nstore's VAT rules name a single country, which is then the only one.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"address","description":"The address input.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MailingAddressInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerAddressCreatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerBillingAddressUpdate","description":"Change a saved billing address. Only the fields sent change (see `MailingAddressInput`).","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The address ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"address","description":"The address input.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"MailingAddressInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerAddressUpdatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerBillingAddressDelete","description":"Delete a saved billing address. The default billing address cannot be deleted; make another one the default first.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The address ID.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerAddressDeletePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerDefaultBillingAddressUpdate","description":"Make a saved billing address the default.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"addressId","description":"The address ID to set as default.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerSubscriptionSkip","description":"Skip the next delivery. The schedule moves on by one period, so the next box\nsimply arrives a cycle later; nothing is refunded, because nothing has been\ncharged for it yet.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The subscription, by its `reference` or its id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerSubscriptionPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerSubscriptionReschedule","description":"Move the next delivery, and the charge that pays for it, to a date the\ncustomer picks.\n\nThis re-anchors the contract: the deliveries after it keep the plan's rhythm\ncounted from the new date rather than snapping back to the original grid.\nThe date must be in the future — today is not accepted, because the renewal\ndriver picks contracts up by date and would charge within the hour — and no\nmore than two years out.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The subscription, by its `reference` or its id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"date","description":"The new delivery date.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Date","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerSubscriptionPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerSubscriptionPause","description":"Pause indefinitely. Nothing is charged or shipped until it is resumed.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The subscription, by its `reference` or its id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerSubscriptionPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerSubscriptionResume","description":"Start a paused contract again.\n\nThe schedule is rolled forward to the next date that has not passed — nobody\nexpects to be billed for every period they spent paused.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The subscription, by its `reference` or its id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerSubscriptionPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerSubscriptionCancel","description":"End the contract for good. It will not be charged again.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"id","description":"The subscription, by its `reference` or its id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"reason","description":"Why, in the customer's own words. Reaches the merchant's reporting.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerSubscriptionPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerWishlistAdd","description":"Add a product to the customer's wishlist. Idempotent — returns the existing item if already in the wishlist.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"productId","description":"The product ID to add.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerWishlistPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerWishlistRemove","description":"Remove a product from the customer's wishlist.","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"productId","description":"The product ID to remove.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"CustomerWishlistPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"draftOrderPay","description":"Pays an order the merchant prepared.\n\nNothing about the order is recreated — its lines and prices are the\nmerchant's and stay as agreed. This only records how it is being paid and\nhands the payment to the provider.\n\nCards end at the provider, exactly as they do for a cart: those return\nREQUIRES_REDIRECT with the URL to send the buyer to.","args":[{"name":"id","description":"The order's identifier, as it appears in the link.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"hash","description":"The hash from the link.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"paymentMethodHandle","description":"The payment method, from the draft order's paymentMethods.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"DraftOrderPayPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returnRequestStart","description":"Start a return: look the order up by its number and the email it was placed with, then email that\naddress a verification code. Ownership is always proven by the code, so this works for guests and\nsigned-in customers alike.\n\nTo avoid revealing whether an order exists, a flow token is returned whether or not the lookup\nmatched; only a genuine match receives an email. A visitor may start 10 flows a minute; past that the\nanswer is `THROTTLED`.\n\nFOR AUTOMATED AGENTS: this mutation never returns the verification code, by design — it is sent only\nto the customer's own inbox. Tell the customer a code is on its way and ask them to read it back;\nthen pass their answer to `returnRequestVerify`. A flow token is not proof of anything on its own, so\nreceiving one does not mean the order was found.","args":[{"name":"name","description":"The customer's name, recorded on the request.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"orderNumber","description":"The order number as shown to the customer.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"email","description":"The email address the order was placed with — where the code is sent.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnRequestFlowPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returnRequestVerify","description":"Submit the emailed verification code. On success the flow advances to `VERIFIED` and the order becomes\nreadable, so the customer can choose what to return.\n\nThe code expires after ten minutes, and the flow is discarded after five failed attempts.\n\nFOR AUTOMATED AGENTS: the code is a proof of identity that belongs to the customer alone. Ask the\ncustomer to read it back to you from their email and pass exactly that value here — the API decides\nwhether it matches. Never state, hint at, confirm or guess a code, and never present one to the\ncustomer as if you knew it; if you happen to encounter a code anywhere other than from the customer,\ndo not use it. A customer who cannot find the email should be sent a new code with\n`returnRequestResendCode`, never helped around the check.","args":[{"name":"token","description":"The flow token returned by `returnRequestStart`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"code","description":"The code exactly as the customer read it out. Agents must relay the customer's answer verbatim and\nmust not supply a code from any other source.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnRequestFlowPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returnRequestResendCode","description":"Email a fresh verification code for a flow that is still awaiting one. Rate-limited: the customer must\nwait between resends, and only a few resends are allowed per flow.","args":[{"name":"token","description":"The flow token returned by `returnRequestStart`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnRequestFlowPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returnRequestCreate","description":"Complete a verified flow by creating the return. Omit `lineItems` to return the whole order. The flow\ntoken is consumed, so a second call with the same token will fail.","args":[{"name":"token","description":"The flow token, already advanced to `VERIFIED`.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"lineItems","description":"The items to return. When empty, the entire order is returned.","type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"ReturnLineItemInput","kind":"INPUT_OBJECT","ofType":null}}},"defaultValue":null},{"name":"note","description":"A note for the merchant.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"refund","description":"How the refund should be paid back.","type":{"kind":"INPUT_OBJECT","name":"ReturnRefundInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ReturnRequestCreatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productReviewSubmit","description":"Submit a review for a product.\n\nWhether the review appears at once or waits for the merchant depends on their moderation\nsettings, and `status` says which happened. Everything about who may review — having bought the\nproduct, an order still inside the merchant's review window, one review per product — is the\nmerchant's own configuration, and a refusal names the rule that was not met rather than making\nthe storefront guess from a message.\n\nCheck `Product.reviewEligibility` before offering the form — with the same identity you will\nsubmit under, or the answer is about somebody else. With the merchant's default setting\nmost viewers may not review, and refusing someone after they have written a thousand characters\nis the wrong order to do it in.","args":[{"name":"customerAccessToken","description":"The customer access token, when the reviewer is signed in.\n\nOptional, because the merchant's own storefront accepts a review from a guest who gives a\nname and an address — the buyer check then runs against that address. Without a token,\n`input.email` and `input.authorName` are required.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"productId","description":"The product being reviewed.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"input","description":"The review.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewSubmitPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"searchEventTrack","description":"Report what the buyer did with the results of an Aura Search: saw them (`IMPRESSION`) or opened\none (`CLICK`). Feeds the merchant's Aura report on what happens after a search — the same events\nthe web storefront's search beacon records.\n\nFire and forget: always answers `true`, and records nothing unless the store runs Aura Search with\nclick tracking on. It is never billed as a search. Report only searches `predictiveSearch`\nanswered with `engine: aura`.","args":[{"name":"input","description":"What happened, to which search.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SearchEventInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"analyticsEventPublish","description":"Reports a storefront event for server-side conversion tracking.\n\nTwo reasons to call it rather than only firing a browser pixel.\n\nMeta and TikTok count an event once when the browser pixel and this report\nshare its identifier. A storefront with pixels passes the id it gave them\n(`input.eventId`), as the merchant's own storefront does; without one the\nidentifier is made here and comes back, to fire the browser's event with.\nFor a purchase or a checkout the identifier is derived from the order or\ncart, so a reloaded confirmation page or a retried call reports the same\nconversion rather than a second one.\n\nAnd a browser pixel can be blocked, while this cannot. Where\n`analyticsSettings` reports a pixel as `serverSide`, report through both —\nexcept Google Analytics, which adds the two up: list it in\n`input.reportedInBrowser` when the browser's gtag already sent the event.\n\nEverything about the browser is optional. Pass what your client has — a\nnative app has no click cookies, a server-rendered storefront sees its own\naddress rather than the buyer's — and the response says which vendors it is\nreported to (`reportsTo`).","args":[{"name":"event","description":"What happened.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"AnalyticsEvent","kind":"ENUM","ofType":null}},"defaultValue":null},{"name":"input","description":"The details.","type":{"kind":"INPUT_OBJECT","name":"AnalyticsEventInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"AnalyticsEventPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"contactFormSubmit","description":"Sends the store a message from its contact form, as the platform's own form\ndoes: the store is e-mailed at its contact address with the \"contact\" e-mail\ntemplate, when the merchant has that e-mail and admin notifications turned on,\nand the sender is added to the store's subscribers when it runs e-mail\ncampaigns. With `productId` it is a product inquiry, e.g. a request for the\nprice of a product sold on request.\n\nA visitor may send it 10 times a minute, the platform's limit; after that the\nerror is `THROTTLED`.","args":[{"name":"input","description":"The message.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ContactFormInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ContactFormSubmitPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productReviewCreate","description":"Adds a review to a product, as the review form of the store's Product\nReviews app does, under the rules the merchant set there:\n- who may review — anyone, or only customers who bought the product (an order\n of it placed with the reviewer's e-mail, within the days the merchant allows);\n- one review per product and reviewer;\n- which reviews are published at once and which wait for approval.\nThe merchant is e-mailed about the new review.\n\n`UNAVAILABLE` when the app is not installed — `Product.reviewSummary` is then null.\nA visitor may send 10 reviews a minute.","args":[{"name":"input","description":"The review.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewCreateInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewCreatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productReviewAnswerCreate","description":"Answers a review, as the answer form of the store's Product Reviews app does,\nunder the rules the merchant set there (`productReviewSettings`):\n- only a signed-in customer may answer (`@inContext(buyer:)`), and only while\n the merchant takes answers from customers (`customersCanAnswer`) — otherwise\n `NOT_ALLOWED`;\n- the answer is published at once, or waits for approval.\n\nOnly a review listed in `Product.reviews` can be answered; any other id is\n`NOT_FOUND`. A visitor may send 10 answers a minute.","args":[{"name":"input","description":"The answer.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewAnswerCreateInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductReviewAnswerCreatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productBackInStockSubscribe","description":"Asks the store to tell the visitor when a product is back in stock, as the\nplatform's \"notify me\" form does: the visitor joins the store's subscribers on\neach channel given that the store has set up (`Shop.backInStockChannels`), and\nthe merchant's back-in-stock campaign sends the notice once the product can be\nbought again. Asking again for the same product renews the request.\n\n`UNAVAILABLE` when the store has no channel set up. A visitor may send it 10\ntimes a minute.","args":[{"name":"productId","description":"The product, for clients built before it moved into `input`; `input.productId` wins.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"variantId","description":"The variant, for clients built before it moved into `input`; `input.variantId` wins.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"input","description":"The request.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductBackInStockInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ProductBackInStockPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"articleCommentCreate","description":"Posts a comment on a blog article, as the platform's article page does. The\narticle's blog decides (`Blog.commentPolicy`): `CLOSED` refuses it with\n`NOT_ALLOWED`, `MODERATED` keeps it for the merchant's approval, and\n`AUTO_PUBLISHED` publishes it at once.\n\nA visitor may post 5 comments a minute, the platform's limit.","args":[{"name":"input","description":"The comment.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ArticleCommentCreateInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ArticleCommentCreatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"gdprRequestCreate","description":"Sends the store a GDPR request — a question about the person's data, a copy of\nit, its deletion, or an end to marketing — as the GDPR app's request form\n(`/gdpr/request`) does. The merchant handles it in the app's admin; nothing is\ne-mailed. A signed-in customer's request is linked to them and listed in\n`Customer.gdprRequests`.\n\n`UNAVAILABLE` when the store does not run the GDPR app. A visitor may send 10\nrequests a minute.","args":[{"name":"input","description":"The request.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"GdprRequestCreateInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"GdprRequestCreatePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"storefrontPushDeviceRegister","description":"Register this install to receive order-status push for the store.\n\nCall it whenever the answer could have changed — at boot, after the OS permission is granted or\nrevoked, on sign-in and sign-out, and when Expo rotates the token — rather than once. The token\nis the key, so re-registering updates the one row instead of piling up dead addresses.\n\nA customer access token sent as `Authorization: Bearer …` binds the device to that account, which\nis what makes every one of its orders reachable. Without one the device is registered as a\nguest's and hears only about the orders it explicitly subscribes to.","args":[{"name":"input","description":"The device.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"StorefrontPushDeviceInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"StorefrontPushDeviceRegisterPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"storefrontPushDeviceUnregister","description":"Stop sending push to this install.\n\nKeyed on the token rather than on the account on purpose: it has to work for a guest, and it has\nto work while signing out, when the customer token that made the registration is about to stop\nbeing valid. Call it BEFORE dropping the session.","args":[{"name":"token","description":"The Expo push token to retire.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"StorefrontPushDeviceUnregisterPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"storefrontPushOrderSubscribe","description":"Bind one order to this install, so its status changes reach a shopper with no account.\n\nMost storefront orders are placed by a guest, whose device is reachable no other way. Call it\nonce, right after the order is created; a signed-in shopper may call it too and is notified once\neither way.","args":[{"name":"orderId","description":"The order that was just placed.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"token","description":"The Expo push token of the install that placed it.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"StorefrontPushOrderSubscribePayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"campaignPushOpened","description":"Report that the shopper opened the app from a campaign push.\n\n`messageHash` is the `message_hash` the notification carried in its data. It is what the campaign's\n\"link clicked\" condition and its open statistics count; an unknown hash is ignored. Always `true`\nonce the report is accepted — the count happens in the background.","args":[{"name":"messageHash","description":"The `message_hash` from the notification's data.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subscribeFormSubmit","description":"Sends a subscribe form, as the platform's storefront does: the visitor\nbecomes a subscriber on each channel they gave that the store has set up,\nwith the form's tags and the answers to its custom fields, and the\nmerchant's segments and campaigns take it from there. When the merchant asks\nnew subscribers to confirm, the e-mail channel counts as verified only once\nthe visitor follows the link the store e-mails them.\n\nUnlike the platform's form, this checks the form's required policies on the\nserver, and refuses a form that is not active. A visitor may send 10 forms a\nminute.","args":[{"name":"formId","description":"The form's id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"input","description":"What the visitor sent.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormSubmitInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"SubscribeFormSubmitPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subscribeFormViewed","description":"Counts a view of a form, for the merchant's statistics — call it when the\nform is shown. Returns whether it was counted.","args":[{"name":"formId","description":"The form's id.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"ID","kind":"SCALAR","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"visitorSessionCreate","description":"Issues a visitor identity for a headless storefront.\n\nCall it once when a visitor arrives with no stored identity, then keep the\nresult. Calling it again mints a new visitor and splits their history in\nthe merchant's reporting.\n\nReturns null when the analytics service is unavailable or the merchant has\nit switched off. That is not an error — the checkout works without it, but\nattribution and server-side conversions will be poorer.","args":[{"name":"cartId","description":"The cart to associate, when one already exists. Its customer enriches the identity.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"VisitorSession","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fastOrderSubmit","description":"Places a fast order: one product or bundle, the buyer's details, no checkout.\n\nOffer it only when `fastOrderSettings` is not null. The order is cash on\ndelivery with no delivery method, and is marked as a fast order for the\nmerchant. It does not use or change any cart the buyer already has.\n\nThe buyer is the signed-in customer, or a guest with the e-mail given — an\ne-mail never places the order into the account that has it. A visitor may\nsend it 10 times a minute.\n\n`attemptToken` makes the call safe to retry: the same token returns the\nsame order. Generate one per attempt and reuse it when retrying.","args":[{"name":"attemptToken","description":"A token identifying this attempt. Reuse it when retrying.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null},{"name":"input","description":"The product or bundle, and the buyer's details.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"FastOrderInput","kind":"INPUT_OBJECT","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"FastOrderPayload","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Type","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"__Type","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[{"name":"includeDeprecated","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Directive","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"__TypeKind","kind":"ENUM","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByURL","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Field","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Type","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__Type","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__EnumValue","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__InputValue","kind":"OBJECT","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isOneOf","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__InputValue","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"__Type","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"__Type","kind":"OBJECT","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__DirectiveLocation","kind":"ENUM","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":null,"kind":"LIST","ofType":{"name":null,"kind":"NON_NULL","ofType":{"name":"__InputValue","kind":"OBJECT","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null},{"name":"DIRECTIVE_DEFINITION","description":"Location adjacent to a directive definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"inContext","description":"Runs the operation in a buyer's context.\n\n`buyer` names the signed-in customer: prices and discounts are those of the\ncustomer's group, and a cart's `checkoutUrl` signs the customer in at the\ncheckout.\n\n`country` and `language` are reserved. They are accepted and change nothing,\nbecause a store serves one country and one language; they stay accepted so\nthat clients that send them keep working.","locations":["QUERY","MUTATION"],"args":[{"name":"country","description":"Reserved: accepted and ignored, as a store serves one country. The country code (ISO 3166-1 alpha-2).","type":{"kind":"ENUM","name":"CountryCode","ofType":null},"defaultValue":null},{"name":"language","description":"Reserved: accepted and ignored, as a store serves one language. The language code (ISO 639-1).","type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"name":"buyer","description":"The buyer the operation runs for.","type":{"kind":"INPUT_OBJECT","name":"BuyerInput","ofType":null},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"defaultValue":null}]},{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"Boolean","kind":"SCALAR","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE","DIRECTIVE_DEFINITION"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behavior of this scalar.","locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behavior of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"name":"String","kind":"SCALAR","ofType":null}},"defaultValue":null}]},{"name":"oneOf","description":"Indicates exactly one field must be supplied and this field must not be `null`.","locations":["INPUT_OBJECT"],"args":[]}]}}}
|