{ "data": { "__schema": { "directives": [ { "args": [ { "defaultValue": null, "description": "Included when true.", "name": "if", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", "locations": [ "FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT" ], "name": "include" }, { "args": [ { "defaultValue": null, "description": "Skipped when true.", "name": "if", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", "locations": [ "FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT" ], "name": "skip" }, { "args": [ { "defaultValue": "\"No longer supported\"", "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", "name": "reason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "description": "Marks an element of a GraphQL schema as no longer supported.", "locations": [ "FIELD_DEFINITION", "ENUM_VALUE", "ARGUMENT_DEFINITION", "INPUT_FIELD_DEFINITION" ], "name": "deprecated" }, { "args": [], "description": "Requires that exactly one field must be supplied and that field must not be `null`.", "locations": [ "INPUT_OBJECT" ], "name": "oneOf" }, { "args": [ { "defaultValue": "null", "description": "Explains the reason around this restriction", "name": "reason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "description": "Marks an element of a GraphQL schema as having restricted access.", "locations": [ "FIELD_DEFINITION", "OBJECT" ], "name": "accessRestricted" }, { "args": [ { "defaultValue": null, "description": "Specifies a cost added to request complexity for each possible appearance of the tagged schema element. A `weight` value may be a serialized float or string formula.", "name": "weight", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "description": "Provides a weighted cost for GraphQL fields and types while calculating the complexity of a request during static analysis.", "locations": [ "FIELD_DEFINITION", "OBJECT" ], "name": "cost" }, { "args": [ { "defaultValue": null, "description": "Statically defines the maximum possible size of the returned list.", "name": "assumedSize", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The names of numeric slicing arguments that can statically define the maximum length of the returned list.", "name": "slicingArguments", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The names of list sub-fields that adhere to the maximum length defined by `assumedSize` and `slicingArguments`.", "name": "sizedFields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": "true", "description": "Informs static analysis to expect exactly one of the defined slicing arguments to be present in a query.", "name": "requireOneSlicingArgument", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "description": "Provides the maximum possible size of a returned list, or how to inspect this information in a request. This value is used during static analysis to calculate the overall complexity of a request.", "locations": [ "FIELD_DEFINITION" ], "name": "listSize" } ], "mutationType": { "name": "Mutation" }, "queryType": { "name": "QueryRoot" }, "subscriptionType": null, "types": [ { "description": "An Amazon Web Services Amazon Resource Name (ARN), including the Region and account ID.\nFor more information, refer to [Amazon Resource Names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "ARN", "possibleTypes": null }, { "description": "A checkout that was abandoned by the customer.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The URL for the buyer to recover their checkout.", "isDeprecated": false, "name": "abandonedCheckoutUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of products in the checkout.", "isDeprecated": false, "name": "lineItemsQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of all items in the checkout, including discounts, shipping, taxes, and tips.\n", "isDeprecated": false, "name": "totalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Navigable", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AbandonedCheckout", "possibleTypes": null }, { "description": "A browse, cart, or checkout that was abandoned by a customer.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The abandonment payload for the abandoned checkout.", "isDeprecated": false, "name": "abandonedCheckoutPayload", "type": { "kind": "OBJECT", "name": "AbandonedCheckout", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The abandonment type.", "isDeprecated": false, "name": "abandonmentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AbandonmentAbandonmentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The app associated with an abandoned checkout.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Permalink to the cart page.", "isDeprecated": false, "name": "cartUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the abandonment was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer who abandoned this event.", "isDeprecated": false, "name": "customer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Customer", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the customer has completed an order since this checkout has been abandoned.", "isDeprecated": false, "name": "customerHasNoOrderSinceAbandonment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of days since the last abandonment email was sent to the customer.", "isDeprecated": false, "name": "daysSinceLastAbandonmentEmail", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "When the email was sent, if that is the case.", "isDeprecated": false, "name": "emailSentAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The email state (e.g., sent or not sent).", "isDeprecated": false, "name": "emailState", "type": { "kind": "ENUM", "name": "AbandonmentEmailState", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of hours since the customer has last abandoned a checkout.", "isDeprecated": false, "name": "hoursSinceLastAbandonedCheckout", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the products in abandonment are available.", "isDeprecated": false, "name": "inventoryAvailable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the abandonment event comes from the Online Store sales channel.", "isDeprecated": false, "name": "isFromOnlineStore", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the abandonment event comes from the Shop app sales channel.", "isDeprecated": false, "name": "isFromShopApp", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the abandonment event comes from Shop Pay.", "isDeprecated": false, "name": "isFromShopPay", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the customer did not complete another most significant step since this abandonment.", "isDeprecated": false, "name": "isMostSignificantAbandonment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date for the latest browse abandonment.", "isDeprecated": false, "name": "lastBrowseAbandonmentDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date for the latest cart abandonment.", "isDeprecated": false, "name": "lastCartAbandonmentDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date for the latest checkout abandonment.", "isDeprecated": false, "name": "lastCheckoutAbandonmentDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The most recent step type.", "isDeprecated": false, "name": "mostRecentStep", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AbandonmentAbandonmentType", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The products added to the cart during the customer abandoned visit.", "isDeprecated": false, "name": "productsAddedToCart", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerVisitProductInfoConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The products viewed during the customer abandoned visit.", "isDeprecated": false, "name": "productsViewed", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerVisitProductInfoConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the visit started.", "isDeprecated": false, "name": "visitStartedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Abandonment", "possibleTypes": null }, { "description": "Specifies the abandonment type.", "enumValues": [ { "deprecationReason": null, "description": "The abandonment event is an abandoned browse.", "isDeprecated": false, "name": "BROWSE" }, { "deprecationReason": null, "description": "The abandonment event is an abandoned cart.", "isDeprecated": false, "name": "CART" }, { "deprecationReason": null, "description": "The abandonment event is an abandoned checkout.", "isDeprecated": false, "name": "CHECKOUT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AbandonmentAbandonmentType", "possibleTypes": null }, { "description": "Specifies the email state.", "enumValues": [ { "deprecationReason": null, "description": "The email has not yet been sent.", "isDeprecated": false, "name": "NOT_SENT" }, { "deprecationReason": null, "description": "The email has been sent.", "isDeprecated": false, "name": "SENT" }, { "deprecationReason": null, "description": "The email has been scheduled for later delivery.", "isDeprecated": false, "name": "SCHEDULED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AbandonmentEmailState", "possibleTypes": null }, { "description": "Return type for `abandonmentEmailStateUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated abandonment.", "isDeprecated": false, "name": "abandonment", "type": { "kind": "OBJECT", "name": "Abandonment", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AbandonmentEmailStateUpdateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AbandonmentEmailStateUpdatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `AbandonmentEmailStateUpdate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "AbandonmentEmailStateUpdateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "AbandonmentEmailStateUpdateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `AbandonmentEmailStateUpdateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Unable to find an Abandonment for the provided ID.", "isDeprecated": false, "name": "ABANDONMENT_NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AbandonmentEmailStateUpdateUserErrorCode", "possibleTypes": null }, { "description": "The permission required to access a Shopify Admin API or Storefront API resource for a shop. Merchants grant access scopes that are requested by applications.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A description of the actions that the access scope allows an app to perform.", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A readable string that represents the access scope. The string usually follows the format `{action}_{resource}`. `{action}` is `read` or `write`, and `{resource}` is the resource that the action can be performed on. `{action}` and `{resource}` are separated by an underscore. For example, `read_orders` or `write_products`.\n", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AccessScope", "possibleTypes": null }, { "description": "Represents an operation publishing all products to a publication.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The count of processed rows, summing imported, failed, and skipped rows.", "isDeprecated": false, "name": "processedRowCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Represents a rows objects within this background operation.", "isDeprecated": false, "name": "rowCount", "type": { "kind": "OBJECT", "name": "RowCount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of this operation.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ResourceOperationStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "ResourceOperation", "ofType": null } ], "kind": "OBJECT", "name": "AddAllProductsOperation", "possibleTypes": null }, { "description": "The additional fees that have been applied to the order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the additional fee.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price of the additional fee.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of taxes charged on the additional fee.", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AdditionalFee", "possibleTypes": null }, { "description": "A sale associated with an order price adjustment.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of order action that the sale represents.", "isDeprecated": false, "name": "actionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleActionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the sale.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line type assocated with the sale.", "isDeprecated": false, "name": "lineType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleLineType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units either ordered or intended to be returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "All individual taxes associated with the sale.", "isDeprecated": false, "name": "taxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleTax", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total sale amount after taxes and discounts.", "isDeprecated": false, "name": "totalAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale after taxes.", "isDeprecated": false, "name": "totalDiscountAmountAfterTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale before taxes.", "isDeprecated": false, "name": "totalDiscountAmountBeforeTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the sale.", "isDeprecated": false, "name": "totalTaxAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Sale", "ofType": null } ], "kind": "OBJECT", "name": "AdjustmentSale", "possibleTypes": null }, { "description": "Targets all items the cart for a specified discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether all items are eligible for the discount. This value always returns `true`.", "isDeprecated": false, "name": "allItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AllDiscountItems", "possibleTypes": null }, { "description": "A version of the API, as defined by [Shopify API versioning](https://shopify.dev/api/usage/versioning).\nVersions are commonly referred to by their handle (for example, `2021-10`).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The human-readable name of the version.", "isDeprecated": false, "name": "displayName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle.", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning).", "isDeprecated": false, "name": "supported", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ApiVersion", "possibleTypes": null }, { "description": "A Shopify application.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A unique application API identifier.", "isDeprecated": false, "name": "apiKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "App store page URL of the app.", "isDeprecated": false, "name": "appStoreAppUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "App store page URL of the developer who created the app.", "isDeprecated": false, "name": "appStoreDeveloperUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The access scopes available to the app.", "isDeprecated": false, "name": "availableAccessScopes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AccessScope", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Banner image for the app.", "isDeprecated": false, "name": "banner", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Description of the app.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the app developer.", "isDeprecated": false, "name": "developerName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of app developer.", "isDeprecated": false, "name": "developerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppDeveloperType", "ofType": null } } }, { "args": [], "deprecationReason": "Use `appStoreDeveloperUrl` instead.", "description": "Website of the developer who created the app.", "isDeprecated": true, "name": "developerUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the app uses the Embedded App SDK.", "isDeprecated": false, "name": "embedded", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Requirements that must be met before the app can be installed.", "isDeprecated": false, "name": "failedRequirements", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FailedRequirement", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of app features that are shown in the Shopify App Store listing.", "isDeprecated": false, "name": "features", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Feedback from this app about the store.", "isDeprecated": false, "name": "feedback", "type": { "kind": "OBJECT", "name": "AppFeedback", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Handle of the app.", "isDeprecated": false, "name": "handle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Icon that represents the app.", "isDeprecated": false, "name": "icon", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Webpage where you can install the app.", "isDeprecated": false, "name": "installUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Corresponding AppInstallation for this shop and App.\nReturns null if the App is not installed.\n", "isDeprecated": false, "name": "installation", "type": { "kind": "OBJECT", "name": "AppInstallation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the app is the [post purchase](https://shopify.dev/apps/checkout/post-purchase) app in use.\n", "isDeprecated": false, "name": "isPostPurchaseAppInUse", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use AppInstallation.launchUrl instead", "description": "Webpage that the app starts in.", "isDeprecated": true, "name": "launchUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": "Use AppInstallation.navigationItems instead", "description": "Menu items for the app, which also appear as submenu items in left navigation sidebar in the Shopify admin.\n", "isDeprecated": true, "name": "navigationItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "NavigationItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the app was previously installed on the current shop.", "isDeprecated": false, "name": "previouslyInstalled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Detailed information about the app pricing.", "isDeprecated": false, "name": "pricingDetails", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Summary of the app pricing details.", "isDeprecated": false, "name": "pricingDetailsSummary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Link to app privacy policy.", "isDeprecated": false, "name": "privacyPolicyUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The public category for the app.", "isDeprecated": false, "name": "publicCategory", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppPublicCategory", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the app is published to the Shopify App Store.", "isDeprecated": false, "name": "published", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The access scopes requested by the app.", "isDeprecated": false, "name": "requestedAccessScopes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AccessScope", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Screenshots of the app.", "isDeprecated": false, "name": "screenshots", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the app was developed by Shopify.", "isDeprecated": false, "name": "shopifyDeveloped", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the app.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Message that appears when the app is uninstalled. For example:\nBy removing this app, you will no longer be able to publish products to MySocialSite or view this app in your Shopify admin. You can re-enable this channel at any time.\n", "isDeprecated": false, "name": "uninstallMessage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "Use AppInstallation.uninstallUrl instead", "description": "Webpage where you can uninstall the app.", "isDeprecated": true, "name": "uninstallUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The webhook API version for the app.", "isDeprecated": false, "name": "webhookApiVersion", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "App", "possibleTypes": null }, { "description": "A catalog that defines the publication associated with an app.\n", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The apps associated with the catalog.", "isDeprecated": false, "name": "apps", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Most recent catalog operations.", "isDeprecated": false, "name": "operations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "ResourceOperation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The price list associated with the catalog.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A group of products and collections that's published to a catalog.", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of the catalog.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CatalogStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the catalog.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Catalog", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AppCatalog", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Apps.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in AppEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppConnection", "possibleTypes": null }, { "description": "App credits can be applied by the merchant towards future app purchases, subscriptions, or usage records in Shopify.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The amount that can be used towards future app purchases in Shopify.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the app credit was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the app credit.", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the app credit is a test transaction.", "isDeprecated": false, "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AppCredit", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple AppCredits.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppCreditEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in AppCreditEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppCredit", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppCreditConnection", "possibleTypes": null }, { "description": "Return type for `appCreditCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created app credit.", "isDeprecated": false, "name": "appCredit", "type": { "kind": "OBJECT", "name": "AppCredit", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppCreditCreatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one AppCredit and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of AppCreditEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppCredit", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppCreditEdge", "possibleTypes": null }, { "description": "Possible types of app developer.", "enumValues": [ { "deprecationReason": null, "description": "Indicates the app developer is Shopify.", "isDeprecated": false, "name": "SHOPIFY" }, { "deprecationReason": null, "description": "Indicates the app developer is a Partner.", "isDeprecated": false, "name": "PARTNER" }, { "deprecationReason": null, "description": "Indicates the app developer works directly for a Merchant.", "isDeprecated": false, "name": "MERCHANT" }, { "deprecationReason": null, "description": "Indicates the app developer is unknown. It is not categorized as any of the other developer types.", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppDeveloperType", "possibleTypes": null }, { "description": "A script that defines a discount type.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The app providing the app discount type.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The App Bridge details for discount type configuration.", "isDeprecated": false, "name": "appBridge", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FunctionsAppBridge", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The client ID of the app providing the app discount type.", "isDeprecated": false, "name": "appKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A description of the app discount type.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The class of the app discount type.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountClass", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the function providing the app discount type.", "isDeprecated": false, "name": "functionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The target type of the app discount type. Possible values: `SHIPPING_LINE` and `LINE_ITEM`.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the app discount type.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppDiscountType", "possibleTypes": null }, { "description": "An auto-generated type which holds one App and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of AppEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppEdge", "possibleTypes": null }, { "description": "Reports the status of shops and their resources and displays this information\nwithin Shopify admin. AppFeedback is used to notify merchants about steps they need to take\nto set up an app on their store.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The application associated to the feedback.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A link to where merchants can resolve errors.", "isDeprecated": false, "name": "link", "type": { "kind": "OBJECT", "name": "Link", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The feedback message presented to the merchant.", "isDeprecated": false, "name": "messages", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppFeedback", "possibleTypes": null }, { "description": "Represents an installed application on a shop.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The access scopes granted to the application by a merchant during installation.", "isDeprecated": false, "name": "accessScopes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AccessScope", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The active application subscriptions billed to the shop on a recurring basis.", "isDeprecated": false, "name": "activeSubscriptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscription", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "AppSubscriptionSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "All subscriptions created for a shop.", "isDeprecated": false, "name": "allSubscriptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscriptionConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Application which is installed.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": "Use `publication` instead.", "description": "Channel associated with the installed application.", "isDeprecated": true, "name": "channel", "type": { "kind": "OBJECT", "name": "Channel", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "AppTransactionSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "Credits that can be used towards future app purchases.", "isDeprecated": false, "name": "credits", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppCreditConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL to launch the application.", "isDeprecated": false, "name": "launchUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "AppTransactionSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "One-time purchases to a shop.", "isDeprecated": false, "name": "oneTimePurchases", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppPurchaseOneTimeConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The publication associated with the installed application.", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "AppRevenueAttributionRecordSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The records that track the externally-captured revenue for the app. The records are used for revenue attribution purposes.", "isDeprecated": false, "name": "revenueAttributionRecords", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppRevenueAttributionRecordConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use `activeSubscriptions` instead.", "description": "Subscriptions charge to a shop on a recurring basis.", "isDeprecated": true, "name": "subscriptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscription", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The URL to uninstall the application.", "isDeprecated": false, "name": "uninstallUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AppInstallation", "possibleTypes": null }, { "description": "The possible categories of an app installation, based on their purpose\nor the environment they can run in.\n", "enumValues": [ { "deprecationReason": null, "description": "Apps that serve as channels through which sales are made, such as the online store.", "isDeprecated": false, "name": "CHANNEL" }, { "deprecationReason": null, "description": "Apps that can be used in the POS mobile client.", "isDeprecated": false, "name": "POS_EMBEDDED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppInstallationCategory", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple AppInstallations.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppInstallationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in AppInstallationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppInstallation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppInstallationConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one AppInstallation and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of AppInstallationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppInstallation", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppInstallationEdge", "possibleTypes": null }, { "description": "The levels of privacy of an app installation.", "enumValues": [ { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "PUBLIC" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "PRIVATE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppInstallationPrivacy", "possibleTypes": null }, { "description": "The set of valid sort keys for the AppInstallation query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `installed_at` value.", "isDeprecated": false, "name": "INSTALLED_AT" }, { "deprecationReason": null, "description": "Sort by the `app_title` value.", "isDeprecated": false, "name": "APP_TITLE" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppInstallationSortKeys", "possibleTypes": null }, { "description": "The pricing model for the app subscription.\nThe pricing model input can be either `appRecurringPricingDetails` or `appUsagePricingDetails`.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The pricing details for usage-based billing.", "name": "appUsagePricingDetails", "type": { "kind": "INPUT_OBJECT", "name": "AppUsagePricingInput", "ofType": null } }, { "defaultValue": null, "description": "The pricing details for recurring billing.", "name": "appRecurringPricingDetails", "type": { "kind": "INPUT_OBJECT", "name": "AppRecurringPricingInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "AppPlanInput", "possibleTypes": null }, { "description": "The app plan that the merchant is subscribed to.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The plan billed to a shop on a recurring basis.", "isDeprecated": false, "name": "pricingDetails", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "AppPricingDetails", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppPlanV2", "possibleTypes": null }, { "description": "The information about the price that's charged to a shop every plan period.\nThe concrete type can be `AppRecurringPricing` for recurring billing or `AppUsagePricing` for usage-based billing.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "AppPricingDetails", "possibleTypes": [ { "kind": "OBJECT", "name": "AppRecurringPricing", "ofType": null }, { "kind": "OBJECT", "name": "AppUsagePricing", "ofType": null } ] }, { "description": "The frequency at which the shop is billed for an app subscription.", "enumValues": [ { "deprecationReason": null, "description": "The app subscription bills the shop annually.", "isDeprecated": false, "name": "ANNUAL" }, { "deprecationReason": null, "description": "The app subscription bills the shop every 30 days.", "isDeprecated": false, "name": "EVERY_30_DAYS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppPricingInterval", "possibleTypes": null }, { "description": "The public-facing category for an app.", "enumValues": [ { "deprecationReason": null, "description": "The app's public category is [private](https://shopify.dev/apps/distribution#deprecated-app-types).", "isDeprecated": false, "name": "PRIVATE" }, { "deprecationReason": null, "description": "The app's public category is [public](https://shopify.dev/apps/distribution#capabilities-and-requirements).", "isDeprecated": false, "name": "PUBLIC" }, { "deprecationReason": null, "description": "The app's public category is [custom](https://shopify.dev/apps/distribution#capabilities-and-requirements).", "isDeprecated": false, "name": "CUSTOM" }, { "deprecationReason": null, "description": "The app's public category is other. An app is in this category if it's not classified under any of the other app types (private, public, or custom).", "isDeprecated": false, "name": "OTHER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppPublicCategory", "possibleTypes": null }, { "description": "Services and features purchased once by the store.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the app purchase occurred.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the app purchase.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount to be charged to the store for the app purchase.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the app purchase.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppPurchaseStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the app purchase is a test transaction.", "isDeprecated": false, "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "AppPurchase", "possibleTypes": [ { "kind": "OBJECT", "name": "AppPurchaseOneTime", "ofType": null } ] }, { "description": "Services and features purchased once by a store.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the app purchase occurred.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the app purchase.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount to be charged to the store for the app purchase.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the app purchase.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppPurchaseStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the app purchase is a test transaction.", "isDeprecated": false, "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "AppPurchase", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AppPurchaseOneTime", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple AppPurchaseOneTimes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppPurchaseOneTimeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in AppPurchaseOneTimeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppPurchaseOneTime", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppPurchaseOneTimeConnection", "possibleTypes": null }, { "description": "Return type for `appPurchaseOneTimeCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created app one-time purchase.", "isDeprecated": false, "name": "appPurchaseOneTime", "type": { "kind": "OBJECT", "name": "AppPurchaseOneTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL that the merchant can access to approve or decline the newly created app one-time purchase.\n\nIf the merchant declines, then the merchant is redirected to the app and receives a notification message stating that the charge was declined.\nIf the merchant approves and they're successfully invoiced, then the state of the charge changes from `pending` to `active`.\n\nYou get paid after the charge is activated.\n", "isDeprecated": false, "name": "confirmationUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppPurchaseOneTimeCreatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one AppPurchaseOneTime and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of AppPurchaseOneTimeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppPurchaseOneTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppPurchaseOneTimeEdge", "possibleTypes": null }, { "description": "The approval status of the app purchase.\n\nThe merchant is charged for the purchase immediately after approval, and the status changes to `active`.\nIf the payment fails, then the app purchase remains `pending`.\n\nPurchases start as `pending` and can change to: `active`, `declined`, `expired`. After a purchase changes, it\nremains in that final state.\n", "enumValues": [ { "deprecationReason": "As of API version 2021-01, when a merchant accepts an app purchase, the status immediately changes from `pending` to `active`.", "description": "The app purchase has been approved by the merchant and is ready to be activated by the app. App purchases created through the GraphQL Admin API are activated upon approval.", "isDeprecated": true, "name": "ACCEPTED" }, { "deprecationReason": null, "description": "The app purchase was approved by the merchant and has been activated by the app. Active app purchases are charged to the merchant and are paid out to the partner.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "The app purchase was declined by the merchant.", "isDeprecated": false, "name": "DECLINED" }, { "deprecationReason": null, "description": "The app purchase was not accepted within two days of being created.", "isDeprecated": false, "name": "EXPIRED" }, { "deprecationReason": null, "description": "The app purchase is pending approval by the merchant.", "isDeprecated": false, "name": "PENDING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppPurchaseStatus", "possibleTypes": null }, { "description": "The pricing information about a subscription app.\nThe object contains an interval (the frequency at which the shop is billed for an app subscription) and\na price (the amount to be charged to the subscribing shop at each interval).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The discount applied to the subscription for a given number of billing intervals.", "isDeprecated": false, "name": "discount", "type": { "kind": "OBJECT", "name": "AppSubscriptionDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The frequency at which the subscribing shop is billed for an app subscription.", "isDeprecated": false, "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppPricingInterval", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount and currency to be charged to the subscribing shop every billing interval.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppRecurringPricing", "possibleTypes": null }, { "description": "Instructs the app subscription to generate a fixed charge on a recurring basis. The frequency is specified by the billing interval.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": "EVERY_30_DAYS", "description": "How often the app subscription generates a charge.", "name": "interval", "type": { "kind": "ENUM", "name": "AppPricingInterval", "ofType": null } }, { "defaultValue": null, "description": "The amount to be charged to the store every billing interval.", "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": null, "description": "The discount applied to the subscription for a given number of billing intervals.", "name": "discount", "type": { "kind": "INPUT_OBJECT", "name": "AppSubscriptionDiscountInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "AppRecurringPricingInput", "possibleTypes": null }, { "description": "Represents app revenue that was captured externally by the partner.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The financial amount captured in this attribution.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The timestamp when the financial amount was captured.", "isDeprecated": false, "name": "capturedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The timestamp at which this revenue attribution was issued.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique value submitted during the creation of the app revenue attribution record.\nFor more information, refer to\n[Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).\n", "isDeprecated": false, "name": "idempotencyKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Indicates whether this is a test submission.", "isDeprecated": false, "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of revenue attribution.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppRevenueAttributionType", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AppRevenueAttributionRecord", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple AppRevenueAttributionRecords.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppRevenueAttributionRecordEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in AppRevenueAttributionRecordEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppRevenueAttributionRecord", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppRevenueAttributionRecordConnection", "possibleTypes": null }, { "description": "Return type for `appRevenueAttributionRecordCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created app revenue attribution record.", "isDeprecated": false, "name": "appRevenueAttributionRecord", "type": { "kind": "OBJECT", "name": "AppRevenueAttributionRecord", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppRevenueAttributionRecordCreateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppRevenueAttributionRecordCreatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `AppRevenueAttributionRecordCreate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "AppRevenueAttributionRecordCreateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "AppRevenueAttributionRecordCreateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `AppRevenueAttributionRecordCreateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppRevenueAttributionRecordCreateUserErrorCode", "possibleTypes": null }, { "description": "Return type for `appRevenueAttributionRecordDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the revenue attribution that was deleted, if one was.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppRevenueAttributionRecordDeleteUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppRevenueAttributionRecordDeletePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `AppRevenueAttributionRecordDelete`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "AppRevenueAttributionRecordDeleteUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "AppRevenueAttributionRecordDeleteUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `AppRevenueAttributionRecordDeleteUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppRevenueAttributionRecordDeleteUserErrorCode", "possibleTypes": null }, { "description": "An auto-generated type which holds one AppRevenueAttributionRecord and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of AppRevenueAttributionRecordEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppRevenueAttributionRecord", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppRevenueAttributionRecordEdge", "possibleTypes": null }, { "description": "The input fields to supply an app revenue attribution record.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The unique value submitted during creation.\nFor more information, refer to\n[Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).\n", "name": "idempotencyKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The timestamp when the financial amount was captured.", "name": "capturedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "defaultValue": null, "description": "The financial amount captured in this attribution.", "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": null, "description": "The type of revenue attribution.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppRevenueAttributionType", "ofType": null } } }, { "defaultValue": null, "description": "Indicates whether this is a test submission.", "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "AppRevenueAttributionRecordInput", "possibleTypes": null }, { "description": "The set of valid sort keys for the AppRevenueAttributionRecord query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppRevenueAttributionRecordSortKeys", "possibleTypes": null }, { "description": "Represents the billing types of revenue attribution.", "enumValues": [ { "deprecationReason": null, "description": "App purchase related revenue collection.", "isDeprecated": false, "name": "APPLICATION_PURCHASE" }, { "deprecationReason": null, "description": "App subscription revenue collection.", "isDeprecated": false, "name": "APPLICATION_SUBSCRIPTION" }, { "deprecationReason": null, "description": "App usage-based revenue collection.", "isDeprecated": false, "name": "APPLICATION_USAGE" }, { "deprecationReason": null, "description": "Other app revenue collection type.", "isDeprecated": false, "name": "OTHER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppRevenueAttributionType", "possibleTypes": null }, { "description": "Provides users access to services and/or features for a duration of time.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the app subscription was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the current app subscription period ends. Returns `null` if the subscription isn't active.", "isDeprecated": false, "name": "currentPeriodEnd", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The plans attached to the app subscription.", "isDeprecated": false, "name": "lineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscriptionLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The name of the app subscription.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL that the merchant is redirected to after approving the app subscription.", "isDeprecated": false, "name": "returnUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the app subscription.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppSubscriptionStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Specifies whether the app subscription is a test transaction.", "isDeprecated": false, "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of free trial days, starting at the subscription's creation date, by which billing is delayed.", "isDeprecated": false, "name": "trialDays", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AppSubscription", "possibleTypes": null }, { "description": "Return type for `appSubscriptionCancel` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The cancelled app subscription.", "isDeprecated": false, "name": "appSubscription", "type": { "kind": "OBJECT", "name": "AppSubscription", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionCancelPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple AppSubscriptions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscriptionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in AppSubscriptionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscription", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionConnection", "possibleTypes": null }, { "description": "Return type for `appSubscriptionCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly-created app subscription.", "isDeprecated": false, "name": "appSubscription", "type": { "kind": "OBJECT", "name": "AppSubscription", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL pointing to the page where the merchant approves or declines the charges for an app subscription.", "isDeprecated": false, "name": "confirmationUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionCreatePayload", "possibleTypes": null }, { "description": "Discount applied to the recurring pricing portion of a subscription.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The total number of billing intervals to which the discount will be applied.\nThe discount will be applied to an indefinite number of billing intervals if this value is blank.\n", "isDeprecated": false, "name": "durationLimitInIntervals", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The price of the subscription after the discount is applied.", "isDeprecated": false, "name": "priceAfterDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The remaining number of billing intervals to which the discount will be applied.", "isDeprecated": false, "name": "remainingDurationInIntervals", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The value of the discount applied every billing interval.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "AppSubscriptionDiscountValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionDiscount", "possibleTypes": null }, { "description": "The fixed amount value of a discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fixed amount value of a discount.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionDiscountAmount", "possibleTypes": null }, { "description": "The input fields to specify a discount to the recurring pricing portion of a subscription over a number of billing intervals.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The value to be discounted every billing interval.", "name": "value", "type": { "kind": "INPUT_OBJECT", "name": "AppSubscriptionDiscountValueInput", "ofType": null } }, { "defaultValue": null, "description": "The total number of billing intervals to which the discount will be applied.\nThe discount will be applied to an indefinite number of billing intervals if this value is left blank.\n", "name": "durationLimitInIntervals", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "AppSubscriptionDiscountInput", "possibleTypes": null }, { "description": "The percentage value of a discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The percentage value of a discount.", "isDeprecated": false, "name": "percentage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionDiscountPercentage", "possibleTypes": null }, { "description": "The value of the discount.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "AppSubscriptionDiscountValue", "possibleTypes": [ { "kind": "OBJECT", "name": "AppSubscriptionDiscountAmount", "ofType": null }, { "kind": "OBJECT", "name": "AppSubscriptionDiscountPercentage", "ofType": null } ] }, { "description": "The input fields to specify the value discounted every billing interval.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The percentage value of a discount.", "name": "percentage", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The monetary value of a discount.", "name": "amount", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "AppSubscriptionDiscountValueInput", "possibleTypes": null }, { "description": "An auto-generated type which holds one AppSubscription and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of AppSubscriptionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscription", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionEdge", "possibleTypes": null }, { "description": "The plan attached to an app subscription.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The pricing model for the app subscription.", "isDeprecated": false, "name": "plan", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppPlanV2", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "AppUsageRecordSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "A list of the store's usage records for a usage pricing plan.", "isDeprecated": false, "name": "usageRecords", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppUsageRecordConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionLineItem", "possibleTypes": null }, { "description": "The input fields to add more than one pricing plan to an app subscription.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The pricing model for the app subscription.", "name": "plan", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AppPlanInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "AppSubscriptionLineItemInput", "possibleTypes": null }, { "description": "Return type for `appSubscriptionLineItemUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated app subscription.", "isDeprecated": false, "name": "appSubscription", "type": { "kind": "OBJECT", "name": "AppSubscription", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL where the merchant approves or declines the updated app subscription line item.", "isDeprecated": false, "name": "confirmationUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionLineItemUpdatePayload", "possibleTypes": null }, { "description": "The replacement behavior when creating an app subscription for a merchant with an already existing app subscription.", "enumValues": [ { "deprecationReason": null, "description": "Cancels the merchant's current app subscription immediately and replaces it with the newly created app subscription.", "isDeprecated": false, "name": "APPLY_IMMEDIATELY" }, { "deprecationReason": null, "description": "Defers canceling the merchant's current app subscription and applying the newly created app subscription until the start of the next billing cycle. This value is ignored if the new app subscription is using a different currency than the current app subscription, in which case the new app subscription is applied immediately.", "isDeprecated": false, "name": "APPLY_ON_NEXT_BILLING_CYCLE" }, { "deprecationReason": null, "description": "Cancels the merchant's current app subscription immediately and replaces it with the newly created app subscription, with the exception of\nthe following scenarios where replacing the current app subscription will be deferred until the start of the next billing cycle.\n1) The current app subscription is annual and the newly created app subscription is annual, using the same currency, but is of a lesser value.\n2) The current app subscription is annual and the newly created app subscription is monthly and using the same currency.\n3) The current app subscription and the newly created app subscription are identical except for the `discount` value.\n", "isDeprecated": false, "name": "STANDARD" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppSubscriptionReplacementBehavior", "possibleTypes": null }, { "description": "The set of valid sort keys for the AppSubscription query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppSubscriptionSortKeys", "possibleTypes": null }, { "description": "The status of the app subscription.", "enumValues": [ { "deprecationReason": null, "description": "The app subscription is pending approval by the merchant.", "isDeprecated": false, "name": "PENDING" }, { "deprecationReason": "As of API version 2021-01, when a merchant approves an app subscription, the status immediately transitions from `pending` to `active`.", "description": "The app subscription has been approved by the merchant and is ready to be activated by the app.", "isDeprecated": true, "name": "ACCEPTED" }, { "deprecationReason": null, "description": "The app subscription has been approved by the merchant. Active app subscriptions are billed to the shop. After payment, partners receive payouts.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "The app subscription was declined by the merchant. This is a terminal state.", "isDeprecated": false, "name": "DECLINED" }, { "deprecationReason": null, "description": "The app subscription wasn't approved by the merchant within two days of being created. This is a terminal state.", "isDeprecated": false, "name": "EXPIRED" }, { "deprecationReason": null, "description": "The app subscription is on hold due to non-payment. The subscription re-activates after payments resume.", "isDeprecated": false, "name": "FROZEN" }, { "deprecationReason": null, "description": "The app subscription was cancelled by the app. This could be caused by the app being uninstalled, a new app subscription being activated, or a direct cancellation by the app. This is a terminal state.", "isDeprecated": false, "name": "CANCELLED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppSubscriptionStatus", "possibleTypes": null }, { "description": "Return type for `appSubscriptionTrialExtend` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The app subscription that had its trial extended.", "isDeprecated": false, "name": "appSubscription", "type": { "kind": "OBJECT", "name": "AppSubscription", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscriptionTrialExtendUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppSubscriptionTrialExtendPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `AppSubscriptionTrialExtend`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "AppSubscriptionTrialExtendUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "AppSubscriptionTrialExtendUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `AppSubscriptionTrialExtendUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The app subscription wasn't found.", "isDeprecated": false, "name": "SUBSCRIPTION_NOT_FOUND" }, { "deprecationReason": null, "description": "The trial isn't active.", "isDeprecated": false, "name": "TRIAL_NOT_ACTIVE" }, { "deprecationReason": null, "description": "The app subscription isn't active.", "isDeprecated": false, "name": "SUBSCRIPTION_NOT_ACTIVE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppSubscriptionTrialExtendUserErrorCode", "possibleTypes": null }, { "description": "The set of valid sort keys for the AppTransaction query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppTransactionSortKeys", "possibleTypes": null }, { "description": "Defines a usage pricing model for the app subscription.\nThese charges are variable based on how much the merchant uses the app.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The total usage records for interval.", "isDeprecated": false, "name": "balanceUsed", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The capped amount prevents the merchant from being charged for any usage over that amount during a billing period.\nThis prevents billing from exceeding a maximum threshold over the duration of the billing period.\nFor the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge.\n", "isDeprecated": false, "name": "cappedAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The frequency with which the app usage records are billed.", "isDeprecated": false, "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AppPricingInterval", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The terms and conditions for app usage pricing.\nMust be present in order to create usage charges.\nThe terms are presented to the merchant when they approve an app's usage charges.\n", "isDeprecated": false, "name": "terms", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppUsagePricing", "possibleTypes": null }, { "description": "The input fields to issue arbitrary charges for app usage associated with a subscription.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The maximum amount of usage charges that can be incurred within a subscription billing interval.", "name": "cappedAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": null, "description": "The terms and conditions for app usage. These terms stipulate the pricing model for the charges that an app creates.", "name": "terms", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "AppUsagePricingInput", "possibleTypes": null }, { "description": "Store usage for app subscriptions with usage pricing.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the usage record was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the app usage record.", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A unique key generated by the client to avoid duplicate charges.\n", "isDeprecated": false, "name": "idempotencyKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The price of the usage record.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Defines the usage pricing plan the merchant is subscribed to.", "isDeprecated": false, "name": "subscriptionLineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppSubscriptionLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "AppUsageRecord", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple AppUsageRecords.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppUsageRecordEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in AppUsageRecordEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppUsageRecord", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppUsageRecordConnection", "possibleTypes": null }, { "description": "Return type for `appUsageRecordCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created app usage record.", "isDeprecated": false, "name": "appUsageRecord", "type": { "kind": "OBJECT", "name": "AppUsageRecord", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppUsageRecordCreatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one AppUsageRecord and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of AppUsageRecordEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppUsageRecord", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AppUsageRecordEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the AppUsageRecord query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AppUsageRecordSortKeys", "possibleTypes": null }, { "description": "Represents a generic custom attribute.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Key or name of the attribute.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Value of the attribute.", "isDeprecated": false, "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Attribute", "possibleTypes": null }, { "description": "The input fields for an attribute.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Key or name of the attribute.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Value of the attribute.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "AttributeInput", "possibleTypes": null }, { "description": "Automatic discount applications capture the intentions of a discount that was automatically applied.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is applied to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.\n", "isDeprecated": false, "name": "index", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount application.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } ], "kind": "OBJECT", "name": "AutomaticDiscountApplication", "possibleTypes": null }, { "description": "The set of valid sort keys for the AutomaticDiscount query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "AutomaticDiscountSortKeys", "possibleTypes": null }, { "description": "Represents an object containing all information for channels available to a shop.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The channel definitions for channels installed on a shop.", "isDeprecated": false, "name": "channelDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelDefinition", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The name of the channel.", "isDeprecated": false, "name": "channelName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "AvailableChannelDefinitionsByChannel", "possibleTypes": null }, { "description": "The possible types for a badge.", "enumValues": [ { "deprecationReason": null, "description": "This badge has type `default`.", "isDeprecated": false, "name": "DEFAULT" }, { "deprecationReason": null, "description": "This badge has type `success`.", "isDeprecated": false, "name": "SUCCESS" }, { "deprecationReason": null, "description": "This badge has type `attention`.", "isDeprecated": false, "name": "ATTENTION" }, { "deprecationReason": null, "description": "This badge has type `warning`.", "isDeprecated": false, "name": "WARNING" }, { "deprecationReason": null, "description": "This badge has type `info`.", "isDeprecated": false, "name": "INFO" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "BadgeType", "possibleTypes": null }, { "description": "Basic events chronicle resource activities such as the creation of an article, the fulfillment of an order, or\nthe addition of a product.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the app that created the event.", "isDeprecated": false, "name": "appTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the event was created by an app.", "isDeprecated": false, "name": "attributeToApp", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the event was caused by an admin user.", "isDeprecated": false, "name": "attributeToUser", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the event was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the event is critical.", "isDeprecated": false, "name": "criticalAlert", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Human readable text that describes the event.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "FormattedString", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Event", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "BasicEvent", "possibleTypes": null }, { "description": "Represents an error that happens during the execution of a billing attempt mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "BillingAttemptUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "BillingAttemptUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `BillingAttemptUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "Subscription contract does not exist.", "isDeprecated": false, "name": "CONTRACT_NOT_FOUND" }, { "deprecationReason": null, "description": "Origin time cannot be before the contract creation time.", "isDeprecated": false, "name": "ORIGIN_TIME_BEFORE_CONTRACT_CREATION" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select upcoming billing cycle past limit.", "isDeprecated": false, "name": "UPCOMING_CYCLE_LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select billing cycle outside of index range.", "isDeprecated": false, "name": "CYCLE_INDEX_OUT_OF_RANGE" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select billing cycle outside of start date range.", "isDeprecated": false, "name": "CYCLE_START_DATE_OUT_OF_RANGE" }, { "deprecationReason": null, "description": "Origin time needs to be within the selected billing cycle's start and end at date.", "isDeprecated": false, "name": "ORIGIN_TIME_OUT_OF_RANGE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "BillingAttemptUserErrorCode", "possibleTypes": null }, { "description": "Represents `true` or `false` values.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "Boolean", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `BulkMutationUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The operation did not run because another bulk mutation is already running. [Wait for the operation to finish](https://shopify.dev/api/usage/bulk-operations/imports#wait-for-the-operation-to-finish) before retrying this operation.", "isDeprecated": false, "name": "OPERATION_IN_PROGRESS" }, { "deprecationReason": null, "description": "The operation did not run because the mutation is invalid. Check your mutation syntax and try again.", "isDeprecated": false, "name": "INVALID_MUTATION" }, { "deprecationReason": null, "description": "The JSONL file submitted via the `stagedUploadsCreate` mutation is invalid. Update the file and try again.", "isDeprecated": false, "name": "INVALID_STAGED_UPLOAD_FILE" }, { "deprecationReason": null, "description": "The JSONL file could not be found. Try [uploading the file](https://shopify.dev/api/usage/bulk-operations/imports#generate-the-uploaded-url-and-parameters) again, and check that you've entered the URL correctly for the `stagedUploadPath` mutation argument.", "isDeprecated": false, "name": "NO_SUCH_FILE" }, { "deprecationReason": null, "description": "There was a problem reading the JSONL file. This error might be intermittent, so you can try performing the same query again.", "isDeprecated": false, "name": "INTERNAL_FILE_SERVER_ERROR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "BulkMutationErrorCode", "possibleTypes": null }, { "description": "Represents an error that happens during execution of a bulk mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "BulkMutationErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "BulkMutationUserError", "possibleTypes": null }, { "description": "An asynchronous long-running operation to fetch data in bulk or to bulk import data.\n\nBulk operations are created using the `bulkOperationRunQuery` or `bulkOperationRunMutation` mutation. After\nthey are created, clients should poll the `status` field for updates. When `COMPLETED`, the `url` field contains\na link to the data in [JSONL](http://jsonlines.org/) format.\n\nRefer to the [bulk operations guide](https://shopify.dev/api/usage/bulk-operations/imports) for more details.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "When the bulk operation was successfully completed.", "isDeprecated": false, "name": "completedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "When the bulk operation was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Error code for failed operations.", "isDeprecated": false, "name": "errorCode", "type": { "kind": "ENUM", "name": "BulkOperationErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "File size in bytes of the file in the `url` field.", "isDeprecated": false, "name": "fileSize", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A running count of all the objects processed.\nFor example, when fetching all the products and their variants, this field counts both products and variants.\nThis field can be used to track operation progress.\n", "isDeprecated": false, "name": "objectCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL that points to the partial or incomplete response data (in [JSONL](http://jsonlines.org/) format) that was returned by a failed operation.\nThe URL expires 7 days after the operation fails. Returns `null` when there's no data available.\n", "isDeprecated": false, "name": "partialDataUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "GraphQL query document specified in `bulkOperationRunQuery`.", "isDeprecated": false, "name": "query", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A running count of all the objects that are processed at the root of the query.\nFor example, when fetching all the products and their variants, this field only counts products.\nThis field can be used to track operation progress.\n", "isDeprecated": false, "name": "rootObjectCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Status of the bulk operation.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BulkOperationStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The bulk operation's type.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BulkOperationType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL that points to the response data in [JSONL](http://jsonlines.org/) format.\nThe URL expires 7 days after the operation completes.\n", "isDeprecated": false, "name": "url", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "BulkOperation", "possibleTypes": null }, { "description": "Return type for `bulkOperationCancel` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The bulk operation to be canceled.", "isDeprecated": false, "name": "bulkOperation", "type": { "kind": "OBJECT", "name": "BulkOperation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "BulkOperationCancelPayload", "possibleTypes": null }, { "description": "Error codes for failed bulk operations.", "enumValues": [ { "deprecationReason": null, "description": "The provided operation `query` returned access denied due to missing\n[access scopes](https://shopify.dev/api/usage/access-scopes).\nReview the requested object permissions and execute the query as a normal non-bulk GraphQL request to see more details.\n", "isDeprecated": false, "name": "ACCESS_DENIED" }, { "deprecationReason": null, "description": "The operation resulted in partial or incomplete data due to internal server errors during execution.\nThese errors might be intermittent, so you can try performing the same query again.\n", "isDeprecated": false, "name": "INTERNAL_SERVER_ERROR" }, { "deprecationReason": null, "description": "The operation resulted in partial or incomplete data due to query timeouts during execution.\nIn some cases, timeouts can be avoided by modifying your `query` to select fewer fields.\n", "isDeprecated": false, "name": "TIMEOUT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "BulkOperationErrorCode", "possibleTypes": null }, { "description": "Return type for `bulkOperationRunMutation` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created bulk operation.", "isDeprecated": false, "name": "bulkOperation", "type": { "kind": "OBJECT", "name": "BulkOperation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BulkMutationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "BulkOperationRunMutationPayload", "possibleTypes": null }, { "description": "Return type for `bulkOperationRunQuery` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created bulk operation.", "isDeprecated": false, "name": "bulkOperation", "type": { "kind": "OBJECT", "name": "BulkOperation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "BulkOperationRunQueryPayload", "possibleTypes": null }, { "description": "The valid values for the status of a bulk operation.", "enumValues": [ { "deprecationReason": null, "description": "The bulk operation has been canceled.", "isDeprecated": false, "name": "CANCELED" }, { "deprecationReason": null, "description": "Cancelation has been initiated on the bulk operation. There may be a short delay from when a cancelation\nstarts until the operation is actually canceled.\n", "isDeprecated": false, "name": "CANCELING" }, { "deprecationReason": null, "description": "The bulk operation has successfully completed.", "isDeprecated": false, "name": "COMPLETED" }, { "deprecationReason": null, "description": "The bulk operation has been created.", "isDeprecated": false, "name": "CREATED" }, { "deprecationReason": null, "description": "The bulk operation URL has expired.", "isDeprecated": false, "name": "EXPIRED" }, { "deprecationReason": null, "description": "The bulk operation has failed. For information on why the operation failed, use\n[BulkOperation.errorCode](https://shopify.dev/api/admin-graphql/latest/enums/bulkoperationerrorcode).\n", "isDeprecated": false, "name": "FAILED" }, { "deprecationReason": null, "description": "The bulk operation is runnning.", "isDeprecated": false, "name": "RUNNING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "BulkOperationStatus", "possibleTypes": null }, { "description": "The valid values for the bulk operation's type.", "enumValues": [ { "deprecationReason": null, "description": "The bulk operation is a query.", "isDeprecated": false, "name": "QUERY" }, { "deprecationReason": null, "description": "The bulk operation is a mutation.", "isDeprecated": false, "name": "MUTATION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "BulkOperationType", "possibleTypes": null }, { "description": "Return type for `bulkProductResourceFeedbackCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The feedback that is created.", "isDeprecated": false, "name": "feedback", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductResourceFeedback", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BulkProductResourceFeedbackCreateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "BulkProductResourceFeedbackCreatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `BulkProductResourceFeedbackCreate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "BulkProductResourceFeedbackCreateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "BulkProductResourceFeedbackCreateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `BulkProductResourceFeedbackCreateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The operation was attempted on too many feedback objects. The maximum number of feedback objects that you can operate on is 50.", "isDeprecated": false, "name": "MAXIMUM_FEEDBACK_LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "The feedback for a later version of this resource was already accepted.", "isDeprecated": false, "name": "OUTDATED_FEEDBACK" }, { "deprecationReason": null, "description": "The product wasn't found or isn't available to the channel.", "isDeprecated": false, "name": "PRODUCT_NOT_FOUND" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN_OR_EQUAL_TO" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "BulkProductResourceFeedbackCreateUserErrorCode", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `BusinessCustomerUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An internal error occurred.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "The resource wasn't found.", "isDeprecated": false, "name": "RESOURCE_NOT_FOUND" }, { "deprecationReason": null, "description": "Deleting the resource failed.", "isDeprecated": false, "name": "FAILED_TO_DELETE" }, { "deprecationReason": null, "description": "Missing a required field.", "isDeprecated": false, "name": "REQUIRED" }, { "deprecationReason": null, "description": "The input is empty.", "isDeprecated": false, "name": "NO_INPUT" }, { "deprecationReason": null, "description": "The input is invalid.", "isDeprecated": false, "name": "INVALID_INPUT" }, { "deprecationReason": null, "description": "Unexpected type.", "isDeprecated": false, "name": "UNEXPECTED_TYPE" }, { "deprecationReason": null, "description": "The field value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The number of resources exceeded the limit.", "isDeprecated": false, "name": "LIMIT_REACHED" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "BusinessCustomerErrorCode", "possibleTypes": null }, { "description": "An error that happens during the execution of a business customer mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "BusinessCustomerErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "BusinessCustomerUserError", "possibleTypes": null }, { "description": "Settings describing the behavior of checkout for a B2B buyer.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether to checkout to draft order for merchant review.", "isDeprecated": false, "name": "checkoutToDraft", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether to allow customers to use editable shipping addresses.", "isDeprecated": false, "name": "editableShippingAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a buyer must pay at checkout or they can also choose to pay\nlater using net terms.\n", "isDeprecated": false, "name": "payNowOnly", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Represents the merchant configured payment terms.", "isDeprecated": false, "name": "paymentTermsTemplate", "type": { "kind": "OBJECT", "name": "PaymentTermsTemplate", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "BuyerExperienceConfiguration", "possibleTypes": null }, { "description": "The input fields specifying the behavior of checkout for a B2B buyer.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Whether to checkout to draft order for merchant review.", "name": "checkoutToDraft", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Represents the merchant configured payment terms.", "name": "paymentTermsTemplateId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Whether to allow customers to edit their shipping address at checkout.", "name": "editableShippingAddress", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "BuyerExperienceConfigurationInput", "possibleTypes": null }, { "description": "A discount that is automatically applied to an order that is being edited.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is allocated to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The level at which the discount was applied.", "isDeprecated": false, "name": "appliedTo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationLevel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of discount application. Indicates the reason why the discount was applied.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CalculatedDiscountApplication", "ofType": null } ], "kind": "OBJECT", "name": "CalculatedAutomaticDiscountApplication", "possibleTypes": null }, { "description": "An amount discounting the line that has been allocated by an associated discount application.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The money amount that's allocated by the discount application in shop and presentment currencies.", "isDeprecated": false, "name": "allocatedAmountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The discount that the allocated amount originated from.", "isDeprecated": false, "name": "discountApplication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "CalculatedDiscountApplication", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CalculatedDiscountAllocation", "possibleTypes": null }, { "description": "A [discount application](https://shopify.dev/api/admin-graphql/latest/interfaces/discountapplication) involved in order editing that might be newly added or have new changes applied.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is allocated to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The level at which the discount was applied.", "isDeprecated": false, "name": "appliedTo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationLevel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of discount application. Indicates the reason why the discount was applied.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "CalculatedDiscountApplication", "possibleTypes": [ { "kind": "OBJECT", "name": "CalculatedAutomaticDiscountApplication", "ofType": null }, { "kind": "OBJECT", "name": "CalculatedDiscountCodeApplication", "ofType": null }, { "kind": "OBJECT", "name": "CalculatedManualDiscountApplication", "ofType": null }, { "kind": "OBJECT", "name": "CalculatedScriptDiscountApplication", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple CalculatedDiscountApplications.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedDiscountApplicationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CalculatedDiscountApplicationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "CalculatedDiscountApplication", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CalculatedDiscountApplicationConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CalculatedDiscountApplication and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CalculatedDiscountApplicationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "CalculatedDiscountApplication", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CalculatedDiscountApplicationEdge", "possibleTypes": null }, { "description": "A discount code that is applied to an order that is being edited.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is allocated to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The level at which the discount was applied.", "isDeprecated": false, "name": "appliedTo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationLevel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The string identifying the discount code that was used at the time of application.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of discount application. Indicates the reason why the discount was applied.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CalculatedDiscountApplication", "ofType": null } ], "kind": "OBJECT", "name": "CalculatedDiscountCodeApplication", "possibleTypes": null }, { "description": "The computed properties for a draft order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Order-level discount applied to the draft order.", "isDeprecated": false, "name": "appliedDiscount", "type": { "kind": "OBJECT", "name": "DraftOrderAppliedDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The available shipping rates for the draft order. Requires a customer with a valid shipping address and at least one line item.", "isDeprecated": false, "name": "availableShippingRates", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingRate", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the billing address matches the shipping address.", "isDeprecated": false, "name": "billingAddressMatchesShippingAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The currency of the store for this draft order.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Customer who will be sent an invoice for the draft order, if there is one.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Line items in the draft order with their computed properties.", "isDeprecated": false, "name": "lineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedDraftOrderLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A subtotal of the line items and corresponding discounts. The subtotal doesn't include shipping charges, shipping discounts, taxes, or order discounts.", "isDeprecated": false, "name": "lineItemsSubtotalPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the selected market.", "isDeprecated": false, "name": "marketName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The selected market region country code for the draft order.", "isDeprecated": false, "name": "marketRegionCountryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Phone number assigned to draft order.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment currency of the customer for this draft order.", "isDeprecated": false, "name": "presentmentCurrencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The purchasing entity for the draft order.", "isDeprecated": false, "name": "purchasingEntity", "type": { "kind": "UNION", "name": "PurchasingEntity", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Line item that contains the shipping costs.", "isDeprecated": false, "name": "shippingLine", "type": { "kind": "OBJECT", "name": "ShippingLine", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).\n", "isDeprecated": false, "name": "subtotalPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).", "isDeprecated": false, "name": "subtotalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total amount of taxes charged for each line item and shipping line.", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Total discounts for this draft order.", "isDeprecated": false, "name": "totalDiscountsSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total price of line items for this draft order.", "isDeprecated": false, "name": "totalLineItemsPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total amount of the draft order (includes taxes, shipping charges, and discounts).", "isDeprecated": false, "name": "totalPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total amount of the draft order(includes taxes, shipping charges, and discounts).", "isDeprecated": false, "name": "totalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total shipping charge for the draft order.", "isDeprecated": false, "name": "totalShippingPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total shipping charge for the draft order.", "isDeprecated": false, "name": "totalShippingPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total amount of taxes for the draft order.", "isDeprecated": false, "name": "totalTax", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total amount of taxes for the draft order.", "isDeprecated": false, "name": "totalTaxSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CalculatedDraftOrder", "possibleTypes": null }, { "description": "The computed line items for a draft order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The discount applied to the line item.", "isDeprecated": false, "name": "appliedDiscount", "type": { "kind": "OBJECT", "name": "DraftOrderAppliedDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the line item is a custom line item (`true`) or a product variant line item (`false`).", "isDeprecated": false, "name": "custom", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of attributes that represent custom features or special requests.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Additional information (metafields) about the line item with the associated types.", "isDeprecated": false, "name": "customAttributesV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TypedAttribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Total price with discounts applied.", "isDeprecated": false, "name": "discountedTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price with discounts applied.", "isDeprecated": false, "name": "discountedTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unit price with discounts applied.", "isDeprecated": false, "name": "discountedUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Unit price with discounts applied.", "isDeprecated": false, "name": "discountedUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the service provider who fulfilled the order.\n\nValid values are either **manual** or the name of the provider.\nFor example, **amazon**, **shipwire**.\n\nDeleted fulfillment services will return null.\n", "isDeprecated": false, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The image associated with the draft order line item.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the line item represents the purchase of a gift card.", "isDeprecated": false, "name": "isGiftCard", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the product.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price (without discounts) of the line item, based on the original unit price of the variant x quantity.\n", "isDeprecated": false, "name": "originalTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price (without discounts) of the line item, based on the original unit price of the variant x quantity.", "isDeprecated": false, "name": "originalTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant price without any discounts applied.", "isDeprecated": false, "name": "originalUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant price without any discounts applied.", "isDeprecated": false, "name": "originalUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product associated with the draft order line item.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of variant items requested in the draft order.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether physical shipping is required for the variant.", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The SKU number of the product variant.", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the variant is taxable.", "isDeprecated": false, "name": "taxable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the product or variant. This field only applies to custom line items.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total value of the discount.", "isDeprecated": false, "name": "totalDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total value of the discount.", "isDeprecated": false, "name": "totalDiscountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant associated with the draft order line item.", "isDeprecated": false, "name": "variant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the variant.", "isDeprecated": false, "name": "variantTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the vendor who created the product variant.", "isDeprecated": false, "name": "vendor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The weight unit and value for a draft order line item.", "isDeprecated": false, "name": "weight", "type": { "kind": "OBJECT", "name": "Weight", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CalculatedDraftOrderLineItem", "possibleTypes": null }, { "description": "A line item involved in order editing that may be newly added or have new changes applied.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The discounts that have been allocated onto the line item by discount applications.", "isDeprecated": false, "name": "calculatedDiscountAllocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedDiscountAllocation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of attributes that represent custom features or special requests.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `calculatedDiscountAllocations` instead.", "description": "The discounts that have been allocated onto the line item by discount applications.", "isDeprecated": true, "name": "discountAllocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAllocation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The price of a single quantity of the line item with line item discounts applied, in shop and presentment currencies. Discounts applied to the entire order aren't included in this price.", "isDeprecated": false, "name": "discountedUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total number of items that can be edited.", "isDeprecated": false, "name": "editableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The editable quantity prior to any changes made in the current edit.", "isDeprecated": false, "name": "editableQuantityBeforeChanges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price of editable lines in shop and presentment currencies.", "isDeprecated": false, "name": "editableSubtotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the calculated line item has a staged discount.", "isDeprecated": false, "name": "hasStagedLineItemDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image object associated to the line item's variant.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The variant unit price in shop and presentment currencies, without any discounts applied.", "isDeprecated": false, "name": "originalUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total number of items.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the line item can be restocked or not.", "isDeprecated": false, "name": "restockable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the changes on the line item will result in a restock.", "isDeprecated": false, "name": "restocking", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant SKU number.", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A list of changes that affect this line item.", "isDeprecated": false, "name": "stagedChanges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "OrderStagedChange", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The title of the product.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price of uneditable lines in shop and presentment currencies.", "isDeprecated": false, "name": "uneditableSubtotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product variant associated with this line item. The value is null for custom line items and items where\nthe variant has been deleted.\n", "isDeprecated": false, "name": "variant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the variant.", "isDeprecated": false, "name": "variantTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CalculatedLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CalculatedLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CalculatedLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CalculatedLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CalculatedLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CalculatedLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CalculatedLineItemEdge", "possibleTypes": null }, { "description": "Represents a discount that was manually created for an order that is being edited.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is allocated to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The level at which the discount was applied.", "isDeprecated": false, "name": "appliedTo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationLevel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of discount application. Indicates the reason why the discount was applied.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CalculatedDiscountApplication", "ofType": null } ], "kind": "OBJECT", "name": "CalculatedManualDiscountApplication", "possibleTypes": null }, { "description": "An order with edits applied but not saved.\n", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns only the new discount applications being added to the order in the current edit.\n", "isDeprecated": false, "name": "addedDiscountApplications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedDiscountApplicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns only the new line items being added to the order during the current edit.\n", "isDeprecated": false, "name": "addedLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedLineItemConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Amount of the order-level discount (does not contain any line item discounts) in shop and presentment currencies.", "isDeprecated": false, "name": "cartDiscountAmountSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the changes have been applied and saved to the order.", "isDeprecated": false, "name": "committed", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `editable`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Returns all items on the order that existed before starting the edit.\nWill include any changes that have been made.\nWill not include line items added during the current edit.\n", "isDeprecated": false, "name": "lineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CalculatedLineItemConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The HTML of the customer notification for the order edit.", "isDeprecated": false, "name": "notificationPreviewHtml", "type": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer notification title.", "isDeprecated": false, "name": "notificationPreviewTitle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "Use `originalOrder` instead.", "description": "The order without any changes applied.", "isDeprecated": true, "name": "order", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order without any changes applied.\n", "isDeprecated": false, "name": "originalOrder", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of changes made to the order during the current edit.\n", "isDeprecated": false, "name": "stagedChanges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderStagedChangeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of the quantities for the line items that contribute to the order's subtotal.", "isDeprecated": false, "name": "subtotalLineItemsQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subtotal of the line items, in shop and presentment currencies, after all the discounts are applied. The subtotal does not include shipping. The subtotal includes taxes for taxes-included orders and excludes taxes for taxes-excluded orders.", "isDeprecated": false, "name": "subtotalPriceSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Taxes charged for the line item.", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Total price of the order less the total amount received from the customer in shop and presentment currencies.", "isDeprecated": false, "name": "totalOutstandingSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total amount of the order (includes taxes and discounts) in shop and presentment currencies.", "isDeprecated": false, "name": "totalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CalculatedOrder", "possibleTypes": null }, { "description": "A discount created by a Shopify script for an order that is being edited.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is allocated to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The level at which the discount was applied.", "isDeprecated": false, "name": "appliedTo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationLevel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of discount application. Indicates the reason why the discount was applied.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CalculatedDiscountApplication", "ofType": null } ], "kind": "OBJECT", "name": "CalculatedScriptDiscountApplication", "possibleTypes": null }, { "description": "Card payment details related to a transaction.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The response code from the address verification system (AVS). The code is always a single letter.", "isDeprecated": false, "name": "avsResultCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number.", "isDeprecated": false, "name": "bin", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the company that issued the customer's credit card.", "isDeprecated": false, "name": "company", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string.", "isDeprecated": false, "name": "cvvResultCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The month in which the used credit card expires.", "isDeprecated": false, "name": "expirationMonth", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The year in which the used credit card expires.", "isDeprecated": false, "name": "expirationYear", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The holder of the credit card.", "isDeprecated": false, "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer's credit card number, with most of the leading digits redacted.", "isDeprecated": false, "name": "number", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Digital wallet used for the payment.", "isDeprecated": false, "name": "wallet", "type": { "kind": "ENUM", "name": "DigitalWallet", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CardPaymentDetails", "possibleTypes": null }, { "description": "A list of products with publishing and pricing information.\nA catalog can be associated with a specific context, such as a [`Market`](https://shopify.dev/api/admin-graphql/current/objects/market), [`CompanyLocation`](https://shopify.dev/api/admin-graphql/current/objects/companylocation), or [`App`](https://shopify.dev/api/admin-graphql/current/objects/app).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Most recent catalog operations.", "isDeprecated": false, "name": "operations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "ResourceOperation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The price list associated with the catalog.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A group of products and collections that's published to a catalog.", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of the catalog.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CatalogStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the catalog.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "INTERFACE", "name": "Catalog", "possibleTypes": [ { "kind": "OBJECT", "name": "AppCatalog", "ofType": null }, { "kind": "OBJECT", "name": "CompanyLocationCatalog", "ofType": null }, { "kind": "OBJECT", "name": "MarketCatalog", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple Catalogs.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CatalogEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CatalogEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Catalog", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total count of Catalogs.", "isDeprecated": false, "name": "totalCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CatalogConnection", "possibleTypes": null }, { "description": "The input fields for the context in which the catalog's publishing and pricing rules apply.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The IDs of the company locations to associate to the catalog.", "name": "companyLocationIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CatalogContextInput", "possibleTypes": null }, { "description": "Return type for `catalogContextUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated catalog.", "isDeprecated": false, "name": "catalog", "type": { "kind": "INTERFACE", "name": "Catalog", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CatalogUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CatalogContextUpdatePayload", "possibleTypes": null }, { "description": "The input fields required to create a catalog.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the catalog.", "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The status of the catalog.", "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CatalogStatus", "ofType": null } } }, { "defaultValue": null, "description": "The context associated with the catalog.", "name": "context", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CatalogContextInput", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the price list to associate to the catalog.", "name": "priceListId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the publication to associate to the catalog.", "name": "publicationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CatalogCreateInput", "possibleTypes": null }, { "description": "Return type for `catalogCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created catalog.", "isDeprecated": false, "name": "catalog", "type": { "kind": "INTERFACE", "name": "Catalog", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CatalogUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CatalogCreatePayload", "possibleTypes": null }, { "description": "A catalog csv operation represents a CSV file import.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The count of processed rows, summing imported, failed, and skipped rows.", "isDeprecated": false, "name": "processedRowCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Represents a rows objects within this background operation.", "isDeprecated": false, "name": "rowCount", "type": { "kind": "OBJECT", "name": "RowCount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of this operation.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ResourceOperationStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "ResourceOperation", "ofType": null } ], "kind": "OBJECT", "name": "CatalogCsvOperation", "possibleTypes": null }, { "description": "Return type for `catalogDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted catalog.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CatalogUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CatalogDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Catalog and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CatalogEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Catalog", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CatalogEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the Catalog query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CatalogSortKeys", "possibleTypes": null }, { "description": "The state of a catalog.\n", "enumValues": [ { "deprecationReason": null, "description": "The catalog is active.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "The catalog is archived.", "isDeprecated": false, "name": "ARCHIVED" }, { "deprecationReason": null, "description": "The catalog is in draft.", "isDeprecated": false, "name": "DRAFT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CatalogStatus", "possibleTypes": null }, { "description": "The associated catalog's type.\n", "enumValues": [ { "deprecationReason": null, "description": "Not associated to a catalog.", "isDeprecated": false, "name": "NONE" }, { "deprecationReason": null, "description": "Catalogs belonging to apps.", "isDeprecated": false, "name": "APP" }, { "deprecationReason": null, "description": "Catalogs belonging to company locations.", "isDeprecated": false, "name": "COMPANY_LOCATION" }, { "deprecationReason": null, "description": "Catalogs belonging to markets.", "isDeprecated": false, "name": "MARKET" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CatalogType", "possibleTypes": null }, { "description": "The input fields used to update a catalog.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the catalog.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The status of the catalog.", "name": "status", "type": { "kind": "ENUM", "name": "CatalogStatus", "ofType": null } }, { "defaultValue": null, "description": "The context associated with the catalog.", "name": "context", "type": { "kind": "INPUT_OBJECT", "name": "CatalogContextInput", "ofType": null } }, { "defaultValue": null, "description": "The ID of the price list to associate to the catalog.", "name": "priceListId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the publication to associate to the catalog.", "name": "publicationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CatalogUpdateInput", "possibleTypes": null }, { "description": "Return type for `catalogUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated catalog.", "isDeprecated": false, "name": "catalog", "type": { "kind": "INTERFACE", "name": "Catalog", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CatalogUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CatalogUpdatePayload", "possibleTypes": null }, { "description": "Defines errors encountered while managing a catalog.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CatalogUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CatalogUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CatalogUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An app catalog cannot be assigned to a price list.", "isDeprecated": false, "name": "APP_CATALOG_PRICE_LIST_ASSIGNMENT" }, { "deprecationReason": null, "description": "Catalog failed to save.", "isDeprecated": false, "name": "CATALOG_FAILED_TO_SAVE" }, { "deprecationReason": null, "description": "The catalog wasn't found.", "isDeprecated": false, "name": "CATALOG_NOT_FOUND" }, { "deprecationReason": null, "description": "A price list cannot be assigned to the primary market.", "isDeprecated": false, "name": "PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET" }, { "deprecationReason": null, "description": "The catalog can't be associated with more than one market.", "isDeprecated": false, "name": "CANNOT_ADD_MORE_THAN_ONE_MARKET" }, { "deprecationReason": null, "description": "A company location catalog outside of a supported plan can only have an archived status.", "isDeprecated": false, "name": "COMPANY_LOCATION_CATALOG_STATUS_PLAN" }, { "deprecationReason": null, "description": "Context driver already assigned to this catalog.", "isDeprecated": false, "name": "CONTEXT_ALREADY_ASSIGNED_TO_CATALOG" }, { "deprecationReason": null, "description": "Cannot save the catalog because the catalog limit for the context was reached.", "isDeprecated": false, "name": "CONTEXT_CATALOG_LIMIT_REACHED" }, { "deprecationReason": null, "description": "The company location could not be found.", "isDeprecated": false, "name": "COMPANY_LOCATION_NOT_FOUND" }, { "deprecationReason": null, "description": "The arguments `contextsToAdd` and `contextsToRemove` must match existing catalog context type.", "isDeprecated": false, "name": "CONTEXT_DRIVER_MISMATCH" }, { "deprecationReason": null, "description": "A country price list cannot be assigned to a catalog.", "isDeprecated": false, "name": "COUNTRY_PRICE_LIST_ASSIGNMENT" }, { "deprecationReason": null, "description": "The catalog context type is invalid.", "isDeprecated": false, "name": "INVALID_CATALOG_CONTEXT_TYPE" }, { "deprecationReason": null, "description": "A market catalog must have an active status.", "isDeprecated": false, "name": "MARKET_CATALOG_STATUS" }, { "deprecationReason": null, "description": "Market not found.", "isDeprecated": false, "name": "MARKET_NOT_FOUND" }, { "deprecationReason": null, "description": "The catalog's market and price list currencies do not match.", "isDeprecated": false, "name": "MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH" }, { "deprecationReason": null, "description": "Market already belongs to another catalog.", "isDeprecated": false, "name": "MARKET_TAKEN" }, { "deprecationReason": null, "description": "Must provide exactly one context type.", "isDeprecated": false, "name": "MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE" }, { "deprecationReason": null, "description": "Price list failed to save.", "isDeprecated": false, "name": "PRICE_LIST_FAILED_TO_SAVE" }, { "deprecationReason": null, "description": "Price list not found.", "isDeprecated": false, "name": "PRICE_LIST_NOT_FOUND" }, { "deprecationReason": null, "description": "The price list is currently being modified. Please try again later.", "isDeprecated": false, "name": "PRICE_LIST_LOCKED" }, { "deprecationReason": null, "description": "Publication not found.", "isDeprecated": false, "name": "PUBLICATION_NOT_FOUND" }, { "deprecationReason": null, "description": "Must have `contexts_to_add` or `contexts_to_remove` argument.", "isDeprecated": false, "name": "REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE" }, { "deprecationReason": null, "description": "Can't perform this action on a catalog of this type.", "isDeprecated": false, "name": "UNSUPPORTED_CATALOG_ACTION" }, { "deprecationReason": null, "description": "Cannot create a catalog for an app.", "isDeprecated": false, "name": "CANNOT_CREATE_APP_CATALOG" }, { "deprecationReason": null, "description": "Cannot modify a catalog for an app.", "isDeprecated": false, "name": "CANNOT_MODIFY_APP_CATALOG" }, { "deprecationReason": null, "description": "Cannot delete a catalog for an app.", "isDeprecated": false, "name": "CANNOT_DELETE_APP_CATALOG" }, { "deprecationReason": null, "description": "Cannot create a catalog for a market.", "isDeprecated": false, "name": "CANNOT_CREATE_MARKET_CATALOG" }, { "deprecationReason": null, "description": "Cannot modify a catalog for a market.", "isDeprecated": false, "name": "CANNOT_MODIFY_MARKET_CATALOG" }, { "deprecationReason": null, "description": "Cannot delete a catalog for a market.", "isDeprecated": false, "name": "CANNOT_DELETE_MARKET_CATALOG" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CatalogUserErrorCode", "possibleTypes": null }, { "description": "A channel represents an app where you sell a group of products and collections.\nA channel can be a platform or marketplace such as Facebook or Pinterest, an online store, or POS.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The underlying app used by the channel.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The collection publications for the list of collections published to the channel.", "isDeprecated": false, "name": "collectionPublicationsV3", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of collections published to the channel.", "isDeprecated": false, "name": "collections", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use `id` instead.", "description": "The unique identifier for the channel.", "isDeprecated": true, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The collection ID to check.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether the collection is available to the channel.", "isDeprecated": false, "name": "hasCollection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the channel.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "Use [AppInstallation.navigationItems](\n https://shopify.dev/api/admin-graphql/current/objects/AppInstallation#field-appinstallation-navigationitems) instead.", "description": "The menu items for the channel, which also appear as submenu items in the left navigation sidebar in the Shopify admin.\n", "isDeprecated": true, "name": "navigationItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "NavigationItem", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use [AppInstallation.launchUrl](\n https://shopify.dev/api/admin-graphql/current/objects/AppInstallation#field-appinstallation-launchurl) instead.", "description": "Home page for the channel.", "isDeprecated": true, "name": "overviewPath", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `productPublicationsV3` instead.", "description": "The product publications for the products published to the channel.", "isDeprecated": true, "name": "productPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The product publications for the list of products published to the channel.", "isDeprecated": false, "name": "productPublicationsV3", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of products published to the channel.", "isDeprecated": false, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the channel supports future publishing.", "isDeprecated": false, "name": "supportsFuturePublishing", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Channel", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Channels.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ChannelEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Channel", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ChannelConnection", "possibleTypes": null }, { "description": "A channel definition represents channels surfaces on the platform.\nA channel definition can be a platform or a subsegment of it such as Facebook Home, Instagram Live, Instagram Shops, or WhatsApp chat.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Name of the channel that this sub channel belongs to.", "isDeprecated": false, "name": "channelName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Unique string used as a public identifier for the channel definition.", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the channel definition.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the sub channel (e.g. Online Store, Instagram Shopping, TikTok Live).", "isDeprecated": false, "name": "subChannelName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Icon displayed when showing the channel in admin.", "isDeprecated": false, "name": "svgIcon", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ChannelDefinition", "possibleTypes": null }, { "description": "An auto-generated type which holds one Channel and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ChannelEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Channel", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ChannelEdge", "possibleTypes": null }, { "description": "Contains the information for a given sales channel.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The app associated with the channel.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The channel definition associated with the channel.", "isDeprecated": false, "name": "channelDefinition", "type": { "kind": "OBJECT", "name": "ChannelDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the channel.", "isDeprecated": false, "name": "channelId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ChannelInformation", "possibleTypes": null }, { "description": "A checkout profile defines the branding settings and the UI extensions for a store's checkout. A checkout profile could be published or draft. A store might have at most one published checkout profile, which is used to render their live checkout. The store could also have multiple draft profiles that were created, previewed, and published using the admin checkout editor.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the checkout profile was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the checkout profile was last edited.", "isDeprecated": false, "name": "editedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the checkout profile is published or not.", "isDeprecated": false, "name": "isPublished", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The profile name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the checkout profile was last updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CheckoutProfile", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CheckoutProfiles.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutProfileEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CheckoutProfileEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutProfile", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CheckoutProfileConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CheckoutProfile and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CheckoutProfileEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutProfile", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CheckoutProfileEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the CheckoutProfile query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `edited_at` value.", "isDeprecated": false, "name": "EDITED_AT" }, { "deprecationReason": null, "description": "Sort by the `is_published` value.", "isDeprecated": false, "name": "IS_PUBLISHED" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CheckoutProfileSortKeys", "possibleTypes": null }, { "description": "The set of valid sort keys for the CodeDiscount query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `starts_at` value.", "isDeprecated": false, "name": "STARTS_AT" }, { "deprecationReason": null, "description": "Sort by the `ends_at` value.", "isDeprecated": false, "name": "ENDS_AT" }, { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CodeDiscountSortKeys", "possibleTypes": null }, { "description": "Represents a group of products that can be displayed in online stores and other sales channels in categories, which makes it easy for customers to find them. For example, an athletics store might create different collections for running attire, shoes, and accessories.\n\nCollections can be defined by conditions, such as whether they match certain product tags. These are called smart or automated collections.\n\nCollections can also be created for a custom group of products. These are called custom or manual collections.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of publications a resource is published to without feedback errors.", "isDeprecated": false, "name": "availablePublicationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Truncates string after the given length.", "name": "truncateAt", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "A single-line, text-only description of the collection, stripped of any HTML tags and formatting that were included in the description.\n", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme.\n", "isDeprecated": false, "name": "descriptionHtml", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Information about the collection that's provided through resource feedback.", "isDeprecated": false, "name": "feedback", "type": { "kind": "OBJECT", "name": "ResourceFeedback", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title `Summer Catalog 2022` might have the handle `summer-catalog-2022`.\n\nIf the title is changed, the handle doesn't automatically change.\n\nThe handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes.\n", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the product to check.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether the collection includes the specified product.", "isDeprecated": false, "name": "hasProduct", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image associated with the collection.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "COLLECTION_DEFAULT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductCollectionSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The products that are included in the collection.", "isDeprecated": false, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of products in the collection.", "isDeprecated": false, "name": "productsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Include only the resource's publications that are published. If false, then return all the resource's publications including future publications.", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The number of publications a resource is published on.", "isDeprecated": false, "name": "publicationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Whether or not to return only the collection publications that are published.", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `resourcePublications` instead.", "description": "The channels where the collection is published.", "isDeprecated": true, "name": "publications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionPublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the channel to check.", "name": "channelId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `publishedOnPublication` instead.", "description": "Check to see whether the resource is published to a given channel.", "isDeprecated": true, "name": "publishedOnChannel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `publishedOnCurrentPublication` instead.", "description": "Check to see whether the resource is published to the calling app's channel.", "isDeprecated": true, "name": "publishedOnCurrentChannel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Check to see whether the resource is published to the calling app's publication.", "isDeprecated": false, "name": "publishedOnCurrentPublication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the publication to check.", "name": "publicationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Check to see whether the resource is published to a given publication.", "isDeprecated": false, "name": "publishedOnPublication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Whether to return only the resources that are currently published. If false, then also returns the resources that are scheduled to be published.\n", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of resources that are published to a publication.", "isDeprecated": false, "name": "resourcePublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Whether to return only the resources that are currently published. If false, then also returns the resources that are scheduled or staged to be published.\n", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Filter publications by catalog type.", "name": "catalogType", "type": { "kind": "ENUM", "name": "CatalogType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of resources that are either published or staged to be published to a publication.", "isDeprecated": false, "name": "resourcePublicationsV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationV2Connection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "For a smart (automated) collection, specifies the rules that determine whether a product is included.\n", "isDeprecated": false, "name": "ruleSet", "type": { "kind": "OBJECT", "name": "CollectionRuleSet", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "If the default SEO fields for page title and description have been modified, contains the modified information.\n", "isDeprecated": false, "name": "seo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SEO", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store.\n", "isDeprecated": false, "name": "sortOrder", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionSortOrder", "ofType": null } } }, { "args": [], "deprecationReason": "Use `id` instead.", "description": "The Storefront GraphQL API ID of the `Collection`.\n\nAs of the `2022-04` version release, the Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.\n", "isDeprecated": true, "name": "storefrontId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "StorefrontID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is `custom`, then the collection is using the `collection.custom.liquid` template. If the value is `null`, then the collection is using the default `collection.liquid` template.\n", "isDeprecated": false, "name": "templateSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store.\n", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `unpublishedPublications` instead.", "description": "The list of channels that the resource is not published to.", "isDeprecated": true, "name": "unpublishedChannels", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of publications that the resource is not published to.", "isDeprecated": false, "name": "unpublishedPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PublicationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the collection was last modified.\n", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "Publishable", "ofType": null } ], "kind": "OBJECT", "name": "Collection", "possibleTypes": null }, { "description": "Return type for `collectionAddProducts` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated collection. Returns `null` if an error is raised.", "isDeprecated": false, "name": "collection", "type": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionAddProductsPayload", "possibleTypes": null }, { "description": "Return type for `collectionAddProductsV2` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job adding the products.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionAddProductsV2UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionAddProductsV2Payload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `CollectionAddProductsV2`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CollectionAddProductsV2UserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CollectionAddProductsV2UserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CollectionAddProductsV2UserError`.", "enumValues": [ { "deprecationReason": null, "description": "Can't manually add products to a smart collection.", "isDeprecated": false, "name": "CANT_ADD_TO_SMART_COLLECTION" }, { "deprecationReason": null, "description": "Collection doesn't exist.", "isDeprecated": false, "name": "COLLECTION_DOES_NOT_EXIST" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CollectionAddProductsV2UserErrorCode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Collections.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CollectionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Collection", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionConnection", "possibleTypes": null }, { "description": "Return type for `collectionCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The collection that has been created.", "isDeprecated": false, "name": "collection", "type": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionCreatePayload", "possibleTypes": null }, { "description": "The input fields for specifying the collection to delete.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the collection to be deleted.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CollectionDeleteInput", "possibleTypes": null }, { "description": "Return type for `collectionDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the collection that was deleted. Returns `null` if the collection doesn't exist.", "isDeprecated": false, "name": "deletedCollectionId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shop associated with the collection.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Collection and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CollectionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Collection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionEdge", "possibleTypes": null }, { "description": "The input fields required to create a collection.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The description of the collection, in HTML format.", "name": "descriptionHtml", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A unique human-friendly string for the collection. Automatically generated from the collection's title.\n", "name": "handle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the collection to update or create a new collection if absent. Required for updating a collection.\n", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The image associated with the collection.", "name": "image", "type": { "kind": "INPUT_OBJECT", "name": "ImageInput", "ofType": null } }, { "defaultValue": null, "description": "Initial list of collection products. Only valid with `collectionCreate` and without rules.", "name": "products", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The rules used to assign products to the collection.\n", "name": "ruleSet", "type": { "kind": "INPUT_OBJECT", "name": "CollectionRuleSetInput", "ofType": null } }, { "defaultValue": null, "description": "The theme template used when viewing the collection in a store.", "name": "templateSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The order in which the collection's products are sorted.", "name": "sortOrder", "type": { "kind": "ENUM", "name": "CollectionSortOrder", "ofType": null } }, { "defaultValue": null, "description": "The title of the collection. Required for creating a new collection.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The metafields to associate with the collection.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "SEO information for the collection.", "name": "seo", "type": { "kind": "INPUT_OBJECT", "name": "SEOInput", "ofType": null } }, { "defaultValue": "false", "description": "Indicates whether a redirect is required after a new handle has been provided.\nIf true, then the old handle is redirected to the new one automatically.\n", "name": "redirectNewHandle", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CollectionInput", "possibleTypes": null }, { "description": "Represents the publications where a collection is published.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `publication` instead.", "description": "The channel where the collection will be published.", "isDeprecated": true, "name": "channel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Channel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The collection to be published on the publication.", "isDeprecated": false, "name": "collection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Collection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the publication is published or not.", "isDeprecated": false, "name": "isPublished", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The publication where the collection will be published.", "isDeprecated": false, "name": "publication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Publication", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date that the publication was or is going to be published.", "isDeprecated": false, "name": "publishDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionPublication", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CollectionPublications.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionPublicationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CollectionPublicationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionPublication", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionPublicationConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CollectionPublication and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CollectionPublicationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionPublication", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionPublicationEdge", "possibleTypes": null }, { "description": "The input fields for publications to which a collection will be published.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the publication.", "name": "publicationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CollectionPublicationInput", "possibleTypes": null }, { "description": "The input fields for specifying a collection to publish and the sales channels to publish it to.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The collection to create or update publications for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The channels where the collection will be published.", "name": "collectionPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CollectionPublicationInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CollectionPublishInput", "possibleTypes": null }, { "description": "Return type for `collectionPublish` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The published collection.", "isDeprecated": false, "name": "collection", "type": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The channels where the collection has been published.", "isDeprecated": false, "name": "collectionPublications", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionPublication", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The shop associated with the collection.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionPublishPayload", "possibleTypes": null }, { "description": "Return type for `collectionRemoveProducts` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job removing the products.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionRemoveProductsPayload", "possibleTypes": null }, { "description": "Return type for `collectionReorderProducts` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job reordering the products.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionReorderProductsPayload", "possibleTypes": null }, { "description": "Represents at rule that's used to assign products to a collection.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The attribute that the rule focuses on. For example, `title` or `product_type`.", "isDeprecated": false, "name": "column", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionRuleColumn", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value that the operator is applied to. For example, `Hats`.", "isDeprecated": false, "name": "condition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value that the operator is applied to.", "isDeprecated": false, "name": "conditionObject", "type": { "kind": "UNION", "name": "CollectionRuleConditionObject", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`.\n", "isDeprecated": false, "name": "relation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionRuleRelation", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionRule", "possibleTypes": null }, { "description": "Specifies the attribute of a product being used to populate the smart collection.", "enumValues": [ { "deprecationReason": null, "description": "The [`tag`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-producttype) attribute.", "isDeprecated": false, "name": "TAG" }, { "deprecationReason": null, "description": "The [`title`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-title) attribute.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "The [`type`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-producttype) attribute.", "isDeprecated": false, "name": "TYPE" }, { "deprecationReason": null, "description": "The [`product_taxonomy_node_id`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-productcategory) attribute.", "isDeprecated": false, "name": "PRODUCT_TAXONOMY_NODE_ID" }, { "deprecationReason": null, "description": "The [`vendor`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-vendor) attribute.", "isDeprecated": false, "name": "VENDOR" }, { "deprecationReason": null, "description": "The [`variant_price`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-price) attribute.", "isDeprecated": false, "name": "VARIANT_PRICE" }, { "deprecationReason": null, "description": "An attribute evaluated based on the `compare_at_price` attribute of the product's variants.\nWith `is_set` relation, the rule matches products with at least one variant with `compare_at_price` set.\nWith `is_not_set` relation, the rule matches matches products with at least one variant with `compare_at_price` not set.\n", "isDeprecated": false, "name": "IS_PRICE_REDUCED" }, { "deprecationReason": null, "description": "The [`variant_compare_at_price`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-compareatprice) attribute.", "isDeprecated": false, "name": "VARIANT_COMPARE_AT_PRICE" }, { "deprecationReason": null, "description": "The [`variant_weight`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-weight) attribute.", "isDeprecated": false, "name": "VARIANT_WEIGHT" }, { "deprecationReason": null, "description": "The [`variant_inventory`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-inventoryquantity) attribute.", "isDeprecated": false, "name": "VARIANT_INVENTORY" }, { "deprecationReason": null, "description": "The [`variant_title`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-title) attribute.", "isDeprecated": false, "name": "VARIANT_TITLE" }, { "deprecationReason": null, "description": "This category includes metafield definitions that have the `useAsCollectionCondition` flag set to true.\n", "isDeprecated": false, "name": "PRODUCT_METAFIELD_DEFINITION" }, { "deprecationReason": null, "description": "This category includes metafield definitions that have the `useAsCollectionCondition` flag set to true.\n", "isDeprecated": false, "name": "VARIANT_METAFIELD_DEFINITION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CollectionRuleColumn", "possibleTypes": null }, { "description": "Specifies object for the condition of the rule.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "CollectionRuleConditionObject", "possibleTypes": [ { "kind": "OBJECT", "name": "CollectionRuleMetafieldCondition", "ofType": null }, { "kind": "OBJECT", "name": "CollectionRuleProductCategoryCondition", "ofType": null }, { "kind": "OBJECT", "name": "CollectionRuleTextCondition", "ofType": null } ] }, { "description": "This object defines all columns and allowed relations that can be used in rules for smart collections to automatically include the matching products.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Allowed relations of the rule.", "isDeprecated": false, "name": "allowedRelations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionRuleRelation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Most commonly used relation for this rule.", "isDeprecated": false, "name": "defaultRelation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionRuleRelation", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Additional attributes defining the rule.", "isDeprecated": false, "name": "ruleObject", "type": { "kind": "UNION", "name": "CollectionRuleConditionsRuleObject", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Type of the rule.", "isDeprecated": false, "name": "ruleType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionRuleColumn", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionRuleConditions", "possibleTypes": null }, { "description": "Specifies object with additional rule attributes.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "CollectionRuleConditionsRuleObject", "possibleTypes": [ { "kind": "OBJECT", "name": "CollectionRuleMetafieldCondition", "ofType": null } ] }, { "description": "The input fields for a rule to associate with a collection.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The attribute that the rule focuses on. For example, `title` or `product_type`.", "name": "column", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionRuleColumn", "ofType": null } } }, { "defaultValue": null, "description": "The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`.\n", "name": "relation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionRuleRelation", "ofType": null } } }, { "defaultValue": null, "description": "The value that the operator is applied to. For example, `Hats`.", "name": "condition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The object ID that points to additional attributes for the collection rule.\nThis is only required when using metafield definition rules.\n", "name": "conditionObjectId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CollectionRuleInput", "possibleTypes": null }, { "description": "Identifies a metafield definition used as a rule for the smart collection.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The metafield definition associated with the condition.", "isDeprecated": false, "name": "metafieldDefinition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionRuleMetafieldCondition", "possibleTypes": null }, { "description": "Specifies the condition for a Product Category field.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The value of the condition.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductTaxonomyNode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionRuleProductCategoryCondition", "possibleTypes": null }, { "description": "Specifies the relationship between the `column` and the `condition`.", "enumValues": [ { "deprecationReason": null, "description": "The attribute contains the condition.", "isDeprecated": false, "name": "CONTAINS" }, { "deprecationReason": null, "description": "The attribute ends with the condition.", "isDeprecated": false, "name": "ENDS_WITH" }, { "deprecationReason": null, "description": "The attribute is equal to the condition.", "isDeprecated": false, "name": "EQUALS" }, { "deprecationReason": null, "description": "The attribute is greater than the condition.", "isDeprecated": false, "name": "GREATER_THAN" }, { "deprecationReason": null, "description": "The attribute is not set (equal to `null`).", "isDeprecated": false, "name": "IS_NOT_SET" }, { "deprecationReason": null, "description": "The attribute is set (not equal to `null`).", "isDeprecated": false, "name": "IS_SET" }, { "deprecationReason": null, "description": "The attribute is less than the condition.", "isDeprecated": false, "name": "LESS_THAN" }, { "deprecationReason": null, "description": "The attribute does not contain the condition.", "isDeprecated": false, "name": "NOT_CONTAINS" }, { "deprecationReason": null, "description": "The attribute does not equal the condition.", "isDeprecated": false, "name": "NOT_EQUALS" }, { "deprecationReason": null, "description": "The attribute starts with the condition.", "isDeprecated": false, "name": "STARTS_WITH" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CollectionRuleRelation", "possibleTypes": null }, { "description": "The set of rules that are used to determine which products are included in the collection.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether products must match any or all of the rules to be included in the collection.\nIf true, then products must match at least one of the rules to be included in the collection.\nIf false, then products must match all of the rules to be included in the collection.\n", "isDeprecated": false, "name": "appliedDisjunctively", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The rules used to assign products to the collection.", "isDeprecated": false, "name": "rules", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionRule", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionRuleSet", "possibleTypes": null }, { "description": "The input fields for a rule set of the collection.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Whether products must match any or all of the rules to be included in the collection.\nIf true, then products must match at least one of the rules to be included in the collection.\nIf false, then products must match all of the rules to be included in the collection.\n", "name": "appliedDisjunctively", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "defaultValue": null, "description": "The rules used to assign products to the collection.", "name": "rules", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CollectionRuleInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CollectionRuleSetInput", "possibleTypes": null }, { "description": "Specifies the condition for a text field.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The value of the condition.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionRuleTextCondition", "possibleTypes": null }, { "description": "The set of valid sort keys for the Collection query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CollectionSortKeys", "possibleTypes": null }, { "description": "Specifies the sort order for the products in the collection.", "enumValues": [ { "deprecationReason": null, "description": "Alphabetically, in ascending order (A - Z).", "isDeprecated": false, "name": "ALPHA_ASC" }, { "deprecationReason": null, "description": "Alphabetically, in descending order (Z - A).", "isDeprecated": false, "name": "ALPHA_DESC" }, { "deprecationReason": null, "description": "By best-selling products.", "isDeprecated": false, "name": "BEST_SELLING" }, { "deprecationReason": null, "description": "By date created, in ascending order (oldest - newest).", "isDeprecated": false, "name": "CREATED" }, { "deprecationReason": null, "description": "By date created, in descending order (newest - oldest).", "isDeprecated": false, "name": "CREATED_DESC" }, { "deprecationReason": null, "description": "In the order set manually by the merchant.", "isDeprecated": false, "name": "MANUAL" }, { "deprecationReason": null, "description": "By price, in ascending order (lowest - highest).", "isDeprecated": false, "name": "PRICE_ASC" }, { "deprecationReason": null, "description": "By price, in descending order (highest - lowest).", "isDeprecated": false, "name": "PRICE_DESC" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CollectionSortOrder", "possibleTypes": null }, { "description": "The input fields for specifying the collection to unpublish and the sales channels to remove it from.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The collection to create or update publications for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The channels where the collection is published.", "name": "collectionPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CollectionPublicationInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CollectionUnpublishInput", "possibleTypes": null }, { "description": "Return type for `collectionUnpublish` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The collection that has been unpublished.", "isDeprecated": false, "name": "collection", "type": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shop associated with the collection.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionUnpublishPayload", "possibleTypes": null }, { "description": "Return type for `collectionUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated collection.", "isDeprecated": false, "name": "collection", "type": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The asynchronous job updating the products based on the new rule set.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CollectionUpdatePayload", "possibleTypes": null }, { "description": "Comment events are generated by staff members of a shop.\nThey are created when a staff member adds a comment to the timeline of an order, draft order, customer, or transfer.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the app that created the event.", "isDeprecated": false, "name": "appTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The attachments associated with the comment event.", "isDeprecated": false, "name": "attachments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CommentEventAttachment", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the event was created by an app.", "isDeprecated": false, "name": "attributeToApp", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the event was caused by an admin user.", "isDeprecated": false, "name": "attributeToUser", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the user that authored the comment event.", "isDeprecated": false, "name": "author", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the comment event can be deleted. If true, then the comment event can be deleted.", "isDeprecated": false, "name": "canDelete", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the comment event can be edited. If true, then the comment event can be edited.", "isDeprecated": false, "name": "canEdit", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the event was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the event is critical.", "isDeprecated": false, "name": "criticalAlert", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the comment event has been edited. If true, then the comment event has been edited.", "isDeprecated": false, "name": "edited", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The object reference associated with the comment event. For example, a product or discount).", "isDeprecated": false, "name": "embed", "type": { "kind": "UNION", "name": "CommentEventEmbed", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Human readable text that describes the event.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "FormattedString", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The raw body of the comment event.", "isDeprecated": false, "name": "rawMessage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The parent subject to which the comment event belongs.", "isDeprecated": false, "name": "subject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "CommentEventSubject", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Event", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CommentEvent", "possibleTypes": null }, { "description": "A file attachment associated to a comment event.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The file extension of the comment event attachment, indicating the file format.", "isDeprecated": false, "name": "fileExtension", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image attached to the comment event.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The filename of the comment event attachment.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The size of the attachment.", "isDeprecated": false, "name": "size", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL of the attachment.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CommentEventAttachment", "possibleTypes": null }, { "description": "The main embed of a comment event.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "CommentEventEmbed", "possibleTypes": [ { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } ] }, { "description": "The subject line of a comment event.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the timeline subject has a timeline comment. If true, then a timeline comment exists.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "CommentEventSubject", "possibleTypes": [ { "kind": "OBJECT", "name": "Company", "ofType": null }, { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null }, { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "PriceRule", "ofType": null } ] }, { "description": "Return type for `companiesDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of IDs of the deleted companies.", "isDeprecated": false, "name": "deletedCompanyIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompaniesDeletePayload", "possibleTypes": null }, { "description": "Represents information about a company which is also a customer of the shop.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of contacts that belong to the company.", "isDeprecated": false, "name": "contactCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CompanyContactRoleSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The list of roles for the company contacts.", "isDeprecated": false, "name": "contactRoles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CompanyContactSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `email`\n - `location_name`\n - `name`\n - `role_name`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of contacts in the company.", "isDeprecated": false, "name": "contacts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company was created in Shopify.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company became the customer.", "isDeprecated": false, "name": "customerSince", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The role proposed by default for a contact at the company.", "isDeprecated": false, "name": "defaultRole", "type": { "kind": "OBJECT", "name": "CompanyContactRole", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DraftOrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `customer_id`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of the company's draft orders.", "isDeprecated": false, "name": "draftOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of events associated with the host subject.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A unique externally-supplied ID for the company.", "isDeprecated": false, "name": "externalId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the merchant added a timeline comment to the company.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The lifetime duration of the company, since it became a customer of the shop. Examples: `2 days`, `3 months`, `1 year`.", "isDeprecated": false, "name": "lifetimeDuration", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of locations that belong to the company.", "isDeprecated": false, "name": "locationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CompanyLocationSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `company_id`\n - `created_at`\n - `external_id`\n - `ids`\n - `name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of locations in the company.", "isDeprecated": false, "name": "locations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyLocationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The main contact for the company.", "isDeprecated": false, "name": "mainContact", "type": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the company.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A note about the company.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of orders placed for this company, across all its locations.", "isDeprecated": false, "name": "orderCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "OrderSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The list of the company's orders.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount spent by this company, across all its locations.", "isDeprecated": false, "name": "totalSpent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company was last modified.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CommentEventSubject", "ofType": null }, { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Navigable", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Company", "possibleTypes": null }, { "description": "Represents a billing or shipping address for a company location.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address. Typically the street address or PO Box number.", "isDeprecated": false, "name": "address1", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The second line of the address. Typically the number of the apartment, suite, or unit.", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the city, district, village, or town.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the company.", "isDeprecated": false, "name": "companyName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the country.", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the country of the address.\nFor example, US.\n", "isDeprecated": false, "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company address was created.\n", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [ { "defaultValue": "false", "description": "Whether to include the recipient's name in the formatted address.", "name": "withName", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "true", "description": "Whether to include the company name in the formatted address.", "name": "withCompanyName", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The formatted version of the address.", "isDeprecated": false, "name": "formattedAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A comma-separated list of the values for city, province, and country.", "isDeprecated": false, "name": "formattedArea", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A unique phone number for the customer.\nFormatted using E.164 standard. For example, _+16135551111_.\n", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The region of the address, such as the province, state, or district.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The identity of the recipient e.g. 'Receiving Department'.", "isDeprecated": false, "name": "recipient", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company address was last updated.\n", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The zip or postal code of the address.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the region.\nFor example, ON.\n", "isDeprecated": false, "name": "zoneCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CompanyAddress", "possibleTypes": null }, { "description": "Return type for `companyAddressDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted address.", "isDeprecated": false, "name": "deletedAddressId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyAddressDeletePayload", "possibleTypes": null }, { "description": "The input fields to create or update the address of a company location.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The first line of the address. Typically the street address or PO Box number.", "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The second line of the address. Typically the number of the apartment, suite, or unit.", "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The name of the city, district, village, or town.", "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The zip or postal code of the address.", "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The identity of the recipient e.g. 'Receiving Department'.", "name": "recipient", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A phone number for the recipient. Formatted using E.164 standard. For example, _+16135551111_.", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The two-letter code ([ISO 3166-2 alpha-2]](https://en.wikipedia.org/wiki/ISO_3166-2) format) for the region of the address, such as the province, state, or district. For example, `ON` for Ontario, Canada.", "name": "zoneCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The two-letter code ([ISO 3166-1 alpha-2]](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format) for the country of the address. For example, `US`` for the United States.", "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CompanyAddressInput", "possibleTypes": null }, { "description": "The valid values for the address type of a company.", "enumValues": [ { "deprecationReason": null, "description": "The address is a billing address.", "isDeprecated": false, "name": "BILLING" }, { "deprecationReason": null, "description": "The address is a shipping address.", "isDeprecated": false, "name": "SHIPPING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CompanyAddressType", "possibleTypes": null }, { "description": "Return type for `companyAssignCustomerAsContact` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created company contact.", "isDeprecated": false, "name": "companyContact", "type": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyAssignCustomerAsContactPayload", "possibleTypes": null }, { "description": "Return type for `companyAssignMainContact` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The company for which the main contact is assigned.", "isDeprecated": false, "name": "company", "type": { "kind": "OBJECT", "name": "Company", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyAssignMainContactPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Companies.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CompanyEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Company", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyConnection", "possibleTypes": null }, { "description": "A person that acts on behalf of company associated to [a customer](https://shopify.dev/api/admin-graphql/latest/objects/customer).", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The company to which the contact belongs.", "isDeprecated": false, "name": "company", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Company", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was created at Shopify.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer associated to this contact.", "isDeprecated": false, "name": "customer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Customer", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DraftOrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `customer_id`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of draft orders for the company contact.", "isDeprecated": false, "name": "draftOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the contact is the main contact of the company.", "isDeprecated": false, "name": "isMainContact", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The lifetime duration of the company contact, since its creation date on Shopify. Examples: `1 year`, `2 months`, `3 days`.", "isDeprecated": false, "name": "lifetimeDuration", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The company contact's locale (language).", "isDeprecated": false, "name": "locale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "OrderSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The list of orders for the company contact.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CompanyContactRoleAssignmentSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_contact_role_id`\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `location_name`\n - `role_name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of roles assigned to this company contact.", "isDeprecated": false, "name": "roleAssignments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleAssignmentConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The company contact's job title.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was last updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CompanyContact", "possibleTypes": null }, { "description": "Return type for `companyContactAssignRole` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The company contact role assignment.", "isDeprecated": false, "name": "companyContactRoleAssignment", "type": { "kind": "OBJECT", "name": "CompanyContactRoleAssignment", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactAssignRolePayload", "possibleTypes": null }, { "description": "Return type for `companyContactAssignRoles` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of newly created assignments of company contacts to a company location.", "isDeprecated": false, "name": "roleAssignments", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleAssignment", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactAssignRolesPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CompanyContacts.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CompanyContactEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactConnection", "possibleTypes": null }, { "description": "Return type for `companyContactCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created company contact.", "isDeprecated": false, "name": "companyContact", "type": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactCreatePayload", "possibleTypes": null }, { "description": "Return type for `companyContactDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted company contact.", "isDeprecated": false, "name": "deletedCompanyContactId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one CompanyContact and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CompanyContactEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactEdge", "possibleTypes": null }, { "description": "The input fields for company contact attributes when creating or updating a company contact.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The company contact's first name.", "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The company contact's last name.", "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The unique email address of the company contact.", "name": "email", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The title of the company contact.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The contact's locale.", "name": "locale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The phone number of the company contact.", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CompanyContactInput", "possibleTypes": null }, { "description": "Return type for `companyContactRevokeRole` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The role assignment that was revoked.", "isDeprecated": false, "name": "revokedCompanyContactRoleAssignmentId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactRevokeRolePayload", "possibleTypes": null }, { "description": "Return type for `companyContactRevokeRoles` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of role assignment IDs that were removed from the company contact.", "isDeprecated": false, "name": "revokedRoleAssignmentIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactRevokeRolesPayload", "possibleTypes": null }, { "description": "The role for a [company contact](https://shopify.dev/api/admin-graphql/latest/objects/companycontact).", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of a role.\nFor example, `admin` or `buyer`.\n", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A note for the role.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CompanyContactRole", "possibleTypes": null }, { "description": "The input fields for the role and location to assign to a company contact.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The role ID.", "name": "companyContactRoleId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The location.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CompanyContactRoleAssign", "possibleTypes": null }, { "description": "The CompanyContactRoleAssignment describes the company and location associated to a company contact's role.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The company this role assignment belongs to.", "isDeprecated": false, "name": "company", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Company", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The company contact for whom this role is assigned.", "isDeprecated": false, "name": "companyContact", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The company location to which the role is assigned.", "isDeprecated": false, "name": "companyLocation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the assignment record was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The role that is assigned to the company contact.", "isDeprecated": false, "name": "role", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRole", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the assignment record was last updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CompanyContactRoleAssignment", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CompanyContactRoleAssignments.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleAssignmentEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CompanyContactRoleAssignmentEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleAssignment", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactRoleAssignmentConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CompanyContactRoleAssignment and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CompanyContactRoleAssignmentEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleAssignment", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactRoleAssignmentEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the CompanyContactRoleAssignment query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `location_name` value.", "isDeprecated": false, "name": "LOCATION_NAME" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CompanyContactRoleAssignmentSortKeys", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CompanyContactRoles.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CompanyContactRoleEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRole", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactRoleConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CompanyContactRole and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CompanyContactRoleEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRole", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactRoleEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the CompanyContactRole query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CompanyContactRoleSortKeys", "possibleTypes": null }, { "description": "The set of valid sort keys for the CompanyContact query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `company_id` value.", "isDeprecated": false, "name": "COMPANY_ID" }, { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `email` value.", "isDeprecated": false, "name": "EMAIL" }, { "deprecationReason": null, "description": "Sort by the `name_email` value.", "isDeprecated": false, "name": "NAME_EMAIL" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CompanyContactSortKeys", "possibleTypes": null }, { "description": "Return type for `companyContactUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated company contact.", "isDeprecated": false, "name": "companyContact", "type": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactUpdatePayload", "possibleTypes": null }, { "description": "Return type for `companyContactsDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of IDs of the deleted company contacts.", "isDeprecated": false, "name": "deletedCompanyContactIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyContactsDeletePayload", "possibleTypes": null }, { "description": "The input fields and values for creating a company and its associated resources.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The attributes for the company.", "name": "company", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyInput", "ofType": null } } }, { "defaultValue": null, "description": "The attributes for the company contact.", "name": "companyContact", "type": { "kind": "INPUT_OBJECT", "name": "CompanyContactInput", "ofType": null } }, { "defaultValue": null, "description": "The attributes for the company location.", "name": "companyLocation", "type": { "kind": "INPUT_OBJECT", "name": "CompanyLocationInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CompanyCreateInput", "possibleTypes": null }, { "description": "Return type for `companyCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created company.", "isDeprecated": false, "name": "company", "type": { "kind": "OBJECT", "name": "Company", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyCreatePayload", "possibleTypes": null }, { "description": "Return type for `companyDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted company.", "isDeprecated": false, "name": "deletedCompanyId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Company and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CompanyEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Company", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyEdge", "possibleTypes": null }, { "description": "The input fields for company attributes when creating or updating a company.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the company.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A note about the company.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A unique externally-supplied ID for the company.", "name": "externalId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at\n which the company became the customer.", "name": "customerSince", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CompanyInput", "possibleTypes": null }, { "description": "A location or branch of a [company that's a customer](https://shopify.dev/api/admin-graphql/latest/objects/company) of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The address used as billing address for the location.", "isDeprecated": false, "name": "billingAddress", "type": { "kind": "OBJECT", "name": "CompanyAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The configuration for the buyer's B2B checkout.", "isDeprecated": false, "name": "buyerExperienceConfiguration", "type": { "kind": "OBJECT", "name": "BuyerExperienceConfiguration", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of catalogs associated with the company location.", "isDeprecated": false, "name": "catalogs", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CatalogConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The company that the company location belongs to.", "isDeprecated": false, "name": "company", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Company", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company location was created in Shopify.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market.", "isDeprecated": false, "name": "currency", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DraftOrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `customer_id`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of draft orders for the company location.", "isDeprecated": false, "name": "draftOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of events associated with the host subject.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A unique externally-supplied ID for the company location.", "isDeprecated": false, "name": "externalId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the merchant added a timeline comment to the company location.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the catalog.", "name": "catalogId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether the company location is assigned a specific catalog.", "isDeprecated": false, "name": "inCatalog", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The preferred locale of the company location.", "isDeprecated": false, "name": "locale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The market that includes the location's shipping address. If the shipping address is empty, then the value is the shop's primary market.", "isDeprecated": false, "name": "market", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Market", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the company location.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A note about the company location.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of orders placed for the location.", "isDeprecated": false, "name": "orderCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "OrderSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The list of orders for the company location.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The phone number of the company location.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CompanyContactRoleAssignmentSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_contact_role_id`\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `location_name`\n - `role_name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of roles assigned to the company location.", "isDeprecated": false, "name": "roleAssignments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleAssignmentConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The address used as shipping address for the location.", "isDeprecated": false, "name": "shippingAddress", "type": { "kind": "OBJECT", "name": "CompanyAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of tax exemptions applied to the location.", "isDeprecated": false, "name": "taxExemptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The tax registration ID for the company location.", "isDeprecated": false, "name": "taxRegistrationId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total amount spent by the location.", "isDeprecated": false, "name": "totalSpent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company location was last modified.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CommentEventSubject", "ofType": null }, { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Navigable", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CompanyLocation", "possibleTypes": null }, { "description": "Return type for `companyLocationAssignAddress` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of updated addresses on the company location.", "isDeprecated": false, "name": "addresses", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyAddress", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationAssignAddressPayload", "possibleTypes": null }, { "description": "Return type for `companyLocationAssignRoles` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of newly created assignments of company contacts to a company location.", "isDeprecated": false, "name": "roleAssignments", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContactRoleAssignment", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationAssignRolesPayload", "possibleTypes": null }, { "description": "Return type for `companyLocationAssignTaxExemptions` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated company location.", "isDeprecated": false, "name": "companyLocation", "type": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationAssignTaxExemptionsPayload", "possibleTypes": null }, { "description": "A list of products with publishing and pricing information associated with company locations.\n", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CompanyLocationSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `company_id`\n - `created_at`\n - `external_id`\n - `ids`\n - `name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The company locations associated with the catalog.", "isDeprecated": false, "name": "companyLocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyLocationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of company locations associated with the catalog.", "isDeprecated": false, "name": "companyLocationsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Most recent catalog operations.", "isDeprecated": false, "name": "operations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "ResourceOperation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The price list associated with the catalog.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A group of products and collections that's published to a catalog.", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of the catalog.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CatalogStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the catalog.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Catalog", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CompanyLocationCatalog", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CompanyLocations.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyLocationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CompanyLocationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationConnection", "possibleTypes": null }, { "description": "Return type for `companyLocationCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created company location.", "isDeprecated": false, "name": "companyLocation", "type": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationCreatePayload", "possibleTypes": null }, { "description": "Return type for `companyLocationCreateTaxRegistration` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The company location with the created tax registration.", "isDeprecated": false, "name": "companyLocation", "type": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationCreateTaxRegistrationPayload", "possibleTypes": null }, { "description": "Return type for `companyLocationDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted company location.", "isDeprecated": false, "name": "deletedCompanyLocationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one CompanyLocation and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CompanyLocationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationEdge", "possibleTypes": null }, { "description": "The input fields for company location when creating or updating a company location.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the company location.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The phone number of the company location.", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The preferred locale of the company location.", "name": "locale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A unique externally-supplied ID for the company location.", "name": "externalId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A note about the company location.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The configuration for the buyer's checkout at the company location.", "name": "buyerExperienceConfiguration", "type": { "kind": "INPUT_OBJECT", "name": "BuyerExperienceConfigurationInput", "ofType": null } }, { "defaultValue": null, "description": "The input fields to create or update the billing address for a company location.", "name": "billingAddress", "type": { "kind": "INPUT_OBJECT", "name": "CompanyAddressInput", "ofType": null } }, { "defaultValue": null, "description": "The input fields to create or update the shipping address for a company location.", "name": "shippingAddress", "type": { "kind": "INPUT_OBJECT", "name": "CompanyAddressInput", "ofType": null } }, { "defaultValue": null, "description": "Whether the billing address is the same as the shipping address. If the value is true, then the input for `billingAddress` is ignored.", "name": "billingSameAsShipping", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The tax registration ID of the company location.", "name": "taxRegistrationId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The list of tax exemptions to apply to the company location.", "name": "taxExemptions", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CompanyLocationInput", "possibleTypes": null }, { "description": "Return type for `companyLocationRevokeRoles` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of role assignment IDs that were removed from the company location.", "isDeprecated": false, "name": "revokedRoleAssignmentIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationRevokeRolesPayload", "possibleTypes": null }, { "description": "Return type for `companyLocationRevokeTaxExemptions` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated company location.", "isDeprecated": false, "name": "companyLocation", "type": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationRevokeTaxExemptionsPayload", "possibleTypes": null }, { "description": "Return type for `companyLocationRevokeTaxRegistration` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated company location.", "isDeprecated": false, "name": "companyLocation", "type": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationRevokeTaxRegistrationPayload", "possibleTypes": null }, { "description": "The input fields for the role and contact to assign on a location.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The role ID.", "name": "companyContactRoleId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The company contact ID..", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CompanyLocationRoleAssign", "possibleTypes": null }, { "description": "The set of valid sort keys for the CompanyLocation query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `company_id` value.", "isDeprecated": false, "name": "COMPANY_ID" }, { "deprecationReason": null, "description": "Sort by the `company_and_location_name` value.", "isDeprecated": false, "name": "COMPANY_AND_LOCATION_NAME" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CompanyLocationSortKeys", "possibleTypes": null }, { "description": "The input fields for company location when creating or updating a company location.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the company location.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The phone number of the company location.", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The preferred locale of the company location.", "name": "locale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A unique externally-supplied ID for the company location.", "name": "externalId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A note about the company location.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The configuration for the buyer's checkout at the company location.", "name": "buyerExperienceConfiguration", "type": { "kind": "INPUT_OBJECT", "name": "BuyerExperienceConfigurationInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CompanyLocationUpdateInput", "possibleTypes": null }, { "description": "Return type for `companyLocationUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated company location.", "isDeprecated": false, "name": "companyLocation", "type": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationUpdatePayload", "possibleTypes": null }, { "description": "Return type for `companyLocationsDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of IDs of the deleted company locations.", "isDeprecated": false, "name": "deletedCompanyLocationIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyLocationsDeletePayload", "possibleTypes": null }, { "description": "Return type for `companyRevokeMainContact` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The company from which the main contact is revoked.", "isDeprecated": false, "name": "company", "type": { "kind": "OBJECT", "name": "Company", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyRevokeMainContactPayload", "possibleTypes": null }, { "description": "The set of valid sort keys for the Company query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `since_date` value.", "isDeprecated": false, "name": "SINCE_DATE" }, { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `order_count` value.", "isDeprecated": false, "name": "ORDER_COUNT" }, { "deprecationReason": null, "description": "Sort by the `total_spent` value.", "isDeprecated": false, "name": "TOTAL_SPENT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CompanySortKeys", "possibleTypes": null }, { "description": "Return type for `companyUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated company.", "isDeprecated": false, "name": "company", "type": { "kind": "OBJECT", "name": "Company", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CompanyUpdatePayload", "possibleTypes": null }, { "description": "The input fields for the context data that determines the pricing of a variant.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The country code used to fetch country-specific prices.", "name": "country", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "defaultValue": null, "description": "The CompanyLocation ID used to fetch company location specific prices.\n", "name": "companyLocationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ContextualPricingContext", "possibleTypes": null }, { "description": "The context data that determines the publication status of a product.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The country code used to fetch country-specific publication.", "name": "country", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "defaultValue": null, "description": "The company location ID used to fetch company-specific publication.", "name": "companyLocationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ContextualPublicationContext", "possibleTypes": null }, { "description": "The list of all the countries from the combined shipping zones for the shop.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of all the countries from all the combined shipping zones.", "isDeprecated": false, "name": "countryCodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether 'Rest of World' has been defined in any of the shipping zones.", "isDeprecated": false, "name": "includeRestOfWorld", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CountriesInShippingZones", "possibleTypes": null }, { "description": "The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.\nIf a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision\nof another country. For example, the territories associated with Spain are represented by the country code `ES`,\nand the territories associated with the United States of America are represented by the country code `US`.\n", "enumValues": [ { "deprecationReason": null, "description": "Afghanistan.", "isDeprecated": false, "name": "AF" }, { "deprecationReason": null, "description": "Åland Islands.", "isDeprecated": false, "name": "AX" }, { "deprecationReason": null, "description": "Albania.", "isDeprecated": false, "name": "AL" }, { "deprecationReason": null, "description": "Algeria.", "isDeprecated": false, "name": "DZ" }, { "deprecationReason": null, "description": "Andorra.", "isDeprecated": false, "name": "AD" }, { "deprecationReason": null, "description": "Angola.", "isDeprecated": false, "name": "AO" }, { "deprecationReason": null, "description": "Anguilla.", "isDeprecated": false, "name": "AI" }, { "deprecationReason": null, "description": "Antigua & Barbuda.", "isDeprecated": false, "name": "AG" }, { "deprecationReason": null, "description": "Argentina.", "isDeprecated": false, "name": "AR" }, { "deprecationReason": null, "description": "Armenia.", "isDeprecated": false, "name": "AM" }, { "deprecationReason": null, "description": "Aruba.", "isDeprecated": false, "name": "AW" }, { "deprecationReason": null, "description": "Ascension Island.", "isDeprecated": false, "name": "AC" }, { "deprecationReason": null, "description": "Australia.", "isDeprecated": false, "name": "AU" }, { "deprecationReason": null, "description": "Austria.", "isDeprecated": false, "name": "AT" }, { "deprecationReason": null, "description": "Azerbaijan.", "isDeprecated": false, "name": "AZ" }, { "deprecationReason": null, "description": "Bahamas.", "isDeprecated": false, "name": "BS" }, { "deprecationReason": null, "description": "Bahrain.", "isDeprecated": false, "name": "BH" }, { "deprecationReason": null, "description": "Bangladesh.", "isDeprecated": false, "name": "BD" }, { "deprecationReason": null, "description": "Barbados.", "isDeprecated": false, "name": "BB" }, { "deprecationReason": null, "description": "Belarus.", "isDeprecated": false, "name": "BY" }, { "deprecationReason": null, "description": "Belgium.", "isDeprecated": false, "name": "BE" }, { "deprecationReason": null, "description": "Belize.", "isDeprecated": false, "name": "BZ" }, { "deprecationReason": null, "description": "Benin.", "isDeprecated": false, "name": "BJ" }, { "deprecationReason": null, "description": "Bermuda.", "isDeprecated": false, "name": "BM" }, { "deprecationReason": null, "description": "Bhutan.", "isDeprecated": false, "name": "BT" }, { "deprecationReason": null, "description": "Bolivia.", "isDeprecated": false, "name": "BO" }, { "deprecationReason": null, "description": "Bosnia & Herzegovina.", "isDeprecated": false, "name": "BA" }, { "deprecationReason": null, "description": "Botswana.", "isDeprecated": false, "name": "BW" }, { "deprecationReason": null, "description": "Bouvet Island.", "isDeprecated": false, "name": "BV" }, { "deprecationReason": null, "description": "Brazil.", "isDeprecated": false, "name": "BR" }, { "deprecationReason": null, "description": "British Indian Ocean Territory.", "isDeprecated": false, "name": "IO" }, { "deprecationReason": null, "description": "Brunei.", "isDeprecated": false, "name": "BN" }, { "deprecationReason": null, "description": "Bulgaria.", "isDeprecated": false, "name": "BG" }, { "deprecationReason": null, "description": "Burkina Faso.", "isDeprecated": false, "name": "BF" }, { "deprecationReason": null, "description": "Burundi.", "isDeprecated": false, "name": "BI" }, { "deprecationReason": null, "description": "Cambodia.", "isDeprecated": false, "name": "KH" }, { "deprecationReason": null, "description": "Canada.", "isDeprecated": false, "name": "CA" }, { "deprecationReason": null, "description": "Cape Verde.", "isDeprecated": false, "name": "CV" }, { "deprecationReason": null, "description": "Caribbean Netherlands.", "isDeprecated": false, "name": "BQ" }, { "deprecationReason": null, "description": "Cayman Islands.", "isDeprecated": false, "name": "KY" }, { "deprecationReason": null, "description": "Central African Republic.", "isDeprecated": false, "name": "CF" }, { "deprecationReason": null, "description": "Chad.", "isDeprecated": false, "name": "TD" }, { "deprecationReason": null, "description": "Chile.", "isDeprecated": false, "name": "CL" }, { "deprecationReason": null, "description": "China.", "isDeprecated": false, "name": "CN" }, { "deprecationReason": null, "description": "Christmas Island.", "isDeprecated": false, "name": "CX" }, { "deprecationReason": null, "description": "Cocos (Keeling) Islands.", "isDeprecated": false, "name": "CC" }, { "deprecationReason": null, "description": "Colombia.", "isDeprecated": false, "name": "CO" }, { "deprecationReason": null, "description": "Comoros.", "isDeprecated": false, "name": "KM" }, { "deprecationReason": null, "description": "Congo - Brazzaville.", "isDeprecated": false, "name": "CG" }, { "deprecationReason": null, "description": "Congo - Kinshasa.", "isDeprecated": false, "name": "CD" }, { "deprecationReason": null, "description": "Cook Islands.", "isDeprecated": false, "name": "CK" }, { "deprecationReason": null, "description": "Costa Rica.", "isDeprecated": false, "name": "CR" }, { "deprecationReason": null, "description": "Croatia.", "isDeprecated": false, "name": "HR" }, { "deprecationReason": null, "description": "Cuba.", "isDeprecated": false, "name": "CU" }, { "deprecationReason": null, "description": "Curaçao.", "isDeprecated": false, "name": "CW" }, { "deprecationReason": null, "description": "Cyprus.", "isDeprecated": false, "name": "CY" }, { "deprecationReason": null, "description": "Czechia.", "isDeprecated": false, "name": "CZ" }, { "deprecationReason": null, "description": "Côte d’Ivoire.", "isDeprecated": false, "name": "CI" }, { "deprecationReason": null, "description": "Denmark.", "isDeprecated": false, "name": "DK" }, { "deprecationReason": null, "description": "Djibouti.", "isDeprecated": false, "name": "DJ" }, { "deprecationReason": null, "description": "Dominica.", "isDeprecated": false, "name": "DM" }, { "deprecationReason": null, "description": "Dominican Republic.", "isDeprecated": false, "name": "DO" }, { "deprecationReason": null, "description": "Ecuador.", "isDeprecated": false, "name": "EC" }, { "deprecationReason": null, "description": "Egypt.", "isDeprecated": false, "name": "EG" }, { "deprecationReason": null, "description": "El Salvador.", "isDeprecated": false, "name": "SV" }, { "deprecationReason": null, "description": "Equatorial Guinea.", "isDeprecated": false, "name": "GQ" }, { "deprecationReason": null, "description": "Eritrea.", "isDeprecated": false, "name": "ER" }, { "deprecationReason": null, "description": "Estonia.", "isDeprecated": false, "name": "EE" }, { "deprecationReason": null, "description": "Eswatini.", "isDeprecated": false, "name": "SZ" }, { "deprecationReason": null, "description": "Ethiopia.", "isDeprecated": false, "name": "ET" }, { "deprecationReason": null, "description": "Falkland Islands.", "isDeprecated": false, "name": "FK" }, { "deprecationReason": null, "description": "Faroe Islands.", "isDeprecated": false, "name": "FO" }, { "deprecationReason": null, "description": "Fiji.", "isDeprecated": false, "name": "FJ" }, { "deprecationReason": null, "description": "Finland.", "isDeprecated": false, "name": "FI" }, { "deprecationReason": null, "description": "France.", "isDeprecated": false, "name": "FR" }, { "deprecationReason": null, "description": "French Guiana.", "isDeprecated": false, "name": "GF" }, { "deprecationReason": null, "description": "French Polynesia.", "isDeprecated": false, "name": "PF" }, { "deprecationReason": null, "description": "French Southern Territories.", "isDeprecated": false, "name": "TF" }, { "deprecationReason": null, "description": "Gabon.", "isDeprecated": false, "name": "GA" }, { "deprecationReason": null, "description": "Gambia.", "isDeprecated": false, "name": "GM" }, { "deprecationReason": null, "description": "Georgia.", "isDeprecated": false, "name": "GE" }, { "deprecationReason": null, "description": "Germany.", "isDeprecated": false, "name": "DE" }, { "deprecationReason": null, "description": "Ghana.", "isDeprecated": false, "name": "GH" }, { "deprecationReason": null, "description": "Gibraltar.", "isDeprecated": false, "name": "GI" }, { "deprecationReason": null, "description": "Greece.", "isDeprecated": false, "name": "GR" }, { "deprecationReason": null, "description": "Greenland.", "isDeprecated": false, "name": "GL" }, { "deprecationReason": null, "description": "Grenada.", "isDeprecated": false, "name": "GD" }, { "deprecationReason": null, "description": "Guadeloupe.", "isDeprecated": false, "name": "GP" }, { "deprecationReason": null, "description": "Guatemala.", "isDeprecated": false, "name": "GT" }, { "deprecationReason": null, "description": "Guernsey.", "isDeprecated": false, "name": "GG" }, { "deprecationReason": null, "description": "Guinea.", "isDeprecated": false, "name": "GN" }, { "deprecationReason": null, "description": "Guinea-Bissau.", "isDeprecated": false, "name": "GW" }, { "deprecationReason": null, "description": "Guyana.", "isDeprecated": false, "name": "GY" }, { "deprecationReason": null, "description": "Haiti.", "isDeprecated": false, "name": "HT" }, { "deprecationReason": null, "description": "Heard & McDonald Islands.", "isDeprecated": false, "name": "HM" }, { "deprecationReason": null, "description": "Vatican City.", "isDeprecated": false, "name": "VA" }, { "deprecationReason": null, "description": "Honduras.", "isDeprecated": false, "name": "HN" }, { "deprecationReason": null, "description": "Hong Kong SAR.", "isDeprecated": false, "name": "HK" }, { "deprecationReason": null, "description": "Hungary.", "isDeprecated": false, "name": "HU" }, { "deprecationReason": null, "description": "Iceland.", "isDeprecated": false, "name": "IS" }, { "deprecationReason": null, "description": "India.", "isDeprecated": false, "name": "IN" }, { "deprecationReason": null, "description": "Indonesia.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Iran.", "isDeprecated": false, "name": "IR" }, { "deprecationReason": null, "description": "Iraq.", "isDeprecated": false, "name": "IQ" }, { "deprecationReason": null, "description": "Ireland.", "isDeprecated": false, "name": "IE" }, { "deprecationReason": null, "description": "Isle of Man.", "isDeprecated": false, "name": "IM" }, { "deprecationReason": null, "description": "Israel.", "isDeprecated": false, "name": "IL" }, { "deprecationReason": null, "description": "Italy.", "isDeprecated": false, "name": "IT" }, { "deprecationReason": null, "description": "Jamaica.", "isDeprecated": false, "name": "JM" }, { "deprecationReason": null, "description": "Japan.", "isDeprecated": false, "name": "JP" }, { "deprecationReason": null, "description": "Jersey.", "isDeprecated": false, "name": "JE" }, { "deprecationReason": null, "description": "Jordan.", "isDeprecated": false, "name": "JO" }, { "deprecationReason": null, "description": "Kazakhstan.", "isDeprecated": false, "name": "KZ" }, { "deprecationReason": null, "description": "Kenya.", "isDeprecated": false, "name": "KE" }, { "deprecationReason": null, "description": "Kiribati.", "isDeprecated": false, "name": "KI" }, { "deprecationReason": null, "description": "North Korea.", "isDeprecated": false, "name": "KP" }, { "deprecationReason": null, "description": "Kosovo.", "isDeprecated": false, "name": "XK" }, { "deprecationReason": null, "description": "Kuwait.", "isDeprecated": false, "name": "KW" }, { "deprecationReason": null, "description": "Kyrgyzstan.", "isDeprecated": false, "name": "KG" }, { "deprecationReason": null, "description": "Laos.", "isDeprecated": false, "name": "LA" }, { "deprecationReason": null, "description": "Latvia.", "isDeprecated": false, "name": "LV" }, { "deprecationReason": null, "description": "Lebanon.", "isDeprecated": false, "name": "LB" }, { "deprecationReason": null, "description": "Lesotho.", "isDeprecated": false, "name": "LS" }, { "deprecationReason": null, "description": "Liberia.", "isDeprecated": false, "name": "LR" }, { "deprecationReason": null, "description": "Libya.", "isDeprecated": false, "name": "LY" }, { "deprecationReason": null, "description": "Liechtenstein.", "isDeprecated": false, "name": "LI" }, { "deprecationReason": null, "description": "Lithuania.", "isDeprecated": false, "name": "LT" }, { "deprecationReason": null, "description": "Luxembourg.", "isDeprecated": false, "name": "LU" }, { "deprecationReason": null, "description": "Macao SAR.", "isDeprecated": false, "name": "MO" }, { "deprecationReason": null, "description": "Madagascar.", "isDeprecated": false, "name": "MG" }, { "deprecationReason": null, "description": "Malawi.", "isDeprecated": false, "name": "MW" }, { "deprecationReason": null, "description": "Malaysia.", "isDeprecated": false, "name": "MY" }, { "deprecationReason": null, "description": "Maldives.", "isDeprecated": false, "name": "MV" }, { "deprecationReason": null, "description": "Mali.", "isDeprecated": false, "name": "ML" }, { "deprecationReason": null, "description": "Malta.", "isDeprecated": false, "name": "MT" }, { "deprecationReason": null, "description": "Martinique.", "isDeprecated": false, "name": "MQ" }, { "deprecationReason": null, "description": "Mauritania.", "isDeprecated": false, "name": "MR" }, { "deprecationReason": null, "description": "Mauritius.", "isDeprecated": false, "name": "MU" }, { "deprecationReason": null, "description": "Mayotte.", "isDeprecated": false, "name": "YT" }, { "deprecationReason": null, "description": "Mexico.", "isDeprecated": false, "name": "MX" }, { "deprecationReason": null, "description": "Moldova.", "isDeprecated": false, "name": "MD" }, { "deprecationReason": null, "description": "Monaco.", "isDeprecated": false, "name": "MC" }, { "deprecationReason": null, "description": "Mongolia.", "isDeprecated": false, "name": "MN" }, { "deprecationReason": null, "description": "Montenegro.", "isDeprecated": false, "name": "ME" }, { "deprecationReason": null, "description": "Montserrat.", "isDeprecated": false, "name": "MS" }, { "deprecationReason": null, "description": "Morocco.", "isDeprecated": false, "name": "MA" }, { "deprecationReason": null, "description": "Mozambique.", "isDeprecated": false, "name": "MZ" }, { "deprecationReason": null, "description": "Myanmar (Burma).", "isDeprecated": false, "name": "MM" }, { "deprecationReason": null, "description": "Namibia.", "isDeprecated": false, "name": "NA" }, { "deprecationReason": null, "description": "Nauru.", "isDeprecated": false, "name": "NR" }, { "deprecationReason": null, "description": "Nepal.", "isDeprecated": false, "name": "NP" }, { "deprecationReason": null, "description": "Netherlands.", "isDeprecated": false, "name": "NL" }, { "deprecationReason": null, "description": "Netherlands Antilles.", "isDeprecated": false, "name": "AN" }, { "deprecationReason": null, "description": "New Caledonia.", "isDeprecated": false, "name": "NC" }, { "deprecationReason": null, "description": "New Zealand.", "isDeprecated": false, "name": "NZ" }, { "deprecationReason": null, "description": "Nicaragua.", "isDeprecated": false, "name": "NI" }, { "deprecationReason": null, "description": "Niger.", "isDeprecated": false, "name": "NE" }, { "deprecationReason": null, "description": "Nigeria.", "isDeprecated": false, "name": "NG" }, { "deprecationReason": null, "description": "Niue.", "isDeprecated": false, "name": "NU" }, { "deprecationReason": null, "description": "Norfolk Island.", "isDeprecated": false, "name": "NF" }, { "deprecationReason": null, "description": "North Macedonia.", "isDeprecated": false, "name": "MK" }, { "deprecationReason": null, "description": "Norway.", "isDeprecated": false, "name": "NO" }, { "deprecationReason": null, "description": "Oman.", "isDeprecated": false, "name": "OM" }, { "deprecationReason": null, "description": "Pakistan.", "isDeprecated": false, "name": "PK" }, { "deprecationReason": null, "description": "Palestinian Territories.", "isDeprecated": false, "name": "PS" }, { "deprecationReason": null, "description": "Panama.", "isDeprecated": false, "name": "PA" }, { "deprecationReason": null, "description": "Papua New Guinea.", "isDeprecated": false, "name": "PG" }, { "deprecationReason": null, "description": "Paraguay.", "isDeprecated": false, "name": "PY" }, { "deprecationReason": null, "description": "Peru.", "isDeprecated": false, "name": "PE" }, { "deprecationReason": null, "description": "Philippines.", "isDeprecated": false, "name": "PH" }, { "deprecationReason": null, "description": "Pitcairn Islands.", "isDeprecated": false, "name": "PN" }, { "deprecationReason": null, "description": "Poland.", "isDeprecated": false, "name": "PL" }, { "deprecationReason": null, "description": "Portugal.", "isDeprecated": false, "name": "PT" }, { "deprecationReason": null, "description": "Qatar.", "isDeprecated": false, "name": "QA" }, { "deprecationReason": null, "description": "Cameroon.", "isDeprecated": false, "name": "CM" }, { "deprecationReason": null, "description": "Réunion.", "isDeprecated": false, "name": "RE" }, { "deprecationReason": null, "description": "Romania.", "isDeprecated": false, "name": "RO" }, { "deprecationReason": null, "description": "Russia.", "isDeprecated": false, "name": "RU" }, { "deprecationReason": null, "description": "Rwanda.", "isDeprecated": false, "name": "RW" }, { "deprecationReason": null, "description": "St. Barthélemy.", "isDeprecated": false, "name": "BL" }, { "deprecationReason": null, "description": "St. Helena.", "isDeprecated": false, "name": "SH" }, { "deprecationReason": null, "description": "St. Kitts & Nevis.", "isDeprecated": false, "name": "KN" }, { "deprecationReason": null, "description": "St. Lucia.", "isDeprecated": false, "name": "LC" }, { "deprecationReason": null, "description": "St. Martin.", "isDeprecated": false, "name": "MF" }, { "deprecationReason": null, "description": "St. Pierre & Miquelon.", "isDeprecated": false, "name": "PM" }, { "deprecationReason": null, "description": "Samoa.", "isDeprecated": false, "name": "WS" }, { "deprecationReason": null, "description": "San Marino.", "isDeprecated": false, "name": "SM" }, { "deprecationReason": null, "description": "São Tomé & Príncipe.", "isDeprecated": false, "name": "ST" }, { "deprecationReason": null, "description": "Saudi Arabia.", "isDeprecated": false, "name": "SA" }, { "deprecationReason": null, "description": "Senegal.", "isDeprecated": false, "name": "SN" }, { "deprecationReason": null, "description": "Serbia.", "isDeprecated": false, "name": "RS" }, { "deprecationReason": null, "description": "Seychelles.", "isDeprecated": false, "name": "SC" }, { "deprecationReason": null, "description": "Sierra Leone.", "isDeprecated": false, "name": "SL" }, { "deprecationReason": null, "description": "Singapore.", "isDeprecated": false, "name": "SG" }, { "deprecationReason": null, "description": "Sint Maarten.", "isDeprecated": false, "name": "SX" }, { "deprecationReason": null, "description": "Slovakia.", "isDeprecated": false, "name": "SK" }, { "deprecationReason": null, "description": "Slovenia.", "isDeprecated": false, "name": "SI" }, { "deprecationReason": null, "description": "Solomon Islands.", "isDeprecated": false, "name": "SB" }, { "deprecationReason": null, "description": "Somalia.", "isDeprecated": false, "name": "SO" }, { "deprecationReason": null, "description": "South Africa.", "isDeprecated": false, "name": "ZA" }, { "deprecationReason": null, "description": "South Georgia & South Sandwich Islands.", "isDeprecated": false, "name": "GS" }, { "deprecationReason": null, "description": "South Korea.", "isDeprecated": false, "name": "KR" }, { "deprecationReason": null, "description": "South Sudan.", "isDeprecated": false, "name": "SS" }, { "deprecationReason": null, "description": "Spain.", "isDeprecated": false, "name": "ES" }, { "deprecationReason": null, "description": "Sri Lanka.", "isDeprecated": false, "name": "LK" }, { "deprecationReason": null, "description": "St. Vincent & Grenadines.", "isDeprecated": false, "name": "VC" }, { "deprecationReason": null, "description": "Sudan.", "isDeprecated": false, "name": "SD" }, { "deprecationReason": null, "description": "Suriname.", "isDeprecated": false, "name": "SR" }, { "deprecationReason": null, "description": "Svalbard & Jan Mayen.", "isDeprecated": false, "name": "SJ" }, { "deprecationReason": null, "description": "Sweden.", "isDeprecated": false, "name": "SE" }, { "deprecationReason": null, "description": "Switzerland.", "isDeprecated": false, "name": "CH" }, { "deprecationReason": null, "description": "Syria.", "isDeprecated": false, "name": "SY" }, { "deprecationReason": null, "description": "Taiwan.", "isDeprecated": false, "name": "TW" }, { "deprecationReason": null, "description": "Tajikistan.", "isDeprecated": false, "name": "TJ" }, { "deprecationReason": null, "description": "Tanzania.", "isDeprecated": false, "name": "TZ" }, { "deprecationReason": null, "description": "Thailand.", "isDeprecated": false, "name": "TH" }, { "deprecationReason": null, "description": "Timor-Leste.", "isDeprecated": false, "name": "TL" }, { "deprecationReason": null, "description": "Togo.", "isDeprecated": false, "name": "TG" }, { "deprecationReason": null, "description": "Tokelau.", "isDeprecated": false, "name": "TK" }, { "deprecationReason": null, "description": "Tonga.", "isDeprecated": false, "name": "TO" }, { "deprecationReason": null, "description": "Trinidad & Tobago.", "isDeprecated": false, "name": "TT" }, { "deprecationReason": null, "description": "Tristan da Cunha.", "isDeprecated": false, "name": "TA" }, { "deprecationReason": null, "description": "Tunisia.", "isDeprecated": false, "name": "TN" }, { "deprecationReason": null, "description": "Turkey.", "isDeprecated": false, "name": "TR" }, { "deprecationReason": null, "description": "Turkmenistan.", "isDeprecated": false, "name": "TM" }, { "deprecationReason": null, "description": "Turks & Caicos Islands.", "isDeprecated": false, "name": "TC" }, { "deprecationReason": null, "description": "Tuvalu.", "isDeprecated": false, "name": "TV" }, { "deprecationReason": null, "description": "Uganda.", "isDeprecated": false, "name": "UG" }, { "deprecationReason": null, "description": "Ukraine.", "isDeprecated": false, "name": "UA" }, { "deprecationReason": null, "description": "United Arab Emirates.", "isDeprecated": false, "name": "AE" }, { "deprecationReason": null, "description": "United Kingdom.", "isDeprecated": false, "name": "GB" }, { "deprecationReason": null, "description": "United States.", "isDeprecated": false, "name": "US" }, { "deprecationReason": null, "description": "U.S. Outlying Islands.", "isDeprecated": false, "name": "UM" }, { "deprecationReason": null, "description": "Uruguay.", "isDeprecated": false, "name": "UY" }, { "deprecationReason": null, "description": "Uzbekistan.", "isDeprecated": false, "name": "UZ" }, { "deprecationReason": null, "description": "Vanuatu.", "isDeprecated": false, "name": "VU" }, { "deprecationReason": null, "description": "Venezuela.", "isDeprecated": false, "name": "VE" }, { "deprecationReason": null, "description": "Vietnam.", "isDeprecated": false, "name": "VN" }, { "deprecationReason": null, "description": "British Virgin Islands.", "isDeprecated": false, "name": "VG" }, { "deprecationReason": null, "description": "Wallis & Futuna.", "isDeprecated": false, "name": "WF" }, { "deprecationReason": null, "description": "Western Sahara.", "isDeprecated": false, "name": "EH" }, { "deprecationReason": null, "description": "Yemen.", "isDeprecated": false, "name": "YE" }, { "deprecationReason": null, "description": "Zambia.", "isDeprecated": false, "name": "ZM" }, { "deprecationReason": null, "description": "Zimbabwe.", "isDeprecated": false, "name": "ZW" }, { "deprecationReason": null, "description": "Unknown Region.", "isDeprecated": false, "name": "ZZ" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CountryCode", "possibleTypes": null }, { "description": "The country-specific harmonized system code and ISO country code for an inventory item.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code.", "isDeprecated": false, "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The country-specific harmonized system code. These are usually longer than 6 digits.", "isDeprecated": false, "name": "harmonizedSystemCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CountryHarmonizedSystemCode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CountryHarmonizedSystemCodes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CountryHarmonizedSystemCodeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CountryHarmonizedSystemCodeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CountryHarmonizedSystemCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CountryHarmonizedSystemCodeConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CountryHarmonizedSystemCode and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CountryHarmonizedSystemCodeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CountryHarmonizedSystemCode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CountryHarmonizedSystemCodeEdge", "possibleTypes": null }, { "description": "The input fields required to specify a harmonized system code.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Country specific harmonized system code.", "name": "harmonizedSystemCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code.", "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CountryHarmonizedSystemCodeInput", "possibleTypes": null }, { "description": "The input fields required to create a media object.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The original source of the media object. This might be an external URL or a staged upload URL.", "name": "originalSource", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The alt text associated with the media.", "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The media content type.", "name": "mediaContentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CreateMediaInput", "possibleTypes": null }, { "description": "The part of the image that should remain after cropping.", "enumValues": [ { "deprecationReason": null, "description": "Keep the center of the image.", "isDeprecated": false, "name": "CENTER" }, { "deprecationReason": null, "description": "Keep the top of the image.", "isDeprecated": false, "name": "TOP" }, { "deprecationReason": null, "description": "Keep the bottom of the image.", "isDeprecated": false, "name": "BOTTOM" }, { "deprecationReason": null, "description": "Keep the left of the image.", "isDeprecated": false, "name": "LEFT" }, { "deprecationReason": null, "description": "Keep the right of the image.", "isDeprecated": false, "name": "RIGHT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CropRegion", "possibleTypes": null }, { "description": "The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes,\nand non-standard codes.\n", "enumValues": [ { "deprecationReason": null, "description": "United States Dollars (USD).", "isDeprecated": false, "name": "USD" }, { "deprecationReason": null, "description": "Euro (EUR).", "isDeprecated": false, "name": "EUR" }, { "deprecationReason": null, "description": "United Kingdom Pounds (GBP).", "isDeprecated": false, "name": "GBP" }, { "deprecationReason": null, "description": "Canadian Dollars (CAD).", "isDeprecated": false, "name": "CAD" }, { "deprecationReason": null, "description": "Afghan Afghani (AFN).", "isDeprecated": false, "name": "AFN" }, { "deprecationReason": null, "description": "Albanian Lek (ALL).", "isDeprecated": false, "name": "ALL" }, { "deprecationReason": null, "description": "Algerian Dinar (DZD).", "isDeprecated": false, "name": "DZD" }, { "deprecationReason": null, "description": "Angolan Kwanza (AOA).", "isDeprecated": false, "name": "AOA" }, { "deprecationReason": null, "description": "Argentine Pesos (ARS).", "isDeprecated": false, "name": "ARS" }, { "deprecationReason": null, "description": "Armenian Dram (AMD).", "isDeprecated": false, "name": "AMD" }, { "deprecationReason": null, "description": "Aruban Florin (AWG).", "isDeprecated": false, "name": "AWG" }, { "deprecationReason": null, "description": "Australian Dollars (AUD).", "isDeprecated": false, "name": "AUD" }, { "deprecationReason": null, "description": "Barbadian Dollar (BBD).", "isDeprecated": false, "name": "BBD" }, { "deprecationReason": null, "description": "Azerbaijani Manat (AZN).", "isDeprecated": false, "name": "AZN" }, { "deprecationReason": null, "description": "Bangladesh Taka (BDT).", "isDeprecated": false, "name": "BDT" }, { "deprecationReason": null, "description": "Bahamian Dollar (BSD).", "isDeprecated": false, "name": "BSD" }, { "deprecationReason": null, "description": "Bahraini Dinar (BHD).", "isDeprecated": false, "name": "BHD" }, { "deprecationReason": null, "description": "Burundian Franc (BIF).", "isDeprecated": false, "name": "BIF" }, { "deprecationReason": null, "description": "Belize Dollar (BZD).", "isDeprecated": false, "name": "BZD" }, { "deprecationReason": null, "description": "Bermudian Dollar (BMD).", "isDeprecated": false, "name": "BMD" }, { "deprecationReason": null, "description": "Bhutanese Ngultrum (BTN).", "isDeprecated": false, "name": "BTN" }, { "deprecationReason": null, "description": "Bosnia and Herzegovina Convertible Mark (BAM).", "isDeprecated": false, "name": "BAM" }, { "deprecationReason": null, "description": "Brazilian Real (BRL).", "isDeprecated": false, "name": "BRL" }, { "deprecationReason": null, "description": "Bolivian Boliviano (BOB).", "isDeprecated": false, "name": "BOB" }, { "deprecationReason": null, "description": "Botswana Pula (BWP).", "isDeprecated": false, "name": "BWP" }, { "deprecationReason": null, "description": "Brunei Dollar (BND).", "isDeprecated": false, "name": "BND" }, { "deprecationReason": null, "description": "Bulgarian Lev (BGN).", "isDeprecated": false, "name": "BGN" }, { "deprecationReason": null, "description": "Burmese Kyat (MMK).", "isDeprecated": false, "name": "MMK" }, { "deprecationReason": null, "description": "Cambodian Riel.", "isDeprecated": false, "name": "KHR" }, { "deprecationReason": null, "description": "Cape Verdean escudo (CVE).", "isDeprecated": false, "name": "CVE" }, { "deprecationReason": null, "description": "Cayman Dollars (KYD).", "isDeprecated": false, "name": "KYD" }, { "deprecationReason": null, "description": "Central African CFA Franc (XAF).", "isDeprecated": false, "name": "XAF" }, { "deprecationReason": null, "description": "Chilean Peso (CLP).", "isDeprecated": false, "name": "CLP" }, { "deprecationReason": null, "description": "Chinese Yuan Renminbi (CNY).", "isDeprecated": false, "name": "CNY" }, { "deprecationReason": null, "description": "Colombian Peso (COP).", "isDeprecated": false, "name": "COP" }, { "deprecationReason": null, "description": "Comorian Franc (KMF).", "isDeprecated": false, "name": "KMF" }, { "deprecationReason": null, "description": "Congolese franc (CDF).", "isDeprecated": false, "name": "CDF" }, { "deprecationReason": null, "description": "Costa Rican Colones (CRC).", "isDeprecated": false, "name": "CRC" }, { "deprecationReason": null, "description": "Croatian Kuna (HRK).", "isDeprecated": false, "name": "HRK" }, { "deprecationReason": null, "description": "Czech Koruny (CZK).", "isDeprecated": false, "name": "CZK" }, { "deprecationReason": null, "description": "Danish Kroner (DKK).", "isDeprecated": false, "name": "DKK" }, { "deprecationReason": null, "description": "Dominican Peso (DOP).", "isDeprecated": false, "name": "DOP" }, { "deprecationReason": null, "description": "East Caribbean Dollar (XCD).", "isDeprecated": false, "name": "XCD" }, { "deprecationReason": null, "description": "Egyptian Pound (EGP).", "isDeprecated": false, "name": "EGP" }, { "deprecationReason": null, "description": "Ethiopian Birr (ETB).", "isDeprecated": false, "name": "ETB" }, { "deprecationReason": null, "description": "CFP Franc (XPF).", "isDeprecated": false, "name": "XPF" }, { "deprecationReason": null, "description": "Fijian Dollars (FJD).", "isDeprecated": false, "name": "FJD" }, { "deprecationReason": null, "description": "Gambian Dalasi (GMD).", "isDeprecated": false, "name": "GMD" }, { "deprecationReason": null, "description": "Ghanaian Cedi (GHS).", "isDeprecated": false, "name": "GHS" }, { "deprecationReason": null, "description": "Guatemalan Quetzal (GTQ).", "isDeprecated": false, "name": "GTQ" }, { "deprecationReason": null, "description": "Guyanese Dollar (GYD).", "isDeprecated": false, "name": "GYD" }, { "deprecationReason": null, "description": "Georgian Lari (GEL).", "isDeprecated": false, "name": "GEL" }, { "deprecationReason": null, "description": "Haitian Gourde (HTG).", "isDeprecated": false, "name": "HTG" }, { "deprecationReason": null, "description": "Honduran Lempira (HNL).", "isDeprecated": false, "name": "HNL" }, { "deprecationReason": null, "description": "Hong Kong Dollars (HKD).", "isDeprecated": false, "name": "HKD" }, { "deprecationReason": null, "description": "Hungarian Forint (HUF).", "isDeprecated": false, "name": "HUF" }, { "deprecationReason": null, "description": "Icelandic Kronur (ISK).", "isDeprecated": false, "name": "ISK" }, { "deprecationReason": null, "description": "Indian Rupees (INR).", "isDeprecated": false, "name": "INR" }, { "deprecationReason": null, "description": "Indonesian Rupiah (IDR).", "isDeprecated": false, "name": "IDR" }, { "deprecationReason": null, "description": "Israeli New Shekel (NIS).", "isDeprecated": false, "name": "ILS" }, { "deprecationReason": null, "description": "Iraqi Dinar (IQD).", "isDeprecated": false, "name": "IQD" }, { "deprecationReason": null, "description": "Jamaican Dollars (JMD).", "isDeprecated": false, "name": "JMD" }, { "deprecationReason": null, "description": "Japanese Yen (JPY).", "isDeprecated": false, "name": "JPY" }, { "deprecationReason": null, "description": "Jersey Pound.", "isDeprecated": false, "name": "JEP" }, { "deprecationReason": null, "description": "Jordanian Dinar (JOD).", "isDeprecated": false, "name": "JOD" }, { "deprecationReason": null, "description": "Kazakhstani Tenge (KZT).", "isDeprecated": false, "name": "KZT" }, { "deprecationReason": null, "description": "Kenyan Shilling (KES).", "isDeprecated": false, "name": "KES" }, { "deprecationReason": null, "description": "Kuwaiti Dinar (KWD).", "isDeprecated": false, "name": "KWD" }, { "deprecationReason": null, "description": "Kyrgyzstani Som (KGS).", "isDeprecated": false, "name": "KGS" }, { "deprecationReason": null, "description": "Laotian Kip (LAK).", "isDeprecated": false, "name": "LAK" }, { "deprecationReason": null, "description": "Latvian Lati (LVL).", "isDeprecated": false, "name": "LVL" }, { "deprecationReason": null, "description": "Lebanese Pounds (LBP).", "isDeprecated": false, "name": "LBP" }, { "deprecationReason": null, "description": "Lesotho Loti (LSL).", "isDeprecated": false, "name": "LSL" }, { "deprecationReason": null, "description": "Liberian Dollar (LRD).", "isDeprecated": false, "name": "LRD" }, { "deprecationReason": null, "description": "Lithuanian Litai (LTL).", "isDeprecated": false, "name": "LTL" }, { "deprecationReason": null, "description": "Malagasy Ariary (MGA).", "isDeprecated": false, "name": "MGA" }, { "deprecationReason": null, "description": "Macedonia Denar (MKD).", "isDeprecated": false, "name": "MKD" }, { "deprecationReason": null, "description": "Macanese Pataca (MOP).", "isDeprecated": false, "name": "MOP" }, { "deprecationReason": null, "description": "Malawian Kwacha (MWK).", "isDeprecated": false, "name": "MWK" }, { "deprecationReason": null, "description": "Maldivian Rufiyaa (MVR).", "isDeprecated": false, "name": "MVR" }, { "deprecationReason": null, "description": "Mexican Pesos (MXN).", "isDeprecated": false, "name": "MXN" }, { "deprecationReason": null, "description": "Malaysian Ringgits (MYR).", "isDeprecated": false, "name": "MYR" }, { "deprecationReason": null, "description": "Mauritian Rupee (MUR).", "isDeprecated": false, "name": "MUR" }, { "deprecationReason": null, "description": "Moldovan Leu (MDL).", "isDeprecated": false, "name": "MDL" }, { "deprecationReason": null, "description": "Moroccan Dirham.", "isDeprecated": false, "name": "MAD" }, { "deprecationReason": null, "description": "Mongolian Tugrik.", "isDeprecated": false, "name": "MNT" }, { "deprecationReason": null, "description": "Mozambican Metical.", "isDeprecated": false, "name": "MZN" }, { "deprecationReason": null, "description": "Namibian Dollar.", "isDeprecated": false, "name": "NAD" }, { "deprecationReason": null, "description": "Nepalese Rupee (NPR).", "isDeprecated": false, "name": "NPR" }, { "deprecationReason": null, "description": "Netherlands Antillean Guilder.", "isDeprecated": false, "name": "ANG" }, { "deprecationReason": null, "description": "New Zealand Dollars (NZD).", "isDeprecated": false, "name": "NZD" }, { "deprecationReason": null, "description": "Nicaraguan Córdoba (NIO).", "isDeprecated": false, "name": "NIO" }, { "deprecationReason": null, "description": "Nigerian Naira (NGN).", "isDeprecated": false, "name": "NGN" }, { "deprecationReason": null, "description": "Norwegian Kroner (NOK).", "isDeprecated": false, "name": "NOK" }, { "deprecationReason": null, "description": "Omani Rial (OMR).", "isDeprecated": false, "name": "OMR" }, { "deprecationReason": null, "description": "Panamian Balboa (PAB).", "isDeprecated": false, "name": "PAB" }, { "deprecationReason": null, "description": "Pakistani Rupee (PKR).", "isDeprecated": false, "name": "PKR" }, { "deprecationReason": null, "description": "Papua New Guinean Kina (PGK).", "isDeprecated": false, "name": "PGK" }, { "deprecationReason": null, "description": "Paraguayan Guarani (PYG).", "isDeprecated": false, "name": "PYG" }, { "deprecationReason": null, "description": "Peruvian Nuevo Sol (PEN).", "isDeprecated": false, "name": "PEN" }, { "deprecationReason": null, "description": "Philippine Peso (PHP).", "isDeprecated": false, "name": "PHP" }, { "deprecationReason": null, "description": "Polish Zlotych (PLN).", "isDeprecated": false, "name": "PLN" }, { "deprecationReason": null, "description": "Qatari Rial (QAR).", "isDeprecated": false, "name": "QAR" }, { "deprecationReason": null, "description": "Romanian Lei (RON).", "isDeprecated": false, "name": "RON" }, { "deprecationReason": null, "description": "Russian Rubles (RUB).", "isDeprecated": false, "name": "RUB" }, { "deprecationReason": null, "description": "Rwandan Franc (RWF).", "isDeprecated": false, "name": "RWF" }, { "deprecationReason": null, "description": "Samoan Tala (WST).", "isDeprecated": false, "name": "WST" }, { "deprecationReason": null, "description": "Saudi Riyal (SAR).", "isDeprecated": false, "name": "SAR" }, { "deprecationReason": null, "description": "Serbian dinar (RSD).", "isDeprecated": false, "name": "RSD" }, { "deprecationReason": null, "description": "Seychellois Rupee (SCR).", "isDeprecated": false, "name": "SCR" }, { "deprecationReason": null, "description": "Singapore Dollars (SGD).", "isDeprecated": false, "name": "SGD" }, { "deprecationReason": null, "description": "Sudanese Pound (SDG).", "isDeprecated": false, "name": "SDG" }, { "deprecationReason": null, "description": "Syrian Pound (SYP).", "isDeprecated": false, "name": "SYP" }, { "deprecationReason": null, "description": "South African Rand (ZAR).", "isDeprecated": false, "name": "ZAR" }, { "deprecationReason": null, "description": "South Korean Won (KRW).", "isDeprecated": false, "name": "KRW" }, { "deprecationReason": null, "description": "South Sudanese Pound (SSP).", "isDeprecated": false, "name": "SSP" }, { "deprecationReason": null, "description": "Solomon Islands Dollar (SBD).", "isDeprecated": false, "name": "SBD" }, { "deprecationReason": null, "description": "Sri Lankan Rupees (LKR).", "isDeprecated": false, "name": "LKR" }, { "deprecationReason": null, "description": "Surinamese Dollar (SRD).", "isDeprecated": false, "name": "SRD" }, { "deprecationReason": null, "description": "Swazi Lilangeni (SZL).", "isDeprecated": false, "name": "SZL" }, { "deprecationReason": null, "description": "Swedish Kronor (SEK).", "isDeprecated": false, "name": "SEK" }, { "deprecationReason": null, "description": "Swiss Francs (CHF).", "isDeprecated": false, "name": "CHF" }, { "deprecationReason": null, "description": "Taiwan Dollars (TWD).", "isDeprecated": false, "name": "TWD" }, { "deprecationReason": null, "description": "Thai baht (THB).", "isDeprecated": false, "name": "THB" }, { "deprecationReason": null, "description": "Tanzanian Shilling (TZS).", "isDeprecated": false, "name": "TZS" }, { "deprecationReason": null, "description": "Trinidad and Tobago Dollars (TTD).", "isDeprecated": false, "name": "TTD" }, { "deprecationReason": null, "description": "Tunisian Dinar (TND).", "isDeprecated": false, "name": "TND" }, { "deprecationReason": null, "description": "Turkish Lira (TRY).", "isDeprecated": false, "name": "TRY" }, { "deprecationReason": null, "description": "Turkmenistani Manat (TMT).", "isDeprecated": false, "name": "TMT" }, { "deprecationReason": null, "description": "Ugandan Shilling (UGX).", "isDeprecated": false, "name": "UGX" }, { "deprecationReason": null, "description": "Ukrainian Hryvnia (UAH).", "isDeprecated": false, "name": "UAH" }, { "deprecationReason": null, "description": "United Arab Emirates Dirham (AED).", "isDeprecated": false, "name": "AED" }, { "deprecationReason": null, "description": "Uruguayan Pesos (UYU).", "isDeprecated": false, "name": "UYU" }, { "deprecationReason": null, "description": "Uzbekistan som (UZS).", "isDeprecated": false, "name": "UZS" }, { "deprecationReason": null, "description": "Vanuatu Vatu (VUV).", "isDeprecated": false, "name": "VUV" }, { "deprecationReason": null, "description": "Vietnamese đồng (VND).", "isDeprecated": false, "name": "VND" }, { "deprecationReason": null, "description": "West African CFA franc (XOF).", "isDeprecated": false, "name": "XOF" }, { "deprecationReason": null, "description": "Yemeni Rial (YER).", "isDeprecated": false, "name": "YER" }, { "deprecationReason": null, "description": "Zambian Kwacha (ZMW).", "isDeprecated": false, "name": "ZMW" }, { "deprecationReason": null, "description": "Belarusian Ruble (BYN).", "isDeprecated": false, "name": "BYN" }, { "deprecationReason": "`BYR` is deprecated. Use `BYN` available from version `2021-01` onwards instead.", "description": "Belarusian Ruble (BYR).", "isDeprecated": true, "name": "BYR" }, { "deprecationReason": null, "description": "Djiboutian Franc (DJF).", "isDeprecated": false, "name": "DJF" }, { "deprecationReason": null, "description": "Eritrean Nakfa (ERN).", "isDeprecated": false, "name": "ERN" }, { "deprecationReason": null, "description": "Falkland Islands Pounds (FKP).", "isDeprecated": false, "name": "FKP" }, { "deprecationReason": null, "description": "Gibraltar Pounds (GIP).", "isDeprecated": false, "name": "GIP" }, { "deprecationReason": null, "description": "Guinean Franc (GNF).", "isDeprecated": false, "name": "GNF" }, { "deprecationReason": null, "description": "Iranian Rial (IRR).", "isDeprecated": false, "name": "IRR" }, { "deprecationReason": null, "description": "Kiribati Dollar (KID).", "isDeprecated": false, "name": "KID" }, { "deprecationReason": null, "description": "Libyan Dinar (LYD).", "isDeprecated": false, "name": "LYD" }, { "deprecationReason": null, "description": "Mauritanian Ouguiya (MRU).", "isDeprecated": false, "name": "MRU" }, { "deprecationReason": null, "description": "Sierra Leonean Leone (SLL).", "isDeprecated": false, "name": "SLL" }, { "deprecationReason": null, "description": "Saint Helena Pounds (SHP).", "isDeprecated": false, "name": "SHP" }, { "deprecationReason": null, "description": "Somali Shilling (SOS).", "isDeprecated": false, "name": "SOS" }, { "deprecationReason": "`STD` is deprecated. Use `STN` available from version `2022-07` onwards instead.", "description": "Sao Tome And Principe Dobra (STD).", "isDeprecated": true, "name": "STD" }, { "deprecationReason": null, "description": "Sao Tome And Principe Dobra (STN).", "isDeprecated": false, "name": "STN" }, { "deprecationReason": null, "description": "Tajikistani Somoni (TJS).", "isDeprecated": false, "name": "TJS" }, { "deprecationReason": null, "description": "Tongan Pa'anga (TOP).", "isDeprecated": false, "name": "TOP" }, { "deprecationReason": null, "description": "Venezuelan Bolivares (VED).", "isDeprecated": false, "name": "VED" }, { "deprecationReason": "`VEF` is deprecated. Use `VES` available from version `2020-10` onwards instead.", "description": "Venezuelan Bolivares (VEF).", "isDeprecated": true, "name": "VEF" }, { "deprecationReason": null, "description": "Venezuelan Bolivares (VES).", "isDeprecated": false, "name": "VES" }, { "deprecationReason": null, "description": "Unrecognized currency.", "isDeprecated": false, "name": "XXX" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CurrencyCode", "possibleTypes": null }, { "description": "Currency formats configured for the merchant. These formats are available to use within Liquid.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Money without currency in HTML.", "isDeprecated": false, "name": "moneyFormat", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "FormattedString", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Money without currency in emails.", "isDeprecated": false, "name": "moneyInEmailsFormat", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Money with currency in HTML.", "isDeprecated": false, "name": "moneyWithCurrencyFormat", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "FormattedString", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Money with currency in emails.", "isDeprecated": false, "name": "moneyWithCurrencyInEmailsFormat", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CurrencyFormats", "possibleTypes": null }, { "description": "A setting for a presentment currency.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The currency's ISO code.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The full name of the currency.", "isDeprecated": false, "name": "currencyName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the currency is enabled or not. An enabled currency setting is visible to buyers and allows orders to be generated with that currency as presentment.", "isDeprecated": false, "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the active exchange rate for the currency was last modified. It can be the automatic rate's creation date, or the manual rate's last updated at date if active.", "isDeprecated": false, "name": "rateUpdatedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CurrencySetting", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CurrencySettings.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CurrencySettingEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CurrencySettingEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CurrencySetting", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CurrencySettingConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CurrencySetting and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CurrencySettingEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CurrencySetting", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CurrencySettingEdge", "possibleTypes": null }, { "description": "The input fields for a custom shipping package used to pack shipment.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Weight of the empty shipping package.", "name": "weight", "type": { "kind": "INPUT_OBJECT", "name": "WeightInput", "ofType": null } }, { "defaultValue": null, "description": "Outside dimensions of the empty shipping package.", "name": "dimensions", "type": { "kind": "INPUT_OBJECT", "name": "ObjectDimensionsInput", "ofType": null } }, { "defaultValue": "false", "description": "The default package is the one used to calculate shipping costs on checkout.", "name": "default", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Descriptive name for the package.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Type of package.", "name": "type", "type": { "kind": "ENUM", "name": "ShippingPackageType", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomShippingPackageInput", "possibleTypes": null }, { "description": "Represents information about a customer of the shop, such as the customer's contact details, their order\nhistory, and whether they've agreed to receive marketing material by email.\n\n**Caution:** Only use this data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don't have a legitimate use for the associated data.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `emailMarketingConsent` instead.", "description": "Whether the customer has agreed to receive marketing material.", "isDeprecated": true, "name": "acceptsMarketing", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `emailMarketingConsent` instead.", "description": "The date and time when the customer consented or objected to receiving marketing material by email.\n", "isDeprecated": true, "name": "acceptsMarketingUpdatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "A list of addresses associated with the customer.", "isDeprecated": false, "name": "addresses", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total amount that the customer has spent on orders in their lifetime.", "isDeprecated": false, "name": "amountSpent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": "Use `averageOrderAmountV2` instead.", "description": "The average amount that the customer spent per order.", "isDeprecated": true, "name": "averageOrderAmount", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The average amount that the customer spent per order.", "isDeprecated": false, "name": "averageOrderAmountV2", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the merchant can delete the customer from their store.\n\nA customer can be deleted from a store only if they have not yet made an order. After a customer makes an\norder, they can't be deleted from a store.\n", "isDeprecated": false, "name": "canDelete", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the customer's company contact profiles.", "isDeprecated": false, "name": "companyContactProfiles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the customer was added to the store.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The default address associated with the customer.", "isDeprecated": false, "name": "defaultAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The full name of the customer, based on the values for first_name and last_name. If the first_name and\nlast_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number.\n", "isDeprecated": false, "name": "displayName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer's email address.", "isDeprecated": false, "name": "email", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The current email marketing state for the customer.\nIf the customer doesn't have an email address, then this property is `null`.\n", "isDeprecated": false, "name": "emailMarketingConsent", "type": { "kind": "OBJECT", "name": "CustomerEmailMarketingConsentState", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of events associated with the customer.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer's first name.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the timeline subject has a timeline comment. If true, then a timeline comment exists.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image associated with the customer.", "isDeprecated": false, "name": "image", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer's last name.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer's last order.", "isDeprecated": false, "name": "lastOrder", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount of time since the customer was first added to the store.\n\nExample: 'about 12 years'.\n", "isDeprecated": false, "name": "lifetimeDuration", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer's locale.", "isDeprecated": false, "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The market that includes the customer’s default address.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": "Use `emailMarketingConsent` instead.", "description": "The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, that the\ncustomer gave when they consented to receive marketing material by email.\n\nIf the customer does not accept email marketing, then this property is `null`.\n", "isDeprecated": true, "name": "marketingOptInLevel", "type": { "kind": "ENUM", "name": "CustomerMarketingOptInLevel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the customer can be merged with another customer.", "isDeprecated": false, "name": "mergeable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerMergeable", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A unique identifier for the customer that's used with Multipass login.", "isDeprecated": false, "name": "multipassIdentifier", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A note about the customer.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of orders that the customer has made at the store in their lifetime.", "isDeprecated": false, "name": "numberOfOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "OrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `cart_token`\n - `channel`\n - `channel_id`\n - `chargeback_status`\n - `checkout_token`\n - `created_at`\n - `credit_card_last4`\n - `customer_id`\n - `delivery_method`\n - `discount_code`\n - `earliest_fulfill_by`\n - `email`\n - `financial_status`\n - `fraud_protection_level`\n - `fulfillment_location_id`\n - `fulfillment_status`\n - `gateway`\n - `location_id`\n - `name`\n - `payment_id`\n - `payment_provider_id`\n - `po_number`\n - `processed_at`\n - `reference_location_id`\n - `return_status`\n - `risk_level`\n - `sales_channel`\n - `sku`\n - `source_identifier`\n - `source_name`\n - `status`\n - `tag`\n - `tag_not`\n - `test`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of the customer's orders.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": "false", "description": "Whether to show the customer's revoked payment method.", "name": "showRevoked", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the customer's payment methods.", "isDeprecated": false, "name": "paymentMethods", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethodConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer's phone number.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Possible subscriber states of a customer defined by their subscription contracts.", "isDeprecated": false, "name": "productSubscriberStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerProductSubscriberStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current SMS marketing state for the customer's phone number.\n\nIf the customer does not have a phone number, then this property is `null`.\n", "isDeprecated": false, "name": "smsMarketingConsent", "type": { "kind": "OBJECT", "name": "CustomerSmsMarketingConsentState", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The state of the customer's account with the shop.", "isDeprecated": false, "name": "state", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerState", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The statistics for a given customer.", "isDeprecated": false, "name": "statistics", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerStatistics", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the customer's subscription contracts.", "isDeprecated": false, "name": "subscriptionContracts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContractConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A comma separated list of tags that have been added to the customer.", "isDeprecated": false, "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the customer is exempt from being charged taxes on their orders.", "isDeprecated": false, "name": "taxExempt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of tax exemptions applied to the customer.", "isDeprecated": false, "name": "taxExemptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The URL to unsubscribe the customer from the mailing list.", "isDeprecated": false, "name": "unsubscribeUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the customer was last updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the email address is formatted correctly.\n\nReturns `true` when the email is formatted correctly and\nbelongs to an existing domain. This doesn't guarantee that\nthe email address actually exists.\n", "isDeprecated": false, "name": "validEmailAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the customer has verified their email address. Defaults to `true` if the customer is created through the Shopify admin or API.", "isDeprecated": false, "name": "verifiedEmail", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CommentEventSubject", "ofType": null }, { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Customer", "possibleTypes": null }, { "description": "Return type for `customerAddTaxExemptions` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated customer.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerAddTaxExemptionsPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Customers.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CustomerEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Customer", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerConnection", "possibleTypes": null }, { "description": "The source that collected the customer's consent to receive marketing materials.\n", "enumValues": [ { "deprecationReason": null, "description": "The customer consent was collected by Shopify.\n", "isDeprecated": false, "name": "SHOPIFY" }, { "deprecationReason": null, "description": "The customer consent was collected outside of Shopify.\n", "isDeprecated": false, "name": "OTHER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerConsentCollectedFrom", "possibleTypes": null }, { "description": "Return type for `customerCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created customer.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerCreatePayload", "possibleTypes": null }, { "description": "Represents a card instrument for customer payment method.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The billing address of the card.", "isDeprecated": false, "name": "billingAddress", "type": { "kind": "OBJECT", "name": "CustomerCreditCardBillingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The brand of the card.", "isDeprecated": false, "name": "brand", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the card is about to expire.", "isDeprecated": false, "name": "expiresSoon", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The expiry month of the card.", "isDeprecated": false, "name": "expiryMonth", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The expiry year of the card.", "isDeprecated": false, "name": "expiryYear", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The card's BIN number.", "isDeprecated": false, "name": "firstDigits", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment method can be revoked if there are no active subscription contracts.", "isDeprecated": false, "name": "isRevocable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The last 4 digits of the card.", "isDeprecated": false, "name": "lastDigits", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The masked card number with only the last 4 digits displayed.", "isDeprecated": false, "name": "maskedNumber", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the card holder.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The source of the card if coming from a wallet such as Apple Pay.", "isDeprecated": false, "name": "source", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The last 4 digits of the Device Account Number.", "isDeprecated": false, "name": "virtualLastDigits", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerCreditCard", "possibleTypes": null }, { "description": "The billing address of a credit card payment instrument.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address. Typically the street address or PO Box number.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the city, district, village, or town.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the country.", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the country of the address.\nFor example, US.\n", "isDeprecated": false, "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The first name in the billing address.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The last name in the billing address.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The region of the address, such as the province, state, or district.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the region.\nFor example, ON.\n", "isDeprecated": false, "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The zip or postal code of the address.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerCreditCardBillingAddress", "possibleTypes": null }, { "description": "The input fields to delete a customer.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the customer to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerDeleteInput", "possibleTypes": null }, { "description": "Return type for `customerDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted customer.", "isDeprecated": false, "name": "deletedCustomerId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shop of the deleted customer.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Customer and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CustomerEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Customer", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerEdge", "possibleTypes": null }, { "description": "Represents an email address.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer's default email address.", "isDeprecated": false, "name": "emailAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the customer has subscribed to email marketing.", "isDeprecated": false, "name": "marketingState", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerEmailAddressMarketingState", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL to unsubscribe a member from all mailing lists.", "isDeprecated": false, "name": "marketingUnsubscribeUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the customer has opted in to having their opened emails tracked.\n", "isDeprecated": false, "name": "openTrackingLevel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerEmailAddressOpenTrackingLevel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL that can be used to opt a customer in or out of email open tracking.\n", "isDeprecated": false, "name": "openTrackingUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerEmailAddress", "possibleTypes": null }, { "description": "Possible marketing states for the customer’s email address.\n", "enumValues": [ { "deprecationReason": null, "description": "The customer’s email address marketing state is invalid.\n", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The customer is not subscribed to email marketing.\n", "isDeprecated": false, "name": "NOT_SUBSCRIBED" }, { "deprecationReason": null, "description": "The customer is in the process of subscribing to email marketing.\n", "isDeprecated": false, "name": "PENDING" }, { "deprecationReason": null, "description": "The customer is subscribed to email marketing.\n", "isDeprecated": false, "name": "SUBSCRIBED" }, { "deprecationReason": null, "description": "The customer is not subscribed to email marketing but was previously subscribed.\n", "isDeprecated": false, "name": "UNSUBSCRIBED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerEmailAddressMarketingState", "possibleTypes": null }, { "description": "The different levels related to whether a customer has opted in to having their opened emails tracked.\n", "enumValues": [ { "deprecationReason": null, "description": "The customer has not specified whether they want to opt in or out of having their open emails tracked.\n", "isDeprecated": false, "name": "UNKNOWN" }, { "deprecationReason": null, "description": "The customer has opted in to having their open emails tracked.\n", "isDeprecated": false, "name": "OPTED_IN" }, { "deprecationReason": null, "description": "The customer has opted out of having their open emails tracked.\n", "isDeprecated": false, "name": "OPTED_OUT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerEmailAddressOpenTrackingLevel", "possibleTypes": null }, { "description": "Information that describes when a customer consented to\n receiving marketing material by email.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The customer opt-in level at the time of subscribing to marketing material.", "name": "marketingOptInLevel", "type": { "kind": "ENUM", "name": "CustomerMarketingOptInLevel", "ofType": null } }, { "defaultValue": null, "description": "The current marketing state associated with the customer's email.\n If the customer doesn't have an email, then this field is `null`.", "name": "marketingState", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerEmailMarketingState", "ofType": null } } }, { "defaultValue": null, "description": "The latest date and time when the customer consented or objected to\n receiving marketing material by email.", "name": "consentUpdatedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerEmailMarketingConsentInput", "possibleTypes": null }, { "description": "The record of when a customer consented to receive marketing material by email.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time at which the customer consented to receive marketing material by email.\nThe customer's consent state reflects the consent record with the most recent `consent_updated_at` date.\nIf no date is provided, then the date and time at which the consent information was sent is used.\n", "isDeprecated": false, "name": "consentUpdatedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines,\nthat the customer gave when they consented to receive marketing material by email.\n", "isDeprecated": false, "name": "marketingOptInLevel", "type": { "kind": "ENUM", "name": "CustomerMarketingOptInLevel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The current email marketing state for the customer.", "isDeprecated": false, "name": "marketingState", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerEmailMarketingState", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerEmailMarketingConsentState", "possibleTypes": null }, { "description": "The input fields for the email consent information to update for a given customer ID.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the customer for which to update the email marketing consent information. The customer must have a unique email address associated to the record. If not, add the email address using the `customerUpdate` mutation first.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The marketing consent information when the customer consented to receiving marketing material by email.", "name": "emailMarketingConsent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerEmailMarketingConsentInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerEmailMarketingConsentUpdateInput", "possibleTypes": null }, { "description": "Return type for `customerEmailMarketingConsentUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated customer.\n", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerEmailMarketingConsentUpdateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerEmailMarketingConsentUpdatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `CustomerEmailMarketingConsentUpdate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CustomerEmailMarketingConsentUpdateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CustomerEmailMarketingConsentUpdateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CustomerEmailMarketingConsentUpdateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "Unexpected internal error happened.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Missing a required argument.", "isDeprecated": false, "name": "MISSING_ARGUMENT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerEmailMarketingConsentUpdateUserErrorCode", "possibleTypes": null }, { "description": "The possible email marketing states for a customer.\n", "enumValues": [ { "deprecationReason": null, "description": "The customer isn't subscribed to email marketing.\n", "isDeprecated": false, "name": "NOT_SUBSCRIBED" }, { "deprecationReason": null, "description": "The customer is in the process of subscribing to email marketing.\n", "isDeprecated": false, "name": "PENDING" }, { "deprecationReason": null, "description": "The customer is subscribed to email marketing.\n", "isDeprecated": false, "name": "SUBSCRIBED" }, { "deprecationReason": null, "description": "The customer isn't currently subscribed to email marketing but was previously subscribed.\n", "isDeprecated": false, "name": "UNSUBSCRIBED" }, { "deprecationReason": null, "description": "The customer's personal data is erased. This value is internally-set and read-only.\n", "isDeprecated": false, "name": "REDACTED" }, { "deprecationReason": null, "description": "The customer’s email address marketing state is invalid.\n", "isDeprecated": false, "name": "INVALID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerEmailMarketingState", "possibleTypes": null }, { "description": "Return type for `customerGenerateAccountActivationUrl` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The generated account activation URL.", "isDeprecated": false, "name": "accountActivationUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerGenerateAccountActivationUrlPayload", "possibleTypes": null }, { "description": "The input fields and values to use when creating or updating a customer.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The addresses for a customer.", "name": "addresses", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } } } }, { "defaultValue": null, "description": "The unique email address of the customer.", "name": "email", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The customer's first name.", "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the customer to update.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The customer's last name.", "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The customer's locale.", "name": "locale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Additional metafields to associate to the customer.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "A note about the customer.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The unique phone number for the customer.", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A list of tags to associate with the customer. Can be an array or a comma-separated list. Example values: `[\"tag1\", \"tag2\", \"tag3\"]`, `\"tag1, tag2, tag3\"`\n\nUpdating `tags` overwrites any existing tags that were previously added to the customer. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.\n", "name": "tags", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Information that describes when the customer consented to receiving marketing\n material by email. The `email` field is required when creating a customer with email marketing\n consent information.", "name": "emailMarketingConsent", "type": { "kind": "INPUT_OBJECT", "name": "CustomerEmailMarketingConsentInput", "ofType": null } }, { "defaultValue": null, "description": "The marketing consent information when the customer consented to receiving marketing\n material by SMS. The `phone` field is required when creating a customer with SMS\n marketing consent information.", "name": "smsMarketingConsent", "type": { "kind": "INPUT_OBJECT", "name": "CustomerSmsMarketingConsentInput", "ofType": null } }, { "defaultValue": null, "description": "Whether the customer is exempt from paying taxes on their order.", "name": "taxExempt", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The list of tax exemptions to apply to the customer.", "name": "taxExemptions", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerInput", "possibleTypes": null }, { "description": "Represents a customer's visiting activities on a shop's online store.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The position of the current order within the customer's order history.", "isDeprecated": false, "name": "customerOrderIndex", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount of days between first session and order creation date. First session represents first session since the last order, or first session within the 30 day attribution window, if more than 30 days has passed since the last order.", "isDeprecated": false, "name": "daysToConversion", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer's first session going into the shop.", "isDeprecated": false, "name": "firstVisit", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerVisit", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The last session before an order is made.", "isDeprecated": false, "name": "lastVisit", "type": { "kind": "OBJECT", "name": "CustomerVisit", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Events preceding a customer order, such as shop sessions.", "isDeprecated": false, "name": "moments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "CustomerMoment", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerJourney", "possibleTypes": null }, { "description": "Represents a customer's visiting activities on a shop's online store.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The position of the current order within the customer's order history. Test orders aren't included.", "isDeprecated": false, "name": "customerOrderIndex", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of days between the first session and the order creation date. The first session represents the first session since the last order, or the first session within the 30 day attribution window, if more than 30 days have passed since the last order.", "isDeprecated": false, "name": "daysToConversion", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer's first session going into the shop.", "isDeprecated": false, "name": "firstVisit", "type": { "kind": "OBJECT", "name": "CustomerVisit", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The last session before an order is made.", "isDeprecated": false, "name": "lastVisit", "type": { "kind": "OBJECT", "name": "CustomerVisit", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The events preceding a customer's order, such as shop sessions.", "isDeprecated": false, "name": "moments", "type": { "kind": "OBJECT", "name": "CustomerMomentConnection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of customer moments associated with this order. Returns null if the order is still in the process of being attributed.", "isDeprecated": false, "name": "momentsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the attributed sessions for the order have been created yet.", "isDeprecated": false, "name": "ready", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerJourneySummary", "possibleTypes": null }, { "description": "The possible values for the marketing subscription opt-in level enabled at the time the customer consented to receive marketing information.\n\nThe levels are defined by [the M3AAWG best practices guideline\n document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf).\n", "enumValues": [ { "deprecationReason": null, "description": "After providing their information, the customer receives marketing information without any\nintermediate steps.\n", "isDeprecated": false, "name": "SINGLE_OPT_IN" }, { "deprecationReason": null, "description": "After providing their information, the customer receives a confirmation and is required to\nperform a intermediate step before receiving marketing information.\n", "isDeprecated": false, "name": "CONFIRMED_OPT_IN" }, { "deprecationReason": null, "description": "The customer receives marketing information but how they were opted in is unknown.\n", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerMarketingOptInLevel", "possibleTypes": null }, { "description": "The error blocking a customer merge.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of fields preventing the customer from being merged.", "isDeprecated": false, "name": "errorFields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerMergeErrorFieldType", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The customer merge error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMergeError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CustomerMergeUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An internal error occurred.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "The customer cannot be merged.", "isDeprecated": false, "name": "INVALID_CUSTOMER" }, { "deprecationReason": null, "description": "The customer ID is invalid.", "isDeprecated": false, "name": "INVALID_CUSTOMER_ID" }, { "deprecationReason": null, "description": "The customer cannot be merged because it has associated gift cards.", "isDeprecated": false, "name": "CUSTOMER_HAS_GIFT_CARDS" }, { "deprecationReason": null, "description": "The customer is missing the attribute requested for override.", "isDeprecated": false, "name": "MISSING_OVERRIDE_ATTRIBUTE" }, { "deprecationReason": null, "description": "The override attribute is invalid.", "isDeprecated": false, "name": "OVERRIDE_ATTRIBUTE_INVALID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerMergeErrorCode", "possibleTypes": null }, { "description": "The types of the hard blockers preventing a customer from being merged to another customer.\n", "enumValues": [ { "deprecationReason": null, "description": "The customer does not exist.", "isDeprecated": false, "name": "DELETED_AT" }, { "deprecationReason": null, "description": "The customer has a pending or completed redaction.", "isDeprecated": false, "name": "REDACTED_AT" }, { "deprecationReason": null, "description": "The customer has a subscription history.", "isDeprecated": false, "name": "SUBSCRIPTIONS" }, { "deprecationReason": null, "description": "The customer has a merge in progress.", "isDeprecated": false, "name": "MERGE_IN_PROGRESS" }, { "deprecationReason": null, "description": "The customer has gift cards.", "isDeprecated": false, "name": "GIFT_CARDS" }, { "deprecationReason": null, "description": "The customer is a company contact.", "isDeprecated": false, "name": "COMPANY_CONTACT" }, { "deprecationReason": null, "description": "The customer has payment methods.", "isDeprecated": false, "name": "CUSTOMER_PAYMENT_METHODS" }, { "deprecationReason": null, "description": "The customer has a pending data request.", "isDeprecated": false, "name": "PENDING_DATA_REQUEST" }, { "deprecationReason": null, "description": "The customer has a multipass identifier.", "isDeprecated": false, "name": "MULTIPASS_IDENTIFIER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerMergeErrorFieldType", "possibleTypes": null }, { "description": "The input fields to override default customer merge rules.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the customer whose first name will be kept.\n", "name": "customerIdOfFirstNameToKeep", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the customer whose last name will be kept.\n", "name": "customerIdOfLastNameToKeep", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the customer whose email will be kept.\n", "name": "customerIdOfEmailToKeep", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the customer whose phone number will be kept.\n", "name": "customerIdOfPhoneNumberToKeep", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the customer whose default address will be kept.\n", "name": "customerIdOfDefaultAddressToKeep", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The note to keep.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The tags to keep.", "name": "tags", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerMergeOverrideFields", "possibleTypes": null }, { "description": "Return type for `customerMerge` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job for merging the customers.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the customer resulting from the merge.", "isDeprecated": false, "name": "resultingCustomerId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerMergeUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMergePayload", "possibleTypes": null }, { "description": "A preview of the results of a customer merge request.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fields that can be used to override the default fields.", "isDeprecated": false, "name": "alternateFields", "type": { "kind": "OBJECT", "name": "CustomerMergePreviewAlternateFields", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The fields that will block the merge if the two customers are merged.", "isDeprecated": false, "name": "blockingFields", "type": { "kind": "OBJECT", "name": "CustomerMergePreviewBlockingFields", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The errors blocking the customer merge.", "isDeprecated": false, "name": "customerMergeErrors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerMergeError", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The fields that will be kept if the two customers are merged.", "isDeprecated": false, "name": "defaultFields", "type": { "kind": "OBJECT", "name": "CustomerMergePreviewDefaultFields", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The resulting customer ID if the two customers are merged.", "isDeprecated": false, "name": "resultingCustomerId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMergePreview", "possibleTypes": null }, { "description": "The fields that can be used to override the default fields.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The default address of a customer.", "isDeprecated": false, "name": "defaultAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The email state of a customer.", "isDeprecated": false, "name": "email", "type": { "kind": "OBJECT", "name": "CustomerEmailAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The first name of a customer.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The last name of a customer.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The phone number state of a customer.", "isDeprecated": false, "name": "phoneNumber", "type": { "kind": "OBJECT", "name": "CustomerPhoneNumber", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMergePreviewAlternateFields", "possibleTypes": null }, { "description": "The blocking fields of a customer merge preview. These fields will block customer merge unless edited.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The merged note resulting from a customer merge. The merged note is over the 5000 character limit and will block customer merge.\n", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The merged tags resulting from a customer merge. The merged tags are over the 250 limit and will block customer merge.\n", "isDeprecated": false, "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMergePreviewBlockingFields", "possibleTypes": null }, { "description": "The fields that will be kept as part of a customer merge preview.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The merged addresses resulting from a customer merge.", "isDeprecated": false, "name": "addresses", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MailingAddressConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The default address resulting from a customer merge.", "isDeprecated": false, "name": "defaultAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of customer-specific discounts resulting from a customer merge.", "isDeprecated": false, "name": "discountNodeCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DiscountSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The merged customer-specific discounts resulting from a customer merge.", "isDeprecated": false, "name": "discountNodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountNodeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The full name of the customer, based on the values for `first_name` and `last_name`. If `first_name` and `last_name` aren't available, then this field falls back to the customer's email address. If the customer's email isn't available, then this field falls back to the customer's phone number.", "isDeprecated": false, "name": "displayName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total number of merged draft orders.", "isDeprecated": false, "name": "draftOrderCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "UPDATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DraftOrderSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The merged draft orders resulting from a customer merge.", "isDeprecated": false, "name": "draftOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The email state of a customer.", "isDeprecated": false, "name": "email", "type": { "kind": "OBJECT", "name": "CustomerEmailAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The first name resulting from a customer merge.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The last name resulting from a customer merge.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of merged metafields.", "isDeprecated": false, "name": "metafieldCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The merged note resulting from a customer merge.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of merged orders.", "isDeprecated": false, "name": "orderCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "PROCESSED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "OrderSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The merged orders resulting from a customer merge.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The phone number state of a customer.", "isDeprecated": false, "name": "phoneNumber", "type": { "kind": "OBJECT", "name": "CustomerPhoneNumber", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The merged tags resulting from a customer merge.", "isDeprecated": false, "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMergePreviewDefaultFields", "possibleTypes": null }, { "description": "A merge request for merging two customers.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The merge errors that occurred during the customer merge request.", "isDeprecated": false, "name": "customerMergeErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerMergeError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The UUID of the merge job.", "isDeprecated": false, "name": "jobId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the customer resulting from the merge.", "isDeprecated": false, "name": "resultingCustomerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the customer merge request.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerMergeRequestStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMergeRequest", "possibleTypes": null }, { "description": "The status of the customer merge request.\n", "enumValues": [ { "deprecationReason": null, "description": "The customer merge request has been requested.\n", "isDeprecated": false, "name": "REQUESTED" }, { "deprecationReason": null, "description": "The customer merge request is currently in progress.\n", "isDeprecated": false, "name": "IN_PROGRESS" }, { "deprecationReason": null, "description": "The customer merge request has been completed.\n", "isDeprecated": false, "name": "COMPLETED" }, { "deprecationReason": null, "description": "The customer merge request has failed.\n", "isDeprecated": false, "name": "FAILED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerMergeRequestStatus", "possibleTypes": null }, { "description": "An error that occurs while merging two customers.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CustomerMergeErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CustomerMergeUserError", "possibleTypes": null }, { "description": "An object that represents whether a customer can be merged with another customer.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of fields preventing the customer from being merged.\n", "isDeprecated": false, "name": "errorFields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerMergeErrorFieldType", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the customer can be merged with another customer.\n", "isDeprecated": false, "name": "isMergeable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The merge request if one is currently in progress.\n", "isDeprecated": false, "name": "mergeInProgress", "type": { "kind": "OBJECT", "name": "CustomerMergeRequest", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The reason why the customer can't be merged with another customer.\n", "isDeprecated": false, "name": "reason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMergeable", "possibleTypes": null }, { "description": "Represents a session preceding an order, often used for building a timeline of events leading to an order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the customer's session occurred.", "isDeprecated": false, "name": "occurredAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "CustomerMoment", "possibleTypes": [ { "kind": "OBJECT", "name": "CustomerVisit", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple CustomerMoments.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerMomentEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CustomerMomentEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "CustomerMoment", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMomentConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CustomerMoment and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CustomerMomentEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "CustomerMoment", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerMomentEdge", "possibleTypes": null }, { "description": "All possible instruments for CustomerPaymentMethods.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "CustomerPaymentInstrument", "possibleTypes": [ { "kind": "OBJECT", "name": "CustomerCreditCard", "ofType": null }, { "kind": "OBJECT", "name": "CustomerPaypalBillingAgreement", "ofType": null }, { "kind": "OBJECT", "name": "CustomerShopPayAgreement", "ofType": null } ] }, { "description": "The billing address of a payment instrument.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address. Typically the street address or PO Box number.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the city, district, village, or town.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the country.", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the country of the address.\nFor example, US.\n", "isDeprecated": false, "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the buyer of the address.", "isDeprecated": false, "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The region of the address, such as the province, state, or district.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the region.\nFor example, ON.\n", "isDeprecated": false, "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The zip or postal code of the address.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentInstrumentBillingAddress", "possibleTypes": null }, { "description": "A customer's payment method.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer to whom the payment method belongs.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of this payment method.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The instrument for this payment method.", "isDeprecated": false, "name": "instrument", "type": { "kind": "UNION", "name": "CustomerPaymentInstrument", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The time that the payment method was revoked.", "isDeprecated": false, "name": "revokedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The revocation reason for this payment method.", "isDeprecated": false, "name": "revokedReason", "type": { "kind": "ENUM", "name": "CustomerPaymentMethodRevocationReason", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List Subscription Contracts.", "isDeprecated": false, "name": "subscriptionContracts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContractConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CustomerPaymentMethod", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CustomerPaymentMethods.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethodEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CustomerPaymentMethodEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodConnection", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodCreditCardCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer payment method.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodCreditCardCreatePayload", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodCreditCardUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer payment method.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodCreditCardUpdatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CustomerPaymentMethodEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodEdge", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodGetUpdateUrl` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The URL to redirect the customer to update the payment method.", "isDeprecated": false, "name": "updatePaymentMethodUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethodGetUpdateUrlUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodGetUpdateUrlPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `CustomerPaymentMethodGetUpdateUrl`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CustomerPaymentMethodGetUpdateUrlUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CustomerPaymentMethodGetUpdateUrlUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CustomerPaymentMethodGetUpdateUrlUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Payment method doesn't exist.", "isDeprecated": false, "name": "PAYMENT_METHOD_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Invalid payment instrument.", "isDeprecated": false, "name": "INVALID_INSTRUMENT" }, { "deprecationReason": null, "description": "Too many requests.", "isDeprecated": false, "name": "TOO_MANY_REQUESTS" }, { "deprecationReason": null, "description": "Customer doesn't exist.", "isDeprecated": false, "name": "CUSTOMER_DOES_NOT_EXIST" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerPaymentMethodGetUpdateUrlUserErrorCode", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodPaypalBillingAgreementCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer payment method.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethodUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodPaypalBillingAgreementCreatePayload", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodPaypalBillingAgreementUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer payment method.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethodUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodPaypalBillingAgreementUpdatePayload", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodRemoteCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer payment method.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethodRemoteUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodRemoteCreatePayload", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodRemoteCreditCardCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer payment method.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerPaymentMethodUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodRemoteCreditCardCreatePayload", "possibleTypes": null }, { "description": "The input fields for a remote gateway payment method, only one remote reference permitted.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Input containing the fields for a remote stripe payment method.\n", "name": "stripePaymentMethod", "type": { "kind": "INPUT_OBJECT", "name": "RemoteStripePaymentMethodInput", "ofType": null } }, { "defaultValue": null, "description": "The input fields for a remote authorize net customer profile.\n", "name": "authorizeNetCustomerPaymentProfile", "type": { "kind": "INPUT_OBJECT", "name": "RemoteAuthorizeNetCustomerPaymentProfileInput", "ofType": null } }, { "defaultValue": null, "description": "The input fields for a remote Braintree customer profile.", "name": "braintreePaymentMethod", "type": { "kind": "INPUT_OBJECT", "name": "RemoteBraintreePaymentMethodInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerPaymentMethodRemoteInput", "possibleTypes": null }, { "description": "Represents an error in the input of a mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CustomerPaymentMethodRemoteUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CustomerPaymentMethodRemoteUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CustomerPaymentMethodRemoteUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "Exactly one remote reference is required.", "isDeprecated": false, "name": "EXACTLY_ONE_REMOTE_REFERENCE_REQUIRED" }, { "deprecationReason": null, "description": "Authorize.net is not enabled for subscriptions.", "isDeprecated": false, "name": "AUTHORIZE_NET_NOT_ENABLED_FOR_SUBSCRIPTIONS" }, { "deprecationReason": null, "description": "Braintree is not enabled for subscriptions.", "isDeprecated": false, "name": "BRAINTREE_NOT_ENABLED_FOR_SUBSCRIPTIONS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerPaymentMethodRemoteUserErrorCode", "possibleTypes": null }, { "description": "The revocation reason types for a customer payment method.", "enumValues": [ { "deprecationReason": null, "description": "The Authorize.net payment gateway is not enabled.", "isDeprecated": false, "name": "AUTHORIZE_NET_GATEWAY_NOT_ENABLED" }, { "deprecationReason": null, "description": "Authorize.net did not return any payment methods. Make sure that the correct Authorize.net account is linked.", "isDeprecated": false, "name": "AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD" }, { "deprecationReason": null, "description": "The credit card failed to update.", "isDeprecated": false, "name": "FAILED_TO_UPDATE_CREDIT_CARD" }, { "deprecationReason": null, "description": "Failed to contact the Stripe API.", "isDeprecated": false, "name": "STRIPE_API_AUTHENTICATION_ERROR" }, { "deprecationReason": null, "description": "Invalid request. Failed to retrieve payment method from Stripe.", "isDeprecated": false, "name": "STRIPE_API_INVALID_REQUEST_ERROR" }, { "deprecationReason": null, "description": "The Stripe payment gateway is not enabled.", "isDeprecated": false, "name": "STRIPE_GATEWAY_NOT_ENABLED" }, { "deprecationReason": null, "description": "Stripe did not return any payment methods. Make sure that the correct Stripe account is linked.", "isDeprecated": false, "name": "STRIPE_RETURNED_NO_PAYMENT_METHOD" }, { "deprecationReason": null, "description": "The Stripe payment method type should be card.", "isDeprecated": false, "name": "STRIPE_PAYMENT_METHOD_NOT_CARD" }, { "deprecationReason": null, "description": "Failed to contact Braintree API.", "isDeprecated": false, "name": "BRAINTREE_API_AUTHENTICATION_ERROR" }, { "deprecationReason": null, "description": "The Braintree payment gateway is not enabled.", "isDeprecated": false, "name": "BRAINTREE_GATEWAY_NOT_ENABLED" }, { "deprecationReason": null, "description": "Braintree returned no payment methods. Make sure the correct Braintree account is linked.", "isDeprecated": false, "name": "BRAINTREE_RETURNED_NO_PAYMENT_METHOD" }, { "deprecationReason": null, "description": "The Braintree payment method type should be a credit card or Apple Pay card.", "isDeprecated": false, "name": "BRAINTREE_PAYMENT_METHOD_NOT_CARD" }, { "deprecationReason": null, "description": "The payment method was manually revoked.", "isDeprecated": false, "name": "MANUALLY_REVOKED" }, { "deprecationReason": null, "description": "The payment method was replaced with an existing payment method. The associated contracts have been migrated to the other payment method.", "isDeprecated": false, "name": "MERGED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerPaymentMethodRevocationReason", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodRevoke` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the revoked customer payment method.", "isDeprecated": false, "name": "revokedCustomerPaymentMethodId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodRevokePayload", "possibleTypes": null }, { "description": "Return type for `customerPaymentMethodSendUpdateEmail` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer to whom an update payment method email was sent.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaymentMethodSendUpdateEmailPayload", "possibleTypes": null }, { "description": "Represents an error in the input of a mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CustomerPaymentMethodUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CustomerPaymentMethodUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CustomerPaymentMethodUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerPaymentMethodUserErrorCode", "possibleTypes": null }, { "description": "Represents a PayPal instrument for customer payment method.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The billing address of this payment method.", "isDeprecated": false, "name": "billingAddress", "type": { "kind": "OBJECT", "name": "CustomerPaymentInstrumentBillingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the PayPal billing agreement is inactive.", "isDeprecated": false, "name": "inactive", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the payment method can be revoked.The payment method can be revoked if there are no active subscription contracts.", "isDeprecated": false, "name": "isRevocable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customers's PayPal account email address.", "isDeprecated": false, "name": "paypalAccountEmail", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPaypalBillingAgreement", "possibleTypes": null }, { "description": "A phone number.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the customer has subscribed to SMS marketing material.", "isDeprecated": false, "name": "marketingState", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerSmsMarketingState", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A customer's phone number.", "isDeprecated": false, "name": "phoneNumber", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerPhoneNumber", "possibleTypes": null }, { "description": "The valid tiers for the predicted spend of a customer with a shop.", "enumValues": [ { "deprecationReason": null, "description": "The customer's spending is predicted to be in the top spending range for the shop in the following year.\n", "isDeprecated": false, "name": "HIGH" }, { "deprecationReason": null, "description": "The customer's spending is predicted to be in the normal spending range for the shop in the following year.\n", "isDeprecated": false, "name": "MEDIUM" }, { "deprecationReason": null, "description": "The customer's spending is predicted to be zero, or in the lowest spending range for the shop in the following year.\n", "isDeprecated": false, "name": "LOW" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerPredictedSpendTier", "possibleTypes": null }, { "description": "The possible product subscription states for a customer, as defined by the customer's subscription contracts.\n", "enumValues": [ { "deprecationReason": null, "description": "The customer has at least one active subscription contract.\n", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "The customer's last subscription contract was cancelled and there are no other active or paused\nsubscription contracts.\n", "isDeprecated": false, "name": "CANCELLED" }, { "deprecationReason": null, "description": "The customer's last subscription contract expired and there are no other active or paused\nsubscription contracts.\n", "isDeprecated": false, "name": "EXPIRED" }, { "deprecationReason": null, "description": "The customer's last subscription contract failed and there are no other active or paused\nsubscription contracts.\n", "isDeprecated": false, "name": "FAILED" }, { "deprecationReason": null, "description": "The customer has never had a subscription contract.\n", "isDeprecated": false, "name": "NEVER_SUBSCRIBED" }, { "deprecationReason": null, "description": "The customer has at least one paused subscription contract and there are no other active\nsubscription contracts.\n", "isDeprecated": false, "name": "PAUSED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerProductSubscriberStatus", "possibleTypes": null }, { "description": "Return type for `customerRemoveTaxExemptions` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated customer.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerRemoveTaxExemptionsPayload", "possibleTypes": null }, { "description": "Return type for `customerReplaceTaxExemptions` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated customer.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerReplaceTaxExemptionsPayload", "possibleTypes": null }, { "description": "The set of valid sort keys for the CustomerSavedSearch query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerSavedSearchSortKeys", "possibleTypes": null }, { "description": "The member of a segment.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The total amount of money that the member has spent on orders.", "isDeprecated": false, "name": "amountSpent", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The member's default address.", "isDeprecated": false, "name": "defaultAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The member's default email address.", "isDeprecated": false, "name": "defaultEmailAddress", "type": { "kind": "OBJECT", "name": "CustomerEmailAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The member's default phone number.", "isDeprecated": false, "name": "defaultPhoneNumber", "type": { "kind": "OBJECT", "name": "CustomerPhoneNumber", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The full name of the member, which is based on the values of the `first_name` and `last_name` fields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used.", "isDeprecated": false, "name": "displayName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The member's first name.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The member’s ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The member's last name.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the member's most recent order.", "isDeprecated": false, "name": "lastOrderId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the customer can be merged with another customer.", "isDeprecated": false, "name": "mergeable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerMergeable", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A note about the member.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of orders that the member has made.", "isDeprecated": false, "name": "numberOfOrders", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerSegmentMember", "possibleTypes": null }, { "description": "The connection type for the `CustomerSegmentMembers` object.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerSegmentMemberEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The statistics for a given segment.", "isDeprecated": false, "name": "statistics", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentStatistics", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerSegmentMemberConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CustomerSegmentMember and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CustomerSegmentMemberEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerSegmentMember", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerSegmentMemberEdge", "possibleTypes": null }, { "description": "A job to determine a list of members, such as customers, that are associated with an individual segment.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The current total number of members in a given segment.", "isDeprecated": false, "name": "currentCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "This indicates if the job is still queued or has been run.", "isDeprecated": false, "name": "done", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID that's returned when running an asynchronous mutation.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "JobResult", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CustomerSegmentMembersQuery", "possibleTypes": null }, { "description": "Return type for `customerSegmentMembersQueryCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created customer segment members query.", "isDeprecated": false, "name": "customerSegmentMembersQuery", "type": { "kind": "OBJECT", "name": "CustomerSegmentMembersQuery", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerSegmentMembersQueryUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerSegmentMembersQueryCreatePayload", "possibleTypes": null }, { "description": "The input fields and values for creating a customer segment members query.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the segment.", "name": "segmentId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The query that's used to filter the members. The query is composed of a combination of conditions on facts about customers such as `email_subscription_status = 'SUBSCRIBED'` with [this syntax](https://shopify.dev/api/shopifyql/segment-query-language-reference).", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the list. The sorting behaviour defaults to ascending order.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Sort the list by a given key.", "name": "sortKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerSegmentMembersQueryInput", "possibleTypes": null }, { "description": "Represents a customer segment members query custom error.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CustomerSegmentMembersQueryUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CustomerSegmentMembersQueryUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CustomerSegmentMembersQueryUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerSegmentMembersQueryUserErrorCode", "possibleTypes": null }, { "description": "Represents a Shop Pay card instrument for customer payment method.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the card is about to expire.", "isDeprecated": false, "name": "expiresSoon", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The expiry month of the card.", "isDeprecated": false, "name": "expiryMonth", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The expiry year of the card.", "isDeprecated": false, "name": "expiryYear", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the Shop Pay billing agreement is inactive.", "isDeprecated": false, "name": "inactive", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The payment method can be revoked if there are no active subscription contracts.", "isDeprecated": false, "name": "isRevocable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The last 4 digits of the card.", "isDeprecated": false, "name": "lastDigits", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The masked card number with only the last 4 digits displayed.", "isDeprecated": false, "name": "maskedNumber", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the card holder.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerShopPayAgreement", "possibleTypes": null }, { "description": "An error that occurs during execution of an SMS marketing consent mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "CustomerSmsMarketingConsentErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "CustomerSmsMarketingConsentError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `CustomerSmsMarketingConsentError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "Unexpected internal error happened.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Missing a required argument.", "isDeprecated": false, "name": "MISSING_ARGUMENT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerSmsMarketingConsentErrorCode", "possibleTypes": null }, { "description": "The marketing consent information when the customer consented to\n receiving marketing material by SMS.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The marketing subscription opt-in level that was set when the customer consented to receive marketing information.\n", "name": "marketingOptInLevel", "type": { "kind": "ENUM", "name": "CustomerMarketingOptInLevel", "ofType": null } }, { "defaultValue": null, "description": "The current SMS marketing state for the customer.", "name": "marketingState", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerSmsMarketingState", "ofType": null } } }, { "defaultValue": null, "description": "The date and time when the customer consented to receive marketing material by SMS.\nIf no date is provided, then the date and time when the consent information was sent is used.\n", "name": "consentUpdatedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerSmsMarketingConsentInput", "possibleTypes": null }, { "description": "The record of when a customer consented to receive marketing material by SMS.\n\nThe customer's consent state reflects the record with the most recent date when consent was updated.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The source from which the SMS marketing information for the customer was collected.", "isDeprecated": false, "name": "consentCollectedFrom", "type": { "kind": "ENUM", "name": "CustomerConsentCollectedFrom", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the customer consented to receive marketing material by SMS.\nIf no date is provided, then the date and time when the consent information was sent is used.\n", "isDeprecated": false, "name": "consentUpdatedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The marketing subscription opt-in level that was set when the customer consented to receive marketing information.\n", "isDeprecated": false, "name": "marketingOptInLevel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerMarketingOptInLevel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current SMS marketing state for the customer.", "isDeprecated": false, "name": "marketingState", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CustomerSmsMarketingState", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerSmsMarketingConsentState", "possibleTypes": null }, { "description": "The input fields for updating SMS marketing consent information for a given customer ID.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the customer to update the SMS marketing consent information for. The customer must have a unique phone number associated to the record. If not, add the phone number using the `customerUpdate` mutation first.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The marketing consent information when the customer consented to receiving marketing material by SMS.", "name": "smsMarketingConsent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerSmsMarketingConsentInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "CustomerSmsMarketingConsentUpdateInput", "possibleTypes": null }, { "description": "Return type for `customerSmsMarketingConsentUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated customer.\n", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerSmsMarketingConsentError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerSmsMarketingConsentUpdatePayload", "possibleTypes": null }, { "description": "The valid SMS marketing states for a customer’s phone number.\n", "enumValues": [ { "deprecationReason": null, "description": "The customer hasn't subscribed to SMS marketing.\n", "isDeprecated": false, "name": "NOT_SUBSCRIBED" }, { "deprecationReason": null, "description": "The customer is in the process of subscribing to SMS marketing.\n", "isDeprecated": false, "name": "PENDING" }, { "deprecationReason": null, "description": "The customer is subscribed to SMS marketing.\n", "isDeprecated": false, "name": "SUBSCRIBED" }, { "deprecationReason": null, "description": "The customer isn't currently subscribed to SMS marketing but was previously subscribed.\n", "isDeprecated": false, "name": "UNSUBSCRIBED" }, { "deprecationReason": null, "description": "The customer's personal data is erased. This value is internally-set and read-only.\n", "isDeprecated": false, "name": "REDACTED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerSmsMarketingState", "possibleTypes": null }, { "description": "The set of valid sort keys for the Customer query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `location` value.", "isDeprecated": false, "name": "LOCATION" }, { "deprecationReason": null, "description": "Sort by the `orders_count` value.", "isDeprecated": false, "name": "ORDERS_COUNT" }, { "deprecationReason": null, "description": "Sort by the `last_order_date` value.", "isDeprecated": false, "name": "LAST_ORDER_DATE" }, { "deprecationReason": null, "description": "Sort by the `total_spent` value.", "isDeprecated": false, "name": "TOTAL_SPENT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerSortKeys", "possibleTypes": null }, { "description": "The valid values for the state of a customer's account with a shop.", "enumValues": [ { "deprecationReason": null, "description": "The customer declined the email invite to create an account.\n", "isDeprecated": false, "name": "DECLINED" }, { "deprecationReason": null, "description": "The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time.\n", "isDeprecated": false, "name": "DISABLED" }, { "deprecationReason": null, "description": "The customer has created an account.\n", "isDeprecated": false, "name": "ENABLED" }, { "deprecationReason": null, "description": "The customer has received an email invite to create an account.\n", "isDeprecated": false, "name": "INVITED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "CustomerState", "possibleTypes": null }, { "description": "A customer's computed statistics.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The predicted spend tier of a customer with a shop.", "isDeprecated": false, "name": "predictedSpendTier", "type": { "kind": "ENUM", "name": "CustomerPredictedSpendTier", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerStatistics", "possibleTypes": null }, { "description": "Return type for `customerUpdateDefaultAddress` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The customer whose address was updated.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerUpdateDefaultAddressPayload", "possibleTypes": null }, { "description": "Return type for `customerUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated customer.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerUpdatePayload", "possibleTypes": null }, { "description": "Represents a customer's session visiting a shop's online store, including information about the marketing activity attributed to starting the session.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "URL of the first page the customer landed on for the session.", "isDeprecated": false, "name": "landingPage", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Landing page information with URL linked in HTML. For example, the first page the customer visited was store.myshopify.com/products/1.", "isDeprecated": false, "name": "landingPageHtml", "type": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Represent actions taken by an app, on behalf of a merchant,\nto market Shopify resources such as products, collections, and discounts.\n", "isDeprecated": false, "name": "marketingEvent", "type": { "kind": "OBJECT", "name": "MarketingEvent", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the customer's session occurred.", "isDeprecated": false, "name": "occurredAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Marketing referral code from the link that the customer clicked to visit the store.\nSupports the following URL attributes: _ref_, _source_, or _r_.\nFor example, if the URL is myshopifystore.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2.\n", "isDeprecated": false, "name": "referralCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Referral information with URLs linked in HTML.", "isDeprecated": false, "name": "referralInfoHtml", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "FormattedString", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Webpage where the customer clicked a link that sent them to the online store.\nFor example, _https://randomblog.com/page1_ or _android-app://com.google.android.gm_.\n", "isDeprecated": false, "name": "referrerUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct,\na website domain, QR code, or unknown.\n", "isDeprecated": false, "name": "source", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Describes the source explicitly for first or last session.", "isDeprecated": false, "name": "sourceDescription", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Type of marketing tactic.", "isDeprecated": false, "name": "sourceType", "type": { "kind": "ENUM", "name": "MarketingTactic", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A set of UTM parameters gathered from the URL parameters of the referrer.", "isDeprecated": false, "name": "utmParameters", "type": { "kind": "OBJECT", "name": "UTMParameters", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CustomerMoment", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "CustomerVisit", "possibleTypes": null }, { "description": "This type returns the information about the product and product variant from a customer visit.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product information. If `null`, then the product was deleted from the store.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The quantity of the product that the customer requested.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product variant information, if the product variant exists.", "isDeprecated": false, "name": "variant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerVisitProductInfo", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple CustomerVisitProductInfos.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerVisitProductInfoEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in CustomerVisitProductInfoEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerVisitProductInfo", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerVisitProductInfoConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one CustomerVisitProductInfo and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of CustomerVisitProductInfoEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerVisitProductInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "CustomerVisitProductInfoEdge", "possibleTypes": null }, { "description": "Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date string.\nFor example, September 7, 2019 is represented as `\"2019-07-16\"`.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "Date", "possibleTypes": null }, { "description": "Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string.\nFor example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is\nrepresented as `\"2019-09-07T15:50:00Z`\".\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "DateTime", "possibleTypes": null }, { "description": "Days of the week from Monday to Sunday.", "enumValues": [ { "deprecationReason": null, "description": "Monday.", "isDeprecated": false, "name": "MONDAY" }, { "deprecationReason": null, "description": "Tuesday.", "isDeprecated": false, "name": "TUESDAY" }, { "deprecationReason": null, "description": "Wednesday.", "isDeprecated": false, "name": "WEDNESDAY" }, { "deprecationReason": null, "description": "Thursday.", "isDeprecated": false, "name": "THURSDAY" }, { "deprecationReason": null, "description": "Friday.", "isDeprecated": false, "name": "FRIDAY" }, { "deprecationReason": null, "description": "Saturday.", "isDeprecated": false, "name": "SATURDAY" }, { "deprecationReason": null, "description": "Sunday.", "isDeprecated": false, "name": "SUNDAY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DayOfTheWeek", "possibleTypes": null }, { "description": "A signed decimal number, which supports arbitrary precision and is serialized as a string.\n\nExample values: `\"29.99\"`, `\"29.999\"`.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "Decimal", "possibleTypes": null }, { "description": "A token that delegates a set of scopes from the original permission.\n\nTo learn more about creating delegate access tokens, refer to\n[Delegate OAuth access tokens to subsystems]\n(https://shopify.dev/apps/auth/oauth/delegate-access-tokens).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of permissions associated with the token.", "isDeprecated": false, "name": "accessScopes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The issued delegate access token.", "isDeprecated": false, "name": "accessToken", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the delegate access token was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DelegateAccessToken", "possibleTypes": null }, { "description": "Return type for `delegateAccessTokenCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The delegate access token.", "isDeprecated": false, "name": "delegateAccessToken", "type": { "kind": "OBJECT", "name": "DelegateAccessToken", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DelegateAccessTokenCreateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DelegateAccessTokenCreatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `DelegateAccessTokenCreate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "DelegateAccessTokenCreateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "DelegateAccessTokenCreateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `DelegateAccessTokenCreateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The access scope can't be empty.", "isDeprecated": false, "name": "EMPTY_ACCESS_SCOPE" }, { "deprecationReason": null, "description": "The parent access token can't be a delegate token.", "isDeprecated": false, "name": "DELEGATE_ACCESS_TOKEN" }, { "deprecationReason": null, "description": "The expires_in value must be greater than 0.", "isDeprecated": false, "name": "NEGATIVE_EXPIRES_IN" }, { "deprecationReason": null, "description": "The delegate token can't expire after the parent token.", "isDeprecated": false, "name": "EXPIRES_AFTER_PARENT" }, { "deprecationReason": null, "description": "The parent access token can't have a refresh token.", "isDeprecated": false, "name": "REFRESH_TOKEN" }, { "deprecationReason": null, "description": "Persistence failed.", "isDeprecated": false, "name": "PERSISTENCE_FAILED" }, { "deprecationReason": null, "description": "Unknown scopes.", "isDeprecated": false, "name": "UNKNOWN_SCOPES" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DelegateAccessTokenCreateUserErrorCode", "possibleTypes": null }, { "description": "Return type for `delegateAccessTokenDestroy` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the delegate access token destroy operation. Returns true if successful.", "isDeprecated": false, "name": "status", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DelegateAccessTokenDestroyUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DelegateAccessTokenDestroyPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `DelegateAccessTokenDestroy`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "DelegateAccessTokenDestroyUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "DelegateAccessTokenDestroyUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `DelegateAccessTokenDestroyUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Persistence failed.", "isDeprecated": false, "name": "PERSISTENCE_FAILED" }, { "deprecationReason": null, "description": "Access token not found.", "isDeprecated": false, "name": "ACCESS_TOKEN_NOT_FOUND" }, { "deprecationReason": null, "description": "Cannot delete parent access token.", "isDeprecated": false, "name": "CAN_ONLY_DELETE_DELEGATE_TOKENS" }, { "deprecationReason": null, "description": "Access denied.", "isDeprecated": false, "name": "ACCESS_DENIED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DelegateAccessTokenDestroyUserErrorCode", "possibleTypes": null }, { "description": "The input fields for a delegate access token.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The list of scopes that will be delegated to the new access token.", "name": "delegateAccessScope", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "defaultValue": null, "description": "The amount of time, in seconds, after which the delegate access token is no longer valid.", "name": "expiresIn", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DelegateAccessTokenInput", "possibleTypes": null }, { "description": "Deletion events chronicle the destruction of resources (e.g. products and collections).\nOnce deleted, the deletion event is the only trace of the original's existence,\nas the resource itself has been removed and can no longer be accessed.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the deletion event for the related resource was generated.", "isDeprecated": false, "name": "occurredAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the resource that was deleted.", "isDeprecated": false, "name": "subjectId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of resource that was deleted.", "isDeprecated": false, "name": "subjectType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeletionEventSubjectType", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeletionEvent", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DeletionEvents.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeletionEventEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DeletionEventEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeletionEvent", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeletionEventConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DeletionEvent and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DeletionEventEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeletionEvent", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeletionEventEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the DeletionEvent query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeletionEventSortKeys", "possibleTypes": null }, { "description": "The supported subject types of deletion events.", "enumValues": [ { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "COLLECTION" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "PRODUCT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeletionEventSubjectType", "possibleTypes": null }, { "description": "A shipping service and a list of countries that the service is available for.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The countries the service provider ships to.", "isDeprecated": false, "name": "countries", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCountryCodesOrRestOfWorld", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the service.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryAvailableService", "possibleTypes": null }, { "description": "A shipping service provider or a carrier account.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "The locations of the possible origins.", "name": "origins", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The country codes of the destinations.", "name": "countryCodes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } }, { "defaultValue": null, "description": "Whether to use 'Rest of World' as the destination.", "name": "restOfWorld", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "deprecationReason": null, "description": "The list of services offered for given destinations.", "isDeprecated": false, "name": "availableServicesForCountries", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryAvailableService", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The properly formatted name of the shipping service provider, ready to display.", "isDeprecated": false, "name": "formattedName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The logo of the service provider.", "isDeprecated": false, "name": "icon", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the shipping service provider.", "isDeprecated": false, "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryCarrierService", "possibleTypes": null }, { "description": "A carrier service and the associated list of shop locations.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The carrier service.", "isDeprecated": false, "name": "carrierService", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCarrierService", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of locations that support this carrier service.", "isDeprecated": false, "name": "locations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCarrierServiceAndLocations", "possibleTypes": null }, { "description": "A condition that must pass for a delivery method definition to be applied to an order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The value (weight or price) that the condition field is compared to.", "isDeprecated": false, "name": "conditionCriteria", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DeliveryConditionCriteria", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The field to compare the criterion value against, using the operator.", "isDeprecated": false, "name": "field", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeliveryConditionField", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The operator to compare the field and criterion value.", "isDeprecated": false, "name": "operator", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeliveryConditionOperator", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryCondition", "possibleTypes": null }, { "description": "The value (weight or price) that the condition field is compared to.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DeliveryConditionCriteria", "possibleTypes": [ { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, { "kind": "OBJECT", "name": "Weight", "ofType": null } ] }, { "description": "The field type that the condition will be applied to.", "enumValues": [ { "deprecationReason": null, "description": "The condition will check against the total weight of the order.", "isDeprecated": false, "name": "TOTAL_WEIGHT" }, { "deprecationReason": null, "description": "The condition will check against the total price of the order.", "isDeprecated": false, "name": "TOTAL_PRICE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeliveryConditionField", "possibleTypes": null }, { "description": "The operator to use to determine if the condition passes.", "enumValues": [ { "deprecationReason": null, "description": "The condition will check whether the field is greater than or equal to the criterion.", "isDeprecated": false, "name": "GREATER_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The condition will check if the field is less than or equal to the criterion.", "isDeprecated": false, "name": "LESS_THAN_OR_EQUAL_TO" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeliveryConditionOperator", "possibleTypes": null }, { "description": "A country that is used to define a shipping zone.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A two-letter country code in ISO 3166-1 alpha-2 standard.\nIt also includes a flag indicating whether the country should be\na part of the 'Rest Of World' shipping zone.\n", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCountryCodeOrRestOfWorld", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The full name of the country.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of regions associated with this country.", "isDeprecated": false, "name": "provinces", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProvince", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The translated name of the country. The translation returned is based on the system's locale.", "isDeprecated": false, "name": "translatedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryCountry", "possibleTypes": null }, { "description": "The country details and the associated shipping zone.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The country details.", "isDeprecated": false, "name": "country", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCountry", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the shipping zone.", "isDeprecated": false, "name": "zone", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCountryAndZone", "possibleTypes": null }, { "description": "The country code and whether the country is a part of the 'Rest Of World' shipping zone.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The country code in the ISO 3166-1 alpha-2 format.", "isDeprecated": false, "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the country is a part of the 'Rest of World' shipping zone.", "isDeprecated": false, "name": "restOfWorld", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCountryCodeOrRestOfWorld", "possibleTypes": null }, { "description": "The list of country codes and information whether the countries\nare a part of the 'Rest Of World' shipping zone.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "List of applicable country codes in the ISO 3166-1 alpha-2 format.", "isDeprecated": false, "name": "countryCodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the countries are a part of the 'Rest of World' shipping zone.", "isDeprecated": false, "name": "restOfWorld", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCountryCodesOrRestOfWorld", "possibleTypes": null }, { "description": "The input fields to specify a country.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The country code of the country in the ISO 3166-1 alpha-2 format.", "name": "code", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "defaultValue": null, "description": "Whether the country is a part of the 'Rest of World' shipping zone.", "name": "restOfWorld", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The regions associated with this country.", "name": "provinces", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryProvinceInput", "ofType": null } } } }, { "defaultValue": null, "description": "Associate all available provinces with this country.", "name": "includeAllProvinces", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryCountryInput", "possibleTypes": null }, { "description": "A delivery customization.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The enabled status of the delivery customization.", "isDeprecated": false, "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The error history on the most recent version of the delivery customization.", "isDeprecated": false, "name": "errorHistory", "type": { "kind": "OBJECT", "name": "FunctionsErrorHistory", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the Shopify Function implementing the delivery customization.", "isDeprecated": false, "name": "functionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The Shopify Function implementing the delivery customization.", "isDeprecated": false, "name": "shopifyFunction", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyFunction", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the delivery customization.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryCustomization", "possibleTypes": null }, { "description": "Return type for `deliveryCustomizationActivation` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The IDs of the updated delivery customizations.", "isDeprecated": false, "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCustomizationError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCustomizationActivationPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DeliveryCustomizations.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCustomizationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DeliveryCustomizationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCustomizationConnection", "possibleTypes": null }, { "description": "Return type for `deliveryCustomizationCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Returns the created delivery customization.", "isDeprecated": false, "name": "deliveryCustomization", "type": { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCustomizationError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCustomizationCreatePayload", "possibleTypes": null }, { "description": "Return type for `deliveryCustomizationDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Returns the deleted delivery customization ID.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCustomizationError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCustomizationDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one DeliveryCustomization and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DeliveryCustomizationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCustomizationEdge", "possibleTypes": null }, { "description": "An error that occurs during the execution of a delivery customization mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "DeliveryCustomizationErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryCustomizationError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `DeliveryCustomizationError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "Function not found.", "isDeprecated": false, "name": "FUNCTION_NOT_FOUND" }, { "deprecationReason": null, "description": "Delivery customization not found.", "isDeprecated": false, "name": "DELIVERY_CUSTOMIZATION_NOT_FOUND" }, { "deprecationReason": null, "description": "Shop must be on a Shopify Plus plan to activate delivery customizations from a custom app.", "isDeprecated": false, "name": "DELIVERY_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE" }, { "deprecationReason": null, "description": "Unauthorized app scope.", "isDeprecated": false, "name": "UNAUTHORIZED_APP_SCOPE" }, { "deprecationReason": null, "description": "Maximum delivery customizations are already enabled.", "isDeprecated": false, "name": "MAXIMUM_ACTIVE_DELIVERY_CUSTOMIZATIONS" }, { "deprecationReason": null, "description": "Shop must be on a Shopify Plus plan to activate functions from a custom app.", "isDeprecated": false, "name": "CUSTOM_APP_FUNCTION_NOT_ELIGIBLE" }, { "deprecationReason": null, "description": "Function does not implement the required interface for this delivery customization.", "isDeprecated": false, "name": "FUNCTION_DOES_NOT_IMPLEMENT" }, { "deprecationReason": null, "description": "Function is pending deletion.", "isDeprecated": false, "name": "FUNCTION_PENDING_DELETION" }, { "deprecationReason": null, "description": "Function ID cannot be changed.", "isDeprecated": false, "name": "FUNCTION_ID_CANNOT_BE_CHANGED" }, { "deprecationReason": null, "description": "Required input field must be present.", "isDeprecated": false, "name": "REQUIRED_INPUT_FIELD" }, { "deprecationReason": null, "description": "Could not create or update metafields.", "isDeprecated": false, "name": "INVALID_METAFIELDS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeliveryCustomizationErrorCode", "possibleTypes": null }, { "description": "The input fields to create and update a delivery customization.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the function providing the delivery customization.", "name": "functionId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The title of the delivery customization.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The enabled status of the delivery customization.", "name": "enabled", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "[]", "description": "Additional metafields to associate to the delivery customization.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryCustomizationInput", "possibleTypes": null }, { "description": "Return type for `deliveryCustomizationUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Returns the updated delivery customization.", "isDeprecated": false, "name": "deliveryCustomization", "type": { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCustomizationError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryCustomizationUpdatePayload", "possibleTypes": null }, { "description": "Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the shop can convert to full multi-location delivery profiles mode.", "isDeprecated": false, "name": "blocked", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reasons why the shop is blocked from converting to full multi-location delivery profiles mode.", "isDeprecated": false, "name": "reasons", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeliveryLegacyModeBlockedReason", "ofType": null } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryLegacyModeBlocked", "possibleTypes": null }, { "description": "Reasons the shop is blocked from converting to full multi-location delivery profiles mode.", "enumValues": [ { "deprecationReason": "All shops are now using multi-location mode.", "description": "Multi-Location mode is disabled. The shop can't convert to full multi-location delivery profiles mode.", "isDeprecated": true, "name": "MULTI_LOCATION_DISABLED" }, { "deprecationReason": null, "description": "There are no locations for this store that can fulfill online orders.", "isDeprecated": false, "name": "NO_LOCATIONS_FULFILLING_ONLINE_ORDERS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeliveryLegacyModeBlockedReason", "possibleTypes": null }, { "description": "Local pickup settings associated with a location.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Additional instructions or information related to the local pickup.", "isDeprecated": false, "name": "instructions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The estimated pickup time to show customers at checkout.", "isDeprecated": false, "name": "pickupTime", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeliveryLocalPickupTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryLocalPickupSettings", "possibleTypes": null }, { "description": "Possible pickup time values that a location enabled for local pickup can have.", "enumValues": [ { "deprecationReason": null, "description": "Usually ready in 1 hour.", "isDeprecated": false, "name": "ONE_HOUR" }, { "deprecationReason": null, "description": "Usually ready in 2 hours.", "isDeprecated": false, "name": "TWO_HOURS" }, { "deprecationReason": null, "description": "Usually ready in 4 hours.", "isDeprecated": false, "name": "FOUR_HOURS" }, { "deprecationReason": null, "description": "Usually ready in 24 hours.", "isDeprecated": false, "name": "TWENTY_FOUR_HOURS" }, { "deprecationReason": null, "description": "Usually ready in 2-4 days.", "isDeprecated": false, "name": "TWO_TO_FOUR_DAYS" }, { "deprecationReason": null, "description": "Usually ready in 5+ days.", "isDeprecated": false, "name": "FIVE_OR_MORE_DAYS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeliveryLocalPickupTime", "possibleTypes": null }, { "description": "A location group is a collection of locations. They share zones and delivery methods across delivery\nprofiles.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "NAME", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "LocationSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `active`\n - `address1`\n - `address2`\n - `city`\n - `country`\n - `legacy`\n - `name`\n - `province`\n - `zip`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "If true, also include the legacy locations of fulfillment services.", "name": "includeLegacy", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "If true, also include the locations that are deactivated.", "name": "includeInactive", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of all locations that are part of this location group.", "isDeprecated": false, "name": "locations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A count of all locations that are part of this location group.", "isDeprecated": false, "name": "locationsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryLocationGroup", "possibleTypes": null }, { "description": "Links a location group with a zone and the associated method definitions.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of method definitions for the zone.", "isDeprecated": false, "name": "methodDefinitionCounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryMethodDefinitionCounts", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Return only eligible or ineligible method definitions.", "name": "eligible", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Return only merchant or participant method definitions.", "name": "type", "type": { "kind": "ENUM", "name": "DeliveryMethodDefinitionType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MethodDefinitionSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The method definitions associated to a zone and location group.", "isDeprecated": false, "name": "methodDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryMethodDefinitionConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The zone associated to a location group.", "isDeprecated": false, "name": "zone", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryZone", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryLocationGroupZone", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DeliveryLocationGroupZones.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryLocationGroupZoneEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DeliveryLocationGroupZoneEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryLocationGroupZone", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryLocationGroupZoneConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DeliveryLocationGroupZone and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DeliveryLocationGroupZoneEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryLocationGroupZone", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryLocationGroupZoneEdge", "possibleTypes": null }, { "description": "The input fields for a delivery zone associated to a location group and profile.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A globally-unique ID of the zone.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The name of the zone.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A list of countries to associate with the zone.", "name": "countries", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryCountryInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of method definitions to create.", "name": "methodDefinitionsToCreate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryMethodDefinitionInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of method definitions to update.", "name": "methodDefinitionsToUpdate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryMethodDefinitionInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryLocationGroupZoneInput", "possibleTypes": null }, { "description": "The input fields for a local pickup setting associated with a location.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the location associated with the location setting.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The time of the local pickup.", "name": "pickupTime", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeliveryLocalPickupTime", "ofType": null } } }, { "defaultValue": null, "description": "The instructions for the local pickup.", "name": "instructions", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryLocationLocalPickupEnableInput", "possibleTypes": null }, { "description": "Represents an error that happened when changing local pickup settings for a location.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "DeliveryLocationLocalPickupSettingsErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryLocationLocalPickupSettingsError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `DeliveryLocationLocalPickupSettingsError`.", "enumValues": [ { "deprecationReason": null, "description": "Provided locationId is not for an active location belonging to this store.", "isDeprecated": false, "name": "ACTIVE_LOCATION_NOT_FOUND" }, { "deprecationReason": null, "description": "An error occurred while changing the local pickup settings.", "isDeprecated": false, "name": "GENERIC_ERROR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeliveryLocationLocalPickupSettingsErrorCode", "possibleTypes": null }, { "description": "The delivery method used by a fulfillment order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location.", "isDeprecated": false, "name": "maxDeliveryDateTime", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of the delivery method.", "isDeprecated": false, "name": "methodType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeliveryMethodType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location.", "isDeprecated": false, "name": "minDeliveryDateTime", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryMethod", "possibleTypes": null }, { "description": "A method definition contains the delivery rate and the conditions that must be met for the method to be\napplied.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether this method definition is active.", "isDeprecated": false, "name": "active", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the method definition.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The method conditions that must pass for this method definition to be applied to an order.", "isDeprecated": false, "name": "methodConditions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCondition", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The name of the method definition.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The provided rate for this method definition, from a rate definition or participant.", "isDeprecated": false, "name": "rateProvider", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DeliveryRateProvider", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryMethodDefinition", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DeliveryMethodDefinitions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryMethodDefinitionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DeliveryMethodDefinitionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryMethodDefinition", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryMethodDefinitionConnection", "possibleTypes": null }, { "description": "The number of method definitions for a zone, separated into merchant-owned and participant definitions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of participant method definitions for the specified zone.", "isDeprecated": false, "name": "participantDefinitionsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of merchant-defined method definitions for the specified zone.", "isDeprecated": false, "name": "rateDefinitionsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryMethodDefinitionCounts", "possibleTypes": null }, { "description": "An auto-generated type which holds one DeliveryMethodDefinition and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DeliveryMethodDefinitionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryMethodDefinition", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryMethodDefinitionEdge", "possibleTypes": null }, { "description": "The input fields for a method definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A globally-unique ID of the method definition. Use only when updating a method definiton.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The name of the method definition.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The description of the method definition.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether to use this method definition during rate calculation.", "name": "active", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "A rate definition to apply to the method definition.", "name": "rateDefinition", "type": { "kind": "INPUT_OBJECT", "name": "DeliveryRateDefinitionInput", "ofType": null } }, { "defaultValue": null, "description": "A participant to apply to the method definition.", "name": "participant", "type": { "kind": "INPUT_OBJECT", "name": "DeliveryParticipantInput", "ofType": null } }, { "defaultValue": null, "description": "A list of weight conditions on the method definition.", "name": "weightConditionsToCreate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryWeightConditionInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of price conditions on the method definition.", "name": "priceConditionsToCreate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryPriceConditionInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of conditions to update on the method definition.", "name": "conditionsToUpdate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryUpdateConditionInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryMethodDefinitionInput", "possibleTypes": null }, { "description": "The different types of method definitions to filter by.", "enumValues": [ { "deprecationReason": null, "description": "A static merchant-defined rate.", "isDeprecated": false, "name": "MERCHANT" }, { "deprecationReason": null, "description": "A dynamic participant rate.", "isDeprecated": false, "name": "PARTICIPANT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeliveryMethodDefinitionType", "possibleTypes": null }, { "description": "Possible method types that a delivery method can have.", "enumValues": [ { "deprecationReason": null, "description": "The order is shipped.", "isDeprecated": false, "name": "SHIPPING" }, { "deprecationReason": null, "description": "The order is picked up by the customer.", "isDeprecated": false, "name": "PICK_UP" }, { "deprecationReason": null, "description": "No delivery is needed.", "isDeprecated": false, "name": "NONE" }, { "deprecationReason": null, "description": "The order is delivered to a retail store.", "isDeprecated": false, "name": "RETAIL" }, { "deprecationReason": null, "description": "The order is delivered using a local delivery service.", "isDeprecated": false, "name": "LOCAL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DeliveryMethodType", "possibleTypes": null }, { "description": "A participant defines carrier-calculated rates for shipping services\nwith a possible merchant-defined fixed fee or a percentage-of-rate fee.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether to display new shipping services automatically to the customer when the service becomes available.\n", "isDeprecated": false, "name": "adaptToNewServicesFlag", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The carrier used for this participant.", "isDeprecated": false, "name": "carrierService", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCarrierService", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The merchant-defined fixed fee for this participant.", "isDeprecated": false, "name": "fixedFee", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The carrier-specific services offered by the participant, and whether each service is active.", "isDeprecated": false, "name": "participantServices", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryParticipantService", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The merchant-defined percentage-of-rate fee for this participant.", "isDeprecated": false, "name": "percentageOfRateFee", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryParticipant", "possibleTypes": null }, { "description": "The input fields for a participant.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the participant.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the carrier service for this participant.", "name": "carrierServiceId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The fixed feed that is defined by the merchant for this participant.", "name": "fixedFee", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, { "defaultValue": null, "description": "The merchant-defined percentage-of-rate fee for this participant.", "name": "percentageOfRateFee", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The list of shipping services offered by the participant.", "name": "participantServices", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryParticipantServiceInput", "ofType": null } } } }, { "defaultValue": null, "description": "Whether to automatically display new shipping services to the customer when a service becomes available.\n", "name": "adaptToNewServices", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryParticipantInput", "possibleTypes": null }, { "description": "A mail service provided by the participant.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the service is active.", "isDeprecated": false, "name": "active", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the service.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryParticipantService", "possibleTypes": null }, { "description": "The input fields for a shipping service provided by a participant.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the service.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Whether the service is active.", "name": "active", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryParticipantServiceInput", "possibleTypes": null }, { "description": "The input fields for a price-based condition of a delivery method definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The monetary value to compare the price of an order to.", "name": "criteria", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, { "defaultValue": null, "description": "The operator to use for comparison.", "name": "operator", "type": { "kind": "ENUM", "name": "DeliveryConditionOperator", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryPriceConditionInput", "possibleTypes": null }, { "description": "How many product variants are in a profile. This count is capped at 500.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the count has reached the cap of 500.", "isDeprecated": false, "name": "capped", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product variant count.", "isDeprecated": false, "name": "count", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryProductVariantsCount", "possibleTypes": null }, { "description": "A shipping profile. In Shopify, a shipping profile is a set of shipping rates scoped to a set of products or variants that can be shipped from selected locations to zones.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of active shipping rates for the profile.", "isDeprecated": false, "name": "activeMethodDefinitionsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether this is the default profile.", "isDeprecated": false, "name": "default", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether this shop has enabled legacy compatibility mode for delivery profiles.", "isDeprecated": false, "name": "legacyMode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of locations without rates defined.", "isDeprecated": false, "name": "locationsWithoutRatesCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the delivery profile.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of active origin locations for the profile.", "isDeprecated": false, "name": "originLocationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": "Use `productVariantsCountV2` instead.", "description": "The number of product variants for this profile. The count for the default profile is not supported and will return -1.", "isDeprecated": true, "name": "productVariantsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How many product variants are in this profile.", "isDeprecated": false, "name": "productVariantsCountV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProductVariantsCount", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The products and variants associated with this profile.", "isDeprecated": false, "name": "profileItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfileItemConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filter the location groups of the profile by location group ID.", "name": "locationGroupId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The location groups and associated zones using this profile.", "isDeprecated": false, "name": "profileLocationGroups", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfileLocationGroup", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Selling plan groups associated with the specified delivery profile.", "isDeprecated": false, "name": "sellingPlanGroups", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "List of locations that have not been assigned to a location group for this profile.", "isDeprecated": false, "name": "unassignedLocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of locations that have not been assigned to a location group for this profile.", "isDeprecated": false, "name": "unassignedLocationsPaginated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of countries with active rates to deliver to.", "isDeprecated": false, "name": "zoneCountryCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryProfile", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DeliveryProfiles.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfileEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DeliveryProfileEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfile", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryProfileConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DeliveryProfile and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DeliveryProfileEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfile", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryProfileEdge", "possibleTypes": null }, { "description": "The input fields for a delivery profile.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the delivery profile.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The list of location groups associated with the delivery profile.", "name": "profileLocationGroups", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryProfileLocationGroupInput", "ofType": null } } } }, { "defaultValue": null, "description": "The list of location groups to be created in the delivery profile.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 location groups per each request.\n", "name": "locationGroupsToCreate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryProfileLocationGroupInput", "ofType": null } } } }, { "defaultValue": null, "description": "The list of location groups to be updated in the delivery profile.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 location groups per each request.\n", "name": "locationGroupsToUpdate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryProfileLocationGroupInput", "ofType": null } } } }, { "defaultValue": null, "description": "The list of location groups to be deleted from the delivery profile.", "name": "locationGroupsToDelete", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of product variant IDs to be associated with the delivery profile.", "name": "variantsToAssociate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of product variant IDs to be dissociated from the delivery profile.\nThe dissociated product variants are moved back to the default delivery profile.\n", "name": "variantsToDissociate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of zone IDs to delete.", "name": "zonesToDelete", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of method definition IDs to delete.", "name": "methodDefinitionsToDelete", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of condition IDs to delete.", "name": "conditionsToDelete", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of selling plan groups to be associated with the delivery profile.", "name": "sellingPlanGroupsToAssociate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of selling plan groups to be dissociated with the delivery profile.", "name": "sellingPlanGroupsToDissociate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryProfileInput", "possibleTypes": null }, { "description": "A product and the subset of associated variants that are part of this delivery profile.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A product associated with this profile.", "isDeprecated": false, "name": "product", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The product variants associated with this delivery profile.", "isDeprecated": false, "name": "variants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryProfileItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DeliveryProfileItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfileItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DeliveryProfileItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfileItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryProfileItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DeliveryProfileItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DeliveryProfileItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfileItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryProfileItemEdge", "possibleTypes": null }, { "description": "Links a location group with zones. Both are associated to a delivery profile.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The countries already selected in any zone for the specified location group.", "isDeprecated": false, "name": "countriesInAnyZone", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCountryAndZone", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The collection of locations that make up the specified location group.", "isDeprecated": false, "name": "locationGroup", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryLocationGroup", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The applicable zones associated to the specified location group.", "isDeprecated": false, "name": "locationGroupZones", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryLocationGroupZoneConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryProfileLocationGroup", "possibleTypes": null }, { "description": "The input fields for a location group associated to a delivery profile.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The globally-unique ID of the delivery profile location group.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The list of location IDs to be moved to this location group.", "name": "locations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of location IDs to be added to this location group.\n\n**Note:** due to API input array limits, a maximum of 250 items can be sent per each request.\n", "name": "locationsToAdd", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of location IDs to be removed from this location group.\n\n**Note:** due to API input array limits, a maximum of 250 items can be sent per each request.\n", "name": "locationsToRemove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The list of location group zones to create.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 zones per each request.\n", "name": "zonesToCreate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryLocationGroupZoneInput", "ofType": null } } } }, { "defaultValue": null, "description": "The list of location group zones to update.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 zones per each request.\n", "name": "zonesToUpdate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryLocationGroupZoneInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryProfileLocationGroupInput", "possibleTypes": null }, { "description": "A region that is used to define a shipping zone.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The code of the region.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The full name of the region.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The translated name of the region. The translation returned is based on the system's locale.", "isDeprecated": false, "name": "translatedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryProvince", "possibleTypes": null }, { "description": "The input fields to specify a region.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The code of the region.", "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryProvinceInput", "possibleTypes": null }, { "description": "The merchant-defined rate of the [DeliveryMethodDefinition](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryMethodDefinition).", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price of this rate.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryRateDefinition", "possibleTypes": null }, { "description": "The input fields for a rate definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A globally-unique ID of the rate definition.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The price of the rate definition.", "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryRateDefinitionInput", "possibleTypes": null }, { "description": "A rate provided by a merchant-defined rate or a participant.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DeliveryRateProvider", "possibleTypes": [ { "kind": "OBJECT", "name": "DeliveryParticipant", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryRateDefinition", "ofType": null } ] }, { "description": "The `DeliverySetting` object enables you to manage shop-wide shipping settings.\nYou can enable legacy compatibility mode for the multi-location delivery profiles feature\nif the legacy mode isn't blocked.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned.", "isDeprecated": false, "name": "legacyModeBlocked", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryLegacyModeBlocked", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Enables legacy compatability mode for the multi-location delivery profiles feature.", "isDeprecated": false, "name": "legacyModeProfiles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliverySetting", "possibleTypes": null }, { "description": "The input fields for shop-level delivery settings.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Whether legacy compatability mode is enabled for the multi-location delivery profiles feature.", "name": "legacyModeProfiles", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliverySettingInput", "possibleTypes": null }, { "description": "Return type for `deliverySettingUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated delivery shop level settings.", "isDeprecated": false, "name": "setting", "type": { "kind": "OBJECT", "name": "DeliverySetting", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliverySettingUpdatePayload", "possibleTypes": null }, { "description": "Return type for `deliveryShippingOriginAssign` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DeliveryShippingOriginAssignPayload", "possibleTypes": null }, { "description": "The input fields for updating the condition of a delivery method definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A globally-unique ID of the condition.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The value that will be used in comparison.", "name": "criteria", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The unit associated with the value that will be used in comparison.", "name": "criteriaUnit", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The property of an order that will be used in comparison.", "name": "field", "type": { "kind": "ENUM", "name": "DeliveryConditionField", "ofType": null } }, { "defaultValue": null, "description": "The operator to use for comparison.", "name": "operator", "type": { "kind": "ENUM", "name": "DeliveryConditionOperator", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryUpdateConditionInput", "possibleTypes": null }, { "description": "The input fields for a weight-based condition of a delivery method definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The weight value to compare the weight of an order to.", "name": "criteria", "type": { "kind": "INPUT_OBJECT", "name": "WeightInput", "ofType": null } }, { "defaultValue": null, "description": "The operator to use for comparison.", "name": "operator", "type": { "kind": "ENUM", "name": "DeliveryConditionOperator", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DeliveryWeightConditionInput", "possibleTypes": null }, { "description": "A zone is a group of countries that have the same shipping rates. Customers can order products from a store only if they choose a shipping destination that's included in one of the store's zones.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of countries within the zone.", "isDeprecated": false, "name": "countries", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCountry", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the zone.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DeliveryZone", "possibleTypes": null }, { "description": "Digital wallet, such as Apple Pay, which can be used for accelerated checkouts.", "enumValues": [ { "deprecationReason": null, "description": "Apple Pay.", "isDeprecated": false, "name": "APPLE_PAY" }, { "deprecationReason": null, "description": "Android Pay.", "isDeprecated": false, "name": "ANDROID_PAY" }, { "deprecationReason": null, "description": "Google Pay.", "isDeprecated": false, "name": "GOOGLE_PAY" }, { "deprecationReason": null, "description": "Shopify Pay.", "isDeprecated": false, "name": "SHOPIFY_PAY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DigitalWallet", "possibleTypes": null }, { "description": "A discount.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "Discount", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountAutomaticApp", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticBasic", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticBxgy", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeApp", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeBasic", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeBxgy", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeFreeShipping", "ofType": null } ] }, { "description": "An amount that's allocated to a line based on an associated discount application.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `allocatedAmountSet` instead.", "description": "The money amount that's allocated to a line based on the associated discount application.", "isDeprecated": true, "name": "allocatedAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The money amount that's allocated to a line based on the associated discount application in shop and presentment currencies.", "isDeprecated": false, "name": "allocatedAmountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The discount application that the allocated amount originated from.", "isDeprecated": false, "name": "discountApplication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAllocation", "possibleTypes": null }, { "description": "The fixed amount value of a discount, and whether the amount is applied to each entitled item or spread evenly across the entitled items.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The value of the discount.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.", "isDeprecated": false, "name": "appliesOnEachItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAmount", "possibleTypes": null }, { "description": "The input fields for the value of the discount and how it is applied.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The value of the discount.", "name": "amount", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, { "defaultValue": null, "description": "If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.", "name": "appliesOnEachItem", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountAmountInput", "possibleTypes": null }, { "description": "Discount applications capture the intentions of a discount source at\nthe time of application on an order's line items or shipping lines.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is applied to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.\n", "isDeprecated": false, "name": "index", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "DiscountApplication", "possibleTypes": [ { "kind": "OBJECT", "name": "AutomaticDiscountApplication", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeApplication", "ofType": null }, { "kind": "OBJECT", "name": "ManualDiscountApplication", "ofType": null }, { "kind": "OBJECT", "name": "ScriptDiscountApplication", "ofType": null } ] }, { "description": "The method by which the discount's value is allocated onto its entitled lines.", "enumValues": [ { "deprecationReason": null, "description": "The value is spread across all entitled lines.", "isDeprecated": false, "name": "ACROSS" }, { "deprecationReason": null, "description": "The value is applied onto every entitled line.", "isDeprecated": false, "name": "EACH" }, { "deprecationReason": "Use ACROSS instead.", "description": "The value is specifically applied onto a particular line.", "isDeprecated": true, "name": "ONE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DiscountApplications.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountApplicationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DiscountApplicationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountApplicationConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DiscountApplication and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DiscountApplicationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountApplicationEdge", "possibleTypes": null }, { "description": "The level at which the discount's value is applied.", "enumValues": [ { "deprecationReason": null, "description": "The discount is applied at the order level.\nOrder level discounts are not factored into the discountedUnitPriceSet on line items.\n", "isDeprecated": false, "name": "ORDER" }, { "deprecationReason": null, "description": "The discount is applied at the line level.\nLine level discounts are factored into the discountedUnitPriceSet on line items.\n", "isDeprecated": false, "name": "LINE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountApplicationLevel", "possibleTypes": null }, { "description": "The lines on the order to which the discount is applied, of the type defined by\nthe discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of\n`LINE_ITEM`, applies the discount on all line items that are entitled to the discount.\nThe value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.\n", "enumValues": [ { "deprecationReason": null, "description": "The discount is allocated onto all the lines.", "isDeprecated": false, "name": "ALL" }, { "deprecationReason": null, "description": "The discount is allocated onto only the lines that it's entitled for.", "isDeprecated": false, "name": "ENTITLED" }, { "deprecationReason": null, "description": "The discount is allocated onto explicitly chosen lines.", "isDeprecated": false, "name": "EXPLICIT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "possibleTypes": null }, { "description": "The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.\n", "enumValues": [ { "deprecationReason": null, "description": "The discount applies onto line items.", "isDeprecated": false, "name": "LINE_ITEM" }, { "deprecationReason": null, "description": "The discount applies onto shipping lines.", "isDeprecated": false, "name": "SHIPPING_LINE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountApplicationTargetType", "possibleTypes": null }, { "description": "The type of discount associated to the automatic discount. For example, the automatic discount might offer a basic discount using a fixed percentage, or a fixed amount, on specific products from the order. The automatic discount may also be a BXGY discount, which offers customer discounts on select products if they add a specific product to their order.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountAutomatic", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountAutomaticApp", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticBasic", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticBxgy", "ofType": null } ] }, { "description": "Return type for `discountAutomaticActivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The activated automatic discount.", "isDeprecated": false, "name": "automaticDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticActivatePayload", "possibleTypes": null }, { "description": "An automatic app discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The app discount type providing the discount type.", "isDeprecated": false, "name": "appDiscountType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppDiscountType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.", "isDeprecated": false, "name": "asyncUsageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Determines which discount classes the discount can combine with.", "isDeprecated": false, "name": "combinesWith", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCombinesWith", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The class of the discount for combining purposes.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountClass", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID for the discount.", "isDeprecated": false, "name": "discountId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "isDeprecated": false, "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The error history on the most recent version of the app discount.", "isDeprecated": false, "name": "errorHistory", "type": { "kind": "OBJECT", "name": "FunctionsErrorHistory", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount starts.", "isDeprecated": false, "name": "startsAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the discount.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticApp", "possibleTypes": null }, { "description": "Return type for `discountAutomaticAppCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created app discount.", "isDeprecated": false, "name": "automaticAppDiscount", "type": { "kind": "OBJECT", "name": "DiscountAutomaticApp", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticAppCreatePayload", "possibleTypes": null }, { "description": "The input fields to create an app discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Determines which discount classes the discount can combine with.", "name": "combinesWith", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "ofType": null } }, { "defaultValue": null, "description": "The ID of the function providing the app discount type.", "name": "functionId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The title of the discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount starts.", "name": "startsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": "[]", "description": "Additional metafields to associate to the discount.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountAutomaticAppInput", "possibleTypes": null }, { "description": "Return type for `discountAutomaticAppUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated automatic app discount.", "isDeprecated": false, "name": "automaticAppDiscount", "type": { "kind": "OBJECT", "name": "DiscountAutomaticApp", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticAppUpdatePayload", "possibleTypes": null }, { "description": "An automatic discount that offers customers a percentage discount, or fixed amount discount, on specific products, collections, or the entire order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.", "isDeprecated": false, "name": "asyncUsageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Determines which discount classes the discount can combine with.", "isDeprecated": false, "name": "combinesWith", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCombinesWith", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The qualifying items in an order, the quantity of each one, and the total value of the discount.", "isDeprecated": false, "name": "customerGets", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCustomerGets", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The class of the discount for combining purposes.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MerchandiseDiscountClass", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "isDeprecated": false, "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The minimum subtotal or quantity that's required for the discount to be applied.", "isDeprecated": false, "name": "minimumRequirement", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountMinimumRequirement", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A short summary of the discount.", "isDeprecated": false, "name": "shortSummary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount starts.", "isDeprecated": false, "name": "startsAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the discount.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A detailed summary of the discount.", "isDeprecated": false, "name": "summary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": "Use `asyncUsageCount` instead.", "description": "The number of times that the discount has been used.", "isDeprecated": true, "name": "usageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticBasic", "possibleTypes": null }, { "description": "Return type for `discountAutomaticBasicCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created automatic discount.", "isDeprecated": false, "name": "automaticDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticBasicCreatePayload", "possibleTypes": null }, { "description": "The input fields to create or update an automatic basic discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Determines which discount classes the discount can combine with.", "name": "combinesWith", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "ofType": null } }, { "defaultValue": null, "description": "The title of the discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount starts.", "name": "startsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The minimum subtotal or quantity that's required for the discount to be applied.", "name": "minimumRequirement", "type": { "kind": "INPUT_OBJECT", "name": "DiscountMinimumRequirementInput", "ofType": null } }, { "defaultValue": null, "description": "Information about the qualifying items and their discount.", "name": "customerGets", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerGetsInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountAutomaticBasicInput", "possibleTypes": null }, { "description": "Return type for `discountAutomaticBasicUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated automatic discount.", "isDeprecated": false, "name": "automaticDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticBasicUpdatePayload", "possibleTypes": null }, { "description": "Return type for `discountAutomaticBulkDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job removing the automatic discounts.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticBulkDeletePayload", "possibleTypes": null }, { "description": "An automatic discount that offers customers a Buy X, Get Y (BXGY) discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.", "isDeprecated": false, "name": "asyncUsageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Determines which discount classes the discount can combine with.", "isDeprecated": false, "name": "combinesWith", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCombinesWith", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount.", "isDeprecated": false, "name": "customerBuys", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCustomerBuys", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The qualifying items in an order, the quantity of each one, and the total value of the discount.", "isDeprecated": false, "name": "customerGets", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCustomerGets", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The class of the discount for combining purposes.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MerchandiseDiscountClass", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "isDeprecated": false, "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of events associated with the host subject.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use DiscountAutomaticNode.id instead.", "description": "A legacy unique ID for the discount.", "isDeprecated": true, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount starts.", "isDeprecated": false, "name": "startsAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the discount.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A detailed summary of the discount.", "isDeprecated": false, "name": "summary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": "Use `asyncUsageCount` instead.", "description": "The number of times that the discount has been used.", "isDeprecated": true, "name": "usageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of times that the discount can be applied to an order.", "isDeprecated": false, "name": "usesPerOrderLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DiscountAutomaticBxgy", "possibleTypes": null }, { "description": "Return type for `discountAutomaticBxgyCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created automatic discount.", "isDeprecated": false, "name": "automaticDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticBxgyCreatePayload", "possibleTypes": null }, { "description": "The input fields to create or update an automatic Buy X, Get Y (BXGY) discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Determines which discount classes the discount can combine with.", "name": "combinesWith", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount starts.", "name": "startsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The title of the discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times that the discount can be applied to an order.", "name": "usesPerOrderLimit", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } }, { "defaultValue": null, "description": "The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount.", "name": "customerBuys", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerBuysInput", "ofType": null } }, { "defaultValue": null, "description": "The qualifying items in an order, the quantity of each one, and the total value of the discount.", "name": "customerGets", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerGetsInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountAutomaticBxgyInput", "possibleTypes": null }, { "description": "Return type for `discountAutomaticBxgyUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated automatic discount.", "isDeprecated": false, "name": "automaticDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticBxgyUpdatePayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DiscountAutomatics.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAutomaticEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DiscountAutomaticEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountAutomatic", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticConnection", "possibleTypes": null }, { "description": "Return type for `discountAutomaticDeactivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The deactivated automatic discount.", "isDeprecated": false, "name": "automaticDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticDeactivatePayload", "possibleTypes": null }, { "description": "Return type for `discountAutomaticDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The deleted automatic discount ID.", "isDeprecated": false, "name": "deletedAutomaticDiscountId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one DiscountAutomatic and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DiscountAutomaticEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountAutomatic", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticEdge", "possibleTypes": null }, { "description": "A node containing an automatic discount and its related events.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The automatic discount object.", "isDeprecated": false, "name": "automaticDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountAutomatic", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of events associated with the host subject.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DiscountAutomaticNode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DiscountAutomaticNodes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAutomaticNodeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DiscountAutomaticNodeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticNodeConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DiscountAutomaticNode and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DiscountAutomaticNodeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountAutomaticNodeEdge", "possibleTypes": null }, { "description": "The class of the discount for combining purposes.", "enumValues": [ { "deprecationReason": null, "description": "Combined as a product discount.", "isDeprecated": false, "name": "PRODUCT" }, { "deprecationReason": null, "description": "Combined as an order discount.", "isDeprecated": false, "name": "ORDER" }, { "deprecationReason": null, "description": "Combined as a shipping discount.", "isDeprecated": false, "name": "SHIPPING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountClass", "possibleTypes": null }, { "description": "The type of discount associated with the discount code. For example, the discount code might offer a basic discount of a fixed percentage, or a fixed amount, on specific products or the order. Alternatively, the discount might offer the customer free shipping on their order. A third option is a Buy X, Get Y (BXGY) discount, which offers a customer discounts on select products if they add a specific product to their order.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountCode", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountCodeApp", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeBasic", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeBxgy", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeFreeShipping", "ofType": null } ] }, { "description": "Return type for `discountCodeActivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The activated code discount.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeActivatePayload", "possibleTypes": null }, { "description": "A code app discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The app discount type providing the discount type.", "isDeprecated": false, "name": "appDiscountType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppDiscountType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount can be applied only once per customer.", "isDeprecated": false, "name": "appliesOncePerCustomer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of times that the discount has been used.", "isDeprecated": false, "name": "asyncUsageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of redeem codes for the discount.", "isDeprecated": false, "name": "codeCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DiscountCodeSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `times_used`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "A list of redeem codes for the discount.", "isDeprecated": false, "name": "codes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Determines which discount classes the discount can combine with.", "isDeprecated": false, "name": "combinesWith", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCombinesWith", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customers that can use the discount.", "isDeprecated": false, "name": "customerSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountCustomerSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The class of the discount for combining purposes.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountClass", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID for the discount.", "isDeprecated": false, "name": "discountId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "isDeprecated": false, "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The error history on the most recent version of the discount.", "isDeprecated": false, "name": "errorHistory", "type": { "kind": "OBJECT", "name": "FunctionsErrorHistory", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Indicates whether there are any timeline comments on the discount.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of times a discount applies on recurring purchases (subscriptions).", "isDeprecated": false, "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "URLs that can be used to share the discount.", "isDeprecated": false, "name": "shareableUrls", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountShareableUrl", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount starts.", "isDeprecated": false, "name": "startsAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the discount.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total sales from orders where the discount was used.", "isDeprecated": false, "name": "totalSales", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of times that the discount can be used.", "isDeprecated": false, "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeApp", "possibleTypes": null }, { "description": "Return type for `discountCodeAppCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created code app discount.", "isDeprecated": false, "name": "codeAppDiscount", "type": { "kind": "OBJECT", "name": "DiscountCodeApp", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeAppCreatePayload", "possibleTypes": null }, { "description": "The input fields to create a code app discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Determines which discount classes the discount can combine with.", "name": "combinesWith", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "ofType": null } }, { "defaultValue": null, "description": "The ID of the function providing the app discount type.", "name": "functionId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The title of the discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount starts.", "name": "startsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times that the discount can be used. For open-ended discounts, use `null`.", "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Whether the discount can be applied only once per customer.", "name": "appliesOncePerCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The customers that can use the discount.", "name": "customerSelection", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerSelectionInput", "ofType": null } }, { "defaultValue": null, "description": "The code to use the discount.", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "[]", "description": "Additional metafields to associate to the discount.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCodeAppInput", "possibleTypes": null }, { "description": "Return type for `discountCodeAppUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated code app discount.", "isDeprecated": false, "name": "codeAppDiscount", "type": { "kind": "OBJECT", "name": "DiscountCodeApp", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeAppUpdatePayload", "possibleTypes": null }, { "description": "Discount code applications capture the intentions of a discount code at\nthe time that it is applied onto an order.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is applied to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The string identifying the discount code that was used at the time of application.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.\n", "isDeprecated": false, "name": "index", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } ], "kind": "OBJECT", "name": "DiscountCodeApplication", "possibleTypes": null }, { "description": "A code discount that offers customers a percentage or fixed amount discount on specific products, collections, or the entire order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the discount can be applied only once per customer.", "isDeprecated": false, "name": "appliesOncePerCustomer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of times that the discount has been used.", "isDeprecated": false, "name": "asyncUsageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of redeem codes for the discount.", "isDeprecated": false, "name": "codeCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DiscountCodeSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `times_used`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "A list of redeem codes for the discount.", "isDeprecated": false, "name": "codes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Determines which discount classes the discount can combine with.", "isDeprecated": false, "name": "combinesWith", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCombinesWith", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The qualifying items in an order, the quantity of each one, and the total value of the discount.", "isDeprecated": false, "name": "customerGets", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCustomerGets", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customers that can use the discount.", "isDeprecated": false, "name": "customerSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountCustomerSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The class of the discount for combining purposes.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MerchandiseDiscountClass", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "isDeprecated": false, "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Indicates whether there are any timeline comments on the discount.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The minimum subtotal or quantity that's required for the discount to be applied.", "isDeprecated": false, "name": "minimumRequirement", "type": { "kind": "UNION", "name": "DiscountMinimumRequirement", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of times a discount applies on recurring purchases (subscriptions).", "isDeprecated": false, "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "URLs that can be used to share the discount.", "isDeprecated": false, "name": "shareableUrls", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountShareableUrl", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A short summary of the discount.", "isDeprecated": false, "name": "shortSummary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount starts.", "isDeprecated": false, "name": "startsAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the discount.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A detailed summary of the discount.", "isDeprecated": false, "name": "summary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total sales from orders where the discount was used.", "isDeprecated": false, "name": "totalSales", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of times that the discount can be used.", "isDeprecated": false, "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBasic", "possibleTypes": null }, { "description": "Return type for `discountCodeBasicCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created code discount.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBasicCreatePayload", "possibleTypes": null }, { "description": "The input fields to create or update a basic code discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Determines which discount classes the discount can combine with.", "name": "combinesWith", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "ofType": null } }, { "defaultValue": null, "description": "The title of the discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount starts.", "name": "startsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times that the discount can be used. For open-ended discounts, use `null`.", "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Whether the discount can be applied only once per customer.", "name": "appliesOncePerCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The minimum subtotal or quantity that's required for the discount to be applied.", "name": "minimumRequirement", "type": { "kind": "INPUT_OBJECT", "name": "DiscountMinimumRequirementInput", "ofType": null } }, { "defaultValue": null, "description": "The qualifying items in an order, the quantity of each one, and the total value of the discount.", "name": "customerGets", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerGetsInput", "ofType": null } }, { "defaultValue": null, "description": "The customers that can use the discount.", "name": "customerSelection", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerSelectionInput", "ofType": null } }, { "defaultValue": null, "description": "The code to use the discount.", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The number of times a discount applies on recurring purchases (subscriptions).", "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCodeBasicInput", "possibleTypes": null }, { "description": "Return type for `discountCodeBasicUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated code discount.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBasicUpdatePayload", "possibleTypes": null }, { "description": "Return type for `discountCodeBulkActivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job that activates the code discounts.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBulkActivatePayload", "possibleTypes": null }, { "description": "Return type for `discountCodeBulkDeactivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job that deactivates the code discounts.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBulkDeactivatePayload", "possibleTypes": null }, { "description": "Return type for `discountCodeBulkDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job that deletes the code discounts.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBulkDeletePayload", "possibleTypes": null }, { "description": "A code discount that offers customers a Buy X, Get Y (BXGY) discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the discount can be applied only once per customer.", "isDeprecated": false, "name": "appliesOncePerCustomer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of times that the discount has been used.", "isDeprecated": false, "name": "asyncUsageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of redeem codes for the discount.", "isDeprecated": false, "name": "codeCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DiscountCodeSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `times_used`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "A list of redeem codes for the discount.", "isDeprecated": false, "name": "codes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Determines which discount classes the discount can combine with.", "isDeprecated": false, "name": "combinesWith", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCombinesWith", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount.", "isDeprecated": false, "name": "customerBuys", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCustomerBuys", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The qualifying items in an order, the quantity of each one, and the total value of the discount.", "isDeprecated": false, "name": "customerGets", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCustomerGets", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customers that can use the discount.", "isDeprecated": false, "name": "customerSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountCustomerSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The class of the discount for combining purposes.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MerchandiseDiscountClass", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "isDeprecated": false, "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Indicates whether there are any timeline comments on the discount.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "URLs that can be used to share the discount.", "isDeprecated": false, "name": "shareableUrls", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountShareableUrl", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount starts.", "isDeprecated": false, "name": "startsAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the discount.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A detailed summary of the discount.", "isDeprecated": false, "name": "summary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total sales from orders where the discount was used.", "isDeprecated": false, "name": "totalSales", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of times that the discount can be used.", "isDeprecated": false, "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The maximum number of times that the discount can be applied to an order.", "isDeprecated": false, "name": "usesPerOrderLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBxgy", "possibleTypes": null }, { "description": "Return type for `discountCodeBxgyCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created code discount.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBxgyCreatePayload", "possibleTypes": null }, { "description": "The input fields to create or update a BXGY code discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Determines which discount classes the discount can combine with.", "name": "combinesWith", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "ofType": null } }, { "defaultValue": null, "description": "The title of the discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount starts.", "name": "startsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount.", "name": "customerBuys", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerBuysInput", "ofType": null } }, { "defaultValue": null, "description": "The qualifying items that will be discounted, the quantity of each one, and the total value of the discount.", "name": "customerGets", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerGetsInput", "ofType": null } }, { "defaultValue": null, "description": "The customers that are eligible to use the discount.", "name": "customerSelection", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerSelectionInput", "ofType": null } }, { "defaultValue": null, "description": "The code to use the discount.", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times that the discount can be used. For open-ended discounts, use `null`.", "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times that the discount can be applied to an order.", "name": "usesPerOrderLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Whether the discount can be applied only once per customer.", "name": "appliesOncePerCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCodeBxgyInput", "possibleTypes": null }, { "description": "Return type for `discountCodeBxgyUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated code discount.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeBxgyUpdatePayload", "possibleTypes": null }, { "description": "Return type for `discountCodeDeactivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The deactivated code discount.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeDeactivatePayload", "possibleTypes": null }, { "description": "Return type for `discountCodeDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The deleted code discount ID.", "isDeprecated": false, "name": "deletedCodeDiscountId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeDeletePayload", "possibleTypes": null }, { "description": "A code discount that offers customers free shipping on their order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the discount applies on regular one-time-purchase shipping lines.", "isDeprecated": false, "name": "appliesOnOneTimePurchase", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount applies on subscription shipping lines.", "isDeprecated": false, "name": "appliesOnSubscription", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount can be applied only once per customer.", "isDeprecated": false, "name": "appliesOncePerCustomer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of times that the discount has been used.", "isDeprecated": false, "name": "asyncUsageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of redeem codes for the discount.", "isDeprecated": false, "name": "codeCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DiscountCodeSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `times_used`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "A list of redeem codes for the discount.", "isDeprecated": false, "name": "codes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Determines which discount classes the discount can combine with.", "isDeprecated": false, "name": "combinesWith", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCombinesWith", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customers that can use the discount.", "isDeprecated": false, "name": "customerSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountCustomerSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A shipping destination that qualifies for the discount.", "isDeprecated": false, "name": "destinationSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountShippingDestinationSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The class of the discount for combining purposes.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShippingDiscountClass", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "isDeprecated": false, "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Indicates whether there are any timeline comments on the discount.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum shipping price amount accepted to qualify for the discount.", "isDeprecated": false, "name": "maximumShippingPrice", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The minimum subtotal or quantity that's required for the discount to be applied.", "isDeprecated": false, "name": "minimumRequirement", "type": { "kind": "UNION", "name": "DiscountMinimumRequirement", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of times a discount applies on recurring purchases (subscriptions).", "isDeprecated": false, "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "URLs that can be used to share the discount.", "isDeprecated": false, "name": "shareableUrls", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountShareableUrl", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A short summary of the discount.", "isDeprecated": false, "name": "shortSummary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount starts.", "isDeprecated": false, "name": "startsAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the discount.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A detailed summary of the discount.", "isDeprecated": false, "name": "summary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total sales from orders where the discount was used.", "isDeprecated": false, "name": "totalSales", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the discount was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of times that the discount can be used.", "isDeprecated": false, "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeFreeShipping", "possibleTypes": null }, { "description": "Return type for `discountCodeFreeShippingCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created code discount.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeFreeShippingCreatePayload", "possibleTypes": null }, { "description": "The input fields to create or update a free shipping code discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Determines which discount classes the shipping discount can combine with.", "name": "combinesWith", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "ofType": null } }, { "defaultValue": null, "description": "The title of the discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount starts.", "name": "startsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the discount ends. For open-ended discounts, use `null`.", "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The code to use the discount.", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times that the discount can be used. For open-ended discounts, use `null`.", "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Whether the discount can be applied only once per customer.", "name": "appliesOncePerCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The minimum subtotal or quantity that's required for the discount to be applied.", "name": "minimumRequirement", "type": { "kind": "INPUT_OBJECT", "name": "DiscountMinimumRequirementInput", "ofType": null } }, { "defaultValue": null, "description": "The customers that are eligible to use the discount.", "name": "customerSelection", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerSelectionInput", "ofType": null } }, { "defaultValue": null, "description": "A list of destinations where the discount will apply.", "name": "destination", "type": { "kind": "INPUT_OBJECT", "name": "DiscountShippingDestinationSelectionInput", "ofType": null } }, { "defaultValue": null, "description": "The maximum shipping price that qualifies for the discount.", "name": "maximumShippingPrice", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, { "defaultValue": null, "description": "The number of times a discount applies on recurring purchases (subscriptions).", "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Whether the discount applies on regular one-time-purchase items.", "name": "appliesOnOneTimePurchase", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Whether the discount applies on subscription items.", "name": "appliesOnSubscription", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCodeFreeShippingInput", "possibleTypes": null }, { "description": "Return type for `discountCodeFreeShippingUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated code discount.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeFreeShippingUpdatePayload", "possibleTypes": null }, { "description": "A node containing a code discount and its related events.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The underlying code discount object.", "isDeprecated": false, "name": "codeDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountCode", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of events associated with the host subject.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DiscountCodeNode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DiscountCodeNodes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCodeNodeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DiscountCodeNodeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeNodeConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DiscountCodeNode and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DiscountCodeNodeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeNodeEdge", "possibleTypes": null }, { "description": "Return type for `discountCodeRedeemCodeBulkDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job that deletes the discount redeem codes.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCodeRedeemCodeBulkDeletePayload", "possibleTypes": null }, { "description": "The set of valid sort keys for the DiscountCode query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `code` value.", "isDeprecated": false, "name": "CODE" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountCodeSortKeys", "possibleTypes": null }, { "description": "A list of collections that the discount can have as a prerequisite or a list of collections to which the discount can be applied.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of collections that the discount can have as a prerequisite or the list of collections to which the discount can be applied.", "isDeprecated": false, "name": "collections", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCollections", "possibleTypes": null }, { "description": "The input fields for collections attached to a discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies list of collection ids to add.", "name": "add", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "Specifies list of collection ids to remove.", "name": "remove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCollectionsInput", "possibleTypes": null }, { "description": "Determines which discount classes the discount can combine with.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Combines with order discounts.", "isDeprecated": false, "name": "orderDiscounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Combines with product discounts.", "isDeprecated": false, "name": "productDiscounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Combines with shipping discounts.", "isDeprecated": false, "name": "shippingDiscounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCombinesWith", "possibleTypes": null }, { "description": "The input fields to determine which discount classes the discount can combine with.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": "false", "description": "Combines with product discounts.", "name": "productDiscounts", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "Combines with order discounts.", "name": "orderDiscounts", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "Combines with shipping discounts.", "name": "shippingDiscounts", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "possibleTypes": null }, { "description": "The shipping destinations where the discount can be applied.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The codes for the countries where the discount can be applied.", "isDeprecated": false, "name": "countries", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applicable to countries that have not been defined in the shop's shipping zones.", "isDeprecated": false, "name": "includeRestOfWorld", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCountries", "possibleTypes": null }, { "description": "The input fields for a list of countries to add or remove from the free shipping discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The country codes to add to the list of countries where the discount applies.", "name": "add", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } }, { "defaultValue": null, "description": "The country codes to remove from the list of countries where the discount applies.", "name": "remove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } }, { "defaultValue": "false", "description": "Whether the discount code is applicable to countries that have not been defined in the shop's shipping zones.", "name": "includeRestOfWorld", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCountriesInput", "possibleTypes": null }, { "description": "The `DiscountCountryAll` object lets you target all countries as shipping destination for discount eligibility.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the discount can be applied to all countries as shipping destination. This value is always `true`.", "isDeprecated": false, "name": "allCountries", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCountryAll", "possibleTypes": null }, { "description": "The `DiscountCustomerAll` object lets you target all customers for discount eligibility.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the discount can be applied by all customers. This value is always `true`.", "isDeprecated": false, "name": "allCustomers", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCustomerAll", "possibleTypes": null }, { "description": "The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The items required for the discount to be applicable.", "isDeprecated": false, "name": "items", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountItems", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The prerequisite value.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountCustomerBuysValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCustomerBuys", "possibleTypes": null }, { "description": "The input fields for prerequisite items and quantity for the discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The quantity of prerequisite items.", "name": "value", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerBuysValueInput", "ofType": null } }, { "defaultValue": null, "description": "The IDs of items that the customer buys. The items can be either collections or products.", "name": "items", "type": { "kind": "INPUT_OBJECT", "name": "DiscountItemsInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCustomerBuysInput", "possibleTypes": null }, { "description": "The prerequisite for the discount to be applicable. For example, the discount might require a customer to buy a minimum quantity of select items. Alternatively, the discount might require a customer to spend a minimum amount on select items.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountCustomerBuysValue", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountPurchaseAmount", "ofType": null }, { "kind": "OBJECT", "name": "DiscountQuantity", "ofType": null } ] }, { "description": "The input fields for prerequisite quantity or minimum purchase amount required for the discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The quantity of prerequisite items.", "name": "quantity", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } }, { "defaultValue": null, "description": "The prerequisite minimum purchase amount required for the discount to be applicable.", "name": "amount", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCustomerBuysValueInput", "possibleTypes": null }, { "description": "The qualifying items in an order, the quantity of each one, and the total value of the discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the discount applies on regular one-time-purchase items.", "isDeprecated": false, "name": "appliesOnOneTimePurchase", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount applies on subscription items.", "isDeprecated": false, "name": "appliesOnSubscription", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The items to which the discount applies.", "isDeprecated": false, "name": "items", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountItems", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Entitled quantity and the discount value.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountCustomerGetsValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCustomerGets", "possibleTypes": null }, { "description": "Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The quantity of items discounted and the discount value.", "name": "value", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerGetsValueInput", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the items that the customer gets. The items can be either collections or products.", "name": "items", "type": { "kind": "INPUT_OBJECT", "name": "DiscountItemsInput", "ofType": null } }, { "defaultValue": null, "description": "Whether the discount applies on regular one-time-purchase items.", "name": "appliesOnOneTimePurchase", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Whether the discount applies on subscription items.", "name": "appliesOnSubscription", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCustomerGetsInput", "possibleTypes": null }, { "description": "The type of the discount value and how it will be applied. For example, it might be a percentage discount on a fixed number of items. Alternatively, it might be a fixed amount evenly distributed across all items or on each individual item. A third example is a percentage discount on all items.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountCustomerGetsValue", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountAmount", "ofType": null }, { "kind": "OBJECT", "name": "DiscountOnQuantity", "ofType": null }, { "kind": "OBJECT", "name": "DiscountPercentage", "ofType": null } ] }, { "description": "The input fields for the quantity of items discounted and the discount value.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The quantity of the items that are discounted and the discount value.", "name": "discountOnQuantity", "type": { "kind": "INPUT_OBJECT", "name": "DiscountOnQuantityInput", "ofType": null } }, { "defaultValue": null, "description": "The percentage value of the discount. Value must be between 0.00 - 1.00.", "name": "percentage", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The value of the discount.", "name": "discountAmount", "type": { "kind": "INPUT_OBJECT", "name": "DiscountAmountInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCustomerGetsValueInput", "possibleTypes": null }, { "description": "A list of customer segments that contain the customers that the discount applies to.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of customer segments that contain the customers who can use the discount.", "isDeprecated": false, "name": "segments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Segment", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCustomerSegments", "possibleTypes": null }, { "description": "The input fields for which customer segments to add to or remove from the discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A list of customer segments to add to the current list of customer segments.", "name": "add", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "A list of customer segments to remove from the current list of customer segments.", "name": "remove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCustomerSegmentsInput", "possibleTypes": null }, { "description": "The type used for targeting a set of customers who are eligible for the discount. For example, the discount might be available to all customers or it might only be available to a specific set of customers. You can define the set of customers by targeting a list of customer segments, or by targeting a list of specific customers.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountCustomerSelection", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountCustomerAll", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCustomerSegments", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCustomers", "ofType": null } ] }, { "description": "The input fields for the customers who can use this discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Whether all customers can use this discount.", "name": "all", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The list of customer IDs to add or remove from the list of customers.", "name": "customers", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomersInput", "ofType": null } }, { "defaultValue": null, "description": "The list of customer segment IDs to add or remove from the list of customer segments.", "name": "customerSegments", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCustomerSegmentsInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCustomerSelectionInput", "possibleTypes": null }, { "description": "A list of customers eligible for the discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of customers eligible for the discount.", "isDeprecated": false, "name": "customers", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Customer", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountCustomers", "possibleTypes": null }, { "description": "The input fields for which customers to add to or remove from the discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A list of customers to add to the current list of customers who can use the discount.", "name": "add", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "A list of customers to remove from the current list of customers who can use the discount.", "name": "remove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountCustomersInput", "possibleTypes": null }, { "description": "The type of discount that will be applied. Currently, only a percentage discount is supported.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountEffect", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountPercentage", "ofType": null } ] }, { "description": "The input fields for how the discount will be applied. Currently, only percentage off is supported.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The percentage value of the discount. Value must be between 0.00 - 1.00.", "name": "percentage", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountEffectInput", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `DiscountUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value should be equal to the value allowed.", "isDeprecated": false, "name": "EQUAL_TO" }, { "deprecationReason": null, "description": "The input value should be greater than the minimum allowed value.", "isDeprecated": false, "name": "GREATER_THAN" }, { "deprecationReason": null, "description": "The input value should be greater than or equal to the minimum value allowed.", "isDeprecated": false, "name": "GREATER_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value should be less than the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "Unexpected internal error happened.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Too many arguments provided.", "isDeprecated": false, "name": "TOO_MANY_ARGUMENTS" }, { "deprecationReason": null, "description": "Missing a required argument.", "isDeprecated": false, "name": "MISSING_ARGUMENT" }, { "deprecationReason": null, "description": "The active period overlaps with other automatic discounts. At any given time, only one automatic discount can be active.", "isDeprecated": false, "name": "ACTIVE_PERIOD_OVERLAP" }, { "deprecationReason": null, "description": "The value exceeded the maximum allowed value.", "isDeprecated": false, "name": "EXCEEDED_MAX" }, { "deprecationReason": null, "description": "Specify a minimum subtotal or a quantity, but not both.", "isDeprecated": false, "name": "MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT" }, { "deprecationReason": null, "description": "The value is outside of the allowed range.", "isDeprecated": false, "name": "VALUE_OUTSIDE_RANGE" }, { "deprecationReason": null, "description": "The attribute selection contains conflicting settings.", "isDeprecated": false, "name": "CONFLICT" }, { "deprecationReason": null, "description": "The value is already present through another selection.", "isDeprecated": false, "name": "IMPLICIT_DUPLICATE" }, { "deprecationReason": null, "description": "The input value is already present.", "isDeprecated": false, "name": "DUPLICATE" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The `combinesWith` settings are invalid for the discount class.", "isDeprecated": false, "name": "INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS" }, { "deprecationReason": null, "description": "The discountClass is invalid for the price rule.", "isDeprecated": false, "name": "INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE" }, { "deprecationReason": null, "description": "The active period overlaps with too many other app-provided discounts. There's a limit on the number of app discounts that can be active at any given time.", "isDeprecated": false, "name": "MAX_APP_DISCOUNTS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountErrorCode", "possibleTypes": null }, { "description": "The type used to target the items required for discount eligibility, or the items to which the application of a discount might apply. For example, for a customer to be eligible for a discount, they're required to add an item from a specified collection to their order. Alternatively, a customer might be required to add a specific product or product variant. When using this type to target which items the discount will apply to, the discount might apply to all items on the order, or to specific products and product variants, or items in a given collection.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountItems", "possibleTypes": [ { "kind": "OBJECT", "name": "AllDiscountItems", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCollections", "ofType": null }, { "kind": "OBJECT", "name": "DiscountProducts", "ofType": null } ] }, { "description": "The input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The products and product variants that are attached to a discount.", "name": "products", "type": { "kind": "INPUT_OBJECT", "name": "DiscountProductsInput", "ofType": null } }, { "defaultValue": null, "description": "The collections that are attached to a discount.", "name": "collections", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCollectionsInput", "ofType": null } }, { "defaultValue": null, "description": "Whether all items should be selected.", "name": "all", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountItemsInput", "possibleTypes": null }, { "description": "The minimum quantity of items required for the discount to apply.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The minimum quantity of items that's required for the discount to be applied.", "isDeprecated": false, "name": "greaterThanOrEqualToQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountMinimumQuantity", "possibleTypes": null }, { "description": "The input fields for the minimum quantity required for the discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The minimum quantity of items that's required for the discount to be applied.", "name": "greaterThanOrEqualToQuantity", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountMinimumQuantityInput", "possibleTypes": null }, { "description": "The type of minimum requirement that must be met for the discount to be applied. For example, a customer must spend a minimum subtotal to be eligible for the discount. Alternatively, a customer must purchase a minimum quantity of items to be eligible for the discount.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountMinimumRequirement", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountMinimumQuantity", "ofType": null }, { "kind": "OBJECT", "name": "DiscountMinimumSubtotal", "ofType": null } ] }, { "description": "The input fields for the minimum quantity or subtotal required for a discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The minimum required quantity.", "name": "quantity", "type": { "kind": "INPUT_OBJECT", "name": "DiscountMinimumQuantityInput", "ofType": null } }, { "defaultValue": null, "description": "The minimum required subtotal.", "name": "subtotal", "type": { "kind": "INPUT_OBJECT", "name": "DiscountMinimumSubtotalInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountMinimumRequirementInput", "possibleTypes": null }, { "description": "The minimum subtotal required for the discount to apply.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The minimum subtotal that's required for the discount to be applied.", "isDeprecated": false, "name": "greaterThanOrEqualToSubtotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountMinimumSubtotal", "possibleTypes": null }, { "description": "The input fields for the minimum subtotal required for a discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The minimum subtotal that's required for the discount to be applied.", "name": "greaterThanOrEqualToSubtotal", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountMinimumSubtotalInput", "possibleTypes": null }, { "description": "A discount wrapper node.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A discount.", "isDeprecated": false, "name": "discount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "Discount", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of events associated with the host subject.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DiscountNode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DiscountNodes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountNodeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DiscountNodeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountNode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountNodeConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DiscountNode and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DiscountNodeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountNode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountNodeEdge", "possibleTypes": null }, { "description": "The quantity of items discounted, the discount value, and how the discount will be applied.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The discount's effect on qualifying items.", "isDeprecated": false, "name": "effect", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "DiscountEffect", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of items being discounted. The customer must have at least this many items of specified products or product variants in their order to be eligible for the discount.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountQuantity", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountOnQuantity", "possibleTypes": null }, { "description": "The input fields for the quantity of items discounted and the discount value.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The quantity of items that are discounted.", "name": "quantity", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } }, { "defaultValue": null, "description": "The percentage value of the discount.", "name": "effect", "type": { "kind": "INPUT_OBJECT", "name": "DiscountEffectInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountOnQuantityInput", "possibleTypes": null }, { "description": "A discount effect that gives customers a percentage off of specified items on their order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The percentage value of the discount.", "isDeprecated": false, "name": "percentage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountPercentage", "possibleTypes": null }, { "description": "A list of products and product variants that the discount can have as a prerequisite or a list of products and product variants to which the discount can be applied.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of product variants that the discount can have as a prerequisite or the list of product variants to which the discount can be applied.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of products that the discount can have as a prerequisite or the list of products to which the discount can be applied.", "isDeprecated": false, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountProducts", "possibleTypes": null }, { "description": "The input fields for the products and product variants attached to a discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies list of product ids to add.", "name": "productsToAdd", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "Specifies list of product ids to remove.", "name": "productsToRemove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "Specifies list of product variant ids to add.", "name": "productVariantsToAdd", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "Specifies list of product variant ids to remove.", "name": "productVariantsToRemove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountProductsInput", "possibleTypes": null }, { "description": "A purchase amount in the context of a discount. This object can be used to define the minimum purchase amount required for a discount to be applicable.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The purchase amount in decimal format.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountPurchaseAmount", "possibleTypes": null }, { "description": "A quantity of items in the context of a discount. This object can be used to define the minimum quantity of items required to apply a discount. Alternatively, it can be used to define the quantity of items that can be discounted.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The quantity of items.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountQuantity", "possibleTypes": null }, { "description": "A code that a customer can use at checkout to receive a discount. For example, a customer can use the redeem code 'SUMMER20' at checkout to receive a 20% discount on their entire order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of times that the discount redeem code has been used. This value is updated asynchronously and can be different than the actual usage count.", "isDeprecated": false, "name": "asyncUsageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The code that a customer can use at checkout to receive a discount.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The application that created the discount redeem code.", "isDeprecated": false, "name": "createdBy", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID of the discount redeem code.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountRedeemCode", "possibleTypes": null }, { "description": "Return type for `discountRedeemCodeBulkAdd` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the discount redeem code bulk creation operation. The properties and status of the operation can be tracked using the [`DiscountRedeemCodeBulkCreation` query](https://shopify.dev/api/admin-graphql/2022-04/queries/discountRedeemCodeBulkCreation).", "isDeprecated": false, "name": "bulkCreation", "type": { "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountRedeemCodeBulkAddPayload", "possibleTypes": null }, { "description": "The properties and status of a bulk discount redeem code creation operation.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The result of each code creation operation associated with the bulk creation operation including any errors that might have occurred during the operation.", "isDeprecated": false, "name": "codes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreationCodeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of codes to create.", "isDeprecated": false, "name": "codesCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the bulk creation was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The code discount associated with the created codes.", "isDeprecated": false, "name": "discountCode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the bulk creation is still queued (`false`) or has been run (`true`).", "isDeprecated": false, "name": "done", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of codes that weren't created successfully.", "isDeprecated": false, "name": "failedCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of codes created successfully.", "isDeprecated": false, "name": "importedCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreation", "possibleTypes": null }, { "description": "A result of a discount redeem code creation operation created by a bulk creation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The code to use in the discount redeem code creation operation.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The successfully created discount redeem code.\n\nIf the discount redeem code couldn't be created, then this field is `null``.\n", "isDeprecated": false, "name": "discountRedeemCode", "type": { "kind": "OBJECT", "name": "DiscountRedeemCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A list of errors that occurred during the creation operation of the discount redeem code.", "isDeprecated": false, "name": "errors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreationCode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DiscountRedeemCodeBulkCreationCodes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreationCodeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DiscountRedeemCodeBulkCreationCodeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreationCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreationCodeConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DiscountRedeemCodeBulkCreationCode and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DiscountRedeemCodeBulkCreationCodeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreationCode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreationCodeEdge", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DiscountRedeemCodes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCodeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DiscountRedeemCodeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountRedeemCodeConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DiscountRedeemCode and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DiscountRedeemCodeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountRedeemCode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountRedeemCodeEdge", "possibleTypes": null }, { "description": "The input fields for the redeem code to attach to a discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The code that a customer can use at checkout to receive the associated discount.", "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountRedeemCodeInput", "possibleTypes": null }, { "description": "A shareable URL for a discount code.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The image URL of the item (product or collection) to which the discount applies.", "isDeprecated": false, "name": "targetItemImage", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of page that's associated with the URL.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountShareableUrlTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the page that's associated with the URL.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL for the discount code.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DiscountShareableUrl", "possibleTypes": null }, { "description": "The type of page where a shareable discount URL lands.", "enumValues": [ { "deprecationReason": null, "description": "The URL lands on a home page.", "isDeprecated": false, "name": "HOME" }, { "deprecationReason": null, "description": "The URL lands on a product page.", "isDeprecated": false, "name": "PRODUCT" }, { "deprecationReason": null, "description": "The URL lands on a collection page.", "isDeprecated": false, "name": "COLLECTION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountShareableUrlTargetType", "possibleTypes": null }, { "description": "The type used to target the eligible countries of an order's shipping destination for which the discount applies. For example, the discount might be applicable when shipping to all countries, or only to a set of countries.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "DiscountShippingDestinationSelection", "possibleTypes": [ { "kind": "OBJECT", "name": "DiscountCountries", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCountryAll", "ofType": null } ] }, { "description": "The input fields for the destinations where the free shipping discount will be applied.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": "false", "description": "Whether the discount code applies to all countries.", "name": "all", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "A list of countries where the discount code will apply.", "name": "countries", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCountriesInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DiscountShippingDestinationSelectionInput", "possibleTypes": null }, { "description": "The set of valid sort keys for the Discount query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `starts_at` value.", "isDeprecated": false, "name": "STARTS_AT" }, { "deprecationReason": null, "description": "Sort by the `ends_at` value.", "isDeprecated": false, "name": "ENDS_AT" }, { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountSortKeys", "possibleTypes": null }, { "description": "The status of the discount.", "enumValues": [ { "deprecationReason": null, "description": "The discount is active.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "The discount is expired.", "isDeprecated": false, "name": "EXPIRED" }, { "deprecationReason": null, "description": "The discount is scheduled.", "isDeprecated": false, "name": "SCHEDULED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountStatus", "possibleTypes": null }, { "description": "The type of line (line item or shipping line) on an order that the subscription discount is applicable towards.", "enumValues": [ { "deprecationReason": null, "description": "The discount applies onto line items.", "isDeprecated": false, "name": "LINE_ITEM" }, { "deprecationReason": null, "description": "The discount applies onto shipping lines.", "isDeprecated": false, "name": "SHIPPING_LINE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountTargetType", "possibleTypes": null }, { "description": "The type of the subscription discount.", "enumValues": [ { "deprecationReason": null, "description": "Manual discount type.", "isDeprecated": false, "name": "MANUAL" }, { "deprecationReason": null, "description": "Code discount type.", "isDeprecated": false, "name": "CODE_DISCOUNT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DiscountType", "possibleTypes": null }, { "description": "An error that occurs during the execution of a discount mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "DiscountErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Extra information about this error.", "isDeprecated": false, "name": "extraInfo", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "DiscountUserError", "possibleTypes": null }, { "description": "Represents an error in the input of a mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "DisplayableError", "possibleTypes": [ { "kind": "OBJECT", "name": "AbandonmentEmailStateUpdateUserError", "ofType": null }, { "kind": "OBJECT", "name": "AppRevenueAttributionRecordCreateUserError", "ofType": null }, { "kind": "OBJECT", "name": "AppRevenueAttributionRecordDeleteUserError", "ofType": null }, { "kind": "OBJECT", "name": "AppSubscriptionTrialExtendUserError", "ofType": null }, { "kind": "OBJECT", "name": "BillingAttemptUserError", "ofType": null }, { "kind": "OBJECT", "name": "BulkMutationUserError", "ofType": null }, { "kind": "OBJECT", "name": "BulkProductResourceFeedbackCreateUserError", "ofType": null }, { "kind": "OBJECT", "name": "BusinessCustomerUserError", "ofType": null }, { "kind": "OBJECT", "name": "CatalogUserError", "ofType": null }, { "kind": "OBJECT", "name": "CollectionAddProductsV2UserError", "ofType": null }, { "kind": "OBJECT", "name": "CustomerEmailMarketingConsentUpdateUserError", "ofType": null }, { "kind": "OBJECT", "name": "CustomerMergeUserError", "ofType": null }, { "kind": "OBJECT", "name": "CustomerPaymentMethodGetUpdateUrlUserError", "ofType": null }, { "kind": "OBJECT", "name": "CustomerPaymentMethodRemoteUserError", "ofType": null }, { "kind": "OBJECT", "name": "CustomerPaymentMethodUserError", "ofType": null }, { "kind": "OBJECT", "name": "CustomerSegmentMembersQueryUserError", "ofType": null }, { "kind": "OBJECT", "name": "CustomerSmsMarketingConsentError", "ofType": null }, { "kind": "OBJECT", "name": "DelegateAccessTokenCreateUserError", "ofType": null }, { "kind": "OBJECT", "name": "DelegateAccessTokenDestroyUserError", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryCustomizationError", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryLocationLocalPickupSettingsError", "ofType": null }, { "kind": "OBJECT", "name": "DiscountUserError", "ofType": null }, { "kind": "OBJECT", "name": "DisputeEvidenceUpdateUserError", "ofType": null }, { "kind": "OBJECT", "name": "ErrorsServerPixelUserError", "ofType": null }, { "kind": "OBJECT", "name": "ErrorsWebPixelUserError", "ofType": null }, { "kind": "OBJECT", "name": "FilesUserError", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrderHoldUserError", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrderLineItemsPreparedForPickupUserError", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrderReleaseHoldUserError", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrderRescheduleUserError", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrdersReleaseHoldsUserError", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrdersSetFulfillmentDeadlineUserError", "ofType": null }, { "kind": "OBJECT", "name": "GiftCardUserError", "ofType": null }, { "kind": "OBJECT", "name": "InventoryAdjustQuantitiesUserError", "ofType": null }, { "kind": "OBJECT", "name": "InventoryBulkToggleActivationUserError", "ofType": null }, { "kind": "OBJECT", "name": "InventoryMoveQuantitiesUserError", "ofType": null }, { "kind": "OBJECT", "name": "InventorySetOnHandQuantitiesUserError", "ofType": null }, { "kind": "OBJECT", "name": "LocationActivateUserError", "ofType": null }, { "kind": "OBJECT", "name": "LocationAddUserError", "ofType": null }, { "kind": "OBJECT", "name": "LocationDeactivateUserError", "ofType": null }, { "kind": "OBJECT", "name": "LocationDeleteUserError", "ofType": null }, { "kind": "OBJECT", "name": "LocationEditUserError", "ofType": null }, { "kind": "OBJECT", "name": "MarketCurrencySettingsUserError", "ofType": null }, { "kind": "OBJECT", "name": "MarketUserError", "ofType": null }, { "kind": "OBJECT", "name": "MarketingActivityUserError", "ofType": null }, { "kind": "OBJECT", "name": "MediaUserError", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldDefinitionCreateUserError", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldDefinitionDeleteUserError", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldDefinitionPinUserError", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldDefinitionUnpinUserError", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldDefinitionUpdateUserError", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldsSetUserError", "ofType": null }, { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null }, { "kind": "OBJECT", "name": "OrderCreateMandatePaymentUserError", "ofType": null }, { "kind": "OBJECT", "name": "OrderInvoiceSendUserError", "ofType": null }, { "kind": "OBJECT", "name": "PaymentCustomizationError", "ofType": null }, { "kind": "OBJECT", "name": "PaymentReminderSendUserError", "ofType": null }, { "kind": "OBJECT", "name": "PaymentTermsCreateUserError", "ofType": null }, { "kind": "OBJECT", "name": "PaymentTermsDeleteUserError", "ofType": null }, { "kind": "OBJECT", "name": "PaymentTermsUpdateUserError", "ofType": null }, { "kind": "OBJECT", "name": "PriceListPriceUserError", "ofType": null }, { "kind": "OBJECT", "name": "PriceListUserError", "ofType": null }, { "kind": "OBJECT", "name": "PriceRuleUserError", "ofType": null }, { "kind": "OBJECT", "name": "ProductChangeStatusUserError", "ofType": null }, { "kind": "OBJECT", "name": "ProductDeleteUserError", "ofType": null }, { "kind": "OBJECT", "name": "ProductDuplicateUserError", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariantsBulkCreateUserError", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariantsBulkDeleteUserError", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariantsBulkReorderUserError", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariantsBulkUpdateUserError", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariantsBulkUpdateUserError", "ofType": null }, { "kind": "OBJECT", "name": "PubSubWebhookSubscriptionCreateUserError", "ofType": null }, { "kind": "OBJECT", "name": "PubSubWebhookSubscriptionUpdateUserError", "ofType": null }, { "kind": "OBJECT", "name": "PublicationUserError", "ofType": null }, { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null }, { "kind": "OBJECT", "name": "ShopPolicyUserError", "ofType": null }, { "kind": "OBJECT", "name": "ShopResourceFeedbackCreateUserError", "ofType": null }, { "kind": "OBJECT", "name": "StandardMetafieldDefinitionEnableUserError", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionBillingCycleUserError", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionContractUserError", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null }, { "kind": "OBJECT", "name": "TranslationUserError", "ofType": null }, { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteByIdsUserError", "ofType": null }, { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySavedSearchUserError", "ofType": null }, { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySearchUserError", "ofType": null }, { "kind": "OBJECT", "name": "UrlRedirectImportUserError", "ofType": null }, { "kind": "OBJECT", "name": "UrlRedirectUserError", "ofType": null }, { "kind": "OBJECT", "name": "UserError", "ofType": null } ] }, { "description": "Return type for `disputeEvidenceUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated dispute evidence.", "isDeprecated": false, "name": "disputeEvidence", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeEvidence", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DisputeEvidenceUpdateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DisputeEvidenceUpdatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `DisputeEvidenceUpdate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "DisputeEvidenceUpdateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "DisputeEvidenceUpdateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `DisputeEvidenceUpdateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Dispute evidence could not be found.", "isDeprecated": false, "name": "DISPUTE_EVIDENCE_NOT_FOUND" }, { "deprecationReason": null, "description": "Evidence already accepted.", "isDeprecated": false, "name": "EVIDENCE_ALREADY_ACCEPTED" }, { "deprecationReason": null, "description": "Evidence past due date.", "isDeprecated": false, "name": "EVIDENCE_PAST_DUE_DATE" }, { "deprecationReason": null, "description": "Combined files size is too large.", "isDeprecated": false, "name": "FILES_SIZE_EXCEEDED_LIMIT" }, { "deprecationReason": null, "description": "Individual file size is too large.", "isDeprecated": false, "name": "TOO_LARGE" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DisputeEvidenceUpdateUserErrorCode", "possibleTypes": null }, { "description": "The possible statuses of a dispute.", "enumValues": [ { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "NEEDS_RESPONSE" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "UNDER_REVIEW" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "CHARGE_REFUNDED" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "ACCEPTED" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "WON" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "LOST" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DisputeStatus", "possibleTypes": null }, { "description": "The possible types for a dispute.", "enumValues": [ { "deprecationReason": null, "description": "The dispute has turned into a chargeback.", "isDeprecated": false, "name": "CHARGEBACK" }, { "deprecationReason": null, "description": "The dispute is in the inquiry phase.", "isDeprecated": false, "name": "INQUIRY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DisputeType", "possibleTypes": null }, { "description": "A unique string that represents the address of a Shopify store on the Internet.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The host name of the domain. For example, `example.com`.", "isDeprecated": false, "name": "host", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The localization of the domain, if the domain doesn't redirect.", "isDeprecated": false, "name": "localization", "type": { "kind": "OBJECT", "name": "DomainLocalization", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The web presence of the domain.", "isDeprecated": false, "name": "marketWebPresence", "type": { "kind": "OBJECT", "name": "MarketWebPresence", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether SSL is enabled.", "isDeprecated": false, "name": "sslEnabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL of the domain (for example, `https://example.com`).", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Domain", "possibleTypes": null }, { "description": "The country and language settings assigned to a domain.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ISO codes for the domain’s alternate locales. For example, `[\"en\"]`.", "isDeprecated": false, "name": "alternateLocales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The ISO code for the country assigned to the domain. For example, `\"CA\"` or \"*\" for a domain set to \"Rest of world\".", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ISO code for the domain’s default locale. For example, `\"en\"`.", "isDeprecated": false, "name": "defaultLocale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DomainLocalization", "possibleTypes": null }, { "description": "An order that a merchant creates on behalf of a customer. Draft orders are useful for merchants that need to do the following tasks:\n\n- Create new orders for sales made by phone, in person, by chat, or elsewhere. When a merchant accepts payment for a draft order, an order is created.\n- Send invoices to customers to pay with a secure checkout link.\n- Use custom items to represent additional costs or products that aren't displayed in a shop's inventory.\n- Re-create orders manually from active sales channels.\n- Sell products at discount or wholesale rates.\n- Take pre-orders.\n- Save an order as a draft and resume working on it later.\n\nFor Draft orders in multiple currencies `presentment_money` is the source of truth for what a customer is going to be charged and `shop_money` is an estimate of what the merchant might receive in their local currency.\n\n**Caution:** Only use this data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don't have a legitimate use for the associated data.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The order-level discount applied to the draft order.", "isDeprecated": false, "name": "appliedDiscount", "type": { "kind": "OBJECT", "name": "DraftOrderAppliedDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The billing address of the customer.\n", "isDeprecated": false, "name": "billingAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the billing address matches the shipping address.", "isDeprecated": false, "name": "billingAddressMatchesShippingAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the draft order converted to a new order,\nand the draft order's status changed to **Completed**.\n", "isDeprecated": false, "name": "completedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the draft order was created in Shopify.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The three letter code for the currency of the store at the time of the most recent update to the draft order.\n", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The custom information added to the draft order on behalf of the customer.\n", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The customer who will be sent an invoice for the draft order, if there is one.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The email address of the customer, which is used to send notifications.", "isDeprecated": false, "name": "email", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of events associated with the draft order.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the merchant has added timeline comments to the draft order.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subject defined for the draft invoice email template.", "isDeprecated": false, "name": "invoiceEmailTemplateSubject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the invoice was last emailed to the customer.", "isDeprecated": false, "name": "invoiceSentAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The link to the checkout, which is sent to the customer in the invoice email.", "isDeprecated": false, "name": "invoiceUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of the line items in the draft order.", "isDeprecated": false, "name": "lineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderLineItemConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subtotal of the line items and corresponding discounts. The subtotal doesn't include shipping charges, shipping discounts, taxes, or order discounts.", "isDeprecated": false, "name": "lineItemsSubtotalPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The country codes of the extensions.", "name": "countryCodes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } }, { "defaultValue": null, "description": "The purpose of the extensions.", "name": "purposes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LocalizationExtensionPurpose", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of localization extensions for the resource.", "isDeprecated": false, "name": "localizationExtensions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocalizationExtensionConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the selected market.", "isDeprecated": false, "name": "marketName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The selected market region country code for the draft order.", "isDeprecated": false, "name": "marketRegionCountryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The identifier for the draft order, which is unique within the store. For example, _#D1223_.\n", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The text from an optional note attached to the draft order.", "isDeprecated": false, "name": "note2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The order that was created from this draft order.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The associated payment terms for this draft order.", "isDeprecated": false, "name": "paymentTerms", "type": { "kind": "OBJECT", "name": "PaymentTerms", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The phone number assigned to the draft order.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment currency of the customer for this draft order.", "isDeprecated": false, "name": "presentmentCurrencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The purchasing entity for the draft order.", "isDeprecated": false, "name": "purchasingEntity", "type": { "kind": "UNION", "name": "PurchasingEntity", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the Draft Order is ready and can be completed. Draft Orders\n might have asynchronous operations that can take time to finish.", "isDeprecated": false, "name": "ready", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The time after which inventory will automatically be restocked.", "isDeprecated": false, "name": "reserveInventoryUntil", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shipping address of the customer.", "isDeprecated": false, "name": "shippingAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The line item that contains the shipping costs.", "isDeprecated": false, "name": "shippingLine", "type": { "kind": "OBJECT", "name": "ShippingLine", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Status of the draft order.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DraftOrderStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subtotal of the line items and their discounts. The subtotal doesn't include shipping charges, shipping discounts, or taxes.\n", "isDeprecated": false, "name": "subtotalPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A subtotal of the line items and corresponding discounts. The subtotal doesn't include shipping charges, shipping discounts, or taxes.", "isDeprecated": false, "name": "subtotalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A comma separated list of tags associated with the draft order. Updating `tags` overwrites\nany existing tags that were previously added to the draft order. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.\n", "isDeprecated": false, "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the draft order is tax exempt.", "isDeprecated": false, "name": "taxExempt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total amount of taxes charged for each line item and shipping line.", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the line item prices include taxes.", "isDeprecated": false, "name": "taxesIncluded", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts for this draft order.", "isDeprecated": false, "name": "totalDiscountsSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price of line items for this draft order.", "isDeprecated": false, "name": "totalLineItemsPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of the draft order, including taxes, shipping charges, and discounts.", "isDeprecated": false, "name": "totalPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of the draft order including taxes, shipping charges, and discounts.", "isDeprecated": false, "name": "totalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total shipping charge for the draft order.", "isDeprecated": false, "name": "totalShippingPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total shipping charge for the draft order.", "isDeprecated": false, "name": "totalShippingPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the draft order.", "isDeprecated": false, "name": "totalTax", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the draft order.", "isDeprecated": false, "name": "totalTaxSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total weight in grams of the draft order.", "isDeprecated": false, "name": "totalWeight", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the draft order was last changed.\nThe format is YYYY-MM-DD HH:mm:ss. For example, 2016-02-05 17:04:01.\n", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the draft order will be visible to the customer on the self-serve portal.", "isDeprecated": false, "name": "visibleToCustomer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CommentEventSubject", "ofType": null }, { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "HasLocalizationExtensions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Navigable", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DraftOrder", "possibleTypes": null }, { "description": "The order-level discount applied to a draft order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `amountV2` instead.", "description": "Amount of the order-level discount that is applied to the draft order.", "isDeprecated": true, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount of money discounted, with values shown in both shop currency and presentment currency.", "isDeprecated": false, "name": "amountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Amount of money discounted.", "isDeprecated": false, "name": "amountV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Description of the order-level discount.", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the order-level discount.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The order level discount amount. If `valueType` is `\"percentage\"`,\nthen `value` is the percentage discount.\n", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Type of the order-level discount.", "isDeprecated": false, "name": "valueType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DraftOrderAppliedDiscountType", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderAppliedDiscount", "possibleTypes": null }, { "description": "The input fields for applying an order-level discount to a draft order.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The applied amount of the discount.\nIf the type of the discount is fixed amount, then this is the fixed dollar amount.\nIf the type is percentage, then this is the subtotal multiplied by the percentage.\n", "name": "amount", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "Reason for the discount.\n", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Title of the discount.\n", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The value of the discount.\nIf the type of the discount is fixed amount, then this is a fixed dollar amount.\nIf the type is percentage, then this is the percentage.\n", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "defaultValue": null, "description": "The type of discount.\n", "name": "valueType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DraftOrderAppliedDiscountType", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DraftOrderAppliedDiscountInput", "possibleTypes": null }, { "description": "The valid discount types that can be applied to a draft order.", "enumValues": [ { "deprecationReason": null, "description": "A fixed amount in the store's currency.", "isDeprecated": false, "name": "FIXED_AMOUNT" }, { "deprecationReason": null, "description": "A percentage of the order subtotal.", "isDeprecated": false, "name": "PERCENTAGE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DraftOrderAppliedDiscountType", "possibleTypes": null }, { "description": "Return type for `draftOrderBulkAddTags` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job for adding tags to the draft orders.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderBulkAddTagsPayload", "possibleTypes": null }, { "description": "Return type for `draftOrderBulkDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job for deleting the draft orders.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderBulkDeletePayload", "possibleTypes": null }, { "description": "Return type for `draftOrderBulkRemoveTags` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job for removing tags from the draft orders.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderBulkRemoveTagsPayload", "possibleTypes": null }, { "description": "Return type for `draftOrderCalculate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The calculated properties for a draft order.", "isDeprecated": false, "name": "calculatedDraftOrder", "type": { "kind": "OBJECT", "name": "CalculatedDraftOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderCalculatePayload", "possibleTypes": null }, { "description": "Return type for `draftOrderComplete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The completed draft order.", "isDeprecated": false, "name": "draftOrder", "type": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderCompletePayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DraftOrders.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DraftOrderEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderConnection", "possibleTypes": null }, { "description": "Return type for `draftOrderCreateFromOrder` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created Draft Order.", "isDeprecated": false, "name": "draftOrder", "type": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderCreateFromOrderPayload", "possibleTypes": null }, { "description": "Return type for `draftOrderCreateMerchantCheckout` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderCreateMerchantCheckoutPayload", "possibleTypes": null }, { "description": "Return type for `draftOrderCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created draft order.\n", "isDeprecated": false, "name": "draftOrder", "type": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderCreatePayload", "possibleTypes": null }, { "description": "The input fields to specify the draft order to delete by its ID.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the draft order to delete.\n", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DraftOrderDeleteInput", "possibleTypes": null }, { "description": "Return type for `draftOrderDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted draft order.\n", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderDeletePayload", "possibleTypes": null }, { "description": "Return type for `draftOrderDuplicate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly duplicated draft order.", "isDeprecated": false, "name": "draftOrder", "type": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderDuplicatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one DraftOrder and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DraftOrderEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderEdge", "possibleTypes": null }, { "description": "The input fields used to create or update a draft order.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The discount that will be applied to the draft order.\nA draft order line item can have one discount. A draft order can also have one order-level discount.\n", "name": "appliedDiscount", "type": { "kind": "INPUT_OBJECT", "name": "DraftOrderAppliedDiscountInput", "ofType": null } }, { "defaultValue": null, "description": "The mailing address associated with the payment method.\n", "name": "billingAddress", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, { "defaultValue": null, "description": "Extra information added to the customer.\n", "name": "customAttributes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } } }, { "defaultValue": null, "description": "The customer's email address.\n", "name": "email", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Product variant line item or custom line item associated to the draft order.\nEach draft order must include at least one line item.\n", "name": "lineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DraftOrderLineItemInput", "ofType": null } } } }, { "defaultValue": null, "description": "Metafields attached to the draft order.\n", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "The localization extensions attached to the draft order. For example, Tax IDs.", "name": "localizationExtensions", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "LocalizationExtensionInput", "ofType": null } } } }, { "defaultValue": null, "description": "The text of an optional note that a shop owner can attach to the draft order.\n", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The mailing address to where the order will be shipped.\n", "name": "shippingAddress", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, { "defaultValue": null, "description": "A shipping line object, which details the shipping method used.\n", "name": "shippingLine", "type": { "kind": "INPUT_OBJECT", "name": "ShippingLineInput", "ofType": null } }, { "defaultValue": null, "description": "A comma separated list of tags that have been added to the draft order.\n", "name": "tags", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Whether or not taxes are exempt for the draft order.\nIf false, then Shopify will refer to the taxable field for each line item.\nIf a customer is applied to the draft order, then Shopify will use the customer's tax exempt field instead.\n", "name": "taxExempt", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Sent as part of a draft order object to load customer shipping information.\n", "name": "useCustomerDefaultAddress", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Whether the draft order will be visible to the customer on the self-serve portal.", "name": "visibleToCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Time after which inventory will automatically be restocked.", "name": "reserveInventoryUntil", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The payment currency of the customer for this draft order.", "name": "presentmentCurrencyCode", "type": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, { "defaultValue": null, "description": "The selected market region country code for the draft order.", "name": "marketRegionCountryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "defaultValue": null, "description": "The customer's phone number.", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The fields used to create payment terms.", "name": "paymentTerms", "type": { "kind": "INPUT_OBJECT", "name": "PaymentTermsInput", "ofType": null } }, { "defaultValue": null, "description": "The purchasing entity for this draft order.", "name": "purchasingEntity", "type": { "kind": "INPUT_OBJECT", "name": "PurchasingEntityInput", "ofType": null } }, { "defaultValue": null, "description": "The source of the checkout.\n To use this field for sales attribution, you must register the channels that your app is managing.\n You can register the channels that your app is managing by completing\n [this Google Form](https://docs.google.com/forms/d/e/1FAIpQLScmVTZRQNjOJ7RD738mL1lGeFjqKVe_FM2tO9xsm21QEo5Ozg/viewform?usp=sf_link).\n After you've submitted your request, you need to wait for your request to be processed by Shopify.\n You can find a list of your channels in the Partner Dashboard, in your app's Marketplace extension.\n You need to specify the handle as the `source_name` value in your request.\n The handle is the channel that the order was placed from.", "name": "sourceName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DraftOrderInput", "possibleTypes": null }, { "description": "Return type for `draftOrderInvoicePreview` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The draft order invoice email rendered as HTML to allow previewing.", "isDeprecated": false, "name": "previewHtml", "type": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The subject preview for the draft order invoice email.", "isDeprecated": false, "name": "previewSubject", "type": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderInvoicePreviewPayload", "possibleTypes": null }, { "description": "Return type for `draftOrderInvoiceSend` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The draft order an invoice email is sent for.", "isDeprecated": false, "name": "draftOrder", "type": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderInvoiceSendPayload", "possibleTypes": null }, { "description": "A line item included in a draft order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The discount that will be applied to the line item or the overall order.\n", "isDeprecated": false, "name": "appliedDiscount", "type": { "kind": "OBJECT", "name": "DraftOrderAppliedDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the line item is a custom line item (`true`) or a product variant line item (`false`).\n", "isDeprecated": false, "name": "custom", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of attributes that represent custom features or special requests.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Additional information (metafields) about the line item with the associated types.", "isDeprecated": false, "name": "customAttributesV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TypedAttribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The line item price after discounts are applied.\n", "isDeprecated": false, "name": "discountedTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line item price after discounts are applied.", "isDeprecated": false, "name": "discountedTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The `discountedTotal` divided by `quantity`, resulting in the value of the discount per unit.\n", "isDeprecated": false, "name": "discountedUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The `discountedTotal` divided by `quantity`, resulting in the value of the discount per unit.", "isDeprecated": false, "name": "discountedUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the service provider who fulfilled the order.\n\nValid values are either **manual** or the name of the provider.\nFor example, **amazon**, **shipwire**.\n\nDeleted fulfillment services will return null.\n", "isDeprecated": false, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": "Use `weight` instead.", "description": "The weight of the line item in grams. The weight can only be specified if the line item is a custom\nline item.\n", "isDeprecated": true, "name": "grams", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image associated with the draft order line item.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the line item is a gift card.", "isDeprecated": false, "name": "isGiftCard", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the product.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price (without discounts) of the line item, based on the original unit price of the variant x quantity.\n", "isDeprecated": false, "name": "originalTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price (without discounts) of the line item,based on the original unit price of the variant x quantity.", "isDeprecated": false, "name": "originalTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant price without any discounts applied.", "isDeprecated": false, "name": "originalUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant price without any discounts applied.", "isDeprecated": false, "name": "originalUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product corresponding to the line item’s product variant.\n", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of product variants that are requested in the draft order.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether physical shipping is required for the variant.", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The SKU number of the product variant.", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A list of tax line objects, each of which details the total taxes applicable to the order.\n", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the variant is taxable.", "isDeprecated": false, "name": "taxable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the product or variant. This field only applies to custom line items.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total value of the discount that is applied to the line item.\n", "isDeprecated": false, "name": "totalDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total value of the discount that is applied to the line item.", "isDeprecated": false, "name": "totalDiscountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The associated variant for the line item.\n", "isDeprecated": false, "name": "variant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the variant.", "isDeprecated": false, "name": "variantTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the vendor who created the product variant.", "isDeprecated": false, "name": "vendor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The weight unit and value for a draft order line item.", "isDeprecated": false, "name": "weight", "type": { "kind": "OBJECT", "name": "Weight", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DraftOrderLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple DraftOrderLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in DraftOrderLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one DraftOrderLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of DraftOrderLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderLineItemEdge", "possibleTypes": null }, { "description": "The input fields used to create a line item for a draft order.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Discount which will be applied to the line item.\n", "name": "appliedDiscount", "type": { "kind": "INPUT_OBJECT", "name": "DraftOrderAppliedDiscountInput", "ofType": null } }, { "defaultValue": null, "description": "Represents a generic custom attribute using a key value pair.\n", "name": "customAttributes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } } }, { "defaultValue": null, "description": "The price without any discounts applied. This value is ignored when `variantId` is provided.", "name": "originalUnitPrice", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "The number of products that were purchased.\n", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "Whether physical shipping is required. This value is ignored when `variantId` is provided.\n", "name": "requiresShipping", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The SKU number of the item. This value is ignored when `variantId` is provided.", "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether the item is taxable. This value is ignored when `variantId` is provided.", "name": "taxable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Title of the item. Ignored when `variantId` is provided.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the product variant corresponding to the line item.\nNull if custom line item. Required if product variant line item.\n", "name": "variantId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Specifies the weight unit and value inputs.\nThis value is ignored when `variantId` is provided.\n", "name": "weight", "type": { "kind": "INPUT_OBJECT", "name": "WeightInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "DraftOrderLineItemInput", "possibleTypes": null }, { "description": "The set of valid sort keys for the DraftOrder query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `number` value.", "isDeprecated": false, "name": "NUMBER" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `status` value.", "isDeprecated": false, "name": "STATUS" }, { "deprecationReason": null, "description": "Sort by the `total_price` value.", "isDeprecated": false, "name": "TOTAL_PRICE" }, { "deprecationReason": null, "description": "Sort by the `customer_name` value.", "isDeprecated": false, "name": "CUSTOMER_NAME" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DraftOrderSortKeys", "possibleTypes": null }, { "description": "The valid statuses for a draft order.", "enumValues": [ { "deprecationReason": null, "description": "The draft order has been paid.", "isDeprecated": false, "name": "COMPLETED" }, { "deprecationReason": null, "description": "An invoice for the draft order has been sent to the customer.", "isDeprecated": false, "name": "INVOICE_SENT" }, { "deprecationReason": null, "description": "The draft order is open. It has not been paid, and an invoice hasn't been sent.", "isDeprecated": false, "name": "OPEN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "DraftOrderStatus", "possibleTypes": null }, { "description": "Represents a draft order tag.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Handle of draft order tag.", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "ID of draft order tag.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Title of draft order tag.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "DraftOrderTag", "possibleTypes": null }, { "description": "Return type for `draftOrderUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated draft order.", "isDeprecated": false, "name": "draftOrder", "type": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "DraftOrderUpdatePayload", "possibleTypes": null }, { "description": "The duty details for a line item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty.", "isDeprecated": false, "name": "countryCodeOfOrigin", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The harmonized system code of the item used in calculating the duty.", "isDeprecated": false, "name": "harmonizedSystemCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount of the duty.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of taxes charged on the duty.", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Duty", "possibleTypes": null }, { "description": "A sale associated with a duty charge.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of order action that the sale represents.", "isDeprecated": false, "name": "actionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleActionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The duty for the associated sale.", "isDeprecated": false, "name": "duty", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Duty", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the sale.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line type assocated with the sale.", "isDeprecated": false, "name": "lineType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleLineType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units either ordered or intended to be returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "All individual taxes associated with the sale.", "isDeprecated": false, "name": "taxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleTax", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total sale amount after taxes and discounts.", "isDeprecated": false, "name": "totalAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale after taxes.", "isDeprecated": false, "name": "totalDiscountAmountAfterTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale before taxes.", "isDeprecated": false, "name": "totalDiscountAmountBeforeTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the sale.", "isDeprecated": false, "name": "totalTaxAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Sale", "ofType": null } ], "kind": "OBJECT", "name": "DutySale", "possibleTypes": null }, { "description": "The attribute editable information.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the attribute is locked for editing.", "isDeprecated": false, "name": "locked", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason the attribute is locked for editing.", "isDeprecated": false, "name": "reason", "type": { "kind": "SCALAR", "name": "FormattedString", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "EditableProperty", "possibleTypes": null }, { "description": "The input fields for an email.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the email subject.", "name": "subject", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the email recipient.", "name": "to", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the email sender.", "name": "from", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the email body.", "name": "body", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies any bcc recipients for the email.", "name": "bcc", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Specifies a custom message to include in the email.", "name": "customMessage", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "EmailInput", "possibleTypes": null }, { "description": "Error position information in a ShopifyQL parsing error.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The character position of the error in the line.", "isDeprecated": false, "name": "character", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line number of the error.", "isDeprecated": false, "name": "line", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ErrorPosition", "possibleTypes": null }, { "description": "An error that occurs during the execution of a server pixel mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ErrorsServerPixelUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ErrorsServerPixelUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ErrorsServerPixelUserError`.", "enumValues": [ { "deprecationReason": null, "description": "A server pixel doesn't exist for this app and shop.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "A server pixel already exists for this app and shop. Only one server pixel can exist for any app and shop combination.", "isDeprecated": false, "name": "ALREADY_EXISTS" }, { "deprecationReason": null, "description": "PubSubProject and PubSubTopic values resulted in an address that is not a valid GCP pub/sub format.Address format should be pubsub://project:topic.", "isDeprecated": false, "name": "PUB_SUB_ERROR" }, { "deprecationReason": null, "description": "Server Pixel must be configured with a valid AWS Event Bridge or GCP pub/sub endpoint address to be connected.", "isDeprecated": false, "name": "NEEDS_CONFIGURATION_TO_CONNECT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ErrorsServerPixelUserErrorCode", "possibleTypes": null }, { "description": "An error that occurs during the execution of a web pixel mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ErrorsWebPixelUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ErrorsWebPixelUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ErrorsWebPixelUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The record with the ID used as the input value couldn't be found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "The provided settings ID does not match the expected settings definition on the app.", "isDeprecated": false, "name": "INVALID_SETTINGS" }, { "deprecationReason": null, "description": "An error occurred and the web pixel couldnt be deleted.", "isDeprecated": false, "name": "UNABLE_TO_DELETE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ErrorsWebPixelUserErrorCode", "possibleTypes": null }, { "description": "Events chronicle resource activities such as the creation of an article, the fulfillment of an order, or the\naddition of a product.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the app that created the event.", "isDeprecated": false, "name": "appTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the event was created by an app.", "isDeprecated": false, "name": "attributeToApp", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the event was caused by an admin user.", "isDeprecated": false, "name": "attributeToUser", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the event was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the event is critical.", "isDeprecated": false, "name": "criticalAlert", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Human readable text that describes the event.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "FormattedString", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "Event", "possibleTypes": [ { "kind": "OBJECT", "name": "BasicEvent", "ofType": null }, { "kind": "OBJECT", "name": "CommentEvent", "ofType": null } ] }, { "description": "Return type for `eventBridgeServerPixelUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The server pixel as configured by the mutation.", "isDeprecated": false, "name": "serverPixel", "type": { "kind": "OBJECT", "name": "ServerPixel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorsServerPixelUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "EventBridgeServerPixelUpdatePayload", "possibleTypes": null }, { "description": "Return type for `eventBridgeWebhookSubscriptionCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The webhook subscription that was created.", "isDeprecated": false, "name": "webhookSubscription", "type": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "EventBridgeWebhookSubscriptionCreatePayload", "possibleTypes": null }, { "description": "The input fields for an EventBridge webhook subscription.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ARN of the EventBridge partner event source.", "name": "arn", "type": { "kind": "SCALAR", "name": "ARN", "ofType": null } }, { "defaultValue": null, "description": "The format in which the webhook subscription should send the data.", "name": "format", "type": { "kind": "ENUM", "name": "WebhookSubscriptionFormat", "ofType": null } }, { "defaultValue": null, "description": "The list of fields to be included in the webhook subscription.", "name": "includeFields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The list of namespaces for any metafields that should be included in the webhook subscription.", "name": "metafieldNamespaces", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "EventBridgeWebhookSubscriptionInput", "possibleTypes": null }, { "description": "Return type for `eventBridgeWebhookSubscriptionUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The webhook subscription that was updated.", "isDeprecated": false, "name": "webhookSubscription", "type": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "EventBridgeWebhookSubscriptionUpdatePayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Events.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in EventEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Event", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "EventConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one Event and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of EventEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Event", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "EventEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the Event query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "EventSortKeys", "possibleTypes": null }, { "description": "Represents a video hosted outside of Shopify.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A word or phrase to share the nature or contents of a media.", "isDeprecated": false, "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The embed URL of the video for the respective host.", "isDeprecated": false, "name": "embedUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": "Use `originUrl` instead.", "description": "The URL.", "isDeprecated": true, "name": "embeddedUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The host of the external video.", "isDeprecated": false, "name": "host", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaHost", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The media content type.", "isDeprecated": false, "name": "mediaContentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Any errors which have occurred on the media.", "isDeprecated": false, "name": "mediaErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The warnings attached to the media.", "isDeprecated": false, "name": "mediaWarnings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaWarning", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The origin URL of the video on the respective host.", "isDeprecated": false, "name": "originUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The preview image for the media.", "isDeprecated": false, "name": "preview", "type": { "kind": "OBJECT", "name": "MediaPreviewImage", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Current status of the media.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Media", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ExternalVideo", "possibleTypes": null }, { "description": "Requirements that must be met before an app can be installed.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Action to be taken to resolve a failed requirement, including URL link.", "isDeprecated": false, "name": "action", "type": { "kind": "OBJECT", "name": "NavigationItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A concise set of copy strings to be displayed to merchants, to guide them in resolving problems your app\nencounters when trying to make use of their Shop and its resources.\n", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FailedRequirement", "possibleTypes": null }, { "description": "A file interface.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A word or phrase to describe the contents or the function of a file.", "isDeprecated": false, "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.\n", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Any errors that have occurred on the file.", "isDeprecated": false, "name": "fileErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FileError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The status of the file.", "isDeprecated": false, "name": "fileStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FileStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The preview image for the media.", "isDeprecated": false, "name": "preview", "type": { "kind": "OBJECT", "name": "MediaPreviewImage", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "File", "possibleTypes": [ { "kind": "OBJECT", "name": "GenericFile", "ofType": null }, { "kind": "OBJECT", "name": "MediaImage", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple Files.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FileEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in FileEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "File", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FileConnection", "possibleTypes": null }, { "description": "The possible content types for a file object.", "enumValues": [ { "deprecationReason": null, "description": "A Shopify-hosted image.", "isDeprecated": false, "name": "IMAGE" }, { "deprecationReason": null, "description": "A Shopify-hosted generic file.", "isDeprecated": false, "name": "FILE" }, { "deprecationReason": null, "description": "A Shopify-hosted video file. It's recommended to use this type for all video files.", "isDeprecated": false, "name": "VIDEO" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FileContentType", "possibleTypes": null }, { "description": "The input fields that are required to create a file object.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "An external URL (for images only) or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).\n", "name": "originalSource", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.", "name": "contentType", "type": { "kind": "ENUM", "name": "FileContentType", "ofType": null } }, { "defaultValue": null, "description": "The alternative text description of the file.", "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FileCreateInput", "possibleTypes": null }, { "description": "Return type for `fileCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created files.", "isDeprecated": false, "name": "files", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "File", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FilesUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FileCreatePayload", "possibleTypes": null }, { "description": "Return type for `fileDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The IDs of the deleted files.", "isDeprecated": false, "name": "deletedFileIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FilesUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FileDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one File and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of FileEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "File", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FileEdge", "possibleTypes": null }, { "description": "A file error. This typically occurs when there is an issue with the file itself causing it to fail validation.\nCheck the file before attempting to upload again.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Code representing the type of error.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FileErrorCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Additional details regarding the error.", "isDeprecated": false, "name": "details", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Translated error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FileError", "possibleTypes": null }, { "description": "The error types for a file.", "enumValues": [ { "deprecationReason": null, "description": "File error has occurred for an unknown reason.", "isDeprecated": false, "name": "UNKNOWN" }, { "deprecationReason": null, "description": "File could not be processed because the signed URL was invalid.", "isDeprecated": false, "name": "INVALID_SIGNED_URL" }, { "deprecationReason": null, "description": "File could not be processed because the image could not be downloaded.", "isDeprecated": false, "name": "IMAGE_DOWNLOAD_FAILURE" }, { "deprecationReason": null, "description": "File could not be processed because the image could not be processed.", "isDeprecated": false, "name": "IMAGE_PROCESSING_FAILURE" }, { "deprecationReason": null, "description": "File timed out because it is currently being modified by another operation.", "isDeprecated": false, "name": "MEDIA_TIMEOUT_ERROR" }, { "deprecationReason": null, "description": "File could not be created because the external video could not be found.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_NOT_FOUND" }, { "deprecationReason": null, "description": "File could not be created because the external video is not listed or is private.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_UNLISTED" }, { "deprecationReason": null, "description": "File could not be created because the external video has an invalid aspect ratio.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_INVALID_ASPECT_RATIO" }, { "deprecationReason": null, "description": "File could not be created because embed permissions are disabled for this video.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_EMBED_DISABLED" }, { "deprecationReason": null, "description": "File could not be created because video is either not found or still transcoding.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING" }, { "deprecationReason": null, "description": "File could not be processed because the source could not be downloaded.", "isDeprecated": false, "name": "GENERIC_FILE_DOWNLOAD_FAILURE" }, { "deprecationReason": null, "description": "File could not be created because the size is too large.", "isDeprecated": false, "name": "GENERIC_FILE_INVALID_SIZE" }, { "deprecationReason": null, "description": "File could not be created because the metadata could not be read.", "isDeprecated": false, "name": "VIDEO_METADATA_READ_ERROR" }, { "deprecationReason": null, "description": "File could not be created because it has an invalid file type.", "isDeprecated": false, "name": "VIDEO_INVALID_FILETYPE_ERROR" }, { "deprecationReason": null, "description": "File could not be created because it does not meet the minimum width requirement.", "isDeprecated": false, "name": "VIDEO_MIN_WIDTH_ERROR" }, { "deprecationReason": null, "description": "File could not be created because it does not meet the maximum width requirement.", "isDeprecated": false, "name": "VIDEO_MAX_WIDTH_ERROR" }, { "deprecationReason": null, "description": "File could not be created because it does not meet the minimum height requirement.", "isDeprecated": false, "name": "VIDEO_MIN_HEIGHT_ERROR" }, { "deprecationReason": null, "description": "File could not be created because it does not meet the maximum height requirement.", "isDeprecated": false, "name": "VIDEO_MAX_HEIGHT_ERROR" }, { "deprecationReason": null, "description": "File could not be created because it does not meet the minimum duration requirement.", "isDeprecated": false, "name": "VIDEO_MIN_DURATION_ERROR" }, { "deprecationReason": null, "description": "File could not be created because it does not meet the maximum duration requirement.", "isDeprecated": false, "name": "VIDEO_MAX_DURATION_ERROR" }, { "deprecationReason": null, "description": "Video failed validation.", "isDeprecated": false, "name": "VIDEO_VALIDATION_ERROR" }, { "deprecationReason": null, "description": "Model failed validation.", "isDeprecated": false, "name": "MODEL3D_VALIDATION_ERROR" }, { "deprecationReason": null, "description": "File could not be created because the model's thumbnail generation failed.", "isDeprecated": false, "name": "MODEL3D_THUMBNAIL_GENERATION_ERROR" }, { "deprecationReason": null, "description": "There was an issue while trying to generate a new thumbnail.", "isDeprecated": false, "name": "MODEL3D_THUMBNAIL_REGENERATION_ERROR" }, { "deprecationReason": null, "description": "File could not be created because the model can't be converted to USDZ format.", "isDeprecated": false, "name": "MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR" }, { "deprecationReason": null, "description": "File could not be created because the model file failed processing.", "isDeprecated": false, "name": "MODEL3D_GLB_OUTPUT_CREATION_ERROR" }, { "deprecationReason": null, "description": "File could not be created because the model file failed processing.", "isDeprecated": false, "name": "MODEL3D_PROCESSING_FAILURE" }, { "deprecationReason": null, "description": "File could not be created because the image is an unsupported file type.", "isDeprecated": false, "name": "UNSUPPORTED_IMAGE_FILE_TYPE" }, { "deprecationReason": null, "description": "File could not be created because the image size is too large.", "isDeprecated": false, "name": "INVALID_IMAGE_FILE_SIZE" }, { "deprecationReason": null, "description": "File could not be created because the image has an invalid aspect ratio.", "isDeprecated": false, "name": "INVALID_IMAGE_ASPECT_RATIO" }, { "deprecationReason": null, "description": "File could not be created because the image's resolution exceeds the max limit.", "isDeprecated": false, "name": "INVALID_IMAGE_RESOLUTION" }, { "deprecationReason": null, "description": "File could not be created because the cumulative file storage limit would be exceeded.", "isDeprecated": false, "name": "FILE_STORAGE_LIMIT_EXCEEDED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FileErrorCode", "possibleTypes": null }, { "description": "The set of valid sort keys for the File query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `filename` value.", "isDeprecated": false, "name": "FILENAME" }, { "deprecationReason": null, "description": "Sort by the `original_upload_size` value.", "isDeprecated": false, "name": "ORIGINAL_UPLOAD_SIZE" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FileSortKeys", "possibleTypes": null }, { "description": "The possible statuses for a file object.", "enumValues": [ { "deprecationReason": null, "description": "File has been uploaded but hasn't been processed.", "isDeprecated": false, "name": "UPLOADED" }, { "deprecationReason": null, "description": "File is being processed.", "isDeprecated": false, "name": "PROCESSING" }, { "deprecationReason": null, "description": "File is ready to be displayed.", "isDeprecated": false, "name": "READY" }, { "deprecationReason": null, "description": "File processing has failed.", "isDeprecated": false, "name": "FAILED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FileStatus", "possibleTypes": null }, { "description": "The input fields that are required to update a file object.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the file to be updated.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The alternative text description of the file.", "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The source from which to update the media preview image.\nMay be an external URL or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).\n", "name": "previewImageSource", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FileUpdateInput", "possibleTypes": null }, { "description": "Return type for `fileUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of updated files.", "isDeprecated": false, "name": "files", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "File", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FilesUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FileUpdatePayload", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `FilesUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "File does not exist.", "isDeprecated": false, "name": "FILE_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "File has a pending operation.", "isDeprecated": false, "name": "FILE_LOCKED" }, { "deprecationReason": null, "description": "Specify one argument: search, IDs, or deleteAll.", "isDeprecated": false, "name": "TOO_MANY_ARGUMENTS" }, { "deprecationReason": null, "description": "The search term must not be blank.", "isDeprecated": false, "name": "BLANK_SEARCH" }, { "deprecationReason": null, "description": "At least one argument is required.", "isDeprecated": false, "name": "MISSING_ARGUMENTS" }, { "deprecationReason": null, "description": "Search query isn't supported.", "isDeprecated": false, "name": "INVALID_QUERY" }, { "deprecationReason": null, "description": "The file is not supported on trial accounts that have not validated their email. Either select a plan or verify the shop owner email to upload this file.", "isDeprecated": false, "name": "UNACCEPTABLE_UNVERIFIED_TRIAL_ASSET" }, { "deprecationReason": null, "description": "The file type is not supported.", "isDeprecated": false, "name": "UNACCEPTABLE_ASSET" }, { "deprecationReason": null, "description": "The file is not supported on trial accounts. Select a plan to upload this file.", "isDeprecated": false, "name": "UNACCEPTABLE_TRIAL_ASSET" }, { "deprecationReason": null, "description": "The alt value exceeds the maximum limit of 512 characters.", "isDeprecated": false, "name": "ALT_VALUE_LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "Exceeded the limit of non-image media per shop.", "isDeprecated": false, "name": "NON_IMAGE_MEDIA_PER_SHOP_LIMIT_EXCEEDED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FilesErrorCode", "possibleTypes": null }, { "description": "An error that happens during the execution of a Files API query or mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "FilesErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "FilesUserError", "possibleTypes": null }, { "description": "A filter option is one possible value in a search filter.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The filter option's label for display purposes.", "isDeprecated": false, "name": "label", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The filter option's value.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FilterOption", "possibleTypes": null }, { "description": "Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "Float", "possibleTypes": null }, { "description": "Return type for `flowTriggerReceive` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FlowTriggerReceivePayload", "possibleTypes": null }, { "description": "A string containing a strict subset of HTML code. Non-allowed tags will be stripped out.\nAllowed tags:\n* `a` (allowed attributes: `href`, `target`)\n* `b`\n* `br`\n* `em`\n* `i`\n* `strong`\n* `u`\nUse [HTML](https://shopify.dev/api/admin-graphql/latest/scalars/HTML) instead if you need to\ninclude other HTML tags.\n\nExample value: `\"Your current domain is johns-apparel.myshopify.com.\"`\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "FormattedString", "possibleTypes": null }, { "description": "Represents a fulfillment.\nIn Shopify, a fulfillment represents a shipment of one or more items in an order.\nWhen an order has been completely fulfilled, it means that all the items that are included\nin the order have been sent to the customer.\nThere can be more than one fulfillment for an order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the fulfillment was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date that this fulfillment was delivered.", "isDeprecated": false, "name": "deliveredAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Human readable display status for this fulfillment.", "isDeprecated": false, "name": "displayStatus", "type": { "kind": "ENUM", "name": "FulfillmentDisplayStatus", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The estimated date that this fulfillment will arrive.", "isDeprecated": false, "name": "estimatedDeliveryAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "HAPPENED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "FulfillmentEventSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The history of events associated with this fulfillment.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentEventConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of the fulfillment's line items.", "isDeprecated": false, "name": "fulfillmentLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItemConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A paginated list of fulfillment orders for the fulfillment.", "isDeprecated": false, "name": "fulfillmentOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the fulfillment went into transit.", "isDeprecated": false, "name": "inTransitAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The location that the fulfillment was processed at.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Human readable reference identifier for this fulfillment.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order for which the fulfillment was created.", "isDeprecated": false, "name": "order", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The address at which the fulfillment occurred. Typically this is the address of the warehouse or fulfillment center.", "isDeprecated": false, "name": "originAddress", "type": { "kind": "OBJECT", "name": "FulfillmentOriginAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether any of the line items in the fulfillment require shipping.", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Fulfillment service associated with the fulfillment.", "isDeprecated": false, "name": "service", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of the fulfillment.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Sum of all line item quantities for the fulfillment.", "isDeprecated": false, "name": "totalQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "Tracking information associated with the fulfillment,\nsuch as the tracking company, tracking number, and tracking URL.\n", "isDeprecated": false, "name": "trackingInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentTrackingInfo", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the fulfillment was last modified.\n", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Fulfillment", "possibleTypes": null }, { "description": "Return type for `fulfillmentCancel` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The canceled fulfillment.", "isDeprecated": false, "name": "fulfillment", "type": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentCancelPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Fulfillments.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in FulfillmentEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentConnection", "possibleTypes": null }, { "description": "Return type for `fulfillmentCreateV2` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created fulfillment.", "isDeprecated": false, "name": "fulfillment", "type": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentCreateV2Payload", "possibleTypes": null }, { "description": "The display status of a fulfillment.", "enumValues": [ { "deprecationReason": null, "description": "Displayed as **Attempted delivery**.", "isDeprecated": false, "name": "ATTEMPTED_DELIVERY" }, { "deprecationReason": null, "description": "Displayed as **Canceled**.", "isDeprecated": false, "name": "CANCELED" }, { "deprecationReason": null, "description": "Displayed as **Confirmed**.", "isDeprecated": false, "name": "CONFIRMED" }, { "deprecationReason": null, "description": "Displayed as **Delivered**.", "isDeprecated": false, "name": "DELIVERED" }, { "deprecationReason": null, "description": "Displayed as **Failure**.", "isDeprecated": false, "name": "FAILURE" }, { "deprecationReason": null, "description": "Displayed as **Fulfilled**.", "isDeprecated": false, "name": "FULFILLED" }, { "deprecationReason": null, "description": "Displayed as **In transit**.", "isDeprecated": false, "name": "IN_TRANSIT" }, { "deprecationReason": null, "description": "Displayed as **Label printed**.", "isDeprecated": false, "name": "LABEL_PRINTED" }, { "deprecationReason": null, "description": "Displayed as **Label purchased**.", "isDeprecated": false, "name": "LABEL_PURCHASED" }, { "deprecationReason": null, "description": "Displayed as **Label voided**.", "isDeprecated": false, "name": "LABEL_VOIDED" }, { "deprecationReason": null, "description": "Displayed as **Marked as fulfilled**.", "isDeprecated": false, "name": "MARKED_AS_FULFILLED" }, { "deprecationReason": null, "description": "Displayed as **Not delivered**.", "isDeprecated": false, "name": "NOT_DELIVERED" }, { "deprecationReason": null, "description": "Displayed as **Out for delivery**.", "isDeprecated": false, "name": "OUT_FOR_DELIVERY" }, { "deprecationReason": null, "description": "Displayed as **Ready for pickup**.", "isDeprecated": false, "name": "READY_FOR_PICKUP" }, { "deprecationReason": null, "description": "Displayed as **Picked up**.", "isDeprecated": false, "name": "PICKED_UP" }, { "deprecationReason": null, "description": "Displayed as **Submitted**.", "isDeprecated": false, "name": "SUBMITTED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentDisplayStatus", "possibleTypes": null }, { "description": "An auto-generated type which holds one Fulfillment and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of FulfillmentEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentEdge", "possibleTypes": null }, { "description": "The fulfillment event that describes the fulfilllment status at a particular time.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The street address where this fulfillment event occurred.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The city where this fulfillment event occurred.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The country where this fulfillment event occurred.", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The estimated delivery date and time of the fulfillment.", "isDeprecated": false, "name": "estimatedDeliveryAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The time at which this fulfillment event happened.", "isDeprecated": false, "name": "happenedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The latitude where this fulfillment event occurred.", "isDeprecated": false, "name": "latitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The longitude where this fulfillment event occurred.", "isDeprecated": false, "name": "longitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A message associated with this fulfillment event.", "isDeprecated": false, "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The province where this fulfillment event occurred.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of this fulfillment event.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentEventStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The zip code of the location where this fulfillment event occurred.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentEvent", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple FulfillmentEvents.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentEventEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in FulfillmentEventEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentEvent", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentEventConnection", "possibleTypes": null }, { "description": "Return type for `fulfillmentEventCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created fulfillment event.", "isDeprecated": false, "name": "fulfillmentEvent", "type": { "kind": "OBJECT", "name": "FulfillmentEvent", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentEventCreatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one FulfillmentEvent and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of FulfillmentEventEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentEvent", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentEventEdge", "possibleTypes": null }, { "description": "The input fields used to create a fulfillment event.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The street address where this fulfillment event occurred.", "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The city where this fulfillment event occurred.", "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The country where this fulfillment event occurred.", "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The estimated delivery date and time of the fulfillment.", "name": "estimatedDeliveryAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The time at which this fulfillment event happened.", "name": "happenedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The ID for the fulfillment that is associated with this fulfillment event.", "name": "fulfillmentId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The latitude where this fulfillment event occurred.", "name": "latitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The longitude where this fulfillment event occurred.", "name": "longitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "A message associated with this fulfillment event.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The province where this fulfillment event occurred.", "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The status of this fulfillment event.", "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentEventStatus", "ofType": null } } }, { "defaultValue": null, "description": "The zip code of the location where this fulfillment event occurred.", "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FulfillmentEventInput", "possibleTypes": null }, { "description": "The set of valid sort keys for the FulfillmentEvent query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `happened_at` value.", "isDeprecated": false, "name": "HAPPENED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentEventSortKeys", "possibleTypes": null }, { "description": "The status that describes a fulfillment or delivery event.", "enumValues": [ { "deprecationReason": null, "description": "A shipping label has been purchased.", "isDeprecated": false, "name": "LABEL_PURCHASED" }, { "deprecationReason": null, "description": "A purchased shipping label has been printed.", "isDeprecated": false, "name": "LABEL_PRINTED" }, { "deprecationReason": null, "description": "The fulfillment is ready to be picked up.", "isDeprecated": false, "name": "READY_FOR_PICKUP" }, { "deprecationReason": null, "description": "The fulfillment is confirmed. This is the default value when no other information is available.", "isDeprecated": false, "name": "CONFIRMED" }, { "deprecationReason": null, "description": "The fulfillment is in transit.", "isDeprecated": false, "name": "IN_TRANSIT" }, { "deprecationReason": null, "description": "The fulfillment is out for delivery.", "isDeprecated": false, "name": "OUT_FOR_DELIVERY" }, { "deprecationReason": null, "description": "A delivery was attempted.", "isDeprecated": false, "name": "ATTEMPTED_DELIVERY" }, { "deprecationReason": null, "description": "The fulfillment was successfully delivered.", "isDeprecated": false, "name": "DELIVERED" }, { "deprecationReason": null, "description": "The fulfillment request failed.", "isDeprecated": false, "name": "FAILURE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentEventStatus", "possibleTypes": null }, { "description": "A fulfillment hold currently applied on a fulfillment order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the app or service that applied the fulfillment hold.", "isDeprecated": false, "name": "heldBy", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The reason for the fulfillment hold.", "isDeprecated": false, "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentHoldReason", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Additional information about the fulfillment hold reason.", "isDeprecated": false, "name": "reasonNotes", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentHold", "possibleTypes": null }, { "description": "The reason for a fulfillment hold.", "enumValues": [ { "deprecationReason": null, "description": "The fulfillment hold is applied because payment is pending.", "isDeprecated": false, "name": "AWAITING_PAYMENT" }, { "deprecationReason": null, "description": "The fulfillment hold is applied because of a high risk of fraud.", "isDeprecated": false, "name": "HIGH_RISK_OF_FRAUD" }, { "deprecationReason": null, "description": "The fulfillment hold is applied because of an incorrect address.", "isDeprecated": false, "name": "INCORRECT_ADDRESS" }, { "deprecationReason": null, "description": "The fulfillment hold is applied because inventory is out of stock.", "isDeprecated": false, "name": "INVENTORY_OUT_OF_STOCK" }, { "deprecationReason": null, "description": "The fulfillment hold is applied because of an unknown delivery date.", "isDeprecated": false, "name": "UNKNOWN_DELIVERY_DATE" }, { "deprecationReason": null, "description": "The fulfillment hold is applied for another reason.", "isDeprecated": false, "name": "OTHER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentHoldReason", "possibleTypes": null }, { "description": "Represents a line item from an order that's included in a fulfillment.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `discountedTotalSet` instead.", "description": "The total price after discounts are applied.", "isDeprecated": true, "name": "discountedTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price after discounts are applied in shop and presentment currencies.", "isDeprecated": false, "name": "discountedTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The associated order's line item.", "isDeprecated": false, "name": "lineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } }, { "args": [], "deprecationReason": "Use `originalTotalSet` instead.", "description": "The total price before discounts are applied.", "isDeprecated": true, "name": "originalTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price before discounts are applied in shop and presentment currencies.", "isDeprecated": false, "name": "originalTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Number of line items in the fulfillment.", "isDeprecated": false, "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple FulfillmentLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in FulfillmentLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of FulfillmentLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentLineItemEdge", "possibleTypes": null }, { "description": "The FulfillmentOrder object represents either an item or a group of items in an\n[Order](https://shopify.dev/api/admin-graphql/latest/objects/Order)\nthat are expected to be fulfilled from the same location.\nThere can be more than one fulfillment order for an\n[order](https://shopify.dev/api/admin-graphql/latest/objects/Order)\nat a given location.\n\n{{ '/api/reference/fulfillment_order_relationships.png' | image }}\n\nFulfillment orders represent the work which is intended to be done in relation to an order.\nWhen fulfillment has started for one or more line items, a\n[Fulfillment](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment)\nis created by a merchant or third party to represent the ongoing or completed work of fulfillment.\n\n[See below for more details on creating fulfillments](#the-lifecycle-of-a-fulfillment-order-at-a-location-which-is-managed-by-a-fulfillment-service).\n\n> Note:\n> Shopify creates fulfillment orders automatically when an order is created.\n> It is not possible to manually create fulfillment orders.\n>\n> [See below for more details on the lifecycle of a fulfillment order](#the-lifecycle-of-a-fulfillment-order).\n\n## Retrieving fulfillment orders\n\nAll fulfillment orders related to a given order can be retrieved with the\n[Order.fulfillmentOrders](https://shopify.dev/api/admin-graphql/latest/objects/Order#connection-order-fulfillmentorders)\nconnection.\n\n[API access scopes](#api-access-scopes)\ngovern which fulfillments orders are returned to clients.\nAn API client will only receive a subset of the fulfillment orders which belong to an order\nif they don't have the necessary access scopes to view all of the fulfillment orders.\n\nFulfillment service apps can retrieve the fulfillment orders which have been assigned to their locations with the\n[Shop.assignedFulfillmentOrders](https://shopify.dev/api/admin-graphql/latest/objects/Shop#connection-shop-assignedfulfillmentorders)\nconnection.\nUse the `assignmentStatus` argument to control whether all assigned fulfillment orders\nshould be returned or only those where a merchant has sent a\n[fulfillment request](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderMerchantRequest)\nand it has yet to be responded to.\n\nThe API client must be granted the `read_assigned_fulfillment_orders` access scope to access\nthe assigned fulfillment orders.\n\n## The lifecycle of a fulfillment order\n\n### Fulfillment Order Creation\n\nAfter an order is created, a background worker performs the order routing process which determines\nwhich locations will be responsible for fulfilling the purchased items.\nOnce the order routing process is complete, one or more fulfillment orders will be created\nand assigned to these locations. It is not possible to manually create fulfillment orders.\n\nOnce a fulfillment order has been created, it will have one of two different lifecycles depending on\nthe type of location which the fulfillment order is assigned to.\n\n### The lifecycle of a fulfillment order at a merchant managed location\n\nFulfillment orders are completed by creating\n[fulfillments](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment).\nFulfillments represents the work done.\n\nFor digital products a merchant or an order management app would create a fulfilment once the digital asset\nhas been provisioned.\nFor example, in the case of a digital gift card, a merchant would to do this once\nthe gift card has been activated - before the email has been shipped.\n\nOn the other hand, for a traditional shipped order,\na merchant or an order management app would create a fulfillment after picking and packing the items relating\nto a fulfillment order, but before the courier has collected the goods.\n\n[Learn about managing fulfillment orders as an order management app](https://shopify.dev/apps/fulfillment/order-management-apps/manage-fulfillments).\n\n### The lifecycle of a fulfillment order at a location which is managed by a fulfillment service\n\nFor fulfillment orders which are assigned to a location that is managed by a fulfillment service,\na merchant or an Order Management App can\n[send a fulfillment request](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderSubmitFulfillmentRequest)\nto the fulfillment service which operates the location to request that they fulfill the associated items.\nA fulfillment service has the option to\n[accept](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderAcceptFulfillmentRequest)\nor [reject](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderRejectFulfillmentRequest)\nthis fulfillment request.\n\nOnce the fulfillment service has accepted the request, the request can no longer be cancelled by the merchant\nor order management app and instead a\n[cancellation request must be submitted](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderSubmitCancellationRequest)\nto the fulfillment service.\n\nOnce a fulfillment service accepts a fulfillment request,\nthen after they are ready to pack items and send them for delivery, they create fulfillments with the\n[fulfillmentCreateV2](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentCreateV2)\nmutation.\nThey can provide tracking information right away or create fulfillments without it and then\nupdate the tracking information for fulfillments with the\n[fulfillmentTrackingInfoUpdateV2](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentTrackingInfoUpdateV2)\nmutation.\n\n[Learn about managing fulfillment orders as a fulfillment service](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments).\n\n## API access scopes\n\nFulfillment orders are governed by the following API access scopes:\n\n* The `read_merchant_managed_fulfillment_orders` and\n `write_merchant_managed_fulfillment_orders` access scopes\n grant access to fulfillment orders assigned to merchant-managed locations.\n* The `read_assigned_fulfillment_orders` and `write_assigned_fulfillment_orders`\n access scopes are intended for fulfillment services.\n These scopes grant access to fulfillment orders assigned to locations that are being managed\n by fulfillment services.\n* The `read_third_party_fulfillment_orders` and `write_third_party_fulfillment_orders`\n access scopes grant access to fulfillment orders\n assigned to locations managed by other fulfillment services.\n\n### Fulfillment service app access scopes\n\nUsually, **fulfillment services** have the `write_assigned_fulfillment_orders` access scope\nand don't have the `*_third_party_fulfillment_orders`\nor `*_merchant_managed_fulfillment_orders` access scopes.\nThe app will only have access to the fulfillment orders assigned to their location\n(or multiple locations if the app registers multiple fulfillment services on the shop).\nThe app will not have access to fulfillment orders assigned to merchant-managed locations\nor locations owned by other fulfillment service apps.\n\n### Order management app access scopes\n\n**Order management apps** will usually request `write_merchant_managed_fulfillment_orders` and\n`write_third_party_fulfillment_orders` access scopes. This will allow them to manage all fulfillment orders\non behalf of a merchant.\n\nIf an app combines the functions of an order management app and a fulfillment service,\nthen the app should request all\naccess scopes to manage all assigned and all unassigned fulfillment orders.\n\n## Notifications about fulfillment orders\n\nFulfillment services are required to\n[register](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentService)\na self-hosted callback URL which has a number of uses. One of these uses is that this callback URL will be notified\nwhenever a merchant submits a fulfillment or cancellation request.\n\nBoth merchants and apps can\n[subscribe](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#webhooks)\nto the\n[fulfillment order webhooks](https://shopify.dev/api/admin-graphql/latest/enums/WebhookSubscriptionTopic#value-fulfillmentorderscancellationrequestaccepted)\nto be notified whenever fulfillment order related domain events occur.\n\n[Learn about fulfillment workflows](https://shopify.dev/apps/fulfillment).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order's assigned location. This is the location where the fulfillment is expected to happen.\n\nThe fulfillment order's assigned location might change in the following cases:\n\n- The fulfillment order has been entirely moved to a new location. For example, the [fulfillmentOrderMove](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n ) mutation has been called, and you see the original fulfillment order in the [movedFulfillmentOrder](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove#field-fulfillmentordermovepayload-movedfulfillmentorder\n ) field within the mutation's response.\n- Work on the fulfillment order has not yet begun, which means that the fulfillment order has the\n [OPEN](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-open),\n [SCHEDULED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-scheduled), or\n [ON_HOLD](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-onhold)\n status, and the shop's location properties might be undergoing edits (for example, in the Shopify admin).\n", "isDeprecated": false, "name": "assignedLocation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderAssignedLocation", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Date and time when the fulfillment order was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Delivery method of this fulfillment order.", "isDeprecated": false, "name": "deliveryMethod", "type": { "kind": "OBJECT", "name": "DeliveryMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The destination where the items should be sent.", "isDeprecated": false, "name": "destination", "type": { "kind": "OBJECT", "name": "FulfillmentOrderDestination", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the `fulfill_at` date for a subscription order might be the 1st of each month, a pre-order `fulfill_at` date would be `nil`, and a standard order `fulfill_at` date would be the order creation date.", "isDeprecated": false, "name": "fulfillAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The latest date and time by which all items in the fulfillment order need to be fulfilled.", "isDeprecated": false, "name": "fulfillBy", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The fulfillment holds applied on the fulfillment order.", "isDeprecated": false, "name": "fulfillmentHolds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentHold", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of fulfillments for the fulfillment order.", "isDeprecated": false, "name": "fulfillments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The duties delivery method of this fulfillment order.", "isDeprecated": false, "name": "internationalDuties", "type": { "kind": "OBJECT", "name": "FulfillmentOrderInternationalDuties", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the fulfillment order's line items.", "isDeprecated": false, "name": "lineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLineItemConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of locations that the fulfillment order can potentially move to.", "isDeprecated": false, "name": "locationsForMove", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLocationForMoveConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The kind of request the merchant sent.", "name": "kind", "type": { "kind": "ENUM", "name": "FulfillmentOrderMerchantRequestKind", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of requests sent by the merchant or an order management app to the fulfillment service for the fulfillment order.", "isDeprecated": false, "name": "merchantRequests", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderMerchantRequestConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order that's associated with the fulfillment order.", "isDeprecated": false, "name": "order", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The request status of the fulfillment order.", "isDeprecated": false, "name": "requestStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentOrderRequestStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the fulfillment order.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentOrderStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The actions that can be performed on this fulfillment order.", "isDeprecated": false, "name": "supportedActions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderSupportedAction", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the fulfillment order was last updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrder", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderAcceptCancellationRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order whose cancellation request was accepted.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderAcceptCancellationRequestPayload", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderAcceptFulfillmentRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order whose fulfillment request was accepted.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderAcceptFulfillmentRequestPayload", "possibleTypes": null }, { "description": "The actions that can be taken on a fulfillment order.", "enumValues": [ { "deprecationReason": null, "description": "Creates a fulfillment for selected line items in the fulfillment order. The corresponding mutation for this action is `fulfillmentCreateV2`.", "isDeprecated": false, "name": "CREATE_FULFILLMENT" }, { "deprecationReason": null, "description": "Sends a request for fulfilling selected line items in a fulfillment order to a fulfillment service. The corresponding mutation for this action is `fulfillmentOrderSubmitFulfillmentRequest`.", "isDeprecated": false, "name": "REQUEST_FULFILLMENT" }, { "deprecationReason": null, "description": "Cancels a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderCancel`.", "isDeprecated": false, "name": "CANCEL_FULFILLMENT_ORDER" }, { "deprecationReason": null, "description": "Moves a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderMove`.", "isDeprecated": false, "name": "MOVE" }, { "deprecationReason": null, "description": "Sends a cancellation request to the fulfillment service of a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderSubmitCancellationRequest`.", "isDeprecated": false, "name": "REQUEST_CANCELLATION" }, { "deprecationReason": null, "description": "Marks the fulfillment order as open. The corresponding mutation for this action is `fulfillmentOrderOpen`.", "isDeprecated": false, "name": "MARK_AS_OPEN" }, { "deprecationReason": null, "description": "Releases the fulfillment hold on the fulfillment order. The corresponding mutation for this action is `fulfillmentOrderReleaseHold`.", "isDeprecated": false, "name": "RELEASE_HOLD" }, { "deprecationReason": null, "description": "Applies a fulfillment hold on an open fulfillment order. The corresponding mutation for this action is `fulfillmentOrderHold`.", "isDeprecated": false, "name": "HOLD" }, { "deprecationReason": null, "description": "Opens an external URL to initiate the fulfillment process outside Shopify. This action should be paired with `FulfillmentOrderSupportedAction.externalUrl`.", "isDeprecated": false, "name": "EXTERNAL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderAction", "possibleTypes": null }, { "description": "The fulfillment order's assigned location. This is the location where the fulfillment is expected to happen.\n\n The fulfillment order's assigned location might change in the following cases:\n\n - The fulfillment order has been entirely moved to a new location. For example, the [fulfillmentOrderMove](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n ) mutation has been called, and you see the original fulfillment order in the [movedFulfillmentOrder](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove#field-fulfillmentordermovepayload-movedfulfillmentorder\n ) field within the mutation's response.\n\n - Work on the fulfillment order has not yet begun, which means that the fulfillment order has the\n [OPEN](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-open),\n [SCHEDULED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-scheduled), or\n [ON_HOLD](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-onhold)\n status, and the shop's location properties might be undergoing edits (for example, in the Shopify admin).\n\nIf the [fulfillmentOrderMove](\nhttps://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n) mutation has moved the fulfillment order's line items to a new location,\nbut hasn't moved the fulfillment order instance itself, then the original fulfillment order's assigned location\ndoesn't change.\nThis happens if the fulfillment order is being split during the move, or if all line items can be moved\nto an existing fulfillment order at a new location.\n\nOnce the fulfillment order has been taken into work or canceled,\nwhich means that the fulfillment order has the\n[IN_PROGRESS](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-inprogress),\n[CLOSED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-closed),\n[CANCELLED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-cancelled), or\n[INCOMPLETE](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-incomplete)\nstatus, `FulfillmentOrderAssignedLocation` acts as a snapshot of the shop's location content.\nUp-to-date shop's location data may be queried through [location](\n https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderAssignedLocation#field-fulfillmentorderassignedlocation-location\n) connection.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address for the location.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The second line of the address for the location.", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The city of the location.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter country code of the location.", "isDeprecated": false, "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The location where the fulfillment is expected to happen. This value might be different from\n`FulfillmentOrderAssignedLocation` if the location's attributes were updated\nafter the fulfillment order was taken into work of canceled.\n", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the location.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The phone number of the location.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The province of the location.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ZIP code of the location.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderAssignedLocation", "possibleTypes": null }, { "description": "The assigment status to be used to filter fulfillment orders.", "enumValues": [ { "deprecationReason": null, "description": "Fulfillment orders for which the merchant has requested cancellation of\nthe previously accepted fulfillment request.\n", "isDeprecated": false, "name": "CANCELLATION_REQUESTED" }, { "deprecationReason": null, "description": "Fulfillment orders for which the merchant has requested fulfillment.\n", "isDeprecated": false, "name": "FULFILLMENT_REQUESTED" }, { "deprecationReason": null, "description": "Fulfillment orders for which the merchant's fulfillment request has been accepted.\nAny number of fulfillments can be created on these fulfillment orders\nto completely fulfill the requested items.\n", "isDeprecated": false, "name": "FULFILLMENT_ACCEPTED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderAssignmentStatus", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderCancel` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order that was marked as canceled.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The fulfillment order that was created to replace the canceled fulfillment order.", "isDeprecated": false, "name": "replacementFulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderCancelPayload", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderClose` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order that was marked as incomplete.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderClosePayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple FulfillmentOrders.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in FulfillmentOrderEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderConnection", "possibleTypes": null }, { "description": "Represents the destination where the items should be sent upon fulfillment.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address of the destination.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The second line of the address of the destination.", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The city of the destination.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The company of the destination.", "isDeprecated": false, "name": "company", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter country code of the destination.", "isDeprecated": false, "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The email of the customer at the destination.", "isDeprecated": false, "name": "email", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The first name of the customer at the destination.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The last name of the customer at the destination.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The phone number of the customer at the destination.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The province of the destination.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ZIP code of the destination.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrderDestination", "possibleTypes": null }, { "description": "An auto-generated type which holds one FulfillmentOrder and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of FulfillmentOrderEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderEdge", "possibleTypes": null }, { "description": "The input fields for the fulfillment hold applied on the fulfillment order.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The reason for the fulfillment hold.", "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentHoldReason", "ofType": null } } }, { "defaultValue": null, "description": "Additional information about the fulfillment hold reason.", "name": "reasonNotes", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Whether the merchant receives a notification about the fulfillment hold. The default value is `false`.", "name": "notifyMerchant", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "A configurable ID used to track the automation system releasing these holds.", "name": "externalId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "[]", "description": "The fulfillment order line items to be placed on hold.\nIf left blank, all line items of the fulfillment order are placed on hold.\n", "name": "fulfillmentOrderLineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FulfillmentOrderHoldInput", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderHold` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order on which a fulfillment hold was applied.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The remaining fulfillment order containing the line items to which the hold was not applied,\nif specific line items were specified to be placed on hold.\n", "isDeprecated": false, "name": "remainingFulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderHoldUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderHoldPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `FulfillmentOrderHold`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "FulfillmentOrderHoldUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrderHoldUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `FulfillmentOrderHoldUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The fulfillment order could not be found.", "isDeprecated": false, "name": "FULFILLMENT_ORDER_NOT_FOUND" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderHoldUserErrorCode", "possibleTypes": null }, { "description": "The international duties relevant to a fulfillment order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method of duties payment. Example values: `DDP`, `DAP`.", "isDeprecated": false, "name": "incoterm", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderInternationalDuties", "possibleTypes": null }, { "description": "Associates an order line item with quantities requiring fulfillment from the respective fulfillment order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image associated to the line item's variant.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the inventory item.", "isDeprecated": false, "name": "inventoryItemId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": " As of API version 2023-01, this field has been deprecated. The order line item associated with a `FulfillmentOrderLineItem`\n shouldn't be used to determine what to fulfill. Use the `FulfillmentOrderLineItem` and `FulfillmentOrder` objects\n instead. An order `LineItem` represents a single line item on an order, but it doesn't represent what should be fulfilled.\n", "description": "The associated order line item.", "isDeprecated": true, "name": "lineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant unit price without discounts applied, in shop and presentment currencies.", "isDeprecated": false, "name": "originalUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the product.", "isDeprecated": false, "name": "productTitle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units remaining to be fulfilled.", "isDeprecated": false, "name": "remainingQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether physical shipping is required for the variant.", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant SKU number.", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of units to be fulfilled.", "isDeprecated": false, "name": "totalQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the variant.", "isDeprecated": false, "name": "variantTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the vendor who made the variant.", "isDeprecated": false, "name": "vendor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Warning messages for a fulfillment order line item.", "isDeprecated": false, "name": "warnings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLineItemWarning", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The weight of a line item unit.", "isDeprecated": false, "name": "weight", "type": { "kind": "OBJECT", "name": "Weight", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrderLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple FulfillmentOrderLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in FulfillmentOrderLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one FulfillmentOrderLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of FulfillmentOrderLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderLineItemEdge", "possibleTypes": null }, { "description": "The input fields used to include the quantity of the fulfillment order line item that should be fulfilled.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the fulfillment order line item.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the fulfillment order line item.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemInput", "possibleTypes": null }, { "description": "A fulfillment order line item warning. For example, a warning about why a fulfillment request was rejected.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The description of warning.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of warning.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderLineItemWarning", "possibleTypes": null }, { "description": "The input fields used to include the line items of a specified fulfillment order that should be fulfilled.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the fulfillment order.", "name": "fulfillmentOrderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The fulfillment order line items to be fulfilled.\nIf left blank, all line items of the fulfillment order will be fulfilled.\n", "name": "fulfillmentOrderLineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemsInput", "possibleTypes": null }, { "description": "The input fields for marking fulfillment order line items as ready for pickup.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The fulfillment orders associated with the line items which are ready to be picked up by a customer.\n", "name": "lineItemsByFulfillmentOrder", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PreparedFulfillmentOrderLineItemsInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemsPreparedForPickupInput", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderLineItemsPreparedForPickup` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLineItemsPreparedForPickupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderLineItemsPreparedForPickupPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `FulfillmentOrderLineItemsPreparedForPickup`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "FulfillmentOrderLineItemsPreparedForPickupUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrderLineItemsPreparedForPickupUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `FulfillmentOrderLineItemsPreparedForPickupUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The fulfillment order does not have any line items that can be prepared.", "isDeprecated": false, "name": "NO_LINE_ITEMS_TO_PREPARE_FOR_FULFILLMENT_ORDER" }, { "deprecationReason": null, "description": "Invalid fulfillment order ID provided.", "isDeprecated": false, "name": "FULFILLMENT_ORDER_INVALID" }, { "deprecationReason": null, "description": "Unable to prepare quantity.", "isDeprecated": false, "name": "UNABLE_TO_PREPARE_QUANTITY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderLineItemsPreparedForPickupUserErrorCode", "possibleTypes": null }, { "description": "A location that a fulfillment order can potentially move to.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The location being considered as the fulfillment order's new assigned location.", "isDeprecated": false, "name": "location", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A human-readable string with the reason why the fulfillment order, or some of its line items, can't be\nmoved to the location.\n", "isDeprecated": false, "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the fulfillment order can be moved to the location.", "isDeprecated": false, "name": "movable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderLocationForMove", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple FulfillmentOrderLocationForMoves.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLocationForMoveEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in FulfillmentOrderLocationForMoveEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLocationForMove", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderLocationForMoveConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one FulfillmentOrderLocationForMove and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of FulfillmentOrderLocationForMoveEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderLocationForMove", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderLocationForMoveEdge", "possibleTypes": null }, { "description": "A request made by the merchant or an order management app to a fulfillment service\nfor a fulfillment order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order associated with the merchant request.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The kind of request made.", "isDeprecated": false, "name": "kind", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentOrderMerchantRequestKind", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The optional message that the merchant included in the request.", "isDeprecated": false, "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Additional options requested by the merchant. These depend on the `kind` of the request.\nFor example, for a `FULFILLMENT_REQUEST`, one option is `notify_customer`, which indicates whether the\nmerchant intends to notify the customer upon fulfillment. The fulfillment service can then set\n`notifyCustomer` when making calls to `FulfillmentCreateV2`.\n", "isDeprecated": false, "name": "requestOptions", "type": { "kind": "SCALAR", "name": "JSON", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The response from the fulfillment service.", "isDeprecated": false, "name": "responseData", "type": { "kind": "SCALAR", "name": "JSON", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The timestamp when the request was made.", "isDeprecated": false, "name": "sentAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrderMerchantRequest", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple FulfillmentOrderMerchantRequests.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderMerchantRequestEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in FulfillmentOrderMerchantRequestEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderMerchantRequest", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderMerchantRequestConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one FulfillmentOrderMerchantRequest and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of FulfillmentOrderMerchantRequestEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderMerchantRequest", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderMerchantRequestEdge", "possibleTypes": null }, { "description": "The kinds of request merchants can make to a fulfillment service.", "enumValues": [ { "deprecationReason": null, "description": "The merchant requests fulfillment for an `OPEN` fulfillment order.\n", "isDeprecated": false, "name": "FULFILLMENT_REQUEST" }, { "deprecationReason": null, "description": "The merchant requests cancellation of an `IN_PROGRESS` fulfillment order.\n", "isDeprecated": false, "name": "CANCELLATION_REQUEST" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderMerchantRequestKind", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderMove` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order which now contains the moved line items and is assigned to the destination location.\n\n**First scenario:** All line items belonging to the original fulfillment order are re-assigned.\n\nIn this case, this will be the original fulfillment order.\n\n**Second scenario:** A subset of the line items belonging to the original fulfillment order are re-assigned.\n\nIf the new location is already assigned to fulfill line items on the order, then\nthis will be an existing active fulfillment order.\nOtherwise, this will be a new fulfillment order with the moved line items assigned.\n", "isDeprecated": false, "name": "movedFulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The final state of the original fulfillment order.\n\nAs a result of the move operation, the original fulfillment order might be moved to the new location\nor remain in the original location. The original fulfillment order might have the same status or be closed.\n", "isDeprecated": false, "name": "originalFulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "This field is deprecated.\n", "isDeprecated": false, "name": "remainingFulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderMovePayload", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderOpen` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order that was transitioned to open and is fulfillable.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderOpenPayload", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderRejectCancellationRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order whose cancellation request was rejected.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderRejectCancellationRequestPayload", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderRejectFulfillmentRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order whose fulfillment request was rejected.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderRejectFulfillmentRequestPayload", "possibleTypes": null }, { "description": "The reason for a fulfillment order rejection.", "enumValues": [ { "deprecationReason": null, "description": "The fulfillment order was rejected because of an incorrect address.", "isDeprecated": false, "name": "INCORRECT_ADDRESS" }, { "deprecationReason": null, "description": "The fulfillment order was rejected because inventory is out of stock.", "isDeprecated": false, "name": "INVENTORY_OUT_OF_STOCK" }, { "deprecationReason": null, "description": "The fulfillment order was rejected because of an ineligible product.", "isDeprecated": false, "name": "INELIGIBLE_PRODUCT" }, { "deprecationReason": null, "description": "The fulfillment order was rejected because of an undeliverable destination.", "isDeprecated": false, "name": "UNDELIVERABLE_DESTINATION" }, { "deprecationReason": null, "description": "The fulfillment order was rejected for another reason.", "isDeprecated": false, "name": "OTHER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderRejectionReason", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderReleaseHold` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order on which the hold was released.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderReleaseHoldUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderReleaseHoldPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `FulfillmentOrderReleaseHold`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "FulfillmentOrderReleaseHoldUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrderReleaseHoldUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `FulfillmentOrderReleaseHoldUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The fulfillment order wasn't found.", "isDeprecated": false, "name": "FULFILLMENT_ORDER_NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderReleaseHoldUserErrorCode", "possibleTypes": null }, { "description": "The request status of a fulfillment order.", "enumValues": [ { "deprecationReason": null, "description": "The initial request status for the newly-created fulfillment orders. This is the only valid\nrequest status for fulfillment orders that aren't assigned to a fulfillment service.\n", "isDeprecated": false, "name": "UNSUBMITTED" }, { "deprecationReason": null, "description": "The merchant requested fulfillment for this fulfillment order.", "isDeprecated": false, "name": "SUBMITTED" }, { "deprecationReason": null, "description": "The fulfillment service accepted the merchant's fulfillment request.", "isDeprecated": false, "name": "ACCEPTED" }, { "deprecationReason": null, "description": "The fulfillment service rejected the merchant's fulfillment request.", "isDeprecated": false, "name": "REJECTED" }, { "deprecationReason": null, "description": "The merchant requested a cancellation of the fulfillment request for this fulfillment order.\n", "isDeprecated": false, "name": "CANCELLATION_REQUESTED" }, { "deprecationReason": null, "description": "The fulfillment service accepted the merchant's fulfillment cancellation request.\n", "isDeprecated": false, "name": "CANCELLATION_ACCEPTED" }, { "deprecationReason": null, "description": "The fulfillment service rejected the merchant's fulfillment cancellation request.\n", "isDeprecated": false, "name": "CANCELLATION_REJECTED" }, { "deprecationReason": null, "description": "The fulfillment service closed the fulfillment order without completing it.", "isDeprecated": false, "name": "CLOSED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderRequestStatus", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderReschedule` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order that was rescheduled.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderRescheduleUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderReschedulePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `FulfillmentOrderReschedule`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "FulfillmentOrderRescheduleUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrderRescheduleUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `FulfillmentOrderRescheduleUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Fulfillment order could not be found.", "isDeprecated": false, "name": "FULFILLMENT_ORDER_NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderRescheduleUserErrorCode", "possibleTypes": null }, { "description": "The set of valid sort keys for the FulfillmentOrder query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderSortKeys", "possibleTypes": null }, { "description": "The status of a fulfillment order.", "enumValues": [ { "deprecationReason": null, "description": "The fulfillment order is ready for fulfillment.", "isDeprecated": false, "name": "OPEN" }, { "deprecationReason": null, "description": "The fulfillment order is being processed.", "isDeprecated": false, "name": "IN_PROGRESS" }, { "deprecationReason": null, "description": "The fulfillment order has been cancelled by the merchant.", "isDeprecated": false, "name": "CANCELLED" }, { "deprecationReason": null, "description": "The fulfillment order cannot be completed as requested.", "isDeprecated": false, "name": "INCOMPLETE" }, { "deprecationReason": null, "description": "The fulfillment order has been completed and closed.", "isDeprecated": false, "name": "CLOSED" }, { "deprecationReason": null, "description": "The fulfillment order is deferred and will be ready for fulfillment after the date and time specified in `fulfill_at`.", "isDeprecated": false, "name": "SCHEDULED" }, { "deprecationReason": null, "description": "The fulfillment order is on hold. The fulfillment process can't be initiated until the hold on the fulfillment order is released.", "isDeprecated": false, "name": "ON_HOLD" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrderStatus", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderSubmitCancellationRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment order specified in the cancelation request.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderSubmitCancellationRequestPayload", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrderSubmitFulfillmentRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The original fulfillment order intended to request fulfillment for.\n", "isDeprecated": false, "name": "originalFulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The fulfillment order that was submitted to the fulfillment service. This will be the same as\nthe original fulfillment order field. The exception to this is partial fulfillment requests or\nfulfillment request for cancelled or incomplete fulfillment orders.\n", "isDeprecated": false, "name": "submittedFulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "This field will only be present for partial fulfillment requests. This will represent the new\nfulfillment order with the remaining line items not submitted to the fulfillment service.\n", "isDeprecated": false, "name": "unsubmittedFulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderSubmitFulfillmentRequestPayload", "possibleTypes": null }, { "description": "One of the actions that the fulfillment order supports in its current state.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The action value.", "isDeprecated": false, "name": "action", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentOrderAction", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The external URL to be used to initiate the fulfillment process outside Shopify.\nApplicable only when the `action` value is `EXTERNAL`.\n", "isDeprecated": false, "name": "externalUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrderSupportedAction", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrdersReleaseHolds` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job that will release the fulfillment holds.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrdersReleaseHoldsUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrdersReleaseHoldsPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `FulfillmentOrdersReleaseHolds`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "FulfillmentOrdersReleaseHoldsUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrdersReleaseHoldsUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `FulfillmentOrdersReleaseHoldsUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Failed to create release fulfillment order holds job.", "isDeprecated": false, "name": "FAILED_TO_CREATE_JOB" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrdersReleaseHoldsUserErrorCode", "possibleTypes": null }, { "description": "Return type for `fulfillmentOrdersSetFulfillmentDeadline` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the fulfillment deadline was successfully set.", "isDeprecated": false, "name": "success", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrdersSetFulfillmentDeadlineUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOrdersSetFulfillmentDeadlinePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `FulfillmentOrdersSetFulfillmentDeadline`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "FulfillmentOrdersSetFulfillmentDeadlineUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "FulfillmentOrdersSetFulfillmentDeadlineUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `FulfillmentOrdersSetFulfillmentDeadlineUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The fulfillment orders could not be found.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentOrdersSetFulfillmentDeadlineUserErrorCode", "possibleTypes": null }, { "description": "The address at which the fulfillment occurred. Typically this is the address of the warehouse or fulfillment center.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The street address of the fulfillment location.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The second line of the address. Typically the number of the apartment, suite, or unit.", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The city in which the fulfillment location is located.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The country code of the fulfillment location.", "isDeprecated": false, "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The province code of the fulfillment location.", "isDeprecated": false, "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The zip code of the fulfillment location.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentOriginAddress", "possibleTypes": null }, { "description": "The input fields used to include the address at which the fulfillment occurred. Typically the address of a warehouse or a fulfillment center.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The street address of the fulfillment location.", "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The second line of the address. Typically the number of the apartment, suite, or unit.", "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The city in which the fulfillment location is located.", "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The zip code of the fulfillment location.", "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The province of the fulfillment location.", "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The country of the fulfillment location.", "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FulfillmentOriginAddressInput", "possibleTypes": null }, { "description": "A **Fulfillment Service** is a third party warehouse that prepares and ships orders\non behalf of the store owner. Fulfillment services charge a fee to package and ship items\nand update product inventory levels. Some well known fulfillment services with Shopify integrations\ninclude: Amazon, Shipwire, and Rakuten. When an app registers a new `FulfillmentService` on a store,\nShopify automatically creates a `Location` that's associated to the fulfillment service.\nTo learn more about fulfillment services, refer to\n[Manage fulfillments as a fulfillment service app](https://shopify.dev/apps/fulfillment/fulfillment-service-apps)\nguide.\n\n## Mutations\n\nYou can work with the `FulfillmentService` object with the\n[fulfillmentServiceCreate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceCreate),\n[fulfillmentServiceUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceUpdate),\nand [fulfillmentServiceDelete](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceDelete)\nmutations.\n\n## Hosted endpoints\n\nFulfillment service providers integrate with Shopify by providing Shopify with a set of hosted endpoints that\nShopify can query on certain conditions.\nThese endpoints must have a common prefix, and this prefix should be supplied in the `callbackUrl` parameter\nin the\n[fulfillmentServiceCreate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceCreate)\nmutation.\n\n- Shopify sends POST requests to the `/fulfillment_order_notification` endpoint\n to notify the fulfillment service about fulfillment requests and fulfillment cancellation requests,\n if `fulfillment_orders_opt_in` is set to `true`.\n\n [As of the 2022-07 API version](https://shopify.dev/changelog/legacy-fulfillment-api-deprecation),\n it's mandatory for a fulfillment service to follow a fulfillment order based workflow by\n having `fulfillment_orders_opt_in` set to `true`,\n hosting the `/fulfillment_order_notification` endpoint, and acting on fulfillment requests and cancellations.\n\n For more information, refer to\n [Receive fulfillment requests and cancellations](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-2-receive-fulfillment-requests-and-cancellations).\n- Shopify sends GET requests to the `/fetch_tracking_numbers` endpoint to retrieve tracking numbers for orders,\n if `trackingSupport` is set to `true`.\n\n For more information, refer to\n [Enable tracking support](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-8-enable-tracking-support-optional).\n\n Fulfillment services can also update tracking information with the\n [fulfillmentTrackingInfoUpdateV2](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentTrackingInfoUpdateV2) mutation,\n rather than waiting for Shopify to ask for tracking numbers.\n- Shopify sends GET requests to the `/fetch_stock` endpoint to retrieve inventory levels,\n if `inventoryManagement` is set to `true`.\n\n For more information, refer to\n [Sharing inventory levels with Shopify](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-9-share-inventory-levels-with-shopify-optional).\n\nTo make sure you have everything set up correctly, you can test the `callbackUrl`-prefixed endpoints\nin your development store.\n\n## Resources and webhooks\n\nThere are a variety of objects and webhooks that enable a fulfillment service to work.\nTo exchange fulfillment information with Shopify, fulfillment services use the\n[FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder),\n[Fulfillment](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment) and\n[Order](https://shopify.dev/api/admin-graphql/latest/objects/Order) objects and related mutations.\nTo act on fulfillment process events that happen on the Shopify side,\nbesides awaiting calls to `callbackUrl`-prefixed endpoints,\nfulfillment services can subscribe to the\n[fulfillment order](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#webhooks)\nand [order](https://shopify.dev/api/admin-rest/latest/resources/webhook)\nwebhooks.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The callback URL that the fulfillment service has registered for requests. The following considerations apply:\n\n- Shopify queries the `/fetch_tracking_numbers` endpoint to retrieve tracking numbers\n for orders, if `trackingSupport` is set to `true`.\n- Shopify queries the `/fetch_stock` endpoint to retrieve inventory levels,\n if `inventoryManagement` is set to `true`.\n- Shopify uses the `/fulfillment_order_notification` endpoint to send\n [fulfillment and cancellation requests](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-2-receive-fulfillment-requests-and-cancellations),\n if the fulfillment service has opted in to the fulfillment order based workflow for managing fulfillments\n (`fulfillmentOrdersOptIn` is set to `true`).\n", "isDeprecated": false, "name": "callbackUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the fulfillment service uses the [fulfillment order based workflow](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments) for managing fulfillments.\n", "isDeprecated": false, "name": "fulfillmentOrdersOptIn", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Human-readable unique identifier for this fulfillment service.", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the fulfillment service.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the fulfillment service tracks product inventory and provides updates to Shopify.", "isDeprecated": false, "name": "inventoryManagement", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Location associated with the fulfillment service.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the fulfillment service can stock inventory alongside other locations.", "isDeprecated": false, "name": "permitsSkuSharing", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the fulfillment service supports local deliveries.", "isDeprecated": false, "name": "productBased", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the fulfillment service as seen by merchants.", "isDeprecated": false, "name": "serviceName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "The Fulfillment by Amazon feature will no longer be supported from March 30, 2023. To continue using Amazon fulfillment, merchants need to set up a Multi-Channel Fulfillment solution recommended by Amazon: https://help.shopify.com/manual/shipping/fulfillment-services/amazon#activate-fulfillment-by-amazon", "description": "Shipping methods associated with the fulfillment service provider. Applies only to Fulfill By Amazon fulfillment service.", "isDeprecated": true, "name": "shippingMethods", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingMethod", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Type associated with the fulfillment service.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FulfillmentServiceType", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentService", "possibleTypes": null }, { "description": "Return type for `fulfillmentServiceCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created fulfillment service.", "isDeprecated": false, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentServiceCreatePayload", "possibleTypes": null }, { "description": "Return type for `fulfillmentServiceDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted fulfillment service.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentServiceDeletePayload", "possibleTypes": null }, { "description": "The type of a fulfillment service.", "enumValues": [ { "deprecationReason": null, "description": "Fulfillment by gift card.", "isDeprecated": false, "name": "GIFT_CARD" }, { "deprecationReason": null, "description": "Manual fulfillment by the merchant.", "isDeprecated": false, "name": "MANUAL" }, { "deprecationReason": null, "description": "Fullfillment by a third-party fulfillment service.", "isDeprecated": false, "name": "THIRD_PARTY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentServiceType", "possibleTypes": null }, { "description": "Return type for `fulfillmentServiceUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated fulfillment service.", "isDeprecated": false, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentServiceUpdatePayload", "possibleTypes": null }, { "description": "The status of a fulfillment.", "enumValues": [ { "deprecationReason": "This is a legacy status and is due to be deprecated.", "description": "Shopify has created the fulfillment and is waiting for the third-party fulfillment service to transition it to `open` or `success`.\n", "isDeprecated": true, "name": "PENDING" }, { "deprecationReason": "This is a legacy status and is due to be deprecated.", "description": "The third-party fulfillment service has acknowledged the fulfillment and is processing it.\n", "isDeprecated": true, "name": "OPEN" }, { "deprecationReason": null, "description": "The fulfillment was completed successfully.", "isDeprecated": false, "name": "SUCCESS" }, { "deprecationReason": null, "description": "The fulfillment was canceled.", "isDeprecated": false, "name": "CANCELLED" }, { "deprecationReason": null, "description": "There was an error with the fulfillment request.", "isDeprecated": false, "name": "ERROR" }, { "deprecationReason": null, "description": "The fulfillment request failed.", "isDeprecated": false, "name": "FAILURE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "FulfillmentStatus", "possibleTypes": null }, { "description": "Represents the tracking information for a fulfillment.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the tracking company.\n\nFor tracking company names from the list below\nShopify will automatically build tracking URLs for all provided tracking numbers,\nwhich will make the tracking numbers clickable in the interface.\n\nAdditionally, for the tracking companies listed on the\n[Shipping Carriers help page](https://help.shopify.com/manual/shipping/understanding-shipping/shipping-carriers#integrated-shipping-carriers)\nShopify will automatically update the fulfillment's `shipment_status` field during the fulfillment process.\n\n### Supported tracking companies\n\nThe following tracking companies display for shops located in any country:\n\n * 4PX\n * AGS\n * Amazon Logistics UK\n * Amazon Logistics US\n * An Post\n * Anjun Logistics\n * APC\n * Asendia USA\n * Australia Post\n * Bonshaw\n * BPost\n * BPost International\n * Canada Post\n * Canpar\n * CDL Last Mile\n * China Post\n * Chronopost\n * Chukou1\n * Colissimo\n * Comingle\n * Coordinadora\n * Correios\n * Correos\n * CTT\n * CTT Express\n * Cyprus Post\n * Delnext\n * Deutsche Post\n * DHL eCommerce\n * DHL eCommerce Asia\n * DHL Express\n * DoorDash\n * DPD\n * DPD Local\n * DPD UK\n * DTD Express\n * DX\n * Eagle\n * Estes\n * Evri\n * FedEx\n * First Global Logistics\n * First Line\n * FSC\n * Fulfilla\n * GLS\n * Guangdong Weisuyi Information Technology (WSE)\n * Heppner Internationale Spedition GmbH & Co.\n * Iceland Post\n * IDEX\n * Israel Post\n * Japan Post (EN)\n * Japan Post (JA)\n * La Poste\n * Lasership\n * Latvia Post\n * Lietuvos Paštas\n * Logisters\n * Lone Star Overnight\n * M3 Logistics\n * Meteor Space\n * Mondial Relay\n * New Zealand Post\n * NinjaVan\n * North Russia Supply Chain (Shenzhen) Co.\n * OnTrac\n * Packeta\n * Pago Logistics\n * Ping An Da Tengfei Express\n * Pitney Bowes\n * Portal PostNord\n * Poste Italiane\n * PostNL\n * PostNord DK\n * PostNord NO\n * PostNord SE\n * Purolator\n * Qxpress\n * Qyun Express\n * Royal Mail\n * Royal Shipments\n * Sagawa (EN)\n * Sagawa (JA)\n * Sendle\n * SF Express\n * SFC Fulfillment\n * SHREE NANDAN COURIER\n * Singapore Post\n * Southwest Air Cargo\n * StarTrack\n * Step Forward Freight\n * Swiss Post\n * TForce Final Mile\n * Tinghao\n * TNT\n * Toll IPEC\n * United Delivery Service\n * UPS\n * USPS\n * Venipak\n * We Post\n * Whistl\n * Wizmo\n * WMYC\n * Xpedigo\n * XPO Logistics\n * Yamato (EN)\n * Yamato (JA)\n * YiFan Express\n * YunExpress\n\nThe following tracking companies are displayed for shops located in specific countries:\n\n * **Australia**: Australia Post, Sendle, Aramex Australia, TNT Australia, Hunter Express, Couriers Please, Bonds, Allied Express, Direct Couriers, Northline, GO Logistics\n * **Austria**: Österreichische Post\n * **Bulgaria**: Speedy\n * **Canada**: Intelcom, BoxKnight, Loomis, GLS\n * **China**: China Post, DHL eCommerce Asia, WanbExpress, YunExpress, Anjun Logistics, SFC Fulfillment, FSC\n * **Czechia**: Zásilkovna\n * **Germany**: Deutsche Post (DE), Deutsche Post (EN), DHL, DHL Express, Swiship, Hermes, GLS\n * **Spain**: SEUR\n * **France**: Colissimo, Mondial Relay, Colis Privé, GLS\n * **United Kingdom**: Evri, DPD UK, Parcelforce, Yodel, DHL Parcel, Tuffnells\n * **Greece**: ACS Courier\n * **Hong Kong SAR**: SF Express\n * **Ireland**: Fastway, DPD Ireland\n * **India**: DTDC, India Post, Delhivery, Gati KWE, Professional Couriers, XpressBees, Ecom Express, Ekart, Shadowfax, Bluedart\n * **Italy**: BRT, GLS Italy\n * **Japan**: エコ配, 西濃運輸, 西濃スーパーエキスプレス, 福山通運, 日本通運, 名鉄運輸, 第一貨物\n * **Netherlands**: DHL Parcel, DPD\n * **Norway**: Bring\n * **Poland**: Inpost\n * **Turkey**: PTT, Yurtiçi Kargo, Aras Kargo, Sürat Kargo\n * **United States**: GLS, Alliance Air Freight, Pilot Freight, LSO, Old Dominion, R+L Carriers, Southwest Air Cargo\n * **South Africa**: Fastway, Skynet.\n", "isDeprecated": false, "name": "company", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The tracking number of the fulfillment.\n\nThe tracking number is clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking url provided in the `url` field.\n* [Shopify-known tracking company name](#supported-tracking-companies) specified in the `company` field.\n Shopify will build the tracking URL automatically based on the tracking number specified.\n* The tracking number has a Shopify-known format.\n Shopify will guess the tracking provider and build the tracking url based on the tracking number format.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URL.\n", "isDeprecated": false, "name": "number", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URLs to track the fulfillment.\n\nThe tracking URL is displayed in the merchant's admin on the order page.\nThe tracking URL is displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, it is also displayed in the customer's order history.\n", "isDeprecated": false, "name": "url", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentTrackingInfo", "possibleTypes": null }, { "description": "Return type for `fulfillmentTrackingInfoUpdateV2` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated fulfillment with tracking information.", "isDeprecated": false, "name": "fulfillment", "type": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FulfillmentTrackingInfoUpdateV2Payload", "possibleTypes": null }, { "description": "The input fields that specify all possible fields for tracking information.\n\n> Note:\n> If you provide the `url` field, you should not provide the `urls` field.\n>\n> If you provide the `number` field, you should not provide the `numbers` field.\n>\n> If you provide the `url` field, you should provide the `number` field.\n>\n> If you provide the `urls` field, you should provide the `numbers` field.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The tracking number of the fulfillment.\n\nThe tracking number will be clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking url provided in the `url` field.\n* [Shopify-known tracking company name](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n specified in the `company` field.\n Shopify will build the tracking URL automatically based on the tracking number specified.\n* The tracking number has a Shopify-known format.\n Shopify will guess the tracking provider and build the tracking url based on the tracking number format.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URL.\n", "name": "number", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The URL to track the fulfillment.\n\nThe tracking URL is displayed in the merchant's admin on the order page.\nThe tracking URL is displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, it is also displayed in the customer's order history.\n\nThe URL must be an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\nFor example, `\"https://www.myshipping.com/track/?tracknumbers=TRACKING_NUMBER\"` is a valid URL.\nIt includes a scheme (`https`) and a host (`myshipping.com`).\n", "name": "url", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "defaultValue": null, "description": "The name of the tracking company.\n\nIf you specify a tracking company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies),\nShopify will automatically build tracking URLs for all provided tracking numbers,\nwhich will make the tracking numbers clickable in the interface.\nThe same tracking company will be applied to all tracking numbers specified.\n\nAdditionally, for the tracking companies listed on the\n[Shipping Carriers help page](https://help.shopify.com/manual/shipping/understanding-shipping/shipping-carriers#integrated-shipping-carriers)\nShopify will automatically update the fulfillment's `shipment_status` field during the fulfillment process.\n\n> Note:\n> Send the tracking company name exactly as written in\n> [the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n> (capitalization matters).\n", "name": "company", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The tracking numbers of the fulfillment, one or many.\n\nWith multiple tracking numbers, you can provide tracking information\nfor all shipments associated with the fulfillment, if there are more than one.\nFor example, if you are shipping assembly parts of one furniture item in several boxes.\n\nTracking numbers will be clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking URLs provided in the `urls` field.\n The tracking URLs will be matched to the tracking numbers based on their positions in the arrays.\n* [Shopify-known tracking company name](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n specified in the `company` field.\n Shopify will build tracking URLs automatically for all tracking numbers specified.\n The same tracking company will be applied to all tracking numbers.\n* Tracking numbers have a Shopify-known format.\n Shopify will guess tracking providers and build tracking URLs based on the tracking number formats.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URLs.\n\n", "name": "numbers", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The URLs to track the fulfillment, one or many.\n\nThe tracking URLs are displayed in the merchant's admin on the order page.\nThe tracking URLs are displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, the tracking URLs are also displayed in the customer's order history.\n\nIf you are not specifying a\n[Shopify-known](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\ntracking company name in the `company` field,\nthen provide tracking URLs for all tracking numbers from the `numbers` field.\n\nTracking URLs from the `urls` array field are being matched with the tracking numbers from the `numbers` array\nfield correspondingly their positions in the arrays.\n\nEach URL must be an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\nFor example, `\"https://www.myshipping.com/track/?tracknumbers=TRACKING_NUMBER\"` is a valid URL.\nIt includes a scheme (`https`) and a host (`myshipping.com`).\n", "name": "urls", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FulfillmentTrackingInput", "possibleTypes": null }, { "description": "The input fields used to create a fulfillment from fulfillment orders.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The fulfillment's tracking information, including a tracking URL, a tracking number,\nand the company associated with the fulfillment.\n", "name": "trackingInfo", "type": { "kind": "INPUT_OBJECT", "name": "FulfillmentTrackingInput", "ofType": null } }, { "defaultValue": "false", "description": "Whether the customer is notified.\nIf `true`, then a notification is sent when the fulfillment is created.\n", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Pairs of `fulfillment_order_id` and `fulfillment_order_line_items` that represent the fulfillment\norder line items that have to be fulfilled for each fulfillment order. For any given pair, if the\nfulfillment order line items are left blank then all the fulfillment order line items of the\nassociated fulfillment order ID will be fulfilled.\n", "name": "lineItemsByFulfillmentOrder", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemsInput", "ofType": null } } } } }, { "defaultValue": null, "description": "Address information about the location from which the order was fulfilled.\n", "name": "originAddress", "type": { "kind": "INPUT_OBJECT", "name": "FulfillmentOriginAddressInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "FulfillmentV2Input", "possibleTypes": null }, { "description": "The App Bridge information for a Shopify Function.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The relative path for creating a customization.", "isDeprecated": false, "name": "createPath", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The relative path for viewing a customization.", "isDeprecated": false, "name": "detailsPath", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FunctionsAppBridge", "possibleTypes": null }, { "description": "The error history from running a Shopify Function.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time that the first error occurred.", "isDeprecated": false, "name": "errorsFirstOccurredAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time that the first error occurred.", "isDeprecated": false, "name": "firstOccurredAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the merchant has shared all the recent errors with the developer.", "isDeprecated": false, "name": "hasBeenSharedSinceLastError", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the merchant has shared all the recent errors with the developer.", "isDeprecated": false, "name": "hasSharedRecentErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "FunctionsErrorHistory", "possibleTypes": null }, { "description": "Represents any file other than HTML.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A word or phrase to describe the contents or the function of a file.", "isDeprecated": false, "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.\n", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Any errors that have occurred on the file.", "isDeprecated": false, "name": "fileErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FileError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The status of the file.", "isDeprecated": false, "name": "fileStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FileStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The generic file's MIME type.", "isDeprecated": false, "name": "mimeType", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The generic file's size in bytes.", "isDeprecated": false, "name": "originalFileSize", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The preview image for the media.", "isDeprecated": false, "name": "preview", "type": { "kind": "OBJECT", "name": "MediaPreviewImage", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The generic file's URL.", "isDeprecated": false, "name": "url", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "File", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "GenericFile", "possibleTypes": null }, { "description": "Represents an issued gift card.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The gift card's remaining balance.", "isDeprecated": false, "name": "balance", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time at which the gift card was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customer who will receive the gift card.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time at which the gift card was disabled.", "isDeprecated": false, "name": "disabledAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the gift card is enabled.", "isDeprecated": false, "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date at which the gift card will expire.", "isDeprecated": false, "name": "expiresOn", "type": { "kind": "SCALAR", "name": "Date", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The initial value of the gift card.", "isDeprecated": false, "name": "initialValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The final four characters of the gift card code.", "isDeprecated": false, "name": "lastCharacters", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The gift card code. Everything but the final four characters is masked.", "isDeprecated": false, "name": "maskedCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The note associated with the gift card, which is not visible to the customer.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The order associated with the gift card. This value is `null` if the gift card was issued manually.\n", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "GiftCard", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple GiftCards.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "GiftCardEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in GiftCardEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "GiftCard", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "GiftCardConnection", "possibleTypes": null }, { "description": "The input fields to issue a gift card.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The initial value of the gift card.", "name": "initialValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } }, { "defaultValue": null, "description": "The gift card's code. It must be 8-20 characters long and contain only letters(a-z) and numbers(0-9).\nIt is not case sensitive. If not provided, then a random code will be generated.\n", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the customer who will receive the gift card. Requires `write_customers` access_scope.", "name": "customerId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The date at which the gift card will expire. If not provided, then the gift card will never expire.\n", "name": "expiresOn", "type": { "kind": "SCALAR", "name": "Date", "ofType": null } }, { "defaultValue": null, "description": "The note associated with the gift card, which is not visible to the customer.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The suffix of the Liquid template that is used to render the gift card online.\nFor example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`.\nIf not provided, then the default `gift_card.liquid` template is used.\n", "name": "templateSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "GiftCardCreateInput", "possibleTypes": null }, { "description": "Return type for `giftCardCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created gift card.", "isDeprecated": false, "name": "giftCard", "type": { "kind": "OBJECT", "name": "GiftCard", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The created gift card's code.", "isDeprecated": false, "name": "giftCardCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "GiftCardUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "GiftCardCreatePayload", "possibleTypes": null }, { "description": "Return type for `giftCardDisable` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The disabled gift card.", "isDeprecated": false, "name": "giftCard", "type": { "kind": "OBJECT", "name": "GiftCard", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "GiftCardDisablePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one GiftCard and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of GiftCardEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "GiftCard", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "GiftCardEdge", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `GiftCardUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "Unexpected internal error happened.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Missing a required argument.", "isDeprecated": false, "name": "MISSING_ARGUMENT" }, { "deprecationReason": null, "description": "The input value should be greater than the minimum allowed value.", "isDeprecated": false, "name": "GREATER_THAN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "GiftCardErrorCode", "possibleTypes": null }, { "description": "A sale associated with a gift card.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of order action that the sale represents.", "isDeprecated": false, "name": "actionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleActionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the sale.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line item for the associated sale.", "isDeprecated": false, "name": "lineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line type assocated with the sale.", "isDeprecated": false, "name": "lineType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleLineType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units either ordered or intended to be returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "All individual taxes associated with the sale.", "isDeprecated": false, "name": "taxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleTax", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total sale amount after taxes and discounts.", "isDeprecated": false, "name": "totalAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale after taxes.", "isDeprecated": false, "name": "totalDiscountAmountAfterTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale before taxes.", "isDeprecated": false, "name": "totalDiscountAmountBeforeTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the sale.", "isDeprecated": false, "name": "totalTaxAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Sale", "ofType": null } ], "kind": "OBJECT", "name": "GiftCardSale", "possibleTypes": null }, { "description": "The set of valid sort keys for the GiftCard query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `customer_name` value.", "isDeprecated": false, "name": "CUSTOMER_NAME" }, { "deprecationReason": null, "description": "Sort by the `code` value.", "isDeprecated": false, "name": "CODE" }, { "deprecationReason": null, "description": "Sort by the `balance` value.", "isDeprecated": false, "name": "BALANCE" }, { "deprecationReason": null, "description": "Sort by the `amount_spent` value.", "isDeprecated": false, "name": "AMOUNT_SPENT" }, { "deprecationReason": null, "description": "Sort by the `initial_value` value.", "isDeprecated": false, "name": "INITIAL_VALUE" }, { "deprecationReason": null, "description": "Sort by the `disabled_at` value.", "isDeprecated": false, "name": "DISABLED_AT" }, { "deprecationReason": null, "description": "Sort by the `expires_on` value.", "isDeprecated": false, "name": "EXPIRES_ON" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "GiftCardSortKeys", "possibleTypes": null }, { "description": "The input fields to update a gift card.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The note associated with the gift card, which is not visible to the customer.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date at which the gift card will expire. If set to `null`, then the gift card will never expire.\n", "name": "expiresOn", "type": { "kind": "SCALAR", "name": "Date", "ofType": null } }, { "defaultValue": null, "description": "The ID of the customer who will receive the gift card. The ID cannot be changed if the gift card already has an assigned customer ID.\n", "name": "customerId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The suffix of the Liquid template that is used to render the gift card online.\nFor example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`.\n", "name": "templateSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "GiftCardUpdateInput", "possibleTypes": null }, { "description": "Return type for `giftCardUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated gift card.", "isDeprecated": false, "name": "giftCard", "type": { "kind": "OBJECT", "name": "GiftCard", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "GiftCardUpdatePayload", "possibleTypes": null }, { "description": "Represents an error that happens during the execution of a gift card mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "GiftCardErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "GiftCardUserError", "possibleTypes": null }, { "description": "A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a\ncomplete list of HTML elements.\n\nExample value: `\"

Grey cotton knit sweater.

\"`\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "HTML", "possibleTypes": null }, { "description": "Represents an object that has a list of events.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of events associated with the host subject.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "HasEvents", "possibleTypes": [ { "kind": "OBJECT", "name": "Company", "ofType": null }, { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null }, { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticBxgy", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountNode", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "PriceRule", "ofType": null } ] }, { "description": "Localization extensions associated with the specified resource. For example, the tax id for government invoice.\n", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "The country codes of the extensions.", "name": "countryCodes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } }, { "defaultValue": null, "description": "The purpose of the extensions.", "name": "purposes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LocalizationExtensionPurpose", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of localization extensions for the resource.", "isDeprecated": false, "name": "localizationExtensions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocalizationExtensionConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "HasLocalizationExtensions", "possibleTypes": [ { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null } ] }, { "description": "Resources that metafield definitions can be applied to.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "possibleTypes": [ { "kind": "OBJECT", "name": "Collection", "ofType": null }, { "kind": "OBJECT", "name": "Company", "ofType": null }, { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null }, { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountNode", "ofType": null }, { "kind": "OBJECT", "name": "Location", "ofType": null }, { "kind": "OBJECT", "name": "Market", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } ] }, { "description": "Represents information about the metafields associated to the specified resource.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "HasMetafields", "possibleTypes": [ { "kind": "OBJECT", "name": "AppInstallation", "ofType": null }, { "kind": "OBJECT", "name": "Collection", "ofType": null }, { "kind": "OBJECT", "name": "Company", "ofType": null }, { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null }, { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountNode", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "Image", "ofType": null }, { "kind": "OBJECT", "name": "Location", "ofType": null }, { "kind": "OBJECT", "name": "Market", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, { "kind": "OBJECT", "name": "Shop", "ofType": null } ] }, { "description": "Published translations associated with the resource.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "HasPublishedTranslations", "possibleTypes": [ { "kind": "OBJECT", "name": "Collection", "ofType": null }, { "kind": "OBJECT", "name": "Link", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStoreArticle", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStoreBlog", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStorePage", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductOption", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, { "kind": "OBJECT", "name": "Shop", "ofType": null }, { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null } ] }, { "description": "Represents a unique identifier, often used to refetch an object.\nThe ID type appears in a JSON response as a String, but it is not intended to be human-readable.\n\nExample value: `\"gid://shopify/Product/10079785100\"`\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "ID", "possibleTypes": null }, { "description": "Represents an image resource.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A word or phrase to share the nature or contents of an image.", "isDeprecated": false, "name": "altText", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The original height of the image in pixels. Returns `null` if the image is not hosted by Shopify.", "isDeprecated": false, "name": "height", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A unique ID for the image.", "isDeprecated": false, "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use `url` instead.", "description": "The location of the original image as a URL.\n\nIf there are any existing transformations in the original source URL, they will remain and not be stripped.\n", "isDeprecated": true, "name": "originalSrc", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use `url` instead.", "description": "The location of the image as a URL.", "isDeprecated": true, "name": "src", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Image width in pixels between 1 and 5760.", "name": "maxWidth", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Image height in pixels between 1 and 5760.", "name": "maxHeight", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Crops the image according to the specified region.", "name": "crop", "type": { "kind": "ENUM", "name": "CropRegion", "ofType": null } }, { "defaultValue": "1", "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3.", "name": "scale", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Best effort conversion of image into content type (SVG -> PNG, Anything -> JPG, Anything -> WEBP are supported).", "name": "preferredContentType", "type": { "kind": "ENUM", "name": "ImageContentType", "ofType": null } } ], "deprecationReason": "Use `url(transform:)` instead", "description": "The location of the transformed image as a URL.\n\nAll transformation arguments are considered \"best-effort\". If they can be applied to an image, they will be.\nOtherwise any transformations which an image type does not support will be ignored.\n", "isDeprecated": true, "name": "transformedSrc", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "A set of options to transform the original image.", "name": "transform", "type": { "kind": "INPUT_OBJECT", "name": "ImageTransformInput", "ofType": null } } ], "deprecationReason": null, "description": "The location of the image as a URL.\n\nIf no transform options are specified, then the original image will be preserved including any pre-applied transforms.\n\nAll transformation options are considered \"best-effort\". Any transformation that the original image type doesn't support will be ignored.\n\nIf you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).\n", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The original width of the image in pixels. Returns `null` if the image is not hosted by Shopify.", "isDeprecated": false, "name": "width", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null } ], "kind": "OBJECT", "name": "Image", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Images.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ImageEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ImageEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ImageConnection", "possibleTypes": null }, { "description": "List of supported image content types.", "enumValues": [ { "deprecationReason": null, "description": "A PNG image.", "isDeprecated": false, "name": "PNG" }, { "deprecationReason": null, "description": "A JPG image.", "isDeprecated": false, "name": "JPG" }, { "deprecationReason": null, "description": "A WEBP image.", "isDeprecated": false, "name": "WEBP" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ImageContentType", "possibleTypes": null }, { "description": "An auto-generated type which holds one Image and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ImageEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ImageEdge", "possibleTypes": null }, { "description": "The input fields for an image.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A globally-unique ID.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "A word or phrase to share the nature or contents of an image.", "name": "altText", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The URL of the image. May be a staged upload URL.", "name": "src", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ImageInput", "possibleTypes": null }, { "description": "The available options for transforming an image.\n\nAll transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The region of the image to remain after cropping.\nMust be used in conjunction with the `maxWidth` and/or `maxHeight` fields, where the `maxWidth` and `maxHeight` aren't equal.\nThe `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while\na smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{ maxWidth: 5, maxHeight: 10, crop: LEFT }` will result\nin an image with a width of 5 and height of 10, where the right side of the image is removed.\n", "name": "crop", "type": { "kind": "ENUM", "name": "CropRegion", "ofType": null } }, { "defaultValue": null, "description": "Image width in pixels between 1 and 5760.\n", "name": "maxWidth", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Image height in pixels between 1 and 5760.\n", "name": "maxHeight", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": "1", "description": "Image size multiplier for high-resolution retina displays. Must be within 1..3.\n", "name": "scale", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Convert the source image into the preferred content type.\nSupported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`.\n", "name": "preferredContentType", "type": { "kind": "ENUM", "name": "ImageContentType", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ImageTransformInput", "possibleTypes": null }, { "description": "A parameter to upload an image.\n\nDeprecated in favor of\n[StagedUploadParameter](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadParameter),\nwhich is used in\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget)\nand returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The parameter name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The parameter value.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ImageUploadParameter", "possibleTypes": null }, { "description": "The input fields for the incoming line item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the rejected line item.", "name": "fulfillmentOrderLineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The rejection message of the line item.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "IncomingRequestLineItemInput", "possibleTypes": null }, { "description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "Int", "possibleTypes": null }, { "description": "Return type for `inventoryActivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The inventory level that was activated.", "isDeprecated": false, "name": "inventoryLevel", "type": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryActivatePayload", "possibleTypes": null }, { "description": "The input fields for items and their adjustments.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the inventory item to adjust.", "name": "inventoryItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The change applied to the `available` quantity of the item at the location.", "name": "availableDelta", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryAdjustItemInput", "possibleTypes": null }, { "description": "The input fields required to adjust inventory quantities.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The reason for the quantity changes.", "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The quantity name to be adjusted.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The reference document URI for the changes. Used to denote what is causing the change.", "name": "referenceDocumentUri", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The quantity changes of items at locations to be made.", "name": "changes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryChangeInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryAdjustQuantitiesInput", "possibleTypes": null }, { "description": "Return type for `inventoryAdjustQuantities` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The group of changes made by the operation.", "isDeprecated": false, "name": "inventoryAdjustmentGroup", "type": { "kind": "OBJECT", "name": "InventoryAdjustmentGroup", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryAdjustQuantitiesUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryAdjustQuantitiesPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `InventoryAdjustQuantities`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "InventoryAdjustQuantitiesUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "InventoryAdjustQuantitiesUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `InventoryAdjustQuantitiesUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API.", "isDeprecated": false, "name": "INTERNAL_LEDGER_DOCUMENT" }, { "deprecationReason": null, "description": "A ledger document URI is not allowed when adjusting available.", "isDeprecated": false, "name": "INVALID_AVAILABLE_DOCUMENT" }, { "deprecationReason": null, "description": "The specified inventory item could not be found.", "isDeprecated": false, "name": "INVALID_INVENTORY_ITEM" }, { "deprecationReason": null, "description": "The specified ledger document is invalid.", "isDeprecated": false, "name": "INVALID_LEDGER_DOCUMENT" }, { "deprecationReason": null, "description": "The specified location could not be found.", "isDeprecated": false, "name": "INVALID_LOCATION" }, { "deprecationReason": null, "description": "A ledger document URI is required except when adjusting available.", "isDeprecated": false, "name": "INVALID_QUANTITY_DOCUMENT" }, { "deprecationReason": null, "description": "The specified quantity name is invalid.", "isDeprecated": false, "name": "INVALID_QUANTITY_NAME" }, { "deprecationReason": null, "description": "The quantity can't be lower than -1,000,000,000.", "isDeprecated": false, "name": "INVALID_QUANTITY_TOO_LOW" }, { "deprecationReason": null, "description": "The quantity can't be higher than 1,000,000,000.", "isDeprecated": false, "name": "INVALID_QUANTITY_TOO_HIGH" }, { "deprecationReason": null, "description": "The specified reason is invalid.", "isDeprecated": false, "name": "INVALID_REASON" }, { "deprecationReason": null, "description": "The specified reference document is invalid.", "isDeprecated": false, "name": "INVALID_REFERENCE_DOCUMENT" }, { "deprecationReason": null, "description": "The quantities couldn't be adjusted. Try again.", "isDeprecated": false, "name": "ADJUST_QUANTITIES_FAILED" }, { "deprecationReason": null, "description": "All changes must have the same ledger document URI or, in the case of adjusting available, no ledger document URI.", "isDeprecated": false, "name": "MAX_ONE_LEDGER_DOCUMENT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "InventoryAdjustQuantitiesUserErrorCode", "possibleTypes": null }, { "description": "The input fields required to adjust the inventory quantity.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the inventory level to adjust.", "name": "inventoryLevelId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The change applied to the `available` quantity of the item at the location.", "name": "availableDelta", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryAdjustQuantityInput", "possibleTypes": null }, { "description": "Return type for `inventoryAdjustQuantity` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Represents the updated inventory quantity of an inventory item at a specific location.", "isDeprecated": false, "name": "inventoryLevel", "type": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryAdjustQuantityPayload", "possibleTypes": null }, { "description": "Represents a group of adjustments made as part of the same operation.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The app that triggered the inventory event, if one exists.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The IDs of the inventory items to filter changes by.", "name": "inventoryItemIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The IDs of the locations to filter changes by.", "name": "locationIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The names of the requested inventory quantities.", "name": "quantityNames", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } ], "deprecationReason": null, "description": "The set of inventory quantity changes that occurred in the inventory event.", "isDeprecated": false, "name": "changes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryChange", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time the inventory adjustment group was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason for the group of adjustments.", "isDeprecated": false, "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reference document URI for the changes. Denotes what is causing the change.", "isDeprecated": false, "name": "referenceDocumentUri", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The staff member associated with the inventory event.", "isDeprecated": false, "name": "staffMember", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "InventoryAdjustmentGroup", "possibleTypes": null }, { "description": "Return type for `inventoryBulkAdjustQuantityAtLocation` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Represents the updated inventory quantities of an inventory item at the location.", "isDeprecated": false, "name": "inventoryLevels", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryBulkAdjustQuantityAtLocationPayload", "possibleTypes": null }, { "description": "The input fields to specify whether the inventory item should be activated or not at the specified location.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the location to modify the inventory item's stocked status.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location.", "name": "activate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryBulkToggleActivationInput", "possibleTypes": null }, { "description": "Return type for `inventoryBulkToggleActivation` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The inventory item that was updated.", "isDeprecated": false, "name": "inventoryItem", "type": { "kind": "OBJECT", "name": "InventoryItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The activated inventory levels.", "isDeprecated": false, "name": "inventoryLevels", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryBulkToggleActivationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryBulkToggleActivationPayload", "possibleTypes": null }, { "description": "An error that occurred while setting the activation status of an inventory item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "InventoryBulkToggleActivationUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "InventoryBulkToggleActivationUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `InventoryBulkToggleActivationUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An error occurred while setting the activation status.", "isDeprecated": false, "name": "GENERIC_ERROR" }, { "deprecationReason": null, "description": "Cannot unstock an inventory item from the only location at which it is stocked.", "isDeprecated": false, "name": "CANNOT_DEACTIVATE_FROM_ONLY_LOCATION" }, { "deprecationReason": "This error code is deprecated. Both INCOMING_INVENTORY_AT_LOCATION and COMMITTED_INVENTORY_AT_LOCATION codes will be returned as individual errors instead.", "description": "Cannot unstock this inventory item from this location because it has committed and incoming quantities.", "isDeprecated": true, "name": "COMMITTED_AND_INCOMING_INVENTORY_AT_LOCATION" }, { "deprecationReason": null, "description": "Cannot unstock this inventory item from this location because it has incoming quantities.", "isDeprecated": false, "name": "INCOMING_INVENTORY_AT_LOCATION" }, { "deprecationReason": null, "description": "Cannot unstock this inventory item from this location because it has committed quantities.", "isDeprecated": false, "name": "COMMITTED_INVENTORY_AT_LOCATION" }, { "deprecationReason": null, "description": "Failed to unstock this inventory item from this location.", "isDeprecated": false, "name": "FAILED_TO_UNSTOCK_FROM_LOCATION" }, { "deprecationReason": null, "description": "Cannot stock this inventory item at this location because it is managed by a third-party fulfillment service.", "isDeprecated": false, "name": "INVENTORY_MANAGED_BY_3RD_PARTY" }, { "deprecationReason": null, "description": "Cannot stock this inventory item at this location because it is managed by Shopify.", "isDeprecated": false, "name": "INVENTORY_MANAGED_BY_SHOPIFY" }, { "deprecationReason": null, "description": "Failed to stock this inventory item at this location.", "isDeprecated": false, "name": "FAILED_TO_STOCK_AT_LOCATION" }, { "deprecationReason": null, "description": "Cannot stock this inventory item at this location because the variant is missing a SKU.", "isDeprecated": false, "name": "MISSING_SKU" }, { "deprecationReason": null, "description": "The location was not found.", "isDeprecated": false, "name": "LOCATION_NOT_FOUND" }, { "deprecationReason": null, "description": "The inventory item was not found.", "isDeprecated": false, "name": "INVENTORY_ITEM_NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "InventoryBulkToggleActivationUserErrorCode", "possibleTypes": null }, { "description": "Represents a change in an inventory quantity of an inventory item at a location.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The amount by which the inventory quantity was changed.", "isDeprecated": false, "name": "delta", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The inventory item associated with this inventory change.", "isDeprecated": false, "name": "item", "type": { "kind": "OBJECT", "name": "InventoryItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ledger document URI for the change. Denotes who the change is applied to.", "isDeprecated": false, "name": "ledgerDocumentUri", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The location associated with this inventory change.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the inventory quantity that was changed.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity of named inventory after the change.", "isDeprecated": false, "name": "quantityAfterChange", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryChange", "possibleTypes": null }, { "description": "The input fields for the change to be made to an inventory item at a location.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The amount by which the inventory quantity will be changed.", "name": "delta", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the inventory item to which the change will be applied.", "name": "inventoryItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the location at which the change will be applied.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ledger document URI to which the quantity change is being applied. Not allowed for 'available' and required for other quantity names.", "name": "ledgerDocumentUri", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryChangeInput", "possibleTypes": null }, { "description": "Return type for `inventoryDeactivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryDeactivatePayload", "possibleTypes": null }, { "description": "Represents the goods available to be shipped to a customer.\nIt holds essential information about the goods, including SKU and whether it is tracked.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ISO 3166-1 alpha-2 country code of where the item originated from.", "isDeprecated": false, "name": "countryCodeOfOrigin", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of country specific harmonized system codes.", "isDeprecated": false, "name": "countryHarmonizedSystemCodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CountryHarmonizedSystemCodeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the inventory item was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of inventory items that share the same SKU with this item.", "isDeprecated": false, "name": "duplicateSkuCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The harmonized system code of the item.", "isDeprecated": false, "name": "harmonizedSystemCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL that points to the inventory history for the item.", "isDeprecated": false, "name": "inventoryHistoryUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ID of the location for which the inventory level is requested.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "The inventory item's quantities at the specified location.", "isDeprecated": false, "name": "inventoryLevel", "type": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `inventory_group_id`\n - `inventory_item_id`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of the inventory item's quantities for each location that the inventory item can be stocked at.", "isDeprecated": false, "name": "inventoryLevels", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryLevelConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of locations where this inventory item is stocked.", "isDeprecated": false, "name": "locationsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ISO 3166-2 alpha-2 province code of where the item originated from.", "isDeprecated": false, "name": "provinceCodeOfOrigin", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the inventory item requires shipping.", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Inventory item SKU.", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether inventory levels are tracked for the item.", "isDeprecated": false, "name": "tracked", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the value of the `tracked` field for the inventory item can be changed.", "isDeprecated": false, "name": "trackedEditable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EditableProperty", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Unit cost associated with the inventory item. Note: the user must have \"View product costs\" permission granted in order to access this field once product granular permissions are enabled.", "isDeprecated": false, "name": "unitCost", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the inventory item was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant that owns this inventory item.", "isDeprecated": false, "name": "variant", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "InventoryItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple InventoryItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in InventoryItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one InventoryItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of InventoryItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryItemEdge", "possibleTypes": null }, { "description": "The input fields for an inventory item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Unit cost associated with the inventory item, the currency is the shop's default currency.", "name": "cost", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, { "defaultValue": null, "description": "Whether the inventory item is tracked.", "name": "tracked", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryItemInput", "possibleTypes": null }, { "description": "The input fields for an inventory item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Unit cost associated with the inventory item, the currency is the shop's default currency.", "name": "cost", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, { "defaultValue": null, "description": "Whether the inventory item is tracked. The value must be true to adjust the item's inventory levels.", "name": "tracked", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The ISO 3166-1 alpha-2 country code of where the item originated from.", "name": "countryCodeOfOrigin", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "defaultValue": null, "description": "The ISO 3166-2 alpha-2 province/state code of where the item originated from.", "name": "provinceCodeOfOrigin", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The harmonized system code of the inventory item. This must be a number between 6 and 13 digits.", "name": "harmonizedSystemCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of country-specific harmonized system codes.", "name": "countryHarmonizedSystemCodes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CountryHarmonizedSystemCodeInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryItemUpdateInput", "possibleTypes": null }, { "description": "Return type for `inventoryItemUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The inventory item that was updated.", "isDeprecated": false, "name": "inventoryItem", "type": { "kind": "OBJECT", "name": "InventoryItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryItemUpdatePayload", "possibleTypes": null }, { "description": "The quantities of an inventory item that are related to a specific location.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `quantities` instead.", "description": "The quantity of inventory items that are available at the inventory level's associated location.", "isDeprecated": true, "name": "available", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the inventory items associated with the inventory level can be deactivated.", "isDeprecated": false, "name": "canDeactivate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the inventory level was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated.", "isDeprecated": false, "name": "deactivationAlert", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `deactivationAlert` instead.", "description": "Describes, in HTML with embedded URLs, either the impact of deactivating the inventory level or why the inventory level can't be deactivated.", "isDeprecated": true, "name": "deactivationAlertHtml", "type": { "kind": "SCALAR", "name": "FormattedString", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": "Use `quantities` instead.", "description": "The quantity of inventory items that are going to the inventory level's associated location.", "isDeprecated": true, "name": "incoming", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Inventory item associated with the inventory level.", "isDeprecated": false, "name": "item", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The location associated with the inventory level.", "isDeprecated": false, "name": "location", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The names of the requested inventory quantities.", "name": "names", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } ], "deprecationReason": null, "description": "Quantities for the requested names.", "isDeprecated": false, "name": "quantities", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryQuantity", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the inventory level was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "InventoryLevel", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple InventoryLevels.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryLevelEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in InventoryLevelEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryLevelConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one InventoryLevel and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of InventoryLevelEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryLevelEdge", "possibleTypes": null }, { "description": "The input fields for an inventory level.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The available quantity of an inventory item at a location.", "name": "availableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The ID of a location.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryLevelInput", "possibleTypes": null }, { "description": "The input fields required to move inventory quantities.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The reason for the quantity changes.", "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The reference document URI for the changes. Used to denote what is causing the change.", "name": "referenceDocumentUri", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The quantity changes of items at locations to be made.", "name": "changes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryMoveQuantityChange", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryMoveQuantitiesInput", "possibleTypes": null }, { "description": "Return type for `inventoryMoveQuantities` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The group of changes made by the operation.", "isDeprecated": false, "name": "inventoryAdjustmentGroup", "type": { "kind": "OBJECT", "name": "InventoryAdjustmentGroup", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryMoveQuantitiesUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryMoveQuantitiesPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `InventoryMoveQuantities`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "InventoryMoveQuantitiesUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "InventoryMoveQuantitiesUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `InventoryMoveQuantitiesUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API.", "isDeprecated": false, "name": "INTERNAL_LEDGER_DOCUMENT" }, { "deprecationReason": null, "description": "A ledger document URI is not allowed when adjusting available.", "isDeprecated": false, "name": "INVALID_AVAILABLE_DOCUMENT" }, { "deprecationReason": null, "description": "The specified inventory item could not be found.", "isDeprecated": false, "name": "INVALID_INVENTORY_ITEM" }, { "deprecationReason": null, "description": "The specified ledger document is invalid.", "isDeprecated": false, "name": "INVALID_LEDGER_DOCUMENT" }, { "deprecationReason": null, "description": "The specified location could not be found.", "isDeprecated": false, "name": "INVALID_LOCATION" }, { "deprecationReason": null, "description": "A ledger document URI is required except when adjusting available.", "isDeprecated": false, "name": "INVALID_QUANTITY_DOCUMENT" }, { "deprecationReason": null, "description": "The specified quantity name is invalid.", "isDeprecated": false, "name": "INVALID_QUANTITY_NAME" }, { "deprecationReason": null, "description": "The quantity can't be negative.", "isDeprecated": false, "name": "INVALID_QUANTITY_NEGATIVE" }, { "deprecationReason": null, "description": "The quantity can't be higher than 1,000,000,000.", "isDeprecated": false, "name": "INVALID_QUANTITY_TOO_HIGH" }, { "deprecationReason": null, "description": "The specified reason is invalid.", "isDeprecated": false, "name": "INVALID_REASON" }, { "deprecationReason": null, "description": "The specified reference document is invalid.", "isDeprecated": false, "name": "INVALID_REFERENCE_DOCUMENT" }, { "deprecationReason": null, "description": "The quantities couldn't be moved. Try again.", "isDeprecated": false, "name": "MOVE_QUANTITIES_FAILED" }, { "deprecationReason": null, "description": "The quantities can't be moved between different locations.", "isDeprecated": false, "name": "DIFFERENT_LOCATIONS" }, { "deprecationReason": null, "description": "The quantity names for each change can't be the same.", "isDeprecated": false, "name": "SAME_QUANTITY_NAME" }, { "deprecationReason": null, "description": "Only a maximum of 2 ledger document URIs across all changes is allowed.", "isDeprecated": false, "name": "MAXIMUM_LEDGER_DOCUMENT_URIS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "InventoryMoveQuantitiesUserErrorCode", "possibleTypes": null }, { "description": "Represents the change to be made to an inventory item at a location.\nThe change can either involve the same quantity name between different locations,\nor involve different quantity names between the same location.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the inventory item to which the change will be applied.", "name": "inventoryItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The amount by which the inventory quantity will be changed.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The location, quantity name, and ledger document from where the move will be made.", "name": "from", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryMoveQuantityTerminalInput", "ofType": null } } }, { "defaultValue": null, "description": "The location, quantity name, and ledger document to where the move will be made.", "name": "to", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryMoveQuantityTerminalInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryMoveQuantityChange", "possibleTypes": null }, { "description": "The input fields representing the change to be made to an inventory item at a location.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the location at which the change will be applied.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity name to be moved.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The ledger document URI for the quantity move. Not allowed for 'available' and required for other quantity names.", "name": "ledgerDocumentUri", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventoryMoveQuantityTerminalInput", "possibleTypes": null }, { "description": "General inventory properties for the shop.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "All the quantity names.", "isDeprecated": false, "name": "quantityNames", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryQuantityName", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryProperties", "possibleTypes": null }, { "description": "Represents a quantity of an inventory item at a specific location, for a specific name.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name that identifies the inventory quantity.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity for the quantity name.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "When the quantity was last updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryQuantity", "possibleTypes": null }, { "description": "Details about an individual quantity name.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "List of quantity names that this quantity name belongs to.", "isDeprecated": false, "name": "belongsTo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "List of quantity names that comprise this quantity name.", "isDeprecated": false, "name": "comprises", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The i18n-friendly display name of the quantity.", "isDeprecated": false, "name": "displayName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the quantity name has been used by the merchant.", "isDeprecated": false, "name": "isInUse", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity name as used by the API.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventoryQuantityName", "possibleTypes": null }, { "description": "The input fields required to set inventory on hand quantities.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The reason for the quantity changes.", "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The reference document URI for the changes. Used to denote what is causing the change.", "name": "referenceDocumentUri", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The value to which the on hand quantity will be set.", "name": "setQuantities", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventorySetQuantityInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventorySetOnHandQuantitiesInput", "possibleTypes": null }, { "description": "Return type for `inventorySetOnHandQuantities` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The group of changes made by the operation.", "isDeprecated": false, "name": "inventoryAdjustmentGroup", "type": { "kind": "OBJECT", "name": "InventoryAdjustmentGroup", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventorySetOnHandQuantitiesUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "InventorySetOnHandQuantitiesPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `InventorySetOnHandQuantities`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "InventorySetOnHandQuantitiesUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "InventorySetOnHandQuantitiesUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `InventorySetOnHandQuantitiesUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The specified inventory item could not be found.", "isDeprecated": false, "name": "INVALID_INVENTORY_ITEM" }, { "deprecationReason": null, "description": "The specified location could not be found.", "isDeprecated": false, "name": "INVALID_LOCATION" }, { "deprecationReason": null, "description": "The quantity can't be negative.", "isDeprecated": false, "name": "INVALID_QUANTITY_NEGATIVE" }, { "deprecationReason": null, "description": "The quantity can't be higher than 1,000,000,000.", "isDeprecated": false, "name": "INVALID_QUANTITY_TOO_HIGH" }, { "deprecationReason": null, "description": "The specified reason is invalid.", "isDeprecated": false, "name": "INVALID_REASON" }, { "deprecationReason": null, "description": "The specified reference document is invalid.", "isDeprecated": false, "name": "INVALID_REFERENCE_DOCUMENT" }, { "deprecationReason": null, "description": "The on-hand quantities couldn't be set. Try again.", "isDeprecated": false, "name": "SET_ON_HAND_QUANTITIES_FAILED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "InventorySetOnHandQuantitiesUserErrorCode", "possibleTypes": null }, { "description": "The input fields for the quantity to be set for an inventory item at a location.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the inventory item to which the quantity will be set.", "name": "inventoryItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the location at which the quantity will be set.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity to which the inventory quantity will be set.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "InventorySetQuantityInput", "possibleTypes": null }, { "description": "A [JSON](https://www.json.org/json-en.html) object.\n\nExample value:\n`{\n \"product\": {\n \"id\": \"gid://shopify/Product/1346443542550\",\n \"title\": \"White T-shirt\",\n \"options\": [{\n \"name\": \"Size\",\n \"values\": [\"M\", \"L\"]\n }]\n }\n}`\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "JSON", "possibleTypes": null }, { "description": "A job corresponds to some long running task that the client should poll for status.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "This indicates if the job is still queued or has been run.", "isDeprecated": false, "name": "done", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID that's returned when running an asynchronous mutation.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "This field will only resolve once the job is done. Can be used to ask for object(s) that have been changed by the job.", "isDeprecated": false, "name": "query", "type": { "kind": "OBJECT", "name": "QueryRoot", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Job", "possibleTypes": null }, { "description": "A job corresponds to some long running task that the client should poll for status.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "This indicates if the job is still queued or has been run.", "isDeprecated": false, "name": "done", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID that's returned when running an asynchronous mutation.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "JobResult", "possibleTypes": [ { "kind": "OBJECT", "name": "CustomerSegmentMembersQuery", "ofType": null } ] }, { "description": "Interoperability metadata for types that directly correspond to a REST Admin API resource.\nFor example, on the Product type, LegacyInteroperability returns metadata for the corresponding [Product object](https://shopify.dev/api/admin-graphql/latest/objects/product) in the REST Admin API.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "LegacyInteroperability", "possibleTypes": [ { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "Fulfillment", "ofType": null }, { "kind": "OBJECT", "name": "InventoryItem", "ofType": null }, { "kind": "OBJECT", "name": "Location", "ofType": null }, { "kind": "OBJECT", "name": "MarketingEvent", "ofType": null }, { "kind": "OBJECT", "name": "Metafield", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldStorefrontVisibility", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "PriceRule", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, { "kind": "OBJECT", "name": "Refund", "ofType": null }, { "kind": "OBJECT", "name": "SavedSearch", "ofType": null }, { "kind": "OBJECT", "name": "ScriptTag", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsDispute", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsPayout", "ofType": null }, { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } ] }, { "description": "Units of measurement for length.", "enumValues": [ { "deprecationReason": null, "description": "1000 millimeters equals 1 meter.", "isDeprecated": false, "name": "MILLIMETERS" }, { "deprecationReason": null, "description": "100 centimeters equals 1 meter.", "isDeprecated": false, "name": "CENTIMETERS" }, { "deprecationReason": null, "description": "Metric system unit of length.", "isDeprecated": false, "name": "METERS" }, { "deprecationReason": null, "description": "12 inches equals 1 foot.", "isDeprecated": false, "name": "INCHES" }, { "deprecationReason": null, "description": "Imperial system unit of length.", "isDeprecated": false, "name": "FEET" }, { "deprecationReason": null, "description": "1 yard equals 3 feet.", "isDeprecated": false, "name": "YARDS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LengthUnit", "possibleTypes": null }, { "description": "The total number of pending orders on a shop if less then a maximum, or that maximum.\nThe atMax field indicates when this maximum has been reached.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "This is set when the number of pending orders has reached the maximum.", "isDeprecated": false, "name": "atMax", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of pendings orders on the shop.\nLimited to a maximum of 10000.\n", "isDeprecated": false, "name": "count", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LimitedPendingOrderCount", "possibleTypes": null }, { "description": "Represents individual products and quantities purchased in the associated order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `restockable` instead.", "description": "Whether the line item can be restocked.", "isDeprecated": true, "name": "canRestock", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subscription contract associated with this line item.", "isDeprecated": false, "name": "contract", "type": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The line item's quantity, minus the removed quantity.", "isDeprecated": false, "name": "currentQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of attributes that represent custom features or special requests.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The discounts that have been allocated onto the line item by discount applications, not including order edits and refunds.", "isDeprecated": false, "name": "discountAllocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAllocation", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `discountedTotalSet` instead.", "description": "The total line price after discounts are applied, in shop currency.", "isDeprecated": true, "name": "discountedTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total line price after discounts are applied, in shop and presentment currencies.", "isDeprecated": false, "name": "discountedTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `discountedUnitPriceSet` instead.", "description": "The approximate split price of a line item unit, in shop currency. This value doesn't include discounts applied to the entire order.", "isDeprecated": true, "name": "discountedUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The approximate split price of a line item unit, in shop and presentment currencies. This value doesn't include discounts applied to the entire order.", "isDeprecated": false, "name": "discountedUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The duties associated with the line item.", "isDeprecated": false, "name": "duties", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Duty", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use [FulfillmentOrderLineItem#remainingQuantity](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderLineItem#field-fulfillmentorderlineitem-remainingquantity) instead.", "description": "The total number of units to fulfill.", "isDeprecated": true, "name": "fulfillableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": "\nThe [relationship between a product variant and a fulfillment service was changed in the `2022-07` API version](/changelog/fulfillment-service-sku-sharing). A [ProductVariant](/api/admin-graphql/latest/objects/ProductVariant) can be stocked by multiple fulfillment services. As a result, we recommend that you use the [inventoryItem field](/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-inventoryitem) if you need to determine where a product variant is stocked.\n\nIf you need to determine whether a product is a gift card, then you should continue to use this field until an alternative is available.\n\nAltering the locations which stock a product variant won't change the value of this field for existing orders.\n\nLearn about [managing inventory quantities and states](/apps/fulfillment/inventory-management-apps/quantities-states).\n", "description": "The fulfillment service that stocks the product variant belonging to a line item.\n\nThis is a third-party fulfillment service in the following scenarios:\n\n**Scenario 1**\n- The product variant is stocked by a single fulfillment service.\n- The [FulfillmentService](/api/admin-graphql/latest/objects/FulfillmentService) is a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\n**Scenario 2**\n- Multiple fulfillment services stock the product variant.\n- The last time that the line item was unfulfilled, it was awaiting fulfillment by a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\nIf none of the above conditions are met, then the fulfillment service has the `manual` handle.\n", "isDeprecated": true, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": "Use [FulfillmentOrderLineItem#remainingQuantity](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderLineItem#field-fulfillmentorderlineitem-remainingquantity) instead", "description": "The line item's fulfillment status. Returns 'fulfilled' if fulfillableQuantity >= quantity,\n'partial' if fulfillableQuantity > 0, and 'unfulfilled' otherwise.\n", "isDeprecated": true, "name": "fulfillmentStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image associated to the line item's variant.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the line item can be edited or not.", "isDeprecated": false, "name": "merchantEditable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the product, optionally appended with the title of the variant (if applicable).", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object for more fulfillment details.", "isDeprecated": false, "name": "nonFulfillableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": "Use `originalTotalSet` instead.", "description": "The total price without discounts applied, in shop currency.\nThis value is based on the unit price of the variant x quantity.\n", "isDeprecated": true, "name": "originalTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price in shop and presentment currencies, without discounts applied. This value is based on the unit price of the variant x quantity.", "isDeprecated": false, "name": "originalTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `originalUnitPriceSet` instead.", "description": "The variant unit price without discounts applied, in shop currency.", "isDeprecated": true, "name": "originalUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant unit price without discounts applied, in shop and presentment currencies.", "isDeprecated": false, "name": "originalUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The Product object associated with this line item's variant.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of variant units ordered.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line item's quantity, minus the removed quantity.", "isDeprecated": false, "name": "refundableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether physical shipping is required for the variant.", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the line item can be restocked.", "isDeprecated": false, "name": "restockable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The selling plan details associated with the line item.", "isDeprecated": false, "name": "sellingPlan", "type": { "kind": "OBJECT", "name": "LineItemSellingPlan", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The variant SKU number.", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Staff attributed to the line item.", "isDeprecated": false, "name": "staffMember", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "The taxes charged for this line item.", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the variant is taxable.", "isDeprecated": false, "name": "taxable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the product at time of order creation.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalDiscountSet` instead.", "description": "The total amount of the discount allocated to the line item in the shop currency.", "isDeprecated": true, "name": "totalDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of the discount that's allocated to the line item, in the shop and presentment currencies. This field must be explicitly set using draft orders, Shopify scripts, or the API.", "isDeprecated": false, "name": "totalDiscountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `unfulfilledDiscountedTotalSet` instead.", "description": "The total discounted value of unfulfilled units, in shop currency.", "isDeprecated": true, "name": "unfulfilledDiscountedTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounted value of unfulfilled units, in shop and presentment currencies.", "isDeprecated": false, "name": "unfulfilledDiscountedTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `unfulfilledOriginalTotalSet` instead.", "description": "The total price, without any discounts applied. This value is based on the unit price of the variant x quantity of all unfulfilled units, in shop currency.", "isDeprecated": true, "name": "unfulfilledOriginalTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price, without any discounts applied. This value is based on the unit price of the variant x quantity of all unfulfilled units, in shop and presentment currencies.", "isDeprecated": false, "name": "unfulfilledOriginalTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units not yet fulfilled.", "isDeprecated": false, "name": "unfulfilledQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The Variant object associated with this line item.", "isDeprecated": false, "name": "variant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the variant at time of order creation.", "isDeprecated": false, "name": "variantTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the vendor who made the variant.", "isDeprecated": false, "name": "vendor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "LineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple LineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in LineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one LineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of LineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LineItemEdge", "possibleTypes": null }, { "description": "Represents a single line item on an order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `restockable` instead.", "description": "Whether the line item can be restocked.", "isDeprecated": true, "name": "canRestock", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of attributes that represent custom features or special requests.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The discounts that have been allocated onto the line item by discount applications.", "isDeprecated": false, "name": "discountAllocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAllocation", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `discountedTotalSet` instead.", "description": "The total line price after discounts are applied, in shop currency.", "isDeprecated": true, "name": "discountedTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total line price after discounts are applied, in shop and presentment currencies.", "isDeprecated": false, "name": "discountedTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `discountedUnitPriceSet` instead.", "description": "The approximate split price of a line item unit, in shop currency. This value doesn't include discounts applied to the entire order.", "isDeprecated": true, "name": "discountedUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The approximate split price of a line item unit, in shop and presentment currencies. This value doesn't include discounts applied to the entire order.", "isDeprecated": false, "name": "discountedUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total number of units to fulfill.", "isDeprecated": false, "name": "fulfillableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The service provider that fulfills the line item.\n\nDeleted fulfillment services will return null.\n", "isDeprecated": false, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The line item's fulfillment status. Returns 'fulfilled' if fulfillableQuantity >= quantity,\n'partial' if fulfillableQuantity > 0, and 'unfulfilled' otherwise.\n", "isDeprecated": false, "name": "fulfillmentStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image associated to the line item's variant.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the line item can be edited or not.", "isDeprecated": false, "name": "merchantEditable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the product.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip.", "isDeprecated": false, "name": "nonFulfillableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": "Use `originalTotalSet` instead.", "description": "The total price without any discounts applied, in shop currency. \"\"This value is based on the unit price of the variant x quantity.\n", "isDeprecated": true, "name": "originalTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price in shop and presentment currencies, without discounts applied. This value is based on the unit price of the variant x quantity.", "isDeprecated": false, "name": "originalTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `originalUnitPriceSet` instead.", "description": "The variant unit price without discounts applied, in shop currency.", "isDeprecated": true, "name": "originalUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant unit price without discounts applied, in shop and presentment currencies.", "isDeprecated": false, "name": "originalUnitPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The Product object associated with this line item's variant.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of variant units ordered.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line item's quantity, minus the removed quantity.", "isDeprecated": false, "name": "refundableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether physical shipping is required for the variant.", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the line item can be restocked.", "isDeprecated": false, "name": "restockable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The variant SKU number.", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Staff attributed to the line item.", "isDeprecated": false, "name": "staffMember", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "The TaxLine object connected to this line item.", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the variant is taxable.", "isDeprecated": false, "name": "taxable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the product.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalDiscountSet` instead.", "description": "The total amount of the discount allocated to the line item in the shop currency. This field must be explicitly set using draft orders, Shopify scripts, or the API. Instead of using this field, Shopify recommends using `discountAllocations`, which provides the same information.", "isDeprecated": true, "name": "totalDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of the discount allocated to the line item in the presentment currency. This field must be explicitly set using draft orders, Shopify scripts, or the API. Instead of using this field, Shopify recommends using `discountAllocations`, which provides the same information.", "isDeprecated": false, "name": "totalDiscountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `unfulfilledDiscountedTotalSet` instead.", "description": "The total discounted value of unfulfilled units, in shop currency.", "isDeprecated": true, "name": "unfulfilledDiscountedTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounted value of unfulfilled units, in shop and presentment currencies.", "isDeprecated": false, "name": "unfulfilledDiscountedTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `unfulfilledOriginalTotalSet` instead.", "description": "The total price without any discounts applied. This value is based on the unit price of the variant x quantity of all unfulfilled units, in shop currency.", "isDeprecated": true, "name": "unfulfilledOriginalTotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price without any discounts applied. This value is based on the unit price of the variant x quantity of all unfulfilled units, in shop and presentment currencies.", "isDeprecated": false, "name": "unfulfilledOriginalTotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units not yet fulfilled.", "isDeprecated": false, "name": "unfulfilledQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The Variant object associated with this line item.", "isDeprecated": false, "name": "variant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the variant.", "isDeprecated": false, "name": "variantTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the vendor who made the variant.", "isDeprecated": false, "name": "vendor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "LineItemMutable", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple LineItemMutables.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItemMutableEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in LineItemMutableEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItemMutable", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LineItemMutableConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one LineItemMutable and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of LineItemMutableEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItemMutable", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LineItemMutableEdge", "possibleTypes": null }, { "description": "Represents the selling plan for a line item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the selling plan for display purposes.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the selling plan associated with the line item.", "isDeprecated": false, "name": "sellingPlanId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LineItemSellingPlan", "possibleTypes": null }, { "description": "A link to direct users to.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A context-sensitive label for the link.", "isDeprecated": false, "name": "label", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The URL that the link visits.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null } ], "kind": "OBJECT", "name": "Link", "possibleTypes": null }, { "description": "A locale.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Locale ISO code.", "isDeprecated": false, "name": "isoCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Human-readable locale name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Locale", "possibleTypes": null }, { "description": "Represents the value captured by a localization extension. Localization extensions are additional fields required by certain countries on international orders. For example, some countries require additional fields for customs information or tax identification numbers.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Country ISO 3166-1 alpha-2 code.", "isDeprecated": false, "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The localized extension keys that are allowed.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LocalizationExtensionKey", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The purpose of this localization extension.", "isDeprecated": false, "name": "purpose", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LocalizationExtensionPurpose", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The localized extension title.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the field.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocalizationExtension", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple LocalizationExtensions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocalizationExtensionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in LocalizationExtensionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocalizationExtension", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocalizationExtensionConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one LocalizationExtension and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of LocalizationExtensionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocalizationExtension", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocalizationExtensionEdge", "possibleTypes": null }, { "description": "The input fields for a LocalizationExtensionInput.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The key for the localization extension.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LocalizationExtensionKey", "ofType": null } } }, { "defaultValue": null, "description": "The localization extension value.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "LocalizationExtensionInput", "possibleTypes": null }, { "description": "The key of a localization extension.", "enumValues": [ { "deprecationReason": null, "description": "Extension key 'tax_credential_br' for country BR.", "isDeprecated": false, "name": "TAX_CREDENTIAL_BR" }, { "deprecationReason": null, "description": "Extension key 'shipping_credential_br' for country BR.", "isDeprecated": false, "name": "SHIPPING_CREDENTIAL_BR" }, { "deprecationReason": null, "description": "Extension key 'shipping_credential_cn' for country CN.", "isDeprecated": false, "name": "SHIPPING_CREDENTIAL_CN" }, { "deprecationReason": null, "description": "Extension key 'tax_credential_it' for country IT.", "isDeprecated": false, "name": "TAX_CREDENTIAL_IT" }, { "deprecationReason": null, "description": "Extension key 'tax_email_it' for country IT.", "isDeprecated": false, "name": "TAX_EMAIL_IT" }, { "deprecationReason": null, "description": "Extension key 'shipping_credential_kr' for country KR.", "isDeprecated": false, "name": "SHIPPING_CREDENTIAL_KR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LocalizationExtensionKey", "possibleTypes": null }, { "description": "The purpose of a localization extension.", "enumValues": [ { "deprecationReason": null, "description": "Extensions that are used for shipping purposes, for example, customs clearance.", "isDeprecated": false, "name": "SHIPPING" }, { "deprecationReason": null, "description": "Extensions that are used for taxes purposes, for example, invoicing.", "isDeprecated": false, "name": "TAX" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LocalizationExtensionPurpose", "possibleTypes": null }, { "description": "Represents the location where the physical good resides.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether this location can be reactivated.", "isDeprecated": false, "name": "activatable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The address of this location.", "isDeprecated": false, "name": "address", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationAddress", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the location address has been verified.", "isDeprecated": false, "name": "addressVerified", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether this location can be deactivated.", "isDeprecated": false, "name": "deactivatable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was deactivated at. For example, 3:30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as `\"2019-09-07T15:50:00Z`\".", "isDeprecated": false, "name": "deactivatedAt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether this location can be deleted.", "isDeprecated": false, "name": "deletable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the service provider that fulfills from this location.", "isDeprecated": false, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether this location can fulfill online orders.", "isDeprecated": false, "name": "fulfillsOnlineOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether this location has active inventory.", "isDeprecated": false, "name": "hasActiveInventory", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether this location has orders that need to be fulfilled.", "isDeprecated": false, "name": "hasUnfulfilledOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the inventory item to obtain the inventory level for.", "name": "inventoryItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "The quantities of an inventory item at this location.", "isDeprecated": false, "name": "inventoryLevel", "type": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `inventory_group_id`\n - `inventory_item_id`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of the quantities of the inventory items that can be stocked at this location.", "isDeprecated": false, "name": "inventoryLevels", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryLevelConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the location is active.", "isDeprecated": false, "name": "isActive", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "The concept of a primary location is deprecated, shipsInventory can be used to get a fallback location", "description": "Whether the location is your primary location for shipping inventory.", "isDeprecated": true, "name": "isPrimary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Local pickup settings for the location.", "isDeprecated": false, "name": "localPickupSettingsV2", "type": { "kind": "OBJECT", "name": "DeliveryLocalPickupSettings", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the location.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored.", "isDeprecated": false, "name": "shipsInventory", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "List of suggested addresses for this location (empty if none).", "isDeprecated": false, "name": "suggestedAddresses", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationSuggestedAddress", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Location", "possibleTypes": null }, { "description": "Return type for `locationActivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The location that was activated.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "locationActivateUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationActivateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationActivatePayload", "possibleTypes": null }, { "description": "An error that occurs while activating a location.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "LocationActivateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "LocationActivateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `LocationActivateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An error occurred while activating the location.", "isDeprecated": false, "name": "GENERIC_ERROR" }, { "deprecationReason": null, "description": "Shop has reached its location limit.", "isDeprecated": false, "name": "LOCATION_LIMIT" }, { "deprecationReason": null, "description": "This location currently cannot be activated as inventory, pending orders or transfers are being relocated from this location.", "isDeprecated": false, "name": "HAS_ONGOING_RELOCATION" }, { "deprecationReason": null, "description": "Location not found.", "isDeprecated": false, "name": "LOCATION_NOT_FOUND" }, { "deprecationReason": null, "description": "There is already an active location with this name.", "isDeprecated": false, "name": "HAS_NON_UNIQUE_NAME" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LocationActivateUserErrorCode", "possibleTypes": null }, { "description": "The input fields to use to specify the address while adding a location.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The first line of the address.", "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The second line of the address.", "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The name of the city, district, village, or town.", "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The phone number of the location.", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ZIP code or postal code of the address.", "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The two-letter code of country for the address.", "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "defaultValue": null, "description": "The code for the region of the address, such as the state, province, or district.\nFor example CA for California, United States.\n", "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "LocationAddAddressInput", "possibleTypes": null }, { "description": "The input fields to use to add a location.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the location.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The address of the location.", "name": "address", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "LocationAddAddressInput", "ofType": null } } }, { "defaultValue": "true", "description": "Whether inventory at this location is available for sale online.", "name": "fulfillsOnlineOrders", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Additional customizable information to associate with the location.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "LocationAddInput", "possibleTypes": null }, { "description": "Return type for `locationAdd` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The location that was added.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationAddUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationAddPayload", "possibleTypes": null }, { "description": "An error that occurs while adding a location.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "LocationAddUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "LocationAddUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `LocationAddUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The ZIP code is not a valid US ZIP code.", "isDeprecated": false, "name": "INVALID_US_ZIPCODE" }, { "deprecationReason": null, "description": "An error occurred while adding the location.", "isDeprecated": false, "name": "GENERIC_ERROR" }, { "deprecationReason": null, "description": "The type is invalid.", "isDeprecated": false, "name": "INVALID_TYPE" }, { "deprecationReason": null, "description": "The value is invalid for the metafield type or for the definition options.", "isDeprecated": false, "name": "INVALID_VALUE" }, { "deprecationReason": null, "description": "ApiPermission metafields can only be created or updated by the app owner.", "isDeprecated": false, "name": "APP_NOT_AUTHORIZED" }, { "deprecationReason": null, "description": "Unstructured reserved namespace.", "isDeprecated": false, "name": "UNSTRUCTURED_RESERVED_NAMESPACE" }, { "deprecationReason": null, "description": "Owner type can't be used in this mutation.", "isDeprecated": false, "name": "DISALLOWED_OWNER_TYPE" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LocationAddUserErrorCode", "possibleTypes": null }, { "description": "Represents the address of a location.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address for the location.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The second line of the address for the location.", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The city of the location.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The country of the location.", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The country code of the location.", "isDeprecated": false, "name": "countryCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A formatted version of the address for the location.", "isDeprecated": false, "name": "formatted", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The latitude coordinates of the location.", "isDeprecated": false, "name": "latitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The longitude coordinates of the location.", "isDeprecated": false, "name": "longitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The phone number of the location.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The province of the location.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The code for the province, state, or district of the address of the location.\n", "isDeprecated": false, "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ZIP code of the location.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationAddress", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Locations.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in LocationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationConnection", "possibleTypes": null }, { "description": "Return type for `locationDeactivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The location that was deactivated.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "locationDeactivateUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationDeactivateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationDeactivatePayload", "possibleTypes": null }, { "description": "The possible errors that can be returned when executing the `locationDeactivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "LocationDeactivateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "LocationDeactivateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `LocationDeactivateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Location not found.", "isDeprecated": false, "name": "LOCATION_NOT_FOUND" }, { "deprecationReason": null, "description": "Location either has a fulfillment service or is the only location with a shipping address.", "isDeprecated": false, "name": "PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR" }, { "deprecationReason": null, "description": "Location has incoming inventory. The location can be deactivated after the inventory has been received.", "isDeprecated": false, "name": "TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR" }, { "deprecationReason": null, "description": "Location needs to be removed from Shopify POS for Retail subscription in Point of Sale channel.", "isDeprecated": false, "name": "HAS_ACTIVE_RETAIL_SUBSCRIPTIONS" }, { "deprecationReason": null, "description": "Destination location is the same as the location to be deactivated.", "isDeprecated": false, "name": "DESTINATION_LOCATION_IS_THE_SAME_LOCATION" }, { "deprecationReason": null, "description": "Destination location is not found or inactive.", "isDeprecated": false, "name": "DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE" }, { "deprecationReason": null, "description": "Location could not be deactivated without specifying where to relocate inventory at the location.", "isDeprecated": false, "name": "HAS_ACTIVE_INVENTORY_ERROR" }, { "deprecationReason": null, "description": "Location could not be deactivated because it has pending orders.", "isDeprecated": false, "name": "HAS_FULFILLMENT_ORDERS_ERROR" }, { "deprecationReason": null, "description": "Location could not be deactivated because it has open transfers.", "isDeprecated": false, "name": "HAS_OPEN_TRANSFERS_ERROR" }, { "deprecationReason": null, "description": "Location could not be deactivated because it has open Shopify Fulfillment Network transfers.", "isDeprecated": false, "name": "HAS_INCOMING_MOVEMENTS_ERROR" }, { "deprecationReason": null, "description": "Location could not be deactivated because it has open purchase orders.", "isDeprecated": false, "name": "HAS_OPEN_PURCHASE_ORDERS_ERROR" }, { "deprecationReason": null, "description": "Failed to relocate active inventories to the destination location.", "isDeprecated": false, "name": "FAILED_TO_RELOCATE_ACTIVE_INVENTORIES" }, { "deprecationReason": null, "description": "Failed to relocate open transfers to the destination location.", "isDeprecated": false, "name": "FAILED_TO_RELOCATE_OPEN_TRANSFERS" }, { "deprecationReason": null, "description": "Failed to relocate open purchase orders to the destination location.", "isDeprecated": false, "name": "FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS" }, { "deprecationReason": null, "description": "Failed to relocate incoming movements to the destination location.", "isDeprecated": false, "name": "FAILED_TO_RELOCATE_INCOMING_MOVEMENTS" }, { "deprecationReason": null, "description": "At least one location must fulfill online orders.", "isDeprecated": false, "name": "CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LocationDeactivateUserErrorCode", "possibleTypes": null }, { "description": "Return type for `locationDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the location that was deleted.", "isDeprecated": false, "name": "deletedLocationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "locationDeleteUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationDeleteUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationDeletePayload", "possibleTypes": null }, { "description": "An error that occurs while deleting a location.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "LocationDeleteUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "LocationDeleteUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `LocationDeleteUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Location not found.", "isDeprecated": false, "name": "LOCATION_NOT_FOUND" }, { "deprecationReason": null, "description": "The location cannot be deleted while it is active.", "isDeprecated": false, "name": "LOCATION_IS_ACTIVE" }, { "deprecationReason": null, "description": "An error occurred while deleting the location.", "isDeprecated": false, "name": "GENERIC_ERROR" }, { "deprecationReason": null, "description": "The location cannot be deleted while it has inventory.", "isDeprecated": false, "name": "LOCATION_HAS_INVENTORY" }, { "deprecationReason": null, "description": "The location cannot be deleted while it has pending orders.", "isDeprecated": false, "name": "LOCATION_HAS_PENDING_ORDERS" }, { "deprecationReason": null, "description": "The location cannot be deleted while it has any active Retail subscriptions in the Point of Sale channel.", "isDeprecated": false, "name": "LOCATION_HAS_ACTIVE_RETAIL_SUBSCRIPTION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LocationDeleteUserErrorCode", "possibleTypes": null }, { "description": "An auto-generated type which holds one Location and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of LocationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationEdge", "possibleTypes": null }, { "description": "The input fields to use to edit the address of a location.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The first line of the address.", "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The second line of the address.", "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The name of the city, district, village, or town.", "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The phone number of the location.", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ZIP code or postal code of the location.", "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The two-letter code of country for the address.", "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "defaultValue": null, "description": "The code for the region of the address, such as the state, province, or district.\nFor example CA for California, United States.\n", "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "LocationEditAddressInput", "possibleTypes": null }, { "description": "The input fields to use to edit a location.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the location.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The address of the location.", "name": "address", "type": { "kind": "INPUT_OBJECT", "name": "LocationEditAddressInput", "ofType": null } }, { "defaultValue": null, "description": "Whether inventory at this location is available for sale online.", "name": "fulfillsOnlineOrders", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Additional customizable information to associate with the location.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "LocationEditInput", "possibleTypes": null }, { "description": "Return type for `locationEdit` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The location that was edited.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationEditUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationEditPayload", "possibleTypes": null }, { "description": "An error that occurs while editing a location.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "LocationEditUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "LocationEditUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `LocationEditUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The record with the ID used as the input value couldn't be found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The ZIP code is not a valid US ZIP code.", "isDeprecated": false, "name": "INVALID_US_ZIPCODE" }, { "deprecationReason": null, "description": "An error occurred while editing the location.", "isDeprecated": false, "name": "GENERIC_ERROR" }, { "deprecationReason": null, "description": "At least one location must fulfill online orders.", "isDeprecated": false, "name": "CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT" }, { "deprecationReason": null, "description": "The type is invalid.", "isDeprecated": false, "name": "INVALID_TYPE" }, { "deprecationReason": null, "description": "The value is invalid for the metafield type or for the definition options.", "isDeprecated": false, "name": "INVALID_VALUE" }, { "deprecationReason": null, "description": "ApiPermission metafields can only be created or updated by the app owner.", "isDeprecated": false, "name": "APP_NOT_AUTHORIZED" }, { "deprecationReason": null, "description": "Unstructured reserved namespace.", "isDeprecated": false, "name": "UNSTRUCTURED_RESERVED_NAMESPACE" }, { "deprecationReason": null, "description": "Owner type can't be used in this mutation.", "isDeprecated": false, "name": "DISALLOWED_OWNER_TYPE" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LocationEditUserErrorCode", "possibleTypes": null }, { "description": "Return type for `locationLocalPickupDisable` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the location for which local pickup was disabled.", "isDeprecated": false, "name": "locationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryLocationLocalPickupSettingsError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationLocalPickupDisablePayload", "possibleTypes": null }, { "description": "Return type for `locationLocalPickupEnable` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The local pickup settings that were enabled.", "isDeprecated": false, "name": "localPickupSettings", "type": { "kind": "OBJECT", "name": "DeliveryLocalPickupSettings", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryLocationLocalPickupSettingsError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationLocalPickupEnablePayload", "possibleTypes": null }, { "description": "The set of valid sort keys for the Location query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "LocationSortKeys", "possibleTypes": null }, { "description": "Represents a suggested address for a location.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the suggested address.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The second line of the suggested address.", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The city of the suggested address.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The country of the suggested address.", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The country code of the suggested address.", "isDeprecated": false, "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A formatted version of the suggested address.", "isDeprecated": false, "name": "formatted", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The province of the suggested address.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The code for the province, state, or district of the suggested address.", "isDeprecated": false, "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ZIP code of the suggested address.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "LocationSuggestedAddress", "possibleTypes": null }, { "description": "Represents a customer mailing address.\n\nFor example, a customer's default address and an order's billing address are both mailling addresses.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address. Typically the street address or PO Box number.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The second line of the address. Typically the number of the apartment, suite, or unit.\n", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the city, district, village, or town.\n", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the customer's company or organization.\n", "isDeprecated": false, "name": "company", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the address coordinates are valid.", "isDeprecated": false, "name": "coordinatesValidated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the country.\n", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `countryCodeV2` instead.", "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", "isDeprecated": true, "name": "countryCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", "isDeprecated": false, "name": "countryCodeV2", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The first name of the customer.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": "false", "description": "Whether to include the customer's name in the formatted address.", "name": "withName", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "true", "description": "Whether to include the customer's company in the formatted address.", "name": "withCompany", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A formatted version of the address, customized by the provided arguments.", "isDeprecated": false, "name": "formatted", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A comma-separated list of the values for city, province, and country.", "isDeprecated": false, "name": "formattedArea", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The last name of the customer.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The latitude coordinate of the customer address.", "isDeprecated": false, "name": "latitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The longitude coordinate of the customer address.", "isDeprecated": false, "name": "longitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The full name of the customer, based on firstName and lastName.\n", "isDeprecated": false, "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The region of the address, such as the province, state, or district.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the region.\n\nFor example, ON.\n", "isDeprecated": false, "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The zip or postal code of the address.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MailingAddress", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MailingAddresses.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MailingAddressEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MailingAddressEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MailingAddressConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one MailingAddress and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MailingAddressEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MailingAddressEdge", "possibleTypes": null }, { "description": "The input fields to create or update a mailing address.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The first line of the address. Typically the street address or PO Box number.\n", "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The second line of the address. Typically the number of the apartment, suite, or unit.\n", "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The name of the city, district, village, or town.\n", "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The name of the customer's company or organization.\n", "name": "company", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The two-letter code for the country of the address.", "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "defaultValue": null, "description": "The first name of the customer.", "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The last name of the customer.", "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The code for the region of the address, such as the province, state, or district.\nFor example QC for Quebec, Canada.\n", "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The zip or postal code of the address.", "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "possibleTypes": null }, { "description": "Manual discount applications capture the intentions of a discount that was manually created for an order.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is applied to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the discount application.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.\n", "isDeprecated": false, "name": "index", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the discount application.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } ], "kind": "OBJECT", "name": "ManualDiscountApplication", "possibleTypes": null }, { "description": "A market is a group of one or more regions that you want to target for international sales.\nBy creating a market, you can configure a distinct, localized shopping experience for\ncustomers from a specific area of the world. For example, you can\n[change currency](https://shopify.dev/api/admin-graphql/current/mutations/marketCurrencySettingsUpdate),\n[configure international pricing](https://shopify.dev/apps/internationalization/product-price-lists),\nor [add market-specific domains or subfolders](https://shopify.dev/api/admin-graphql/current/objects/MarketWebPresence).\n", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The catalogs that belong to the market.", "isDeprecated": false, "name": "catalogs", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketCatalogConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The market’s currency settings.", "isDeprecated": false, "name": "currencySettings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketCurrencySettings", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the market is enabled to receive visitors and sales. **Note**: Regions in inactive\nmarkets cannot be selected on the storefront or in checkout.\n", "isDeprecated": false, "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the market. Not shown to customers.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The market’s price list, which specifies a percentage-based price adjustment as well as\nfixed price overrides for specific variants.\n", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the market is the shop’s primary market.\n", "isDeprecated": false, "name": "primary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The regions that comprise the market.", "isDeprecated": false, "name": "regions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketRegionConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The market’s web presence, which defines its SEO strategy. This can be a different domain,\nsubdomain, or subfolders of the primary domain. Each web presence comprises one or more\nlanguage variants. If a market doesn't have its own web presence, then the market is accessible on the\nshop’s primary domain using [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).\n", "isDeprecated": false, "name": "webPresence", "type": { "kind": "OBJECT", "name": "MarketWebPresence", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Market", "possibleTypes": null }, { "description": "A list of products with publishing and pricing information associated with markets.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The markets associated with the catalog.", "isDeprecated": false, "name": "markets", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Most recent catalog operations.", "isDeprecated": false, "name": "operations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "ResourceOperation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The price list associated with the catalog.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A group of products and collections that's published to a catalog.", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of the catalog.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CatalogStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the catalog.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Catalog", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MarketCatalog", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MarketCatalogs.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketCatalogEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MarketCatalogEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketCatalog", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketCatalogConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one MarketCatalog and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MarketCatalogEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketCatalog", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketCatalogEdge", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Markets.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MarketEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Market", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketConnection", "possibleTypes": null }, { "description": "The input fields required to create a market.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the market. Not shown to customers.\n", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Whether the market is enabled to receive visitors and sales. If a\nvalue isn't provided, then the market is enabled by default if all\nincluded regions have shipping rates, and disabled if any regions don't\nhave shipping rates.\n\n**Note**: Regions in inactive markets can't be selected on the\nstorefront or in checkout.\n", "name": "enabled", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The regions to be included in the market. Each region can only be included in one market at\na time.\n", "name": "regions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketRegionCreateInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketCreateInput", "possibleTypes": null }, { "description": "Return type for `marketCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market object.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketCreatePayload", "possibleTypes": null }, { "description": "A market's currency settings.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The currency which this market's prices are defined in, and the\ncurrency which its customers must use if local currencies are disabled.\n", "isDeprecated": false, "name": "baseCurrency", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CurrencySetting", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether or not local currencies are enabled. If enabled, then prices will\nbe converted to give each customer the best experience based on their\nregion. If disabled, then all customers in this market will see prices\nin the market's base currency.\n", "isDeprecated": false, "name": "localCurrencies", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketCurrencySettings", "possibleTypes": null }, { "description": "The input fields used to update the currency settings of a market.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The currency which this market’s prices are defined in, and the\ncurrency which its customers must use if local currencies are disabled.\n", "name": "baseCurrency", "type": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, { "defaultValue": null, "description": "Whether or not local currencies are enabled. If enabled, then prices will\nbe converted to give each customer the best experience based on their\nregion. If disabled, then all customers in this market will see prices\nin the market's base currency.\n", "name": "localCurrencies", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketCurrencySettingsUpdateInput", "possibleTypes": null }, { "description": "Return type for `marketCurrencySettingsUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market object.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketCurrencySettingsUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketCurrencySettingsUpdatePayload", "possibleTypes": null }, { "description": "Error codes for failed market multi-currency operations.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MarketCurrencySettingsUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MarketCurrencySettingsUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MarketCurrencySettingsUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The specified market wasn't found.", "isDeprecated": false, "name": "MARKET_NOT_FOUND" }, { "deprecationReason": null, "description": "The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing.", "isDeprecated": false, "name": "MANAGED_MARKET" }, { "deprecationReason": null, "description": "The shop's payment gateway does not support enabling more than one currency.", "isDeprecated": false, "name": "MULTIPLE_CURRENCIES_NOT_SUPPORTED" }, { "deprecationReason": null, "description": "Can't enable or disable local currencies on a single country market.", "isDeprecated": false, "name": "NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET" }, { "deprecationReason": null, "description": "The specified currency is not supported.", "isDeprecated": false, "name": "UNSUPPORTED_CURRENCY" }, { "deprecationReason": null, "description": "The primary market must use the shop currency.", "isDeprecated": false, "name": "PRIMARY_MARKET_USES_SHOP_CURRENCY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketCurrencySettingsUserErrorCode", "possibleTypes": null }, { "description": "Return type for `marketDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted market.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Market and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MarketEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Market", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketEdge", "possibleTypes": null }, { "description": "The market localizable content of a resource's field.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The hash digest representation of the content value.", "isDeprecated": false, "name": "digest", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The resource field that's being localized.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The content value.", "isDeprecated": false, "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketLocalizableContent", "possibleTypes": null }, { "description": "A resource that has market localizable fields.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market localizable content.", "isDeprecated": false, "name": "marketLocalizableContent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalizableContent", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Filters market localizations by market ID.", "name": "marketId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Market localizations for the market localizable content.", "isDeprecated": false, "name": "marketLocalizations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalization", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The GID of the resource.", "isDeprecated": false, "name": "resourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketLocalizableResource", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MarketLocalizableResources.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalizableResourceEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MarketLocalizableResourceEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalizableResource", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketLocalizableResourceConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one MarketLocalizableResource and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MarketLocalizableResourceEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalizableResource", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketLocalizableResourceEdge", "possibleTypes": null }, { "description": "The type of resources that are market localizable.", "enumValues": [ { "deprecationReason": null, "description": "A metafield. Market localizable fields: `value`.", "isDeprecated": false, "name": "METAFIELD" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketLocalizableResourceType", "possibleTypes": null }, { "description": "The market localization of a field within a resource, which is determined by the market ID.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A reference to the value being localized on the resource that this market localization belongs to.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The market that the localization is specific to.", "isDeprecated": false, "name": "market", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Market", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the original content has changed since this market localization was updated.", "isDeprecated": false, "name": "outdated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the market localization was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The value of the market localization.", "isDeprecated": false, "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketLocalization", "possibleTypes": null }, { "description": "The input fields and values for creating or updating a market localization.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the market that the localization is specific to.", "name": "marketId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A reference to the value being localized on the resource that this market localization belongs to.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The value of the market localization.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "A hash digest representation of the content being localized.", "name": "marketLocalizableContentDigest", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketLocalizationRegisterInput", "possibleTypes": null }, { "description": "Return type for `marketLocalizationsRegister` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market localizations that were created or updated.", "isDeprecated": false, "name": "marketLocalizations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalization", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketLocalizationsRegisterPayload", "possibleTypes": null }, { "description": "Return type for `marketLocalizationsRemove` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market localizations that were deleted.", "isDeprecated": false, "name": "marketLocalizations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalization", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketLocalizationsRemovePayload", "possibleTypes": null }, { "description": "A geographic region which comprises a market.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the region.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "MarketRegion", "possibleTypes": [ { "kind": "OBJECT", "name": "MarketRegionCountry", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple MarketRegions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketRegionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MarketRegionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "MarketRegion", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketRegionConnection", "possibleTypes": null }, { "description": "A country which comprises a market.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ISO code identifying the country.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The currency which this country uses given its market settings.", "isDeprecated": false, "name": "currency", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CurrencySetting", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the region.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "MarketRegion", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MarketRegionCountry", "possibleTypes": null }, { "description": "The input fields for creating a market region with exactly one required option.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A country code for the region.", "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketRegionCreateInput", "possibleTypes": null }, { "description": "Return type for `marketRegionDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted market region.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The parent market object of the deleted region.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketRegionDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one MarketRegion and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MarketRegionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "MarketRegion", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketRegionEdge", "possibleTypes": null }, { "description": "Return type for `marketRegionsCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market object.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketRegionsCreatePayload", "possibleTypes": null }, { "description": "The input fields used to update a market.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the market. Not shown to customers.\n", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether the market is enabled to receive visitors and sales. **Note**: Regions in\ninactive markets cannot be selected on the storefront or in checkout.\n", "name": "enabled", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketUpdateInput", "possibleTypes": null }, { "description": "Return type for `marketUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market object.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketUpdatePayload", "possibleTypes": null }, { "description": "Defines errors encountered while managing a Market.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MarketUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MarketUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MarketUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The market wasn't found.", "isDeprecated": false, "name": "MARKET_NOT_FOUND" }, { "deprecationReason": null, "description": "The market region wasn't found.", "isDeprecated": false, "name": "REGION_NOT_FOUND" }, { "deprecationReason": null, "description": "The market web presence wasn't found.", "isDeprecated": false, "name": "WEB_PRESENCE_NOT_FOUND" }, { "deprecationReason": null, "description": "Can't add regions to the primary market.", "isDeprecated": false, "name": "CANNOT_ADD_REGIONS_TO_PRIMARY_MARKET" }, { "deprecationReason": null, "description": "Can't delete the only region in a market.", "isDeprecated": false, "name": "CANNOT_DELETE_ONLY_REGION" }, { "deprecationReason": null, "description": "Exactly one input option is required.", "isDeprecated": false, "name": "REQUIRES_EXACTLY_ONE_OPTION" }, { "deprecationReason": null, "description": "Can't delete the primary market.", "isDeprecated": false, "name": "CANNOT_DELETE_PRIMARY_MARKET" }, { "deprecationReason": null, "description": "Domain was not found.", "isDeprecated": false, "name": "DOMAIN_NOT_FOUND" }, { "deprecationReason": null, "description": "The subfolder suffix must contain only letters.", "isDeprecated": false, "name": "SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS" }, { "deprecationReason": null, "description": "The subfolder suffix is invalid, please provide a different value.", "isDeprecated": false, "name": "SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE" }, { "deprecationReason": null, "description": "No languages selected.", "isDeprecated": false, "name": "NO_LANGUAGES" }, { "deprecationReason": null, "description": "Duplicates found in languages.", "isDeprecated": false, "name": "DUPLICATE_LANGUAGES" }, { "deprecationReason": null, "description": "Cannot add region-specific language.", "isDeprecated": false, "name": "REGION_SPECIFIC_LANGUAGE" }, { "deprecationReason": null, "description": "Can't create subfolders if the primary domain is a country code top-level domain (ccTLDs).", "isDeprecated": false, "name": "SUBFOLDER_NOT_ALLOWED_FOR_CCTLD_DOMAINS" }, { "deprecationReason": null, "description": "Can't pass both `subfolderSuffix` and `domainId`.", "isDeprecated": false, "name": "CANNOT_HAVE_SUBFOLDER_AND_DOMAIN" }, { "deprecationReason": null, "description": "Can't add the web presence to the primary market.", "isDeprecated": false, "name": "CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET" }, { "deprecationReason": null, "description": "One of `subfolderSuffix` or `domainId` is required.", "isDeprecated": false, "name": "REQUIRES_DOMAIN_OR_SUBFOLDER" }, { "deprecationReason": null, "description": "The primary market must use the primary domain.", "isDeprecated": false, "name": "PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN" }, { "deprecationReason": null, "description": "Can't delete the primary market's web presence.", "isDeprecated": false, "name": "CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE" }, { "deprecationReason": null, "description": "Can't have more than 50 markets.", "isDeprecated": false, "name": "SHOP_REACHED_MARKETS_LIMIT" }, { "deprecationReason": null, "description": "Can't disable the primary market.", "isDeprecated": false, "name": "CANNOT_DISABLE_PRIMARY_MARKET" }, { "deprecationReason": null, "description": "The language isn't published to the store.", "isDeprecated": false, "name": "UNPUBLISHED_LANGUAGE" }, { "deprecationReason": null, "description": "The language isn't enabled on the store.", "isDeprecated": false, "name": "DISABLED_LANGUAGE" }, { "deprecationReason": null, "description": "Can't set default locale to null.", "isDeprecated": false, "name": "CANNOT_SET_DEFAULT_LOCALE_TO_NULL" }, { "deprecationReason": null, "description": "Can't add unsupported country or region.", "isDeprecated": false, "name": "UNSUPPORTED_COUNTRY_REGION" }, { "deprecationReason": null, "description": "Can't add customer account domain to a market.", "isDeprecated": false, "name": "CANNOT_ADD_CUSTOMER_DOMAIN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketUserErrorCode", "possibleTypes": null }, { "description": "The market’s web presence, which defines its SEO strategy. This can be a different domain\n(e.g. `example.ca`), subdomain (e.g. `ca.example.com`), or subfolders of the primary\ndomain (e.g. `example.com/en-ca`). Each web presence comprises one or more language\nvariants. If a market does not have its own web presence, it is accessible on the shop’s\nprimary domain via [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).\n\nNote: while the domain/subfolders defined by a market’s web presence are not applicable to\ncustom storefronts, which must manage their own domains and routing, the languages chosen\nhere do govern [the languages available on the Storefront\nAPI](https://shopify.dev/custom-storefronts/internationalization/multiple-languages) for the countries in\nthis market.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ISO codes for the alternate locales. When a domain is used, these locales will be\navailable as language-specific subfolders. For example, if English is an\nalternate locale, and `example.ca` is the market’s domain, then\n`example.ca/en` will load in English.\n", "isDeprecated": false, "name": "alternateLocales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The ISO code for the default locale. When a domain is used, this is the locale that will\nbe used when the domain root is accessed. For example, if French is the default locale,\nand `example.ca` is the market’s domian, then `example.ca` will load in French.\n", "isDeprecated": false, "name": "defaultLocale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The web presence’s domain.\nThis field will be null if `subfolderSuffix` isn't null.\n", "isDeprecated": false, "name": "domain", "type": { "kind": "OBJECT", "name": "Domain", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The associated market.", "isDeprecated": false, "name": "market", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Market", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of root URLs for each of the web presence’s locales.\n", "isDeprecated": false, "name": "rootUrls", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketWebPresenceRootUrl", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The market-specific suffix of the subfolders defined by the web presence. Example: in `/en-us` the subfolder suffix is `us`. This field will be null if `domain` isn't null.", "isDeprecated": false, "name": "subfolderSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MarketWebPresence", "possibleTypes": null }, { "description": "The input fields used to create a web presence for a market.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The web presence's domain ID. This field must be `null` if the `subfolderSuffix` isn't `null`.\n", "name": "domainId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The default locale for the market’s web presence.\n", "name": "defaultLocale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The alternate locales for the market’s web presence.\n", "name": "alternateLocales", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The market-specific suffix of the subfolders defined by the web presence.\nFor example: in `/en-us`, the subfolder suffix is `us`.\nOnly ASCII characters are allowed. This field must be `null` if the `domainId` isn't `null`.\n", "name": "subfolderSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketWebPresenceCreateInput", "possibleTypes": null }, { "description": "Return type for `marketWebPresenceCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market object.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketWebPresenceCreatePayload", "possibleTypes": null }, { "description": "Return type for `marketWebPresenceDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted web presence.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The market for which the web presence was deleted.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketWebPresenceDeletePayload", "possibleTypes": null }, { "description": "The URL for the homepage of the online store in the context of a particular market and a\nparticular locale.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The locale that the storefront loads in.", "isDeprecated": false, "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketWebPresenceRootUrl", "possibleTypes": null }, { "description": "The input fields used to update a web presence for a market.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The web presence's domain ID. This field must be null if `subfolderSuffix` is not null.\n", "name": "domainId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The default locale for the market’s web presence.\n", "name": "defaultLocale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The alternate locales for the market’s web presence.\n", "name": "alternateLocales", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The market-specific suffix of the subfolders defined by the web presence.\nExample: in `/en-us` the subfolder suffix is `us`.\nOnly ASCII characters are allowed. This field must be null if `domainId` is not null.\n", "name": "subfolderSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketWebPresenceUpdateInput", "possibleTypes": null }, { "description": "Return type for `marketWebPresenceUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The market object.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketWebPresenceUpdatePayload", "possibleTypes": null }, { "description": "The marketing activity resource represents marketing that a\n merchant created through an app.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The URL of the marketing activity listing page in the marketing section.", "isDeprecated": false, "name": "activityListUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The amount spent on the marketing activity.", "isDeprecated": false, "name": "adSpend", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The app which created this marketing activity.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The errors generated when an app publishes the marketing activity.", "isDeprecated": false, "name": "appErrors", "type": { "kind": "OBJECT", "name": "MarketingActivityExtensionAppErrors", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The allocated budget for the marketing activity.", "isDeprecated": false, "name": "budget", "type": { "kind": "OBJECT", "name": "MarketingBudget", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the marketing activity was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The completed content in the marketing activity creation form.", "isDeprecated": false, "name": "formData", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the marketing activity is in the main workflow version of\n the marketing automation.", "isDeprecated": false, "name": "inMainWorkflowVersion", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The available marketing channels for a marketing activity.", "isDeprecated": false, "name": "marketingChannel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingChannel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Associated marketing event of this marketing activity.", "isDeprecated": false, "name": "marketingEvent", "type": { "kind": "OBJECT", "name": "MarketingEvent", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A contextual description of the marketing activity based on the platform and tactic used.", "isDeprecated": false, "name": "sourceAndMedium", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current state of the marketing activity.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingActivityStatus", "ofType": null } } }, { "args": [], "deprecationReason": "Use `statusBadgeTypeV2` instead.", "description": "The severity of the marketing activity's status.", "isDeprecated": true, "name": "statusBadgeType", "type": { "kind": "ENUM", "name": "MarketingActivityStatusBadgeType", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The severity of the marketing activity's status.", "isDeprecated": false, "name": "statusBadgeTypeV2", "type": { "kind": "ENUM", "name": "BadgeType", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The rendered status of the marketing activity.", "isDeprecated": false, "name": "statusLabel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The [date and time](\n https://help.shopify.com/https://en.wikipedia.org/wiki/ISO_8601\n ) when the activity's status last changed.", "isDeprecated": false, "name": "statusTransitionedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The method of marketing used for this marketing activity.", "isDeprecated": false, "name": "tactic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingTactic", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status to which the marketing activity is currently transitioning.", "isDeprecated": false, "name": "targetStatus", "type": { "kind": "ENUM", "name": "MarketingActivityStatus", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The marketing activity's title, which is rendered on the marketing listing page.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the marketing activity was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The set of [Urchin Tracking Module](\n https://help.shopify.com/https://en.wikipedia.org/wiki/UTM_parameters\n ) used in the URL for tracking this marketing activity.", "isDeprecated": false, "name": "utmParameters", "type": { "kind": "OBJECT", "name": "UTMParameters", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MarketingActivity", "possibleTypes": null }, { "description": "The input fields combining budget amount and its marketing budget type.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Budget type for marketing activity.", "name": "budgetType", "type": { "kind": "ENUM", "name": "MarketingBudgetBudgetType", "ofType": null } }, { "defaultValue": null, "description": "Amount of budget for the marketing activity.", "name": "total", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketingActivityBudgetInput", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MarketingActivities.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingActivityEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MarketingActivityEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingActivityConnection", "possibleTypes": null }, { "description": "The input fields for creating an externally-managed marketing activity.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title of the marketing activity.", "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign. `UTMInput` is required for all\nmarketing tactics except for the Storefront app marketing tactic.\n", "name": "utm", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UTMInput", "ofType": null } } }, { "defaultValue": null, "description": "The budget for this marketing activity.", "name": "budget", "type": { "kind": "INPUT_OBJECT", "name": "MarketingActivityBudgetInput", "ofType": null } }, { "defaultValue": null, "description": "The amount spent on the marketing activity.", "name": "adSpend", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, { "defaultValue": null, "description": "The ID of an activity that's hosted outside of Shopify.", "name": "remoteId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "URL for viewing and/or managing the activity outside of Shopify.", "name": "remoteUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "defaultValue": null, "description": "The URL for a preview image that's used for the marketing activity.", "name": "remotePreviewImageUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "defaultValue": null, "description": "Specifies the settings for the marketing platform and the ad format.\nThe marketing tactic determines which default fields are included\nin the marketing activity.\n", "name": "tactic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingTactic", "ofType": null } } }, { "defaultValue": null, "description": "The channel of your marketing event.", "name": "channel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingChannel", "ofType": null } } }, { "defaultValue": null, "description": "The referring domain.", "name": "referringDomain", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "When the activity is scheduled to start.", "name": "scheduledStart", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "When the activity is scheduled to end.", "name": "scheduledEnd", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "When the activity started.", "name": "start", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "When the activity ended.", "name": "end", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketingActivityCreateExternalInput", "possibleTypes": null }, { "description": "Return type for `marketingActivityCreateExternal` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The external marketing activity that was created.", "isDeprecated": false, "name": "marketingActivity", "type": { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingActivityUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingActivityCreateExternalPayload", "possibleTypes": null }, { "description": "The input fields required to create a marketing activity.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title of the marketing activity.", "name": "marketingActivityTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The form data in JSON serialized as a string.", "name": "formData", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the marketing activity extension.", "name": "marketingActivityExtensionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Encoded context containing marketing campaign id.", "name": "context", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign. UTMInput is required for all Marketing\ntactics except Storefront App.\n", "name": "utm", "type": { "kind": "INPUT_OBJECT", "name": "UTMInput", "ofType": null } }, { "defaultValue": null, "description": "The current state of the marketing activity.", "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingActivityStatus", "ofType": null } } }, { "defaultValue": null, "description": "The budget for this marketing activity.", "name": "budget", "type": { "kind": "INPUT_OBJECT", "name": "MarketingActivityBudgetInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketingActivityCreateInput", "possibleTypes": null }, { "description": "Return type for `marketingActivityCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created marketing activity.", "isDeprecated": false, "name": "marketingActivity", "type": { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to return back to shopify admin from embedded editor.", "isDeprecated": false, "name": "redirectPath", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingActivityCreatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one MarketingActivity and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MarketingActivityEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingActivityEdge", "possibleTypes": null }, { "description": "The error code resulted from the marketing activity extension integration.", "enumValues": [ { "deprecationReason": null, "description": "The shop/user must be onboarded to use the app.", "isDeprecated": false, "name": "NOT_ONBOARDED_ERROR" }, { "deprecationReason": null, "description": "The app has returned validation errors.", "isDeprecated": false, "name": "VALIDATION_ERROR" }, { "deprecationReason": null, "description": "The app is either not responding or returning unexpected data.", "isDeprecated": false, "name": "API_ERROR" }, { "deprecationReason": null, "description": "The app has returned an error when invoking the platform.", "isDeprecated": false, "name": "PLATFORM_ERROR" }, { "deprecationReason": null, "description": "The app needs to be installed.", "isDeprecated": false, "name": "INSTALL_REQUIRED_ERROR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingActivityExtensionAppErrorCode", "possibleTypes": null }, { "description": "Represents errors returned from apps when using the marketing activity extension.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The app error type.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingActivityExtensionAppErrorCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors returned by the app.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingActivityExtensionAppErrors", "possibleTypes": null }, { "description": "The set of valid sort keys for the MarketingActivity query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingActivitySortKeys", "possibleTypes": null }, { "description": "Status helps to identify if this marketing activity has been completed, queued, failed etc.", "enumValues": [ { "deprecationReason": null, "description": "This marketing activity is currently running.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "This marketing activity is permanently unavailable.", "isDeprecated": false, "name": "DELETED" }, { "deprecationReason": null, "description": "This marketing activity was deleted and it was triggered from outside of Shopify.", "isDeprecated": false, "name": "DELETED_EXTERNALLY" }, { "deprecationReason": null, "description": "This marketing activity is disconnected and no longer editable.", "isDeprecated": false, "name": "DISCONNECTED" }, { "deprecationReason": null, "description": "This marketing activity has been edited, but it is not yet created.", "isDeprecated": false, "name": "DRAFT" }, { "deprecationReason": null, "description": "This marketing activity is unable to run.", "isDeprecated": false, "name": "FAILED" }, { "deprecationReason": null, "description": "This marketing activity has completed running.", "isDeprecated": false, "name": "INACTIVE" }, { "deprecationReason": null, "description": "This marketing activity is currently not running.", "isDeprecated": false, "name": "PAUSED" }, { "deprecationReason": null, "description": "This marketing activity is pending creation on the app's marketing platform.", "isDeprecated": false, "name": "PENDING" }, { "deprecationReason": null, "description": "This marketing activity is scheduled to run.", "isDeprecated": false, "name": "SCHEDULED" }, { "deprecationReason": null, "description": "The marketing activity's status is unknown.", "isDeprecated": false, "name": "UNDEFINED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingActivityStatus", "possibleTypes": null }, { "description": "StatusBadgeType helps to identify the color of the status badge.", "enumValues": [ { "deprecationReason": null, "description": "This status badge has type default.", "isDeprecated": false, "name": "DEFAULT" }, { "deprecationReason": null, "description": "This status badge has type success.", "isDeprecated": false, "name": "SUCCESS" }, { "deprecationReason": null, "description": "This status badge has type attention.", "isDeprecated": false, "name": "ATTENTION" }, { "deprecationReason": null, "description": "This status badge has type warning.", "isDeprecated": false, "name": "WARNING" }, { "deprecationReason": null, "description": "This status badge has type info.", "isDeprecated": false, "name": "INFO" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingActivityStatusBadgeType", "possibleTypes": null }, { "description": "The input fields required to update an externally managed marketing activity.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title of the marketing activity.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign. UTMInput is required for all marketing\ntactics except the storefront app.\n", "name": "utm", "type": { "kind": "INPUT_OBJECT", "name": "UTMInput", "ofType": null } }, { "defaultValue": null, "description": "The budget for the marketing activity.", "name": "budget", "type": { "kind": "INPUT_OBJECT", "name": "MarketingActivityBudgetInput", "ofType": null } }, { "defaultValue": null, "description": "The amount spent on the marketing activity.", "name": "adSpend", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, { "defaultValue": null, "description": "The URL for managing the activity outside of Shopify.", "name": "remoteUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "defaultValue": null, "description": "The preview image URL for the marketing activity.", "name": "remotePreviewImageUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "defaultValue": null, "description": "The settings for the marketing platform and ad format.\nThe selection of the marketing tactic also determines which default fields are included\nin the marketing activity.\n", "name": "tactic", "type": { "kind": "ENUM", "name": "MarketingTactic", "ofType": null } }, { "defaultValue": null, "description": "The channel that your marketing event will use.", "name": "channel", "type": { "kind": "ENUM", "name": "MarketingChannel", "ofType": null } }, { "defaultValue": null, "description": "The referring domain.", "name": "referringDomain", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the activity is scheduled to start.", "name": "scheduledStart", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the activity is scheduled to end.", "name": "scheduledEnd", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the activity started.", "name": "start", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the activity ended.", "name": "end", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketingActivityUpdateExternalInput", "possibleTypes": null }, { "description": "Return type for `marketingActivityUpdateExternal` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated marketing activity.", "isDeprecated": false, "name": "marketingActivity", "type": { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingActivityUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingActivityUpdateExternalPayload", "possibleTypes": null }, { "description": "The input fields required to update a marketing activity.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the marketing activity.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the recommendation that the marketing activity was created from, if one exists.", "name": "marketingRecommendationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The title of the marketing activity.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The budget for the marketing activity.", "name": "budget", "type": { "kind": "INPUT_OBJECT", "name": "MarketingActivityBudgetInput", "ofType": null } }, { "defaultValue": null, "description": "The current state of the marketing activity. Learn more about\n[marketing activities statuses](/api/marketing-activities/statuses).\n", "name": "status", "type": { "kind": "ENUM", "name": "MarketingActivityStatus", "ofType": null } }, { "defaultValue": null, "description": "The target state that the marketing activity is transitioning to. Learn more about [marketing activities statuses](/api/marketing-activities/statuses).", "name": "targetStatus", "type": { "kind": "ENUM", "name": "MarketingActivityStatus", "ofType": null } }, { "defaultValue": null, "description": "The form data of the marketing activity. This is only used if the marketing activity is\n integrated with the external editor.", "name": "formData", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign. UTMInput is required for all Marketing\ntactics except Storefront App. The utm field can only be set once and never modified.\n", "name": "utm", "type": { "kind": "INPUT_OBJECT", "name": "UTMInput", "ofType": null } }, { "defaultValue": null, "description": "A list of the item IDs that were marketed in this marketing activity. Valid types for these items are:\n* `Product`\n* `Shop`\n", "name": "marketedResources", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The error messages that were generated when the app was trying to complete the activity.\nLearn more about the\n[JSON format expected for error messages](/api/marketing-activities/statuses#failed-status).\n", "name": "errors", "type": { "kind": "SCALAR", "name": "JSON", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketingActivityUpdateInput", "possibleTypes": null }, { "description": "Return type for `marketingActivityUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated marketing activity.", "isDeprecated": false, "name": "marketingActivity", "type": { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The redirect path from the embedded editor to the Shopify admin.", "isDeprecated": false, "name": "redirectPath", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingActivityUpdatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of a Shopify Marketing mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MarketingActivityUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MarketingActivityUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MarketingActivityUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingActivityUserErrorCode", "possibleTypes": null }, { "description": "This type combines budget amount and its marketing budget type.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The budget type for a marketing activity.", "isDeprecated": false, "name": "budgetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingBudgetBudgetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount of budget for marketing activity.", "isDeprecated": false, "name": "total", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingBudget", "possibleTypes": null }, { "description": "The budget type for a marketing activity.", "enumValues": [ { "deprecationReason": null, "description": "A daily budget.", "isDeprecated": false, "name": "DAILY" }, { "deprecationReason": null, "description": "A budget for the lifetime of a marketing activity.", "isDeprecated": false, "name": "LIFETIME" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingBudgetBudgetType", "possibleTypes": null }, { "description": "The available marketing channels for a marketing activity or event. A marketing channel is broad category of marketing, used for reporting aggregation.\n", "enumValues": [ { "deprecationReason": null, "description": "Paid search.", "isDeprecated": false, "name": "SEARCH" }, { "deprecationReason": null, "description": "Displayed ads.", "isDeprecated": false, "name": "DISPLAY" }, { "deprecationReason": null, "description": "Social media.", "isDeprecated": false, "name": "SOCIAL" }, { "deprecationReason": null, "description": "Email.", "isDeprecated": false, "name": "EMAIL" }, { "deprecationReason": null, "description": "Referral links.", "isDeprecated": false, "name": "REFERRAL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingChannel", "possibleTypes": null }, { "description": "Marketing engagement represents customer activity taken on a marketing event.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The total ad spend for the day, if the marketing event is a paid ad with a daily spend.", "isDeprecated": false, "name": "adSpend", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of clicks on the marketing event for the day.", "isDeprecated": false, "name": "clicksCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of comments for the day.", "isDeprecated": false, "name": "commentsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of complaints for the day.", "isDeprecated": false, "name": "complaintsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of fails for the day.", "isDeprecated": false, "name": "failsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of favorites for the day.", "isDeprecated": false, "name": "favoritesCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date time at which the data was fetched.", "isDeprecated": false, "name": "fetchedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of impressions for the day.", "isDeprecated": false, "name": "impressionsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the engagements are reported as lifetime values rather than daily totals.", "isDeprecated": false, "name": "isCumulative", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The marketing activity related to this engagement.", "isDeprecated": false, "name": "marketingActivity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date that these engagements occurred on.", "isDeprecated": false, "name": "occurredOn", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Date", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total number of sends for the day.", "isDeprecated": false, "name": "sendsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of shares for the day.", "isDeprecated": false, "name": "sharesCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of unique clicks for the day.", "isDeprecated": false, "name": "uniqueClicksCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of unique views for the day.", "isDeprecated": false, "name": "uniqueViewsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of unsubscribes for the day.", "isDeprecated": false, "name": "unsubscribesCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The UTC Offset that the app is using to determine which date to allocate spend to.", "isDeprecated": false, "name": "utcOffset", "type": { "kind": "SCALAR", "name": "UtcOffset", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total number of views for the day.", "isDeprecated": false, "name": "viewsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingEngagement", "possibleTypes": null }, { "description": "Return type for `marketingEngagementCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The marketing engagement that was created.", "isDeprecated": false, "name": "marketingEngagement", "type": { "kind": "OBJECT", "name": "MarketingEngagement", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingEngagementCreatePayload", "possibleTypes": null }, { "description": "The input fields for a marketing engagement.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The date that these engagements occurred on.", "name": "occurredOn", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Date", "ofType": null } } }, { "defaultValue": null, "description": "The total number of impressions for the day.", "name": "impressionsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of views for the day.", "name": "viewsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of clicks on the marketing event for the day.", "name": "clicksCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of shares for the day.", "name": "sharesCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of favorites for the day.", "name": "favoritesCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of comments for the day.", "name": "commentsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of unsubscribes for the day.", "name": "unsubscribesCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of complaints for the day.", "name": "complaintsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of fails for the day.", "name": "failsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of sends for the day.", "name": "sendsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of unique views for the day.", "name": "uniqueViewsCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total number of unique clicks for the day.", "name": "uniqueClicksCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The total ad spend for the day, if the marketing event is a paid ad with a daily spend.", "name": "adSpend", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, { "defaultValue": null, "description": "Whether the engagements are reported as lifetime values rather than daily totals.", "name": "isCumulative", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The UTC Offset that the app is using to determine which date to allocate spend to.", "name": "utcOffset", "type": { "kind": "SCALAR", "name": "UtcOffset", "ofType": null } }, { "defaultValue": null, "description": "The date time at which the data was fetched.", "name": "fetchedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MarketingEngagementInput", "possibleTypes": null }, { "description": "Represents actions that market a merchant's store or products.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The app that the marketing event is attributed to.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The marketing channel used by the marketing event.", "isDeprecated": false, "name": "channel", "type": { "kind": "ENUM", "name": "MarketingChannel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A human-readable description of the marketing event.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the marketing event ended.", "isDeprecated": false, "name": "endedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL where the marketing event can be managed.", "isDeprecated": false, "name": "manageUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL where the marketing event can be previewed.", "isDeprecated": false, "name": "previewUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "An optional ID that helps Shopify validate engagement data.", "isDeprecated": false, "name": "remoteId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the marketing event is scheduled to end.", "isDeprecated": false, "name": "scheduledToEndAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Where the `MarketingEvent` occurred and what kind of content was used.\nBecause `utmSource` and `utmMedium` are often used interchangeably, this is\nbased on a combination of `marketingChannel`, `referringDomain`, and `type` to\nprovide a consistent representation for any given piece of marketing\nregardless of the app that created it.\n", "isDeprecated": false, "name": "sourceAndMedium", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the marketing event started.", "isDeprecated": false, "name": "startedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": "Use `sourceAndMedium` instead.", "description": "The display text for the marketing event type.", "isDeprecated": true, "name": "targetTypeDisplayText", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The marketing event type.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketingTactic", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the marketing campaign.", "isDeprecated": false, "name": "utmCampaign", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The medium that the marketing campaign is using. Example values: `cpc`, `banner`.", "isDeprecated": false, "name": "utmMedium", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The referrer of the marketing event. Example values: `google`, `newsletter`.", "isDeprecated": false, "name": "utmSource", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MarketingEvent", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MarketingEvents.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingEventEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MarketingEventEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingEvent", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingEventConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one MarketingEvent and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MarketingEventEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingEvent", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MarketingEventEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the MarketingEvent query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `started_at` value.", "isDeprecated": false, "name": "STARTED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingEventSortKeys", "possibleTypes": null }, { "description": "The available types of marketing event.", "enumValues": [ { "deprecationReason": null, "description": "An abandoned cart recovery email.", "isDeprecated": false, "name": "ABANDONED_CART" }, { "deprecationReason": null, "description": "An ad, such as a Facebook ad.", "isDeprecated": false, "name": "AD" }, { "deprecationReason": null, "description": "An affiliate link.", "isDeprecated": false, "name": "AFFILIATE" }, { "deprecationReason": null, "description": "A link.", "isDeprecated": false, "name": "LINK" }, { "deprecationReason": null, "description": "A loyalty program.", "isDeprecated": false, "name": "LOYALTY" }, { "deprecationReason": null, "description": "A messaging app, such as Facebook Messenger.", "isDeprecated": false, "name": "MESSAGE" }, { "deprecationReason": null, "description": "A newsletter.", "isDeprecated": false, "name": "NEWSLETTER" }, { "deprecationReason": null, "description": "A notification in the Shopify admin.", "isDeprecated": false, "name": "NOTIFICATION" }, { "deprecationReason": null, "description": "A blog post.", "isDeprecated": false, "name": "POST" }, { "deprecationReason": null, "description": "A retargeting ad.", "isDeprecated": false, "name": "RETARGETING" }, { "deprecationReason": null, "description": "A transactional email.", "isDeprecated": false, "name": "TRANSACTIONAL" }, { "deprecationReason": null, "description": "Search engine optimization.", "isDeprecated": false, "name": "SEO" }, { "deprecationReason": null, "description": "A direct visit to the online store.", "isDeprecated": false, "name": "DIRECT" }, { "deprecationReason": null, "description": "A popup on the online store.", "isDeprecated": false, "name": "STOREFRONT_APP" }, { "deprecationReason": "`DISPLAY` is deprecated. Use `AD` instead.", "description": "A display ad.", "isDeprecated": true, "name": "DISPLAY" }, { "deprecationReason": "`SEARCH` is deprecated. Use `AD` instead.", "description": "Paid search.", "isDeprecated": true, "name": "SEARCH" }, { "deprecationReason": "'FOLLOW_UP' is deprecated. Use 'TRANSACTIONAL' instead.", "description": "A follow-up email.", "isDeprecated": true, "name": "FOLLOW_UP" }, { "deprecationReason": "'RECEIPT' is deprecated. Use 'TRANSACTIONAL' instead.", "description": "A promotional receipt.", "isDeprecated": true, "name": "RECEIPT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MarketingTactic", "possibleTypes": null }, { "description": "Represents a media interface.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A word or phrase to share the nature or contents of a media.", "isDeprecated": false, "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The media content type.", "isDeprecated": false, "name": "mediaContentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Any errors which have occurred on the media.", "isDeprecated": false, "name": "mediaErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The warnings attached to the media.", "isDeprecated": false, "name": "mediaWarnings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaWarning", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The preview image for the media.", "isDeprecated": false, "name": "preview", "type": { "kind": "OBJECT", "name": "MediaPreviewImage", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Current status of the media.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "Media", "possibleTypes": [ { "kind": "OBJECT", "name": "ExternalVideo", "ofType": null }, { "kind": "OBJECT", "name": "MediaImage", "ofType": null }, { "kind": "OBJECT", "name": "Model3d", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple Media.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MediaEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Media", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MediaConnection", "possibleTypes": null }, { "description": "The possible content types for a media object.", "enumValues": [ { "deprecationReason": null, "description": "A Shopify-hosted video.", "isDeprecated": false, "name": "VIDEO" }, { "deprecationReason": null, "description": "An externally hosted video.", "isDeprecated": false, "name": "EXTERNAL_VIDEO" }, { "deprecationReason": null, "description": "A 3d model.", "isDeprecated": false, "name": "MODEL_3D" }, { "deprecationReason": null, "description": "A Shopify-hosted image.", "isDeprecated": false, "name": "IMAGE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MediaContentType", "possibleTypes": null }, { "description": "An auto-generated type which holds one Media and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MediaEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Media", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MediaEdge", "possibleTypes": null }, { "description": "Represents a media error. This typically occurs when there is an issue with the media itself causing it to fail validation.\nCheck the media before attempting to upload again.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Code representing the type of error.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaErrorCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Additional details regarding the error.", "isDeprecated": false, "name": "details", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Translated error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MediaError", "possibleTypes": null }, { "description": "Error types for media.", "enumValues": [ { "deprecationReason": null, "description": "Media error has occured for unknown reason.", "isDeprecated": false, "name": "UNKNOWN" }, { "deprecationReason": null, "description": "Media could not be processed because the signed URL was invalid.", "isDeprecated": false, "name": "INVALID_SIGNED_URL" }, { "deprecationReason": null, "description": "Media could not be processed because the image could not be downloaded.", "isDeprecated": false, "name": "IMAGE_DOWNLOAD_FAILURE" }, { "deprecationReason": null, "description": "Media could not be processed because the image could not be processed.", "isDeprecated": false, "name": "IMAGE_PROCESSING_FAILURE" }, { "deprecationReason": null, "description": "Media timed out because it is currently being modified by another operation.", "isDeprecated": false, "name": "MEDIA_TIMEOUT_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because the external video could not be found.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_NOT_FOUND" }, { "deprecationReason": null, "description": "Media could not be created because the external video is not listed or is private.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_UNLISTED" }, { "deprecationReason": null, "description": "Media could not be created because the external video has an invalid aspect ratio.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_INVALID_ASPECT_RATIO" }, { "deprecationReason": null, "description": "Media could not be created because embed permissions are disabled for this video.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_EMBED_DISABLED" }, { "deprecationReason": null, "description": "Media could not be created because video is either not found or still transcoding.", "isDeprecated": false, "name": "EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING" }, { "deprecationReason": null, "description": "File could not be processed because the source could not be downloaded.", "isDeprecated": false, "name": "GENERIC_FILE_DOWNLOAD_FAILURE" }, { "deprecationReason": null, "description": "File could not be created because the size is too large.", "isDeprecated": false, "name": "GENERIC_FILE_INVALID_SIZE" }, { "deprecationReason": null, "description": "Media could not be created because the metadata could not be read.", "isDeprecated": false, "name": "VIDEO_METADATA_READ_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because it has an invalid file type.", "isDeprecated": false, "name": "VIDEO_INVALID_FILETYPE_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because it does not meet the minimum width requirement.", "isDeprecated": false, "name": "VIDEO_MIN_WIDTH_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because it does not meet the maximum width requirement.", "isDeprecated": false, "name": "VIDEO_MAX_WIDTH_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because it does not meet the minimum height requirement.", "isDeprecated": false, "name": "VIDEO_MIN_HEIGHT_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because it does not meet the maximum height requirement.", "isDeprecated": false, "name": "VIDEO_MAX_HEIGHT_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because it does not meet the minimum duration requirement.", "isDeprecated": false, "name": "VIDEO_MIN_DURATION_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because it does not meet the maximum duration requirement.", "isDeprecated": false, "name": "VIDEO_MAX_DURATION_ERROR" }, { "deprecationReason": null, "description": "Video failed validation.", "isDeprecated": false, "name": "VIDEO_VALIDATION_ERROR" }, { "deprecationReason": null, "description": "Model failed validation.", "isDeprecated": false, "name": "MODEL3D_VALIDATION_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because the model's thumbnail generation failed.", "isDeprecated": false, "name": "MODEL3D_THUMBNAIL_GENERATION_ERROR" }, { "deprecationReason": null, "description": "There was an issue while trying to generate a new thumbnail.", "isDeprecated": false, "name": "MODEL3D_THUMBNAIL_REGENERATION_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because the model can't be converted to USDZ format.", "isDeprecated": false, "name": "MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because the model file failed processing.", "isDeprecated": false, "name": "MODEL3D_GLB_OUTPUT_CREATION_ERROR" }, { "deprecationReason": null, "description": "Media could not be created because the model file failed processing.", "isDeprecated": false, "name": "MODEL3D_PROCESSING_FAILURE" }, { "deprecationReason": null, "description": "Media could not be created because the image is an unsupported file type.", "isDeprecated": false, "name": "UNSUPPORTED_IMAGE_FILE_TYPE" }, { "deprecationReason": null, "description": "Media could not be created because the image size is too large.", "isDeprecated": false, "name": "INVALID_IMAGE_FILE_SIZE" }, { "deprecationReason": null, "description": "Media could not be created because the image has an invalid aspect ratio.", "isDeprecated": false, "name": "INVALID_IMAGE_ASPECT_RATIO" }, { "deprecationReason": null, "description": "Media could not be created because the image's resolution exceeds the max limit.", "isDeprecated": false, "name": "INVALID_IMAGE_RESOLUTION" }, { "deprecationReason": null, "description": "Media could not be created because the cumulative file storage limit would be exceeded.", "isDeprecated": false, "name": "FILE_STORAGE_LIMIT_EXCEEDED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MediaErrorCode", "possibleTypes": null }, { "description": "Host for a Media Resource.", "enumValues": [ { "deprecationReason": null, "description": "Host for YouTube embedded videos.", "isDeprecated": false, "name": "YOUTUBE" }, { "deprecationReason": null, "description": "Host for Vimeo embedded videos.", "isDeprecated": false, "name": "VIMEO" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MediaHost", "possibleTypes": null }, { "description": "An image hosted on Shopify.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A word or phrase to share the nature or contents of a media.", "isDeprecated": false, "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.\n", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Any errors that have occurred on the file.", "isDeprecated": false, "name": "fileErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FileError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The status of the file.", "isDeprecated": false, "name": "fileStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FileStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The image for the media. Returns `null` until `status` is `READY`.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The media content type.", "isDeprecated": false, "name": "mediaContentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Any errors which have occurred on the media.", "isDeprecated": false, "name": "mediaErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The warnings attached to the media.", "isDeprecated": false, "name": "mediaWarnings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaWarning", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The MIME type of the image.", "isDeprecated": false, "name": "mimeType", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The original source of the image.", "isDeprecated": false, "name": "originalSource", "type": { "kind": "OBJECT", "name": "MediaImageOriginalSource", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The preview image for the media.", "isDeprecated": false, "name": "preview", "type": { "kind": "OBJECT", "name": "MediaPreviewImage", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Current status of the media.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "File", "ofType": null }, { "kind": "INTERFACE", "name": "Media", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MediaImage", "possibleTypes": null }, { "description": "The original source for an image.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The size of the original file in bytes.", "isDeprecated": false, "name": "fileSize", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MediaImageOriginalSource", "possibleTypes": null }, { "description": "Represents the preview image for a media.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The preview image for the media. Returns `null` until `status` is `READY`.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Current status of the preview image.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaPreviewImageStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MediaPreviewImage", "possibleTypes": null }, { "description": "The possible statuses for a media preview image.", "enumValues": [ { "deprecationReason": null, "description": "Preview image is uploaded but not yet processed.", "isDeprecated": false, "name": "UPLOADED" }, { "deprecationReason": null, "description": "Preview image is being processed.", "isDeprecated": false, "name": "PROCESSING" }, { "deprecationReason": null, "description": "Preview image is ready to be displayed.", "isDeprecated": false, "name": "READY" }, { "deprecationReason": null, "description": "Preview image processing has failed.", "isDeprecated": false, "name": "FAILED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MediaPreviewImageStatus", "possibleTypes": null }, { "description": "The possible statuses for a media object.", "enumValues": [ { "deprecationReason": null, "description": "Media has been uploaded but not yet processed.", "isDeprecated": false, "name": "UPLOADED" }, { "deprecationReason": null, "description": "Media is being processed.", "isDeprecated": false, "name": "PROCESSING" }, { "deprecationReason": null, "description": "Media is ready to be displayed.", "isDeprecated": false, "name": "READY" }, { "deprecationReason": null, "description": "Media processing has failed.", "isDeprecated": false, "name": "FAILED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MediaStatus", "possibleTypes": null }, { "description": "Represents an error that happens during execution of a Media query or mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MediaUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MediaUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MediaUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "Video validation failed.", "isDeprecated": false, "name": "VIDEO_VALIDATION_ERROR" }, { "deprecationReason": null, "description": "Model validation failed.", "isDeprecated": false, "name": "MODEL3D_VALIDATION_ERROR" }, { "deprecationReason": null, "description": "Video creation throttle was exceeded.", "isDeprecated": false, "name": "VIDEO_THROTTLE_EXCEEDED" }, { "deprecationReason": null, "description": "Model3d creation throttle was exceeded.", "isDeprecated": false, "name": "MODEL3D_THROTTLE_EXCEEDED" }, { "deprecationReason": null, "description": "Exceeded the limit of media per product.", "isDeprecated": false, "name": "PRODUCT_MEDIA_LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "Exceeded the limit of media per shop.", "isDeprecated": false, "name": "SHOP_MEDIA_LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "Product does not exist.", "isDeprecated": false, "name": "PRODUCT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Media does not exist.", "isDeprecated": false, "name": "MEDIA_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Media does not exist on the given product.", "isDeprecated": false, "name": "MEDIA_DOES_NOT_EXIST_ON_PRODUCT" }, { "deprecationReason": null, "description": "Only one mediaId is allowed per variant-media input pair.", "isDeprecated": false, "name": "TOO_MANY_MEDIA_PER_INPUT_PAIR" }, { "deprecationReason": null, "description": "Exceeded the maximum number of 100 variant-media pairs per mutation call.", "isDeprecated": false, "name": "MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED" }, { "deprecationReason": null, "description": "Invalid media type.", "isDeprecated": false, "name": "INVALID_MEDIA_TYPE" }, { "deprecationReason": null, "description": "Variant specified in more than one pair.", "isDeprecated": false, "name": "PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES" }, { "deprecationReason": null, "description": "Variant does not exist on the given product.", "isDeprecated": false, "name": "PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT" }, { "deprecationReason": null, "description": "Non-ready media are not supported.", "isDeprecated": false, "name": "NON_READY_MEDIA" }, { "deprecationReason": null, "description": "Product variant already has attached media.", "isDeprecated": false, "name": "PRODUCT_VARIANT_ALREADY_HAS_MEDIA" }, { "deprecationReason": null, "description": "The specified media is not attached to the specified variant.", "isDeprecated": false, "name": "MEDIA_IS_NOT_ATTACHED_TO_VARIANT" }, { "deprecationReason": null, "description": "Media cannot be modified. It is currently being modified by another operation.", "isDeprecated": false, "name": "MEDIA_CANNOT_BE_MODIFIED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MediaUserErrorCode", "possibleTypes": null }, { "description": "Represents a media warning. This occurs when there is a non-blocking concern regarding your media.\nConsider reviewing your media to ensure it is correct and its parameters are as expected.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The code representing the type of warning.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaWarningCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Translated warning message.", "isDeprecated": false, "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MediaWarning", "possibleTypes": null }, { "description": "Warning types for media.", "enumValues": [ { "deprecationReason": null, "description": "3D model physical size might be invalid. The dimensions of your model are very small. Consider reviewing your model to ensure they are correct.", "isDeprecated": false, "name": "MODEL_SMALL_PHYSICAL_SIZE" }, { "deprecationReason": null, "description": "3D model physical size might be invalid. The dimensions of your model are very large. Consider reviewing your model to ensure they are correct.", "isDeprecated": false, "name": "MODEL_LARGE_PHYSICAL_SIZE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MediaWarningCode", "possibleTypes": null }, { "description": "The class of the discount for combining purposes.", "enumValues": [ { "deprecationReason": null, "description": "Combined as a product discount.", "isDeprecated": false, "name": "PRODUCT" }, { "deprecationReason": null, "description": "Combined as an order discount.", "isDeprecated": false, "name": "ORDER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MerchandiseDiscountClass", "possibleTypes": null }, { "description": "Merchant approval for accelerated onboarding to channel integration apps.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the shop's Shopify Payments account identity is verified. Returns `false` if the identity is unverified or if the shop doesn't have a Shopify Payments account.", "isDeprecated": false, "name": "identityVerified", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether Shopify has pre-verified the merchant's business for onboarding to channel integration apps. Returns `false` if the shop is not marked for verification.", "isDeprecated": false, "name": "verifiedByShopify", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Which tier of the Shopify verification was determined for the merchant's business for onboarding to channel integration apps.", "isDeprecated": false, "name": "verifiedByShopifyTier", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MerchantApprovalSignals", "possibleTypes": null }, { "description": "Metafields enable you to attach additional information to a Shopify resource, such as a [Product](https://shopify.dev/api/admin-graphql/latest/objects/product) or a [Collection](https://shopify.dev/api/admin-graphql/latest/objects/collection).\nFor more information about where you can attach metafields refer to [HasMetafields](https://shopify.dev/api/admin/graphql/reference/common-objects/HasMetafields).\nSome examples of the data that metafields enable you to store are specifications, size charts, downloadable documents, release dates, images, or part numbers.\nMetafields are identified by an owner resource, namespace, and key. and store a value along with type information for that value.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the metafield was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The metafield definition that the metafield belongs to, if any.", "isDeprecated": false, "name": "definition", "type": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The description of the metafield.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique identifier for the metafield within its namespace.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The container for a group of metafields that the metafield is associated with.\n", "isDeprecated": false, "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The resource that the metafield is attached to.", "isDeprecated": false, "name": "owner", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of resource that the metafield is attached to.\n", "isDeprecated": false, "name": "ownerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Returns a reference object if the metafield definition's type is a resource reference.", "isDeprecated": false, "name": "reference", "type": { "kind": "UNION", "name": "MetafieldReference", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of reference objects if the metafield's type is a resource reference list.", "isDeprecated": false, "name": "references", "type": { "kind": "OBJECT", "name": "MetafieldReferenceConnection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of data that is stored in the metafield.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).\n", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the metafield was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The data stored in the metafield. Always stored as a string, regardless of the metafield's type.\n", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Metafield", "possibleTypes": null }, { "description": "The access settings for this metafield definition.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The admin access setting used for the metafields under this definition.", "isDeprecated": false, "name": "admin", "type": { "kind": "ENUM", "name": "MetafieldAdminAccess", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldAccess", "possibleTypes": null }, { "description": "The input fields for the access settings for the metafields under the definition.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The admin access setting to use for the metafields under this definition.", "name": "admin", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldAdminAccess", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetafieldAccessInput", "possibleTypes": null }, { "description": "Possible admin access settings for metafields.", "enumValues": [ { "deprecationReason": null, "description": "Owner gets full access. No one else has access rights.", "isDeprecated": false, "name": "PRIVATE" }, { "deprecationReason": null, "description": "Owner gets full access. The merchant has read-only access. No one else has access rights.", "isDeprecated": false, "name": "MERCHANT_READ" }, { "deprecationReason": null, "description": "Owner gets full access. The merchant has read and write access. No one else has access rights.", "isDeprecated": false, "name": "MERCHANT_READ_WRITE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldAdminAccess", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Metafields.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MetafieldEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Metafield", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldConnection", "possibleTypes": null }, { "description": "Metafield definitions enable you to define additional validation constraints for metafields, and enable the\nmerchant to edit metafield values in context.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The access settings associated with the metafield definition.", "isDeprecated": false, "name": "access", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldAccess", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the metafield definition.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique identifier for the metafield definition within its namespace.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": "ANY", "description": "Returns the metafields filtered by the validation status.", "name": "validationStatus", "type": { "kind": "ENUM", "name": "MetafieldValidationStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The metafields that belong to the metafield definition.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The current validation status.", "name": "validationStatus", "type": { "kind": "ENUM", "name": "MetafieldValidationStatus", "ofType": null } } ], "deprecationReason": null, "description": "The count of the metafields that belong to the metafield definition.", "isDeprecated": false, "name": "metafieldsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The human-readable name of the metafield definition.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The container for a group of metafields that the metafield definition is associated with.", "isDeprecated": false, "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The resource type that the metafield definition is attached to.", "isDeprecated": false, "name": "ownerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The position of the metafield definition in the pinned list.", "isDeprecated": false, "name": "pinnedPosition", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The standard metafield definition template associated with the metafield definition.", "isDeprecated": false, "name": "standardTemplate", "type": { "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplate", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of data that each of the metafields that belong to the metafield definition will store.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).\n", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the metafield definition can be used as a collection condition.", "isDeprecated": false, "name": "useAsCollectionCondition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The validation status for the metafields that belong to the metafield definition.", "isDeprecated": false, "name": "validationStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldDefinitionValidationStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.\n", "isDeprecated": false, "name": "validations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionValidation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether each of the metafields that belong to the metafield definition are visible from the Storefront API.\n", "isDeprecated": false, "name": "visibleToStorefrontApi", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MetafieldDefinition", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MetafieldDefinitions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MetafieldDefinitionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "possibleTypes": null }, { "description": "Return type for `metafieldDefinitionCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The metafield definition that was created.", "isDeprecated": false, "name": "createdDefinition", "type": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionCreateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionCreatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `MetafieldDefinitionCreate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MetafieldDefinitionCreateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MetafieldDefinitionCreateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MetafieldDefinitionCreateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The definition limit per owner type has exceeded.", "isDeprecated": false, "name": "RESOURCE_TYPE_LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "The maximum limit of definitions per owner type has exceeded.", "isDeprecated": false, "name": "LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "An invalid option.", "isDeprecated": false, "name": "INVALID_OPTION" }, { "deprecationReason": null, "description": "A duplicate option.", "isDeprecated": false, "name": "DUPLICATE_OPTION" }, { "deprecationReason": null, "description": "This namespace and key combination is reserved for standard definitions.", "isDeprecated": false, "name": "RESERVED_NAMESPACE_KEY" }, { "deprecationReason": null, "description": "The pinned limit has been reached for the owner type.", "isDeprecated": false, "name": "PINNED_LIMIT_REACHED" }, { "deprecationReason": null, "description": "This namespace and key combination is already in use for a set of your metafields.", "isDeprecated": false, "name": "UNSTRUCTURED_ALREADY_EXISTS" }, { "deprecationReason": null, "description": "A field contains an invalid character.", "isDeprecated": false, "name": "INVALID_CHARACTER" }, { "deprecationReason": null, "description": "The definition type is not eligible to be used as collection condition.", "isDeprecated": false, "name": "TYPE_NOT_ALLOWED_FOR_CONDITIONS" }, { "deprecationReason": null, "description": "You have reached the maximum allowed definitions for automated collections.", "isDeprecated": false, "name": "OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldDefinitionCreateUserErrorCode", "possibleTypes": null }, { "description": "Return type for `metafieldDefinitionDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The id of the deleted metafield definition.", "isDeprecated": false, "name": "deletedDefinitionId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionDeleteUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionDeletePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `MetafieldDefinitionDelete`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MetafieldDefinitionDeleteUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MetafieldDefinitionDeleteUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MetafieldDefinitionDeleteUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "Definition not found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "An internal error occurred.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Deleting a reference type metafield definition requires deletion of its associated metafields.", "isDeprecated": false, "name": "REFERENCE_TYPE_DELETION_ERROR" }, { "deprecationReason": null, "description": "Action cannot proceed. Definition is currently in use.", "isDeprecated": false, "name": "METAFIELD_DEFINITION_IN_USE" }, { "deprecationReason": null, "description": "Owner type can't be used in this mutation.", "isDeprecated": false, "name": "DISALLOWED_OWNER_TYPE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldDefinitionDeleteUserErrorCode", "possibleTypes": null }, { "description": "An auto-generated type which holds one MetafieldDefinition and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MetafieldDefinitionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionEdge", "possibleTypes": null }, { "description": "The input fields required to create a metafield definition.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The container for a group of metafields that the metafield definition will be associated with.\n\nMust be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters.\n", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The unique identifier for the metafield definition within its namespace.\n\nMust be 3-64 characters long and only contain alphanumeric, hyphen, and underscore characters.\n", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The human-readable name for the metafield definition.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The description for the metafield definition.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The resource type that the metafield definition is attached to.", "name": "ownerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } }, { "defaultValue": null, "description": "The type of data that each of the metafields that belong to the metafield definition will store.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).\n", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.\n", "name": "validations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionValidationInput", "ofType": null } } } }, { "defaultValue": "false", "description": "Whether metafields for the metafield definition are visible using the Storefront API.", "name": "visibleToStorefrontApi", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "Whether the metafield definition can be used as a collection condition.", "name": "useAsCollectionCondition", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "Whether to [pin](https://help.shopify.com/manual/custom-data/metafields/pinning-metafield-definitions)\nthe metafield definition.\n", "name": "pin", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The access settings that apply to each of the metafields that belong to the metafield definition.", "name": "access", "type": { "kind": "INPUT_OBJECT", "name": "MetafieldAccessInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionInput", "possibleTypes": null }, { "description": "Return type for `metafieldDefinitionPin` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The metafield definition that was pinned.", "isDeprecated": false, "name": "pinnedDefinition", "type": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionPinUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionPinPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `MetafieldDefinitionPin`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MetafieldDefinitionPinUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MetafieldDefinitionPinUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The metafield definition was not found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "The pinned limit has been reached for owner type.", "isDeprecated": false, "name": "PINNED_LIMIT_REACHED" }, { "deprecationReason": null, "description": "The metafield definition is already pinned.", "isDeprecated": false, "name": "ALREADY_PINNED" }, { "deprecationReason": null, "description": "An internal error occurred.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Owner type can't be used in this mutation.", "isDeprecated": false, "name": "DISALLOWED_OWNER_TYPE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldDefinitionPinUserErrorCode", "possibleTypes": null }, { "description": "Possible metafield definition pinned statuses.", "enumValues": [ { "deprecationReason": null, "description": "All metafield definitions.", "isDeprecated": false, "name": "ANY" }, { "deprecationReason": null, "description": "Only metafield definitions that are pinned.", "isDeprecated": false, "name": "PINNED" }, { "deprecationReason": null, "description": "Only metafield definitions that are not pinned.", "isDeprecated": false, "name": "UNPINNED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "possibleTypes": null }, { "description": "The set of valid sort keys for the MetafieldDefinition query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `pinned_position` value.", "isDeprecated": false, "name": "PINNED_POSITION" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "possibleTypes": null }, { "description": "The type and name for the optional validation configuration of a metafield.\n\nFor example, a supported validation might consist of a `max` name and a `number_integer` type.\nThis validation can then be used to enforce a maximum character length for a `single_line_text_field` metafield.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the metafield definition validation.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of input for the validation.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionSupportedValidation", "possibleTypes": null }, { "description": "A metafield definition type provides basic foundation and validation for a metafield.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The category associated with the metafield definition type.", "isDeprecated": false, "name": "category", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the type for the metafield definition.\nSee the list of [supported types](https://shopify.dev/apps/metafields/types).\n", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The supported validations for a metafield definition type.", "isDeprecated": false, "name": "supportedValidations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionSupportedValidation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether metafields without a definition can be migrated to a definition of this type.", "isDeprecated": false, "name": "supportsDefinitionMigrations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "`valueType` is deprecated and `name` should be used for type information.", "description": "The value type for a metafield created with this definition type.", "isDeprecated": true, "name": "valueType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldValueType", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionType", "possibleTypes": null }, { "description": "Return type for `metafieldDefinitionUnpin` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The metafield definition that was unpinned.", "isDeprecated": false, "name": "unpinnedDefinition", "type": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionUnpinUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionUnpinPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `MetafieldDefinitionUnpin`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MetafieldDefinitionUnpinUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MetafieldDefinitionUnpinUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MetafieldDefinitionUnpinUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The metafield definition was not found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "The metafield definition isn't pinned.", "isDeprecated": false, "name": "NOT_PINNED" }, { "deprecationReason": null, "description": "An internal error occurred.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Owner type can't be used in this mutation.", "isDeprecated": false, "name": "DISALLOWED_OWNER_TYPE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldDefinitionUnpinUserErrorCode", "possibleTypes": null }, { "description": "The input fields required to update a metafield definition.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The container for a group of metafields that the metafield definition is associated with. Used to help identify\nthe metafield definition, but cannot be updated itself.\n", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The unique identifier for the metafield definition within its namespace. Used to help identify the metafield\ndefinition, but cannot be updated itself.\n", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The human-readable name for the metafield definition.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The description for the metafield definition.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The resource type that the metafield definition is attached to. Used to help identify the metafield definition,\nbut cannot be updated itself.\n", "name": "ownerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } }, { "defaultValue": null, "description": "A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.\n", "name": "validations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionValidationInput", "ofType": null } } } }, { "defaultValue": null, "description": "Whether to pin the metafield definition.", "name": "pin", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "Whether each of the metafields that belong to the metafield definition are visible from the Storefront API.\n", "name": "visibleToStorefrontApi", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "Whether the metafield definition can be used as a collection condition.", "name": "useAsCollectionCondition", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The access settings that apply to each of the metafields that belong to the metafield definition.", "name": "access", "type": { "kind": "INPUT_OBJECT", "name": "MetafieldAccessInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionUpdateInput", "possibleTypes": null }, { "description": "Return type for `metafieldDefinitionUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The metafield definition that was updated.", "isDeprecated": false, "name": "updatedDefinition", "type": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionUpdateUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The asynchronous job updating the metafield definition's validation_status.", "isDeprecated": false, "name": "validationJob", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionUpdatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `MetafieldDefinitionUpdate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MetafieldDefinitionUpdateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MetafieldDefinitionUpdateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MetafieldDefinitionUpdateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The metafield definition wasn't found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "An invalid input.", "isDeprecated": false, "name": "INVALID_INPUT" }, { "deprecationReason": null, "description": "The pinned limit has been reached for the owner type.", "isDeprecated": false, "name": "PINNED_LIMIT_REACHED" }, { "deprecationReason": null, "description": "An internal error occurred.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "The definition type is not eligible to be used as collection condition.", "isDeprecated": false, "name": "TYPE_NOT_ALLOWED_FOR_CONDITIONS" }, { "deprecationReason": null, "description": "Action cannot proceed. Definition is currently in use.", "isDeprecated": false, "name": "METAFIELD_DEFINITION_IN_USE" }, { "deprecationReason": null, "description": "You have reached the maximum allowed definitions for automated collections.", "isDeprecated": false, "name": "OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldDefinitionUpdateUserErrorCode", "possibleTypes": null }, { "description": "A configured metafield definition validation.\n\nFor example, for a metafield definition of `number_integer` type, you can set a validation with the name `max`\nand a value of `15`. This validation will ensure that the value of the metafield is a number less than or equal to 15.\n\nRefer to the [list of supported validations](https://shopify.dev/api/admin/graphql/reference/common-objects/metafieldDefinitionTypes#examples-Fetch_all_metafield_definition_types).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The validation name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name for the metafield type of this validation.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The validation value.", "isDeprecated": false, "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDefinitionValidation", "possibleTypes": null }, { "description": "The name and value for a metafield definition validation.\n\nFor example, for a metafield definition of `single_line_text_field` type, you can set a validation with the name `min` and a value of `10`.\nThis validation will ensure that the value of the metafield is at least 10 characters.\n\nRefer to the [list of supported validations](https://shopify.dev/api/admin/graphql/reference/common-objects/metafieldDefinitionTypes#examples-Fetch_all_metafield_definition_types).\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name for the metafield definition validation.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The value for the metafield definition validation.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionValidationInput", "possibleTypes": null }, { "description": "Possible metafield definition validation statuses.", "enumValues": [ { "deprecationReason": null, "description": "All of this definition's metafields are valid.", "isDeprecated": false, "name": "ALL_VALID" }, { "deprecationReason": null, "description": "Asynchronous validation of this definition's metafields is in progress.", "isDeprecated": false, "name": "IN_PROGRESS" }, { "deprecationReason": null, "description": "Some of this definition's metafields are invalid.", "isDeprecated": false, "name": "SOME_INVALID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldDefinitionValidationStatus", "possibleTypes": null }, { "description": "The input fields to delete a metafield.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the metafield to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetafieldDeleteInput", "possibleTypes": null }, { "description": "Return type for `metafieldDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted metafield.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Metafield and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MetafieldEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Metafield", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldEdge", "possibleTypes": null }, { "description": "The input fields to use to create or update a metafield through a mutation on the owning resource.\nAn alternative way to create or update a metafield is by using the\n[metafieldsSet](https://shopify.dev/api/admin-graphql/latest/mutations/metafieldsSet) mutation.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The unique ID of the metafield.\n\nRequired when updating a metafield, but should not be included when creating as it's created automatically.\n", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The container for a group of metafields that the metafield is or will be associated with. Used in tandem with\n`key` to lookup a metafield on a resource, preventing conflicts with other metafields with the same `key`.\n\nRequired when creating a metafield, but optional when updating. Used to help identify the metafield when\nupdating, but cannot be updated itself.\n\nMust be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters.\n", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The unique identifier for a metafield within its namespace.\n\nRequired when creating a metafield, but optional when updating. Used to help identify the metafield when\nupdating, but cannot be updated itself.\n\nMust be 3-64 characters long and can contain alphanumeric, hyphen, and underscore characters.\n", "name": "key", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The data stored in the metafield. Always stored as a string, regardless of the metafield's type.\n", "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The type of data that is stored in the metafield.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).\n\nRequired when creating a metafield, but optional when updating.\n", "name": "type", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetafieldInput", "possibleTypes": null }, { "description": "Possible types of a metafield's owner resource.", "enumValues": [ { "deprecationReason": null, "description": "The Api Permission metafield owner type.", "isDeprecated": false, "name": "API_PERMISSION" }, { "deprecationReason": null, "description": "The Company metafield owner type.", "isDeprecated": false, "name": "COMPANY" }, { "deprecationReason": null, "description": "The Company Location metafield owner type.", "isDeprecated": false, "name": "COMPANY_LOCATION" }, { "deprecationReason": null, "description": "The Payment Customization metafield owner type.", "isDeprecated": false, "name": "PAYMENT_CUSTOMIZATION" }, { "deprecationReason": null, "description": "The Customer metafield owner type.", "isDeprecated": false, "name": "CUSTOMER" }, { "deprecationReason": null, "description": "The Delivery Customization metafield owner type.", "isDeprecated": false, "name": "DELIVERY_CUSTOMIZATION" }, { "deprecationReason": null, "description": "The Draft Order metafield owner type.", "isDeprecated": false, "name": "DRAFTORDER" }, { "deprecationReason": null, "description": "The Market metafield owner type.", "isDeprecated": false, "name": "MARKET" }, { "deprecationReason": null, "description": "The Collection metafield owner type.", "isDeprecated": false, "name": "COLLECTION" }, { "deprecationReason": "`PRODUCTIMAGE` is deprecated. Use `MEDIA_IMAGE` instead.", "description": "The Product Image metafield owner type.", "isDeprecated": true, "name": "PRODUCTIMAGE" }, { "deprecationReason": null, "description": "The Product metafield owner type.", "isDeprecated": false, "name": "PRODUCT" }, { "deprecationReason": null, "description": "The Product Variant metafield owner type.", "isDeprecated": false, "name": "PRODUCTVARIANT" }, { "deprecationReason": null, "description": "The Article metafield owner type.", "isDeprecated": false, "name": "ARTICLE" }, { "deprecationReason": null, "description": "The Blog metafield owner type.", "isDeprecated": false, "name": "BLOG" }, { "deprecationReason": null, "description": "The Page metafield owner type.", "isDeprecated": false, "name": "PAGE" }, { "deprecationReason": null, "description": "The Discount metafield owner type.", "isDeprecated": false, "name": "DISCOUNT" }, { "deprecationReason": null, "description": "The Order metafield owner type.", "isDeprecated": false, "name": "ORDER" }, { "deprecationReason": null, "description": "The Location metafield owner type.", "isDeprecated": false, "name": "LOCATION" }, { "deprecationReason": null, "description": "The Shop metafield owner type.", "isDeprecated": false, "name": "SHOP" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldOwnerType", "possibleTypes": null }, { "description": "The resource referenced by the metafield value.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "MetafieldReference", "possibleTypes": [ { "kind": "OBJECT", "name": "Collection", "ofType": null }, { "kind": "OBJECT", "name": "GenericFile", "ofType": null }, { "kind": "OBJECT", "name": "MediaImage", "ofType": null }, { "kind": "OBJECT", "name": "Metaobject", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStorePage", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple MetafieldReferences.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldReferenceEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MetafieldReferenceEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "UNION", "name": "MetafieldReference", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldReferenceConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one MetafieldReference and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MetafieldReferenceEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "UNION", "name": "MetafieldReference", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldReferenceEdge", "possibleTypes": null }, { "description": "Types of resources that may use metafields to reference other resources.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "MetafieldReferencer", "possibleTypes": [ { "kind": "OBJECT", "name": "AppInstallation", "ofType": null }, { "kind": "OBJECT", "name": "Collection", "ofType": null }, { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountNode", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null }, { "kind": "OBJECT", "name": "Location", "ofType": null }, { "kind": "OBJECT", "name": "Market", "ofType": null }, { "kind": "OBJECT", "name": "Metaobject", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStoreArticle", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStoreBlog", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStorePage", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, { "kind": "OBJECT", "name": "Shop", "ofType": null } ] }, { "description": "Defines a relation between two resources via a reference metafield.\nThe referencer owns the joining field with a given namespace and key,\nwhile the target is referenced by the field.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The key of the field making the reference.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the field making the reference.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The namespace of the metafield making the reference, or type of the metaobject.", "isDeprecated": false, "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The resource making the reference.", "isDeprecated": false, "name": "referencer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "MetafieldReferencer", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The referenced resource.", "isDeprecated": false, "name": "target", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "MetafieldReference", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldRelation", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MetafieldRelations.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldRelationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MetafieldRelationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldRelation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldRelationConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one MetafieldRelation and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MetafieldRelationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldRelation", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldRelationEdge", "possibleTypes": null }, { "description": "By default, the Storefront API can't read metafields. To make specific metafields visible in the Storefront API,\nyou need to create a `MetafieldStorefrontVisibility` record. A `MetafieldStorefrontVisibility` record is a list\nof the metafields, defined by the `owner_type`, `namespace`, and `key`, to make visible in the Storefront API.\n\nLearn about [exposing metafields in the Storefront API]\n(https://shopify.dev/custom-storefronts/products-collections/metafields)\nfor more details.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the metafield was set to visible in the Storefront API.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The key of a metafield to make visible in the Storefront API.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The namespace of a metafield to make visible in the Storefront API.", "isDeprecated": false, "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The owner type of a metafield to make visible in the Storefront API.", "isDeprecated": false, "name": "ownerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the `MetafieldStorefrontVisilibty` record was updated.\n", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MetafieldStorefrontVisibility", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MetafieldStorefrontVisibilities.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldStorefrontVisibilityEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MetafieldStorefrontVisibilityEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldStorefrontVisibility", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldStorefrontVisibilityConnection", "possibleTypes": null }, { "description": "Return type for `metafieldStorefrontVisibilityCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The `MetafieldStorefrontVisibility` that was created.", "isDeprecated": false, "name": "metafieldStorefrontVisibility", "type": { "kind": "OBJECT", "name": "MetafieldStorefrontVisibility", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldStorefrontVisibilityCreatePayload", "possibleTypes": null }, { "description": "Return type for `metafieldStorefrontVisibilityDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted `MetafieldStorefrontVisibility` record.", "isDeprecated": false, "name": "deletedMetafieldStorefrontVisibilityId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldStorefrontVisibilityDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one MetafieldStorefrontVisibility and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MetafieldStorefrontVisibilityEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldStorefrontVisibility", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldStorefrontVisibilityEdge", "possibleTypes": null }, { "description": "The input fields to create a MetafieldStorefrontVisibility record.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The namespace of a metafield to make visible in the Storefront API.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key of a metafield to make visible in the Storefront API.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The owner type of a metafield to make visible in the Storefront API.", "name": "ownerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetafieldStorefrontVisibilityInput", "possibleTypes": null }, { "description": "Possible metafield validation statuses.", "enumValues": [ { "deprecationReason": null, "description": "Any validation status (valid or invalid).", "isDeprecated": false, "name": "ANY" }, { "deprecationReason": null, "description": "Valid (according to definition).", "isDeprecated": false, "name": "VALID" }, { "deprecationReason": null, "description": "Invalid (according to definition).", "isDeprecated": false, "name": "INVALID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldValidationStatus", "possibleTypes": null }, { "description": "Legacy type information for the stored value.\nReplaced by `type`.\n", "enumValues": [ { "deprecationReason": null, "description": "A text field.", "isDeprecated": false, "name": "STRING" }, { "deprecationReason": null, "description": "A whole number.", "isDeprecated": false, "name": "INTEGER" }, { "deprecationReason": null, "description": "A JSON string.", "isDeprecated": false, "name": "JSON_STRING" }, { "deprecationReason": null, "description": "A `true` or `false` value.", "isDeprecated": false, "name": "BOOLEAN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldValueType", "possibleTypes": null }, { "description": "The input fields for a metafield value to set.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The unique ID of the resource that the metafield is attached to.", "name": "ownerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The container for a group of metafields that the metafield is or will be associated with. Used in tandem\nwith `key` to lookup a metafield on a resource, preventing conflicts with other metafields with the\nsame `key`.\n\nMust be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters.\n", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The unique identifier for a metafield within its namespace.\n\nMust be 3-64 characters long and can contain alphanumeric, hyphen, and underscore characters.\n", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The data stored in the metafield. Always stored as a string, regardless of the metafield's type.\n", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The type of data that is stored in the metafield.\nThe type must be one of the [supported types](https://shopify.dev/apps/metafields/types).\n\nRequired when there is no corresponding definition for the given `namespace`, `key`, and\nowner resource type (derived from `ownerId`).\n", "name": "type", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetafieldsSetInput", "possibleTypes": null }, { "description": "Return type for `metafieldsSet` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of metafields that were set.", "isDeprecated": false, "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Metafield", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldsSetUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetafieldsSetPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `MetafieldsSet`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MetafieldsSetUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The index of the array element that's causing the error.", "isDeprecated": false, "name": "elementIndex", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MetafieldsSetUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MetafieldsSetUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The value is invalid for metafield type or for definition options.", "isDeprecated": false, "name": "INVALID_VALUE" }, { "deprecationReason": null, "description": "The type is invalid.", "isDeprecated": false, "name": "INVALID_TYPE" }, { "deprecationReason": null, "description": "ApiPermission metafields can only be created or updated by the app owner.", "isDeprecated": false, "name": "APP_NOT_AUTHORIZED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetafieldsSetUserErrorCode", "possibleTypes": null }, { "description": "Provides an object instance represented by a MetaobjectDefinition.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Metaobject capabilities for this Metaobject.", "isDeprecated": false, "name": "capabilities", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectCapabilityData", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The MetaobjectDefinition that models this object type.", "isDeprecated": false, "name": "definition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The preferred display name field value of the metaobject.", "isDeprecated": false, "name": "displayName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metaobject key to access.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "The field for an object key, or null if the key has no field definition.", "isDeprecated": false, "name": "field", "type": { "kind": "OBJECT", "name": "MetaobjectField", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "All ordered fields of the metaobject with their definitions and values.", "isDeprecated": false, "name": "fields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectField", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The unique handle of the object, useful as a custom ID.", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of back references metafields that belong to the resource.", "isDeprecated": false, "name": "referencedBy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldRelationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member who created the metaobject.", "isDeprecated": false, "name": "staffMember", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of the metaobject.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "When the object was last updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Metaobject", "possibleTypes": null }, { "description": "Provides metaobject definition's access configuration.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Access configuration for Admin API surface areas, including the GraphQL Admin API.\n", "isDeprecated": false, "name": "admin", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetaobjectAdminAccess", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Access configuration for Storefront surface areas, including the GraphQL Storefront API and Liquid.\n", "isDeprecated": false, "name": "storefront", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetaobjectStorefrontAccess", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectAccess", "possibleTypes": null }, { "description": "The input fields for configuring metaobject access controls.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Access configuration for Admin API surface areas, including the GraphQL Admin API.\n", "name": "admin", "type": { "kind": "ENUM", "name": "MetaobjectAdminAccess", "ofType": null } }, { "defaultValue": null, "description": "Access configuration for Storefront API surface areas, including the GraphQL Storefront API and Liquid.\n", "name": "storefront", "type": { "kind": "ENUM", "name": "MetaobjectStorefrontAccess", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectAccessInput", "possibleTypes": null }, { "description": "Defines how the metaobjects of a definition can be accessed in admin API surface areas.", "enumValues": [ { "deprecationReason": null, "description": "Only the application that owns a metaobject can read and write to it.\n", "isDeprecated": false, "name": "PRIVATE" }, { "deprecationReason": null, "description": "Applications that act on behalf of merchants can read metaobjects.\nOnly the owning application can write metaobjects.\n", "isDeprecated": false, "name": "MERCHANT_READ" }, { "deprecationReason": null, "description": "The owning application, as well as applications that act on behalf of merchants can read and write metaobjects.\nNo other applications can read or write metaobjects.\n", "isDeprecated": false, "name": "MERCHANT_READ_WRITE" }, { "deprecationReason": null, "description": "All applications with the `metaobjects` access scope can read metaobjects.\nOnly the owning application can write metaobjects.\n", "isDeprecated": false, "name": "PUBLIC_READ" }, { "deprecationReason": null, "description": "All applications with the `metaobjects` access scope can read and write metaobjects.\n", "isDeprecated": false, "name": "PUBLIC_READ_WRITE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetaobjectAdminAccess", "possibleTypes": null }, { "description": "Return type for `metaobjectBulkDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job that deletes the metaobjects.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectBulkDeletePayload", "possibleTypes": null }, { "description": "Specifies the condition by which metaobjects are deleted.\nExactly one field of input is required.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Deletes all metaobjects with the specified `type`.", "name": "type", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A list of metaobjects IDs to delete.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectBulkDeleteWhereCondition", "possibleTypes": null }, { "description": "Provides the capabilities of a metaobject definition.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Indicate whether a metaobject definition is publishable.", "isDeprecated": false, "name": "publishable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectCapabilitiesPublishable", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Indicate whether a metaobject definition is translatable.", "isDeprecated": false, "name": "translatable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectCapabilitiesTranslatable", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectCapabilities", "possibleTypes": null }, { "description": "The publishable capability of a metaobject definition.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Indicates if the capability is enabled.", "isDeprecated": false, "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectCapabilitiesPublishable", "possibleTypes": null }, { "description": "The translatable capability of a metaobject definition.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Indicates if the capability is enabled.", "isDeprecated": false, "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectCapabilitiesTranslatable", "possibleTypes": null }, { "description": "The input fields for creating a metaobject capability.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The input for enabling the publishable capability.", "name": "publishable", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityPublishableInput", "ofType": null } }, { "defaultValue": null, "description": "The input for enabling the translatable capability.", "name": "translatable", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityTranslatableInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityCreateInput", "possibleTypes": null }, { "description": "Provides the capabilities of a metaobject.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The publishable capability for this metaobject.", "isDeprecated": false, "name": "publishable", "type": { "kind": "OBJECT", "name": "MetaobjectCapabilityDataPublishable", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectCapabilityData", "possibleTypes": null }, { "description": "The input fields for metaobject capabilities.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Publishable capability input.", "name": "publishable", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityDataPublishableInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityDataInput", "possibleTypes": null }, { "description": "The publishable capability for the parent metaobject.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The visibility status of this metaobject across all channels.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetaobjectStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectCapabilityDataPublishable", "possibleTypes": null }, { "description": "The input fields for publishable capability to adjust visibility on channels.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The visibility status of this metaobject across all channels.", "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetaobjectStatus", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityDataPublishableInput", "possibleTypes": null }, { "description": "The input fields for enabling and disabling the publishable capability.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Indicates whether the capability should be enabled or disabled.", "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityPublishableInput", "possibleTypes": null }, { "description": "The input fields for enabling and disabling the translatable capability.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Indicates whether the capability should be enabled or disabled.", "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityTranslatableInput", "possibleTypes": null }, { "description": "The input fields for updating a metaobject capability.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The input for updating the publishable capability.", "name": "publishable", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityPublishableInput", "ofType": null } }, { "defaultValue": null, "description": "The input for updating the translatable capability.", "name": "translatable", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityTranslatableInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityUpdateInput", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Metaobjects.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MetaobjectEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Metaobject", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectConnection", "possibleTypes": null }, { "description": "The input fields for creating a metaobject.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The type of the metaobject. Must match an existing metaobject definition type.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "A unique handle for the metaobject. This value is auto-generated when omitted.", "name": "handle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Values for fields. These are mapped by key to fields of the metaobject definition.", "name": "fields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectFieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "Capabilities for the metaobject.", "name": "capabilities", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityDataInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectCreateInput", "possibleTypes": null }, { "description": "Return type for `metaobjectCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created metaobject.", "isDeprecated": false, "name": "metaobject", "type": { "kind": "OBJECT", "name": "Metaobject", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectCreatePayload", "possibleTypes": null }, { "description": "Provides the definition of a generic object structure composed of metafields.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Access configuration for the metaobject definition.", "isDeprecated": false, "name": "access", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectAccess", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The capabilities of the metaobject definition.", "isDeprecated": false, "name": "capabilities", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectCapabilities", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The administrative description.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The key of a field to reference as the display name for each object.", "isDeprecated": false, "name": "displayNameKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The fields defined for this object type.", "isDeprecated": false, "name": "fieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectFieldDefinition", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A paginated connection to the metaobjects associated with the definition.", "isDeprecated": false, "name": "metaobjects", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The count of metaobjects created for the definition.", "isDeprecated": false, "name": "metaobjectsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The human-readable name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of the object definition. Defines the namespace of associated metafields.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "MetaobjectDefinition", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple MetaobjectDefinitions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectDefinitionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in MetaobjectDefinitionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectDefinitionConnection", "possibleTypes": null }, { "description": "The input fields for creating a metaobject definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A human-readable name for the definition. This can be changed at any time.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "An administrative description of the definition.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The type of the metaobject definition. This cannot be changed.\n\nMust be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters.\n", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "A set of field definitions to create on this metaobject definition.", "name": "fieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionCreateInput", "ofType": null } } } } }, { "defaultValue": null, "description": "Access configuration for the metaobjects created with this definition.", "name": "access", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectAccessInput", "ofType": null } }, { "defaultValue": null, "description": "The key of a field to reference as the display name for metaobjects of this type.", "name": "displayNameKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The capabilities of the metaobject definition.", "name": "capabilities", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityCreateInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectDefinitionCreateInput", "possibleTypes": null }, { "description": "Return type for `metaobjectDefinitionCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created metaobject definition.", "isDeprecated": false, "name": "metaobjectDefinition", "type": { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectDefinitionCreatePayload", "possibleTypes": null }, { "description": "Return type for `metaobjectDefinitionDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted metaobjects definition.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectDefinitionDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one MetaobjectDefinition and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MetaobjectDefinitionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectDefinitionEdge", "possibleTypes": null }, { "description": "The input fields for updating a metaobject definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A human-readable name for the definition.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "An administrative description of the definition.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A set of operations for modifying field definitions.", "name": "fieldDefinitions", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionOperationInput", "ofType": null } } } }, { "defaultValue": null, "description": "Access configuration for the metaobjects created with this definition.", "name": "access", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectAccessInput", "ofType": null } }, { "defaultValue": null, "description": "The key of a metafield to reference as the display name for objects of this type.", "name": "displayNameKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Whether the field order should be reset while updating.\nIf `true`, then the order is assigned based on submitted fields followed by alphabetized field omissions.\nIf `false`, then no changes are made to the existing field order and new fields are appended at the end.\n", "name": "resetFieldOrder", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The capabilities of the metaobject definition.", "name": "capabilities", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityUpdateInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectDefinitionUpdateInput", "possibleTypes": null }, { "description": "Return type for `metaobjectDefinitionUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated metaobject definition.", "isDeprecated": false, "name": "metaobjectDefinition", "type": { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectDefinitionUpdatePayload", "possibleTypes": null }, { "description": "Return type for `metaobjectDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted metaobject.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Metaobject and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of MetaobjectEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Metaobject", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectEdge", "possibleTypes": null }, { "description": "Provides a field definition and the data value assigned to it.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The field definition for this object key.", "isDeprecated": false, "name": "definition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectFieldDefinition", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The object key of this field.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "For resource reference fields, provides the referenced object.", "isDeprecated": false, "name": "reference", "type": { "kind": "UNION", "name": "MetafieldReference", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "For resource reference list fields, provides the list of referenced objects.", "isDeprecated": false, "name": "references", "type": { "kind": "OBJECT", "name": "MetafieldReferenceConnection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of the field.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The assigned field value, always stored as a string regardless of the field type.", "isDeprecated": false, "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectField", "possibleTypes": null }, { "description": "Defines a field for a MetaobjectDefinition with properties\nsuch as the field's data type and validations.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The administrative description.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A key name used to identify the field within the metaobject composition.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The human-readable name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Required status of the field within the metaobject composition.", "isDeprecated": false, "name": "required", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of data that the field stores.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe field. For example, a field with the type `date` can set a minimum date requirement.\n", "isDeprecated": false, "name": "validations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionValidation", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectFieldDefinition", "possibleTypes": null }, { "description": "The input fields for creating a metaobject field definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The key of the new field definition. This cannot be changed.\n\nMust be 3-64 characters long and only contain alphanumeric, hyphen, and underscore characters.\n", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The metafield type applied to values of the field.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "A human-readable name for the field. This can be changed at any time.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "An administrative description of the field.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Whether metaobjects require a saved value for the field.", "name": "required", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Custom validations that apply to values assigned to the field.", "name": "validations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionValidationInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionCreateInput", "possibleTypes": null }, { "description": "The input fields for deleting a metaobject field definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The key of the field definition to delete.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionDeleteInput", "possibleTypes": null }, { "description": "The input fields for possible operations for modifying field definitions. Exactly one option is required.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The input fields for creating a metaobject field definition.", "name": "create", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionCreateInput", "ofType": null } }, { "defaultValue": null, "description": "The input fields for updating a metaobject field definition.", "name": "update", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "The input fields for deleting a metaobject field definition.", "name": "delete", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionDeleteInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionOperationInput", "possibleTypes": null }, { "description": "The input fields for updating a metaobject field definition.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The key of the field definition to update.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "A human-readable name for the field.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "An administrative description of the field.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether metaobjects require a saved value for the field.", "name": "required", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Custom validations that apply to values assigned to the field.", "name": "validations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionValidationInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectFieldDefinitionUpdateInput", "possibleTypes": null }, { "description": "The input fields for a metaobject field value.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The key of the field.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The value of the field.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectFieldInput", "possibleTypes": null }, { "description": "The input fields for retrieving a metaobject by handle.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The type of the metaobject. Must match an existing metaobject definition type.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The handle of the metaobject to create or update.", "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectHandleInput", "possibleTypes": null }, { "description": "Defines visibility status for metaobjects.", "enumValues": [ { "deprecationReason": null, "description": "The metaobjects is an internal record.", "isDeprecated": false, "name": "DRAFT" }, { "deprecationReason": null, "description": "The metaobjects is active for public use.", "isDeprecated": false, "name": "ACTIVE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetaobjectStatus", "possibleTypes": null }, { "description": "Defines how the metaobjects of a definition can be accessed in Storefront API surface areas, including Liquid and the GraphQL Storefront API.\n", "enumValues": [ { "deprecationReason": null, "description": "Metaobjects are not accessible in any Storefront API surface area.\n", "isDeprecated": false, "name": "NONE" }, { "deprecationReason": null, "description": "Metaobjects are accessible in the GraphQL Storefront API by any application with the `unauthenticated_read_metaobjects` access scope.\nMetaobjects are accessible in online store Liquid templates.\n", "isDeprecated": false, "name": "PUBLIC_READ" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetaobjectStorefrontAccess", "possibleTypes": null }, { "description": "The input fields for updating a metaobject.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A unique handle for the metaobject.", "name": "handle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Values for fields. These are mapped by key to fields of the metaobject definition.", "name": "fields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectFieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "Capabilities for the metaobject.", "name": "capabilities", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityDataInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectUpdateInput", "possibleTypes": null }, { "description": "Return type for `metaobjectUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated metaobject.", "isDeprecated": false, "name": "metaobject", "type": { "kind": "OBJECT", "name": "Metaobject", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectUpdatePayload", "possibleTypes": null }, { "description": "The input fields for upserting a metaobject.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The handle of the metaobject.", "name": "handle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Values for fields. These are mapped by key to fields of the metaobject definition.", "name": "fields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectFieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "Capabilities for the metaobject.", "name": "capabilities", "type": { "kind": "INPUT_OBJECT", "name": "MetaobjectCapabilityDataInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MetaobjectUpsertInput", "possibleTypes": null }, { "description": "Return type for `metaobjectUpsert` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created or updated metaobject.", "isDeprecated": false, "name": "metaobject", "type": { "kind": "OBJECT", "name": "Metaobject", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MetaobjectUpsertPayload", "possibleTypes": null }, { "description": "Defines errors encountered while managing metaobject resources.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "MetaobjectUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The index of the failing list element in an array.", "isDeprecated": false, "name": "elementIndex", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The key of the failing object element.", "isDeprecated": false, "name": "elementKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "MetaobjectUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `MetaobjectUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The metafield type is invalid.", "isDeprecated": false, "name": "INVALID_TYPE" }, { "deprecationReason": null, "description": "The value is invalid for the metafield type or the definition options.", "isDeprecated": false, "name": "INVALID_VALUE" }, { "deprecationReason": null, "description": "The value for the metafield definition option was invalid.", "isDeprecated": false, "name": "INVALID_OPTION" }, { "deprecationReason": null, "description": "Duplicate inputs were provided for this field key.", "isDeprecated": false, "name": "DUPLICATE_FIELD_INPUT" }, { "deprecationReason": null, "description": "No metaobject definition found for this type.", "isDeprecated": false, "name": "UNDEFINED_OBJECT_TYPE" }, { "deprecationReason": null, "description": "No field definition found for this key.", "isDeprecated": false, "name": "UNDEFINED_OBJECT_FIELD" }, { "deprecationReason": null, "description": "The specified field key is already in use.", "isDeprecated": false, "name": "OBJECT_FIELD_TAKEN" }, { "deprecationReason": null, "description": "Missing required fields were found for this object.", "isDeprecated": false, "name": "OBJECT_FIELD_REQUIRED" }, { "deprecationReason": null, "description": "The requested record couldn't be found.", "isDeprecated": false, "name": "RECORD_NOT_FOUND" }, { "deprecationReason": null, "description": "An unexpected error occurred.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "The maximum number of metaobjects definitions has been exceeded.", "isDeprecated": false, "name": "MAX_DEFINITIONS_EXCEEDED" }, { "deprecationReason": null, "description": "The maximum number of metaobjects per shop has been exceeded.", "isDeprecated": false, "name": "MAX_OBJECTS_EXCEEDED" }, { "deprecationReason": null, "description": "The targeted object cannot be modified.", "isDeprecated": false, "name": "IMMUTABLE" }, { "deprecationReason": null, "description": "Not authorized.", "isDeprecated": false, "name": "NOT_AUTHORIZED" }, { "deprecationReason": null, "description": "The provided name is reserved for system use.", "isDeprecated": false, "name": "RESERVED_NAME" }, { "deprecationReason": null, "description": "The capability you are using is not enabled.", "isDeprecated": false, "name": "CAPABILITY_NOT_ENABLED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MetaobjectUserErrorCode", "possibleTypes": null }, { "description": "The set of valid sort keys for the MethodDefinition query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `rate_provider_type` value.", "isDeprecated": false, "name": "RATE_PROVIDER_TYPE" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "MethodDefinitionSortKeys", "possibleTypes": null }, { "description": "Represents a Shopify hosted 3D model.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A word or phrase to share the nature or contents of a media.", "isDeprecated": false, "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The 3d model's bounding box information.", "isDeprecated": false, "name": "boundingBox", "type": { "kind": "OBJECT", "name": "Model3dBoundingBox", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The 3d model's filename.", "isDeprecated": false, "name": "filename", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The media content type.", "isDeprecated": false, "name": "mediaContentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Any errors which have occurred on the media.", "isDeprecated": false, "name": "mediaErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The warnings attached to the media.", "isDeprecated": false, "name": "mediaWarnings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaWarning", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The 3d model's original source.", "isDeprecated": false, "name": "originalSource", "type": { "kind": "OBJECT", "name": "Model3dSource", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The preview image for the media.", "isDeprecated": false, "name": "preview", "type": { "kind": "OBJECT", "name": "MediaPreviewImage", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The 3d model's sources.", "isDeprecated": false, "name": "sources", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Model3dSource", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Current status of the media.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Media", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Model3d", "possibleTypes": null }, { "description": "Bounding box information of a 3d model.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Size in meters of the smallest volume which contains the 3d model.\n", "isDeprecated": false, "name": "size", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Vector3", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Model3dBoundingBox", "possibleTypes": null }, { "description": "A source for a Shopify-hosted 3d model.\n\nTypes of sources include GLB and USDZ formatted 3d models, where the former\nis an original 3d model and the latter has been converted from the original.\n\nIf the original source is in GLB format and over 15 MBs in size, then both the\noriginal and the USDZ formatted source are optimized to reduce the file size.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The 3d model source's filesize.", "isDeprecated": false, "name": "filesize", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The 3d model source's format.", "isDeprecated": false, "name": "format", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The 3d model source's MIME type.", "isDeprecated": false, "name": "mimeType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The 3d model source's URL.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Model3dSource", "possibleTypes": null }, { "description": "A monetary value string without a currency symbol or code. Example value: `\"100.57\"`.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "Money", "possibleTypes": null }, { "description": "A collection of monetary values in their respective currencies. Typically used in the context of multi-currency pricing and transactions,\nwhen an amount in the shop's currency is converted to the customer's currency of choice (the presentment currency).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Amount in presentment currency.", "isDeprecated": false, "name": "presentmentMoney", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Amount in shop currency.", "isDeprecated": false, "name": "shopMoney", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MoneyBag", "possibleTypes": null }, { "description": "The input fields for a monetary value with currency.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Decimal money amount.", "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } }, { "defaultValue": null, "description": "Currency of the money.", "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MoneyInput", "possibleTypes": null }, { "description": "A monetary value with currency.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Decimal money amount.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Currency of the money.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MoneyV2", "possibleTypes": null }, { "description": "The input fields for a single move of an object to a specific position in a set, using a zero-based index.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the object to be moved.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new position of the object in the set.", "name": "newPosition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "MoveInput", "possibleTypes": null }, { "description": "The schema's entry point for all mutation operations.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "The ID of the abandonment that needs to be updated.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new email state of the abandonment.", "name": "emailState", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AbandonmentEmailState", "ofType": null } } }, { "defaultValue": null, "description": "The date and time for when the email was sent, if that is the case.", "name": "emailSentAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The reason why the email was or was not sent.", "name": "emailStateChangeReason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Updates the email state value for an abandonment.", "isDeprecated": false, "name": "abandonmentEmailStateUpdate", "type": { "kind": "OBJECT", "name": "AbandonmentEmailStateUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The description of the app credit.", "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The amount that can be used towards future app purchases in Shopify.", "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": "false", "description": "Specifies whether the app credit is a test transaction.", "name": "test", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "This mutation will be removed in a future version. App credit creation will continue to be available through the Partner API.", "description": "Allows an app to create a credit for a shop that can be used towards future app purchases.", "isDeprecated": true, "name": "appCreditCreate", "type": { "kind": "OBJECT", "name": "AppCreditCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The name of the one-time purchase from the app.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The amount to be charged to the store for the app one-time purchase.", "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": null, "description": "The URL where the merchant is redirected after approving the app one-time purchase.", "name": "returnUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "defaultValue": "false", "description": "Whether the app one-time purchase is a test transaction. The default value is `false`.", "name": "test", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Charges a shop for features or services one time.\nThis type of charge is recommended for apps that aren't billed on a recurring basis.\nTest and demo shops aren't charged.\n", "isDeprecated": false, "name": "appPurchaseOneTimeCreate", "type": { "kind": "OBJECT", "name": "AppPurchaseOneTimeCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The app revenue attribution record to be created.", "name": "appRevenueAttributionRecord", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AppRevenueAttributionRecordInput", "ofType": null } } } ], "deprecationReason": "This mutation will be removed in a future version.", "description": "Creates a record of the attributed revenue for the app. This mutation should only be used to capture transactions that are not managed by the Billing API.", "isDeprecated": true, "name": "appRevenueAttributionRecordCreate", "type": { "kind": "OBJECT", "name": "AppRevenueAttributionRecordCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The unique identifier of the revenue attribution record.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "This mutation will be removed in a future version.", "description": "Deletes a record of the attributed revenue for the app.", "isDeprecated": true, "name": "appRevenueAttributionRecordDelete", "type": { "kind": "OBJECT", "name": "AppRevenueAttributionRecordDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the app subscription to be cancelled.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "false", "description": "Whether to issue prorated credits for the unused portion of the app subscription. There will\nbe a corresponding deduction (based on revenue share) to your Partner account.\nFor example, if a $10.00 app subscription (with 0% revenue share) is cancelled and prorated half way\nthrough the billing cycle, then the merchant will be credited $5.00 and that amount will be deducted\nfrom your Partner account.\n", "name": "prorate", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Cancels an app subscription on a store.", "isDeprecated": false, "name": "appSubscriptionCancel", "type": { "kind": "OBJECT", "name": "AppSubscriptionCancelPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "A descriptive name for the app subscription.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Attaches one or more pricing plans to an app subscription. Only one pricing plan can be defined for each available type.", "name": "lineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AppSubscriptionLineItemInput", "ofType": null } } } } }, { "defaultValue": null, "description": "Whether the app subscription is a test transaction. The default value is `false`.", "name": "test", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The number of days of the free trial period, beginning on the day that the merchant approves the app charges.", "name": "trialDays", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The URL pointing to the page where the merchant is redirected after approving the app subscription.", "name": "returnUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "defaultValue": "STANDARD", "description": "The replacement behavior when creating an app subscription for a merchant with an already existing app subscription.", "name": "replacementBehavior", "type": { "kind": "ENUM", "name": "AppSubscriptionReplacementBehavior", "ofType": null } } ], "deprecationReason": null, "description": "Allows an app to charge a store for features or services on a recurring basis.", "isDeprecated": false, "name": "appSubscriptionCreate", "type": { "kind": "OBJECT", "name": "AppSubscriptionCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the app subscription line item to be updated.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new maximum amount of usage charges that can be incurred within a subscription billing interval.", "name": "cappedAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates the capped amount on the usage pricing plan of an app subscription line item.", "isDeprecated": false, "name": "appSubscriptionLineItemUpdate", "type": { "kind": "OBJECT", "name": "AppSubscriptionLineItemUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the app subscription to extend the trial for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The number of days to extend the trial. The value must be greater than 0 and less than or equal to 1000.", "name": "days", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "deprecationReason": null, "description": "Extends the trial of an app subscription.", "isDeprecated": false, "name": "appSubscriptionTrialExtend", "type": { "kind": "OBJECT", "name": "AppSubscriptionTrialExtendPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the app subscription line item to create the usage record under. This app subscription line item must have a usage pricing plan.", "name": "subscriptionLineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The price of the app usage record.", "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": null, "description": "The description of the app usage record.", "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "A unique key generated by the client to avoid duplicate charges. Maximum length of 255 characters.\n", "name": "idempotencyKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Enables an app to charge a store for features or services on a per-use basis.\nThe usage charge value is counted towards the `cappedAmount` limit that was specified in the `appUsagePricingDetails` field when the app subscription was created.\nIf you create an app usage charge that causes the total usage charges in a billing interval to exceed the capped amount, then a `Total price exceeds balance remaining` error is returned.\n", "isDeprecated": false, "name": "appUsageRecordCreate", "type": { "kind": "OBJECT", "name": "AppUsageRecordCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the bulk operation to cancel.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Starts the cancelation process of a running bulk operation.\n\nThere may be a short delay from when a cancelation starts until the operation is actually canceled.\n", "isDeprecated": false, "name": "bulkOperationCancel", "type": { "kind": "OBJECT", "name": "BulkOperationCancelPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The mutation to be executed in bulk.", "name": "mutation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The staged upload path of the file containing mutation variables.", "name": "stagedUploadPath", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "An optional identifier which may be used for querying.", "name": "clientIdentifier", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Creates and runs a bulk operation mutation.\n\nTo learn how to bulk import large volumes of data asynchronously, refer to the\n[bulk import data guide](https://shopify.dev/api/usage/bulk-operations/imports).\n", "isDeprecated": false, "name": "bulkOperationRunMutation", "type": { "kind": "OBJECT", "name": "BulkOperationRunMutationPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The query to be executed in bulk.", "name": "query", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Creates and runs a bulk operation query.\n\nSee the [bulk operations guide](https://shopify.dev/api/usage/bulk-operations/imports) for more details.\n", "isDeprecated": false, "name": "bulkOperationRunQuery", "type": { "kind": "OBJECT", "name": "BulkOperationRunQueryPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "An array of inputs to create the feedback. Limited to 50.", "name": "feedbackInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductResourceFeedbackInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Creates product feedback for multiple products.", "isDeprecated": false, "name": "bulkProductResourceFeedbackCreate", "type": { "kind": "OBJECT", "name": "BulkProductResourceFeedbackCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the catalog for which to update the context.", "name": "catalogId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The contexts to add to the catalog.", "name": "contextsToAdd", "type": { "kind": "INPUT_OBJECT", "name": "CatalogContextInput", "ofType": null } }, { "defaultValue": null, "description": "The contexts to remove from the catalog.", "name": "contextsToRemove", "type": { "kind": "INPUT_OBJECT", "name": "CatalogContextInput", "ofType": null } } ], "deprecationReason": null, "description": "Updates the context of a catalog.", "isDeprecated": false, "name": "catalogContextUpdate", "type": { "kind": "OBJECT", "name": "CatalogContextUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties of the new catalog.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CatalogCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new catalog.", "isDeprecated": false, "name": "catalogCreate", "type": { "kind": "OBJECT", "name": "CatalogCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the catalog to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "false", "description": "Whether to also delete the price list and the publication owned by the catalog.", "name": "deleteDependentResources", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Delete a catalog.", "isDeprecated": false, "name": "catalogDelete", "type": { "kind": "OBJECT", "name": "CatalogDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the catalog to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties of the updated catalog.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CatalogUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates an existing catalog.", "isDeprecated": false, "name": "catalogUpdate", "type": { "kind": "OBJECT", "name": "CatalogUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the collection that's being updated. This can't be a smart collection.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the products that are being added to the collection.\nIf any of the products is already present in the input collection,\nthen an error is raised and no products are added.\n", "name": "productIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Adds products to a collection.", "isDeprecated": false, "name": "collectionAddProducts", "type": { "kind": "OBJECT", "name": "CollectionAddProductsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the collection that's being updated.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the products that are being added to the collection. If the collection's sort order is manual, the products will be added in the order in which they are provided.", "name": "productIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Asynchronously adds a set of products to a given collection. It can take a long time to run. Instead of returning a collection, it returns a job which should be polled.", "isDeprecated": false, "name": "collectionAddProductsV2", "type": { "kind": "OBJECT", "name": "CollectionAddProductsV2Payload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties to use when creating the collection.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CollectionInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a collection.\n", "isDeprecated": false, "name": "collectionCreate", "type": { "kind": "OBJECT", "name": "CollectionCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The collection to delete.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CollectionDeleteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a collection.", "isDeprecated": false, "name": "collectionDelete", "type": { "kind": "OBJECT", "name": "CollectionDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specify a collection to publish and the sales channels to publish it to.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CollectionPublishInput", "ofType": null } } } ], "deprecationReason": "Use `publishablePublish` instead.", "description": "Publishes a collection to a channel.", "isDeprecated": true, "name": "collectionPublish", "type": { "kind": "OBJECT", "name": "CollectionPublishPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the collection to remove products from. The ID must reference an existing manual collection.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of products to remove from the collection. The mutation doesn't validate that the products belong to the collection or whether the products exist.", "name": "productIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Removes a set of products from a given collection. The mutation can take a long time to run. Instead of returning an updated collection the mutation returns a job, which should be [polled](https://shopify.dev/api/admin-graphql/latest/queries/job). For use with manual collections only.", "isDeprecated": false, "name": "collectionRemoveProducts", "type": { "kind": "OBJECT", "name": "CollectionRemoveProductsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the collection on which to reorder products.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of moves to perform, which will be evaluated in order. Up to 250 moves are supported, the `newPosition` does not have to be unique.", "name": "moves", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoveInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Asynchronously reorders a set of products within a specified collection. Instead of returning an updated collection, this mutation returns a job, which should be [polled](https://shopify.dev/api/admin-graphql/latest/queries/job). The [`Collection.sortOrder`](https://shopify.dev/api/admin-graphql/latest/objects/Collection#field-collection-sortorder) must be `MANUAL`. Displaced products will have their position altered in a consistent manner, with no gaps.", "isDeprecated": false, "name": "collectionReorderProducts", "type": { "kind": "OBJECT", "name": "CollectionReorderProductsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specify a collection to unpublish and the sales channels to remove it from.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CollectionUnpublishInput", "ofType": null } } } ], "deprecationReason": "Use `publishableUnpublish` instead.", "description": "Unpublishes a collection.", "isDeprecated": true, "name": "collectionUnpublish", "type": { "kind": "OBJECT", "name": "CollectionUnpublishPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The updated properties for the collection.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CollectionInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a collection.", "isDeprecated": false, "name": "collectionUpdate", "type": { "kind": "OBJECT", "name": "CollectionUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "A list of IDs of companies to delete.", "name": "companyIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Deletes a list of companies.", "isDeprecated": false, "name": "companiesDelete", "type": { "kind": "OBJECT", "name": "CompaniesDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the address to delete.", "name": "addressId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a company address.", "isDeprecated": false, "name": "companyAddressDelete", "type": { "kind": "OBJECT", "name": "CompanyAddressDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company to assign the contact to.", "name": "companyId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the customer to assign as the contact.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Assigns the customer as a company contact.", "isDeprecated": false, "name": "companyAssignCustomerAsContact", "type": { "kind": "OBJECT", "name": "CompanyAssignCustomerAsContactPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company to assign the main contact to.", "name": "companyId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the company contact to be assigned as the main contact.", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Assigns the main contact for the company.", "isDeprecated": false, "name": "companyAssignMainContact", "type": { "kind": "OBJECT", "name": "CompanyAssignMainContactPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the contact to assign a role to.", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the role to assign to a contact.", "name": "companyContactRoleId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the location to assign a role to a contact.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Assigns a role to a contact for a location.", "isDeprecated": false, "name": "companyContactAssignRole", "type": { "kind": "OBJECT", "name": "CompanyContactAssignRolePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The contact whose roles are being assigned.", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new roles to assign.", "name": "rolesToAssign", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyContactRoleAssign", "ofType": null } } } } } ], "deprecationReason": null, "description": "Assigns roles on a company contact.", "isDeprecated": false, "name": "companyContactAssignRoles", "type": { "kind": "OBJECT", "name": "CompanyContactAssignRolesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company that the company contact belongs to.", "name": "companyId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The fields to use to create the company contact.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyContactInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a company contact.", "isDeprecated": false, "name": "companyContactCreate", "type": { "kind": "OBJECT", "name": "CompanyContactCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company contact to delete.", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a company contact.", "isDeprecated": false, "name": "companyContactDelete", "type": { "kind": "OBJECT", "name": "CompanyContactDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the contact to revoke a role from.", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the role assignment to revoke from a contact.", "name": "companyContactRoleAssignmentId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Revokes a role on a company contact.", "isDeprecated": false, "name": "companyContactRevokeRole", "type": { "kind": "OBJECT", "name": "CompanyContactRevokeRolePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The contact whose roles are being revoked.", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The current role assignment IDs to revoke.", "name": "roleAssignmentIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": "false", "description": "Flag to revoke all roles on the contact.", "name": "revokeAll", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Revokes roles on a company contact.", "isDeprecated": false, "name": "companyContactRevokeRoles", "type": { "kind": "OBJECT", "name": "CompanyContactRevokeRolesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company contact to be updated.", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The fields to use to update the company contact.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyContactInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a company contact.", "isDeprecated": false, "name": "companyContactUpdate", "type": { "kind": "OBJECT", "name": "CompanyContactUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The list of IDs of the company contacts to delete.", "name": "companyContactIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Deletes one or more company contacts.", "isDeprecated": false, "name": "companyContactsDelete", "type": { "kind": "OBJECT", "name": "CompanyContactsDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The fields to use when creating the company.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a company.", "isDeprecated": false, "name": "companyCreate", "type": { "kind": "OBJECT", "name": "CompanyCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a company.", "isDeprecated": false, "name": "companyDelete", "type": { "kind": "OBJECT", "name": "CompanyDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company location to update addresses on.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields to use to update the address.", "name": "address", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyAddressInput", "ofType": null } } }, { "defaultValue": null, "description": "The list of address types on the location to update.", "name": "addressTypes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CompanyAddressType", "ofType": null } } } } } ], "deprecationReason": null, "description": "Updates an address on a company location.", "isDeprecated": false, "name": "companyLocationAssignAddress", "type": { "kind": "OBJECT", "name": "CompanyLocationAssignAddressPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The location whose roles are being assigned.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The roles to assign.", "name": "rolesToAssign", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyLocationRoleAssign", "ofType": null } } } } } ], "deprecationReason": null, "description": "Assigns roles on a company location.", "isDeprecated": false, "name": "companyLocationAssignRoles", "type": { "kind": "OBJECT", "name": "CompanyLocationAssignRolesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The location to which the tax exemptions will be assigned.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The tax exemptions that are being assigned to the location.", "name": "taxExemptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } } ], "deprecationReason": null, "description": "Assigns tax exemptions to the company location.", "isDeprecated": false, "name": "companyLocationAssignTaxExemptions", "type": { "kind": "OBJECT", "name": "CompanyLocationAssignTaxExemptionsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company that the company location belongs to.", "name": "companyId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The fields to use to create the company location.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyLocationInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a company location.", "isDeprecated": false, "name": "companyLocationCreate", "type": { "kind": "OBJECT", "name": "CompanyLocationCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company location that the tax registration gets assigned to.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The unique tax id for the tax registration.", "name": "taxId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a tax registration for a company location.", "isDeprecated": false, "name": "companyLocationCreateTaxRegistration", "type": { "kind": "OBJECT", "name": "CompanyLocationCreateTaxRegistrationPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company location to delete.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a company location.", "isDeprecated": false, "name": "companyLocationDelete", "type": { "kind": "OBJECT", "name": "CompanyLocationDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The location whose roles are being revoked.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The current roles to revoke.", "name": "rolesToRevoke", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Revokes roles on a company location.", "isDeprecated": false, "name": "companyLocationRevokeRoles", "type": { "kind": "OBJECT", "name": "CompanyLocationRevokeRolesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The location from which the tax exemptions will be revoked.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The tax exemptions that are being revoked from the location.", "name": "taxExemptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } } ], "deprecationReason": null, "description": "Revokes tax exemptions from the company location.", "isDeprecated": false, "name": "companyLocationRevokeTaxExemptions", "type": { "kind": "OBJECT", "name": "CompanyLocationRevokeTaxExemptionsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The location whose tax registration is being revoked.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Revokes tax registration on a company location.", "isDeprecated": false, "name": "companyLocationRevokeTaxRegistration", "type": { "kind": "OBJECT", "name": "CompanyLocationRevokeTaxRegistrationPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company location to update.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields to update in the company location.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyLocationUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a company location.", "isDeprecated": false, "name": "companyLocationUpdate", "type": { "kind": "OBJECT", "name": "CompanyLocationUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "A list of IDs of company locations to delete.", "name": "companyLocationIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Deletes a list of company locations.", "isDeprecated": false, "name": "companyLocationsDelete", "type": { "kind": "OBJECT", "name": "CompanyLocationsDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company to revoke the main contact from.", "name": "companyId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Revokes the main contact from the company.", "isDeprecated": false, "name": "companyRevokeMainContact", "type": { "kind": "OBJECT", "name": "CompanyRevokeMainContactPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the company to be updated.", "name": "companyId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields to update the company.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CompanyInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a company.", "isDeprecated": false, "name": "companyUpdate", "type": { "kind": "OBJECT", "name": "CompanyUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer to update.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The list of tax exemptions to add for the customer, in the format of an array or a comma-separated list. Example values: `[\"CA_BC_RESELLER_EXEMPTION\", \"CA_STATUS_CARD_EXEMPTION\"]`, `\"CA_BC_RESELLER_EXEMPTION, CA_STATUS_CARD_EXEMPTION\"`.\n", "name": "taxExemptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } } ], "deprecationReason": null, "description": "Add tax exemptions for the customer.", "isDeprecated": false, "name": "customerAddTaxExemptions", "type": { "kind": "OBJECT", "name": "CustomerAddTaxExemptionsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to create a customer.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerInput", "ofType": null } } } ], "deprecationReason": null, "description": "Create a new customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).", "isDeprecated": false, "name": "customerCreate", "type": { "kind": "OBJECT", "name": "CustomerCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the customer to delete.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerDeleteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Delete a customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).", "isDeprecated": false, "name": "customerDelete", "type": { "kind": "OBJECT", "name": "CustomerDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields to update a customer's email marketing consent information.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerEmailMarketingConsentUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Update a customer's email marketing information information.\n", "isDeprecated": false, "name": "customerEmailMarketingConsentUpdate", "type": { "kind": "OBJECT", "name": "CustomerEmailMarketingConsentUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer that the URL is generated for.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Generate an account activation URL for a customer.", "isDeprecated": false, "name": "customerGenerateAccountActivationUrl", "type": { "kind": "OBJECT", "name": "CustomerGenerateAccountActivationUrlPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the first customer that will be merged.", "name": "customerOneId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the second customer that will be merged.", "name": "customerTwoId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The fields to override the default customer merge rules.", "name": "overrideFields", "type": { "kind": "INPUT_OBJECT", "name": "CustomerMergeOverrideFields", "ofType": null } } ], "deprecationReason": null, "description": "Merges two customers.", "isDeprecated": false, "name": "customerMerge", "type": { "kind": "OBJECT", "name": "CustomerMergePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The billing address.", "name": "billingAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } } }, { "defaultValue": null, "description": "The Cardserver session ID.", "name": "sessionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a credit card payment method for a customer.", "isDeprecated": false, "name": "customerPaymentMethodCreditCardCreate", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodCreditCardCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer payment method.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The billing address.", "name": "billingAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } } }, { "defaultValue": null, "description": "The Cardserver session ID.", "name": "sessionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Updates the credit card payment method for a customer.", "isDeprecated": false, "name": "customerPaymentMethodCreditCardUpdate", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodCreditCardUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The payment method to be updated.", "name": "customerPaymentMethodId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a URL that allows the customer to update a specific payment method.\n\nCurrently, `customerPaymentMethodGetUpdateUrl` only supports Shop Pay.\n", "isDeprecated": false, "name": "customerPaymentMethodGetUpdateUrl", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodGetUpdateUrlPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The billing address.", "name": "billingAddress", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, { "defaultValue": null, "description": "The billing agreement ID from PayPal that starts with 'B-' (for example, `B-1234XXXXX`).", "name": "billingAgreementId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": "false", "description": "Whether the PayPal billing agreement is inactive.", "name": "inactive", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Creates a PayPal billing agreement for a customer.", "isDeprecated": false, "name": "customerPaymentMethodPaypalBillingAgreementCreate", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodPaypalBillingAgreementCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer payment method.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The billing address.", "name": "billingAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a PayPal billing agreement for a customer.", "isDeprecated": false, "name": "customerPaymentMethodPaypalBillingAgreementUpdate", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodPaypalBillingAgreementUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Remote gateway payment method details.", "name": "remoteReference", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerPaymentMethodRemoteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Create a payment method from remote gateway identifiers.", "isDeprecated": false, "name": "customerPaymentMethodRemoteCreate", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodRemoteCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The Stripe Customer ID.", "name": "stripeCustomerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The Stripe Payment Method ID.", "name": "stripePaymentMethodId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `customerPaymentMethodRemoteCreate` instead.", "description": "Create a payment method from a credit card stored by Stripe.", "isDeprecated": true, "name": "customerPaymentMethodRemoteCreditCardCreate", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodRemoteCreditCardCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer payment method to be revoked.", "name": "customerPaymentMethodId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Revokes a customer's payment method.", "isDeprecated": false, "name": "customerPaymentMethodRevoke", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodRevokePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The payment method to be updated.", "name": "customerPaymentMethodId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the payment method update email fields.", "name": "email", "type": { "kind": "INPUT_OBJECT", "name": "EmailInput", "ofType": null } } ], "deprecationReason": null, "description": "Sends a link to the customer so they can update a specific payment method.", "isDeprecated": false, "name": "customerPaymentMethodSendUpdateEmail", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethodSendUpdateEmailPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer to update.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The list of tax exemptions to remove for the customer, in the format of an array or a comma-separated list. Example values: `[\"CA_BC_RESELLER_EXEMPTION\", \"A_STATUS_CARD_EXEMPTION\"]`, `\"CA_BC_RESELLER_EXEMPTION, CA_STATUS_CARD_EXEMPTION\"`.\n", "name": "taxExemptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } } ], "deprecationReason": null, "description": "Remove tax exemptions from a customer.", "isDeprecated": false, "name": "customerRemoveTaxExemptions", "type": { "kind": "OBJECT", "name": "CustomerRemoveTaxExemptionsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer to update.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The list of tax exemptions that will replace the current exemptions for a customer. Can be an array or a comma-separated list.\n Example values: `[\"CA_BC_RESELLER_EXEMPTION\", \"A_STATUS_CARD_EXEMPTION\"]`, `\"CA_BC_RESELLER_EXEMPTION, CA_STATUS_CARD_EXEMPTION\"`.\n", "name": "taxExemptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxExemption", "ofType": null } } } } } ], "deprecationReason": null, "description": "Replace tax exemptions for a customer.", "isDeprecated": false, "name": "customerReplaceTaxExemptions", "type": { "kind": "OBJECT", "name": "CustomerReplaceTaxExemptionsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to create a customer segment members query.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerSegmentMembersQueryInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a customer segment members query.", "isDeprecated": false, "name": "customerSegmentMembersQueryCreate", "type": { "kind": "OBJECT", "name": "CustomerSegmentMembersQueryCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields to update a customer's SMS marketing consent information.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerSmsMarketingConsentUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Update a customer's SMS marketing consent information.\n", "isDeprecated": false, "name": "customerSmsMarketingConsentUpdate", "type": { "kind": "OBJECT", "name": "CustomerSmsMarketingConsentUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Provides updated fields for the customer.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerInput", "ofType": null } } } ], "deprecationReason": null, "description": "Update a customer's attributes. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).", "isDeprecated": false, "name": "customerUpdate", "type": { "kind": "OBJECT", "name": "CustomerUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the customer whose default address is being updated.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the customer's new default address.", "name": "addressId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a customer's default address.", "isDeprecated": false, "name": "customerUpdateDefaultAddress", "type": { "kind": "OBJECT", "name": "CustomerUpdateDefaultAddressPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for creating a delegate access token.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DelegateAccessTokenInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a delegate access token.\n\nTo learn more about creating delegate access tokens, refer to\n[Delegate OAuth access tokens to subsystems]\n(https://shopify.dev/apps/auth/oauth/delegate-access-tokens).\n", "isDeprecated": false, "name": "delegateAccessTokenCreate", "type": { "kind": "OBJECT", "name": "DelegateAccessTokenCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Provides the delegate access token to destroy.", "name": "accessToken", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Destroys a delegate access token.", "isDeprecated": false, "name": "delegateAccessTokenDestroy", "type": { "kind": "OBJECT", "name": "DelegateAccessTokenDestroyPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The global IDs of the delivery customizations.", "name": "ids", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "defaultValue": null, "description": "The enabled status of the delivery customizations.", "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "deprecationReason": null, "description": "Activates and deactivates delivery customizations.", "isDeprecated": false, "name": "deliveryCustomizationActivation", "type": { "kind": "OBJECT", "name": "DeliveryCustomizationActivationPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the delivery customization.", "name": "deliveryCustomization", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryCustomizationInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a delivery customization.", "isDeprecated": false, "name": "deliveryCustomizationCreate", "type": { "kind": "OBJECT", "name": "DeliveryCustomizationCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The global ID of the delivery customization.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a delivery customization.", "isDeprecated": false, "name": "deliveryCustomizationDelete", "type": { "kind": "OBJECT", "name": "DeliveryCustomizationDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The global ID of the delivery customization.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input data used to update the delivery customization.", "name": "deliveryCustomization", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryCustomizationInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a delivery customization.", "isDeprecated": false, "name": "deliveryCustomizationUpdate", "type": { "kind": "OBJECT", "name": "DeliveryCustomizationUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields for a delivery profile.", "name": "profile", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryProfileInput", "ofType": null } } } ], "deprecationReason": null, "description": "Create a delivery profile.", "isDeprecated": false, "name": "deliveryProfileCreate", "type": { "kind": "OBJECT", "name": "deliveryProfileCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the delivery profile to remove.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Enqueue the removal of a delivery profile.", "isDeprecated": false, "name": "deliveryProfileRemove", "type": { "kind": "OBJECT", "name": "deliveryProfileRemovePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the delivery profile to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a delivery profile.", "name": "profile", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryProfileInput", "ofType": null } } }, { "defaultValue": null, "description": "Whether this delivery profile should leave legacy mode.", "name": "leaveLegacyModeProfiles", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Update a delivery profile.", "isDeprecated": false, "name": "deliveryProfileUpdate", "type": { "kind": "OBJECT", "name": "deliveryProfileUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields for the delivery shop level settings.", "name": "setting", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliverySettingInput", "ofType": null } } } ], "deprecationReason": null, "description": "Set the delivery settings for a shop.", "isDeprecated": false, "name": "deliverySettingUpdate", "type": { "kind": "OBJECT", "name": "DeliverySettingUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the location to assign as the shipping origin.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Assigns a location as the shipping origin while using legacy compatibility mode for multi-location delivery profiles.\n", "isDeprecated": false, "name": "deliveryShippingOriginAssign", "type": { "kind": "OBJECT", "name": "DeliveryShippingOriginAssignPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the automatic discount to activate.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Activates an automatic discount.", "isDeprecated": false, "name": "discountAutomaticActivate", "type": { "kind": "OBJECT", "name": "DiscountAutomaticActivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the app discount.", "name": "automaticAppDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountAutomaticAppInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates an app discount.", "isDeprecated": false, "name": "discountAutomaticAppCreate", "type": { "kind": "OBJECT", "name": "DiscountAutomaticAppCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the automatic app discount to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields required to update the automatic app discount.", "name": "automaticAppDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountAutomaticAppInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates an automatic app discount.", "isDeprecated": false, "name": "discountAutomaticAppUpdate", "type": { "kind": "OBJECT", "name": "DiscountAutomaticAppUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the automatic discount.", "name": "automaticBasicDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountAutomaticBasicInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a basic automatic discount.", "isDeprecated": false, "name": "discountAutomaticBasicCreate", "type": { "kind": "OBJECT", "name": "DiscountAutomaticBasicCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the automatic discount to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input data used to update the automatic discount.", "name": "automaticBasicDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountAutomaticBasicInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a basic automatic discount.", "isDeprecated": false, "name": "discountAutomaticBasicUpdate", "type": { "kind": "OBJECT", "name": "DiscountAutomaticBasicUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The search query for filtering automatic discounts to delete.\n\nFor more information on the list of supported fields and search syntax, refer to the [AutomaticDiscountNodes query section](https://shopify.dev/api/admin-graphql/latest/queries/automaticDiscountNodes#argument-automaticdiscountnodes-query).\n", "name": "search", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the saved search to use for filtering automatic discounts to delete.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the automatic discounts to delete.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "deprecationReason": null, "description": "Asynchronously delete automatic discounts in bulk if a `search` or `saved_search_id` argument is provided or if a\nmaximum discount threshold is reached (1,000). Otherwise, deletions will occur inline.\n**Warning:** All automatic discounts will be deleted if a blank `search` argument is provided.\n", "isDeprecated": false, "name": "discountAutomaticBulkDelete", "type": { "kind": "OBJECT", "name": "DiscountAutomaticBulkDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the automatic discount.", "name": "automaticBxgyDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountAutomaticBxgyInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a BXGY automatic discount.", "isDeprecated": false, "name": "discountAutomaticBxgyCreate", "type": { "kind": "OBJECT", "name": "DiscountAutomaticBxgyCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the automatic discount to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input data used to update the automatic discount.", "name": "automaticBxgyDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountAutomaticBxgyInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates an existing Buy X, Get Y (BXGY) automatic discount.", "isDeprecated": false, "name": "discountAutomaticBxgyUpdate", "type": { "kind": "OBJECT", "name": "DiscountAutomaticBxgyUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the automatic discount to deactivate.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deactivates an automatic discount.", "isDeprecated": false, "name": "discountAutomaticDeactivate", "type": { "kind": "OBJECT", "name": "DiscountAutomaticDeactivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the automatic discount to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes an automatic discount.", "isDeprecated": false, "name": "discountAutomaticDelete", "type": { "kind": "OBJECT", "name": "DiscountAutomaticDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the code discount to activate.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Activates a code discount.", "isDeprecated": false, "name": "discountCodeActivate", "type": { "kind": "OBJECT", "name": "DiscountCodeActivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the app discount.", "name": "codeAppDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountCodeAppInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a code app discount.", "isDeprecated": false, "name": "discountCodeAppCreate", "type": { "kind": "OBJECT", "name": "DiscountCodeAppCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the code app discount to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields required to update the code app discount.", "name": "codeAppDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountCodeAppInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a code app discount.", "isDeprecated": false, "name": "discountCodeAppUpdate", "type": { "kind": "OBJECT", "name": "DiscountCodeAppUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the code discount.", "name": "basicCodeDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountCodeBasicInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a basic code discount.", "isDeprecated": false, "name": "discountCodeBasicCreate", "type": { "kind": "OBJECT", "name": "DiscountCodeBasicCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the code discount to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input data used to update the code discount.", "name": "basicCodeDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountCodeBasicInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a basic code discount.", "isDeprecated": false, "name": "discountCodeBasicUpdate", "type": { "kind": "OBJECT", "name": "DiscountCodeBasicUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The search query for filtering code discounts.\n\nFor more information on the list of supported fields and search syntax, refer to the [CodeDiscountNodes query section](https://shopify.dev/api/admin-graphql/latest/queries/codeDiscountNodes#argument-codediscountnodes-query).\n", "name": "search", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the saved search.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the code discounts to activate.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "deprecationReason": null, "description": "Asynchronously activate code discounts in bulk using a search query, a saved search ID, or a list of code discount IDs.\n", "isDeprecated": false, "name": "discountCodeBulkActivate", "type": { "kind": "OBJECT", "name": "DiscountCodeBulkActivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The search query for filtering code discounts.\n\nFor more information on the list of supported fields and search syntax, refer to the [CodeDiscountNodes query section](https://shopify.dev/api/admin-graphql/latest/queries/codeDiscountNodes#argument-codediscountnodes-query).\n", "name": "search", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the saved search.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the code discounts to deactivate.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "deprecationReason": null, "description": "Asynchronously deactivate code discounts in bulk using a search query, a saved search ID, or a list of code discount IDs.\n", "isDeprecated": false, "name": "discountCodeBulkDeactivate", "type": { "kind": "OBJECT", "name": "DiscountCodeBulkDeactivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The search query for filtering code discounts to delete.\n\nFor more information on the list of supported fields and search syntax, refer to the [CodeDiscountNodes query section](https://shopify.dev/api/admin-graphql/latest/queries/codeDiscountNodes#argument-codediscountnodes-query).\n", "name": "search", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the saved search to use for filtering code discounts to delete.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the code discounts to delete.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "deprecationReason": null, "description": "Asynchronously delete code discounts in bulk using a search query, a saved search ID, or a list of code discount IDs.\n", "isDeprecated": false, "name": "discountCodeBulkDelete", "type": { "kind": "OBJECT", "name": "DiscountCodeBulkDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the code discount.", "name": "bxgyCodeDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountCodeBxgyInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a Buy X get Y (BXGY) code discount.", "isDeprecated": false, "name": "discountCodeBxgyCreate", "type": { "kind": "OBJECT", "name": "DiscountCodeBxgyCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the code discount to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input data used to update the code discount.", "name": "bxgyCodeDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountCodeBxgyInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a Buy X, Get Y (BXGY) code discount.", "isDeprecated": false, "name": "discountCodeBxgyUpdate", "type": { "kind": "OBJECT", "name": "DiscountCodeBxgyUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the code discount to deactivate.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deactivates a code discount.", "isDeprecated": false, "name": "discountCodeDeactivate", "type": { "kind": "OBJECT", "name": "DiscountCodeDeactivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the code discount to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a code discount.", "isDeprecated": false, "name": "discountCodeDelete", "type": { "kind": "OBJECT", "name": "DiscountCodeDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the code discount.", "name": "freeShippingCodeDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountCodeFreeShippingInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a free shipping code discount.", "isDeprecated": false, "name": "discountCodeFreeShippingCreate", "type": { "kind": "OBJECT", "name": "DiscountCodeFreeShippingCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the code discount to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input data used to update the code discount.", "name": "freeShippingCodeDiscount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountCodeFreeShippingInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a free shipping code discount.", "isDeprecated": false, "name": "discountCodeFreeShippingUpdate", "type": { "kind": "OBJECT", "name": "DiscountCodeFreeShippingUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the redeem code's discount.", "name": "discountId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The search query for filtering discount redeem codes.", "name": "search", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the saved search.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the discount redeem codes to delete.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "deprecationReason": null, "description": "Asynchronously delete discount redeem codes in bulk. Specify the redeem codes to delete by providing a\nsearch query, a saved search ID, or a list of redeem code IDs.\n", "isDeprecated": false, "name": "discountCodeRedeemCodeBulkDelete", "type": { "kind": "OBJECT", "name": "DiscountCodeRedeemCodeBulkDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the code discount that the codes will be added to.", "name": "discountId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The list of codes that will be added to the code discount. Maximum 100 codes permitted.", "name": "codes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DiscountRedeemCodeInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Asynchronously add discount redeem codes in bulk. Specify the codes to add\nand the discount code ID that the codes will belong to.\n", "isDeprecated": false, "name": "discountRedeemCodeBulkAdd", "type": { "kind": "OBJECT", "name": "DiscountRedeemCodeBulkAddPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the dispute evidence to be updated.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The updated properties for a dispute evidence.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeEvidenceUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a dispute evidence.", "isDeprecated": false, "name": "disputeEvidenceUpdate", "type": { "kind": "OBJECT", "name": "DisputeEvidenceUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The conditions for filtering draft orders on.\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax).\n", "name": "search", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the draft order saved search for filtering draft orders on.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the draft orders to add tags to.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "List of tags to be added.", "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } ], "deprecationReason": null, "description": "Adds tags to multiple draft orders.", "isDeprecated": false, "name": "draftOrderBulkAddTags", "type": { "kind": "OBJECT", "name": "DraftOrderBulkAddTagsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The conditions for filtering draft orders on.\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax).\n", "name": "search", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the draft order saved search for filtering draft orders on.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the draft orders to delete.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "deprecationReason": null, "description": "Deletes multiple draft orders.", "isDeprecated": false, "name": "draftOrderBulkDelete", "type": { "kind": "OBJECT", "name": "DraftOrderBulkDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The conditions for filtering draft orders on.\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax).\n", "name": "search", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the draft order saved search for filtering draft orders on.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the draft orders to remove tags from.", "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "List of tags to be removed.", "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } ], "deprecationReason": null, "description": "Removes tags from multiple draft orders.", "isDeprecated": false, "name": "draftOrderBulkRemoveTags", "type": { "kind": "OBJECT", "name": "DraftOrderBulkRemoveTagsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The fields for the draft order.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DraftOrderInput", "ofType": null } } } ], "deprecationReason": null, "description": "Calculates the properties of a draft order. Useful for determining information\nsuch as total taxes or price without actually creating a draft order.\n", "isDeprecated": false, "name": "draftOrderCalculate", "type": { "kind": "OBJECT", "name": "DraftOrderCalculatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The draft order to complete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "false", "description": "Whether the payment is pending.", "name": "paymentPending", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The gateway for the completed draft order.", "name": "paymentGatewayId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "A channel definition handle used for sales channel attribution.", "name": "sourceName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Completes a draft order and creates an order.", "isDeprecated": false, "name": "draftOrderComplete", "type": { "kind": "OBJECT", "name": "DraftOrderCompletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The fields used to create the draft order.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DraftOrderInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a draft order.", "isDeprecated": false, "name": "draftOrderCreate", "type": { "kind": "OBJECT", "name": "DraftOrderCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the Order's id that we create the Draft Order from.", "name": "orderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a Draft Order from Order.", "isDeprecated": false, "name": "draftOrderCreateFromOrder", "type": { "kind": "OBJECT", "name": "DraftOrderCreateFromOrderPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the Draft order's id that we create the checkout for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a merchant checkout for the given draft order.", "isDeprecated": false, "name": "draftOrderCreateMerchantCheckout", "type": { "kind": "OBJECT", "name": "DraftOrderCreateMerchantCheckoutPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specify the draft order to delete by its ID.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DraftOrderDeleteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a draft order.", "isDeprecated": false, "name": "draftOrderDelete", "type": { "kind": "OBJECT", "name": "DraftOrderDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the draft order to duplicate.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Duplicates a draft order.", "isDeprecated": false, "name": "draftOrderDuplicate", "type": { "kind": "OBJECT", "name": "DraftOrderDuplicatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the draft order invoice email to preview.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the draft order invoice email fields.", "name": "email", "type": { "kind": "INPUT_OBJECT", "name": "EmailInput", "ofType": null } } ], "deprecationReason": null, "description": "Previews a draft order invoice email.", "isDeprecated": false, "name": "draftOrderInvoicePreview", "type": { "kind": "OBJECT", "name": "DraftOrderInvoicePreviewPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the draft order to send the invoice for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the draft order invoice email fields.", "name": "email", "type": { "kind": "INPUT_OBJECT", "name": "EmailInput", "ofType": null } } ], "deprecationReason": null, "description": "Sends an email invoice for a draft order.", "isDeprecated": false, "name": "draftOrderInvoiceSend", "type": { "kind": "OBJECT", "name": "DraftOrderInvoiceSendPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the draft order to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The draft order properties to update.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DraftOrderInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a draft order.\n\nIf a checkout has been started for a draft order, any update to the draft will unlink the checkout. Checkouts\nare created but not immediately completed when opening the merchant credit card modal in the admin, and when a\nbuyer opens the invoice URL. This is usually fine, but there is an edge case where a checkout is in progress\nand the draft is updated before the checkout completes. This will not interfere with the checkout and order\ncreation, but if the link from draft to checkout is broken the draft will remain open even after the order is\ncreated.\n", "isDeprecated": false, "name": "draftOrderUpdate", "type": { "kind": "OBJECT", "name": "DraftOrderUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ARN for the EventBridge endpoint to which customer events are to be sent.", "name": "arn", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ARN", "ofType": null } } } ], "deprecationReason": null, "description": "Updates the server pixel to connect to an EventBridge endpoint.\nRunning this mutation deletes any previous subscriptions for the server pixel.\n", "isDeprecated": false, "name": "eventBridgeServerPixelUpdate", "type": { "kind": "OBJECT", "name": "EventBridgeServerPixelUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The type of event that triggers the webhook.", "name": "topic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WebhookSubscriptionTopic", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for an EventBridge webhook subscription.", "name": "webhookSubscription", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "EventBridgeWebhookSubscriptionInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new Amazon EventBridge webhook subscription.\n", "isDeprecated": false, "name": "eventBridgeWebhookSubscriptionCreate", "type": { "kind": "OBJECT", "name": "EventBridgeWebhookSubscriptionCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the webhook subscription to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for an EventBridge webhook subscription.", "name": "webhookSubscription", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "EventBridgeWebhookSubscriptionInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates an Amazon EventBridge webhook subscription.\n", "isDeprecated": false, "name": "eventBridgeWebhookSubscriptionUpdate", "type": { "kind": "OBJECT", "name": "EventBridgeWebhookSubscriptionUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "List of new files to be created.", "name": "files", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FileCreateInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Creates file assets using an external URL or for files that were previously uploaded using the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).\nThese files are added to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin.\n", "isDeprecated": false, "name": "fileCreate", "type": { "kind": "OBJECT", "name": "FileCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The IDs of the files to be deleted.", "name": "fileIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Deletes existing file assets that were uploaded to Shopify.", "isDeprecated": false, "name": "fileDelete", "type": { "kind": "OBJECT", "name": "FileDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "List of files to be updated.", "name": "files", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FileUpdateInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Updates an existing file asset that was uploaded to Shopify.", "isDeprecated": false, "name": "fileUpdate", "type": { "kind": "OBJECT", "name": "FileUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The payload needed to run the Trigger.", "name": "body", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Triggers any workflows that begin with the trigger specified in the request body. To learn more, refer to [_Create Shopify Flow triggers_](https://shopify.dev/apps/flow/triggers).", "isDeprecated": false, "name": "flowTriggerReceive", "type": { "kind": "OBJECT", "name": "FlowTriggerReceivePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment to be canceled.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Cancels a fulfillment.", "isDeprecated": false, "name": "fulfillmentCancel", "type": { "kind": "OBJECT", "name": "FulfillmentCancelPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields used to create a fulfillment from fulfillment orders.", "name": "fulfillment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentV2Input", "ofType": null } } }, { "defaultValue": null, "description": "An optional message for the fulfillment request.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Creates a fulfillment for one or many fulfillment orders.\nThe fulfillment orders are associated with the same order and are assigned to the same location.\n", "isDeprecated": false, "name": "fulfillmentCreateV2", "type": { "kind": "OBJECT", "name": "FulfillmentCreateV2Payload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields used to create a fulfillment event for a fulfillment.", "name": "fulfillmentEvent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentEventInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a fulfillment event for a specified fulfillment.", "isDeprecated": false, "name": "fulfillmentEventCreate", "type": { "kind": "OBJECT", "name": "FulfillmentEventCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order associated with the cancellation request.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An optional reason for accepting the cancellation request.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Accept a cancellation request sent to a fulfillment service for a fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderAcceptCancellationRequest", "type": { "kind": "OBJECT", "name": "FulfillmentOrderAcceptCancellationRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order associated with the fulfillment request.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An optional reason for accepting the fulfillment request.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderAcceptFulfillmentRequest", "type": { "kind": "OBJECT", "name": "FulfillmentOrderAcceptFulfillmentRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order to mark as canceled.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Marks a fulfillment order as canceled.", "isDeprecated": false, "name": "fulfillmentOrderCancel", "type": { "kind": "OBJECT", "name": "FulfillmentOrderCancelPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order to mark as incomplete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An optional reason for marking the fulfillment order as incomplete.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Marks an in-progress fulfillment order as incomplete, indicating the fulfillment service is unable to ship any remaining items and intends to close the fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderClose", "type": { "kind": "OBJECT", "name": "FulfillmentOrderClosePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order on which a fulfillment hold is applied.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The details of the fulfillment hold applied on the fulfillment order.", "name": "fulfillmentHold", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentOrderHoldInput", "ofType": null } } } ], "deprecationReason": null, "description": "Applies a fulfillment hold on an open fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderHold", "type": { "kind": "OBJECT", "name": "FulfillmentOrderHoldPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input for marking fulfillment order line items as ready for pickup.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemsPreparedForPickupInput", "ofType": null } } } ], "deprecationReason": null, "description": "Mark line items associated with a fulfillment order as being ready for pickup by a customer.\n\nSends a Ready For Pickup notification to the customer to let them know that their order is ready\nto be picked up.\n", "isDeprecated": false, "name": "fulfillmentOrderLineItemsPreparedForPickup", "type": { "kind": "OBJECT", "name": "FulfillmentOrderLineItemsPreparedForPickupPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order to be moved.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the location where the fulfillment order will be moved.", "name": "newLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The fulfillment order line items to be moved.\nIf left blank, all unfulfilled line items belonging to the fulfillment order are moved.\n", "name": "fulfillmentOrderLineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemInput", "ofType": null } } } } ], "deprecationReason": null, "description": "Changes the location which is assigned to fulfill a number of unfulfilled fulfillment order line items.\n\nLine items which have already been fulfilled can't be re-assigned\nand will always remain assigned to the original location.\n\nYou can't change the assigned location while a fulfillment order has a\n[request status](https://shopify.dev/docs/api/admin-graphql/latest/enums/FulfillmentOrderRequestStatus)\nof `SUBMITTED`, `ACCEPTED`, `CANCELLATION_REQUESTED`, or `CANCELLATION_REJECTED`.\nThese request statuses mean that a fulfillment order is awaiting action by a fulfillment service\nand can't be re-assigned without first having the fulfillment service accept a cancellation request.\nThis behavior is intended to prevent items from being fulfilled by multiple locations or fulfillment services.\n\n### How re-assigning line items affects fulfillment orders\n\n**First scenario:** Re-assign all line items belonging to a fulfillment order to a new location.\n\nIn this case, the\n[assignedLocation](https://shopify.dev/docs/api/admin-graphql/latest/objects/fulfillmentorder#field-fulfillmentorder-assignedlocation)\nof the original fulfillment order will be updated to the new location.\n\n**Second scenario:** Re-assign a subset of the line items belonging to a fulfillment order to a new location.\nYou can specify a subset of line items using the `fulfillmentOrderLineItems` parameter\n(available as of the `2023-04` API version),\nor specify that the original fulfillment order contains line items which have already been fulfilled.\n\nIf the new location is already assigned to another active fulfillment order, on the same order,\nthen the line items are moved to the existing fulfillment order.\nOtherwise, a new fulfillment order is created for the new location, and the line items are moved to the new location.\n", "isDeprecated": false, "name": "fulfillmentOrderMove", "type": { "kind": "OBJECT", "name": "FulfillmentOrderMovePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order to mark as open.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Marks a scheduled fulfillment order as open.", "isDeprecated": false, "name": "fulfillmentOrderOpen", "type": { "kind": "OBJECT", "name": "FulfillmentOrderOpenPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order associated with the cancellation request.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An optional reason for rejecting the cancellation request.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Rejects a cancellation request sent to a fulfillment service for a fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderRejectCancellationRequest", "type": { "kind": "OBJECT", "name": "FulfillmentOrderRejectCancellationRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order associated with the fulfillment request.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The reason for the fulfillment order rejection.", "name": "reason", "type": { "kind": "ENUM", "name": "FulfillmentOrderRejectionReason", "ofType": null } }, { "defaultValue": null, "description": "An optional reason for rejecting the fulfillment request.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A list of rejected line items.", "name": "lineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "IncomingRequestLineItemInput", "ofType": null } } } } ], "deprecationReason": null, "description": "Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderRejectFulfillmentRequest", "type": { "kind": "OBJECT", "name": "FulfillmentOrderRejectFulfillmentRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order for which to release the fulfillment hold.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A configurable ID used to track the automation system releasing this hold.", "name": "externalId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Releases the fulfillment hold on a fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderReleaseHold", "type": { "kind": "OBJECT", "name": "FulfillmentOrderReleaseHoldPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order to reschedule.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new fulfill at date of the fulfillment order.", "name": "fulfillAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "deprecationReason": null, "description": "Reschedules a scheduled fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderReschedule", "type": { "kind": "OBJECT", "name": "FulfillmentOrderReschedulePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order associated with the cancellation request.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An optional reason for the cancellation request.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Sends a cancellation request to the fulfillment service of a fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderSubmitCancellationRequest", "type": { "kind": "OBJECT", "name": "FulfillmentOrderSubmitCancellationRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment order associated with fulfillment request.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An optional message for the fulfillment request.", "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether the customer should be notified when fulfillments are created for this fulfillment order.\n", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The fulfillment order line items to be requested for fulfillment.\nIf left blank, all line items of the fulfillment order are requested for fulfillment.\n", "name": "fulfillmentOrderLineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentOrderLineItemInput", "ofType": null } } } }, { "defaultValue": null, "description": "A reference to the [ShippingMethod](https://shopify.dev/api/admin-graphql/latest/objects/shippingmethod) code, such as `FREE_SHIPPING`.", "name": "shippingMethod", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Sends a fulfillment request to the fulfillment service of a fulfillment order.", "isDeprecated": false, "name": "fulfillmentOrderSubmitFulfillmentRequest", "type": { "kind": "OBJECT", "name": "FulfillmentOrderSubmitFulfillmentRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The IDs of the fulfillment orders for which to release the fulfillment holds.", "name": "ids", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "defaultValue": null, "description": "A configurable ID used to track the automation system releasing these holds.", "name": "externalId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Releases the fulfillment holds on a list of fulfillment orders.", "isDeprecated": false, "name": "fulfillmentOrdersReleaseHolds", "type": { "kind": "OBJECT", "name": "FulfillmentOrdersReleaseHoldsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The IDs of the fulfillment orders for which the deadline is being set.", "name": "fulfillmentOrderIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "defaultValue": null, "description": "The new fulfillment deadline of the fulfillment orders.", "name": "fulfillmentDeadline", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "deprecationReason": null, "description": "Sets the latest date and time by which the fulfillment orders need to be fulfilled.", "isDeprecated": false, "name": "fulfillmentOrdersSetFulfillmentDeadline", "type": { "kind": "OBJECT", "name": "FulfillmentOrdersSetFulfillmentDeadlinePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The name of the fulfillment service.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The URL to send requests for the fulfillment service. The following considerations apply:\n\n- Shopify queries the callback_url/fetch_tracking_numbers endpoint to retrieve tracking numbers\n for orders, if `trackingSupport` is set to `true`.\n- Shopify queries the callback_url/fetch_stock endpoint to retrieve inventory levels,\n if `inventoryManagement` is set to `true`.\n- Shopify uses the callback_url/fulfillment_order_notification endpoint to send\n [fulfillment and cancellation requests](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-2-receive-fulfillment-requests-and-cancellations).\n", "name": "callbackUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "defaultValue": "false", "description": "Whether the fulfillment service provides tracking numbers for packages.\n", "name": "trackingSupport", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Whether the fulfillment service uses the [fulfillment order based workflow](\n https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments\n) for managing fulfillments.\n\n[As of 2022-07 API version](https://shopify.dev/changelog/legacy-fulfillment-api-deprecation),\nthe fulfillment order based workflow is the only way to manage fulfillments,\nand `fulfillmentOrdersOptIn` must be set to `true`.\n", "name": "fulfillmentOrdersOptIn", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "defaultValue": "false", "description": "Whether the fulfillment service can stock inventory alongside other locations.", "name": "permitsSkuSharing", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "Whether the fulfillment service manages product inventory and provides updates to Shopify.\n", "name": "inventoryManagement", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Creates a fulfillment service.", "isDeprecated": false, "name": "fulfillmentServiceCreate", "type": { "kind": "OBJECT", "name": "FulfillmentServiceCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment service to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the location where inventory and commitments will be relocated\nafter the fulfillment service is deleted.\n", "name": "destinationLocationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Deletes a fulfillment service.", "isDeprecated": false, "name": "fulfillmentServiceDelete", "type": { "kind": "OBJECT", "name": "FulfillmentServiceDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The id of the fulfillment service.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The name of the fulfillment service.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The URL to send requests for the fulfillment service. The following considerations apply:\n\n- Shopify queries the callback_url/fetch_tracking_numbers endpoint to retrieve tracking numbers\n for orders, if `trackingSupport` is set to `true`.\n- Shopify queries the callback_url/fetch_stock endpoint to retrieve inventory levels,\n if `inventoryManagement` is set to `true`.\n- Shopify uses the callback_url/fulfillment_order_notification endpoint to send\n [fulfillment and cancellation requests](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-2-receive-fulfillment-requests-and-cancellations).\n", "name": "callbackUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "defaultValue": null, "description": "Whether the fulfillment service provides tracking numbers for packages.\n", "name": "trackingSupport", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Whether the fulfillment service uses the [fulfillment order based workflow](\n https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments\n) for managing fulfillments.\n\n[As of 2022-07 API version](https://shopify.dev/changelog/legacy-fulfillment-api-deprecation),\nthe fulfillment order based workflow is the only way to manage fulfillments,\nand `true` is the only valid value for `fulfillmentOrdersOptIn`.\n", "name": "fulfillmentOrdersOptIn", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Whether the fulfillment service can stock inventory alongside other locations.", "name": "permitsSkuSharing", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Updates a fulfillment service.", "isDeprecated": false, "name": "fulfillmentServiceUpdate", "type": { "kind": "OBJECT", "name": "FulfillmentServiceUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the fulfillment.", "name": "fulfillmentId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The tracking input for the mutation, including tracking URL, number, and company.", "name": "trackingInfoInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FulfillmentTrackingInput", "ofType": null } } }, { "defaultValue": null, "description": "Whether the customer will be notified of this update and future updates for the fulfillment.\nIf this field is left blank, then notifications won't be sent to the customer when the fulfillment is updated.\n", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Updates tracking information for a fulfillment.", "isDeprecated": false, "name": "fulfillmentTrackingInfoUpdateV2", "type": { "kind": "OBJECT", "name": "FulfillmentTrackingInfoUpdateV2Payload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to create a gift card.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "GiftCardCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Create a gift card.", "isDeprecated": false, "name": "giftCardCreate", "type": { "kind": "OBJECT", "name": "GiftCardCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the gift card to disable.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Disable a gift card. A disabled gift card cannot be used by a customer. A disabled gift card cannot be re-enabled.\n", "isDeprecated": false, "name": "giftCardDisable", "type": { "kind": "OBJECT", "name": "GiftCardDisablePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the gift card to be updated.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields to update the gift card.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "GiftCardUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Update a gift card.", "isDeprecated": false, "name": "giftCardUpdate", "type": { "kind": "OBJECT", "name": "GiftCardUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the inventory item to activate.", "name": "inventoryItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the location of the inventory item being activated.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The initial available quantity of the inventory item being activated at the location.", "name": "available", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The initial on_hand quantity of the inventory item being activated at the location.", "name": "onHand", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "Activate an inventory item at a location.", "isDeprecated": false, "name": "inventoryActivate", "type": { "kind": "OBJECT", "name": "InventoryActivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The information required to adjust inventory quantities.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryAdjustQuantitiesInput", "ofType": null } } } ], "deprecationReason": null, "description": "Apply changes to inventory quantities.", "isDeprecated": false, "name": "inventoryAdjustQuantities", "type": { "kind": "OBJECT", "name": "InventoryAdjustQuantitiesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Provides the input fields required to update an inventory level.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryAdjustQuantityInput", "ofType": null } } } ], "deprecationReason": "Use `inventoryAdjustQuantities` instead.", "description": "Adjusts the inventory by a certain quantity.", "isDeprecated": true, "name": "inventoryAdjustQuantity", "type": { "kind": "OBJECT", "name": "InventoryAdjustQuantityPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies adjustments for items.", "name": "inventoryItemAdjustments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryAdjustItemInput", "ofType": null } } } } }, { "defaultValue": null, "description": "Specifies where the item should be adjusted.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `inventoryAdjustQuantities` instead.", "description": "Adjusts the inventory at a location for multiple inventory items.", "isDeprecated": true, "name": "inventoryBulkAdjustQuantityAtLocation", "type": { "kind": "OBJECT", "name": "InventoryBulkAdjustQuantityAtLocationPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the inventory item to modify the activation status locations for.", "name": "inventoryItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of pairs of locations and activate status to update for the specified inventory item.", "name": "inventoryItemUpdates", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryBulkToggleActivationInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.", "isDeprecated": false, "name": "inventoryBulkToggleActivation", "type": { "kind": "OBJECT", "name": "InventoryBulkToggleActivationPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the inventory level to deactivate.", "name": "inventoryLevelId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Removes an inventory item's quantities from a location, and turns off inventory at the location.", "isDeprecated": false, "name": "inventoryDeactivate", "type": { "kind": "OBJECT", "name": "InventoryDeactivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the inventory item to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields that update an [`inventoryItem`](https://shopify.dev/api/admin-graphql/latest/queries/inventoryitem).", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryItemUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates an inventory item.", "isDeprecated": false, "name": "inventoryItemUpdate", "type": { "kind": "OBJECT", "name": "InventoryItemUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The information required to move inventory quantities.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryMoveQuantitiesInput", "ofType": null } } } ], "deprecationReason": null, "description": "Moves inventory between inventory quantities.", "isDeprecated": false, "name": "inventoryMoveQuantities", "type": { "kind": "OBJECT", "name": "InventoryMoveQuantitiesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The information required to set inventory on hand quantities.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventorySetOnHandQuantitiesInput", "ofType": null } } } ], "deprecationReason": null, "description": "Set inventory on-hand quantities using absolute values.", "isDeprecated": false, "name": "inventorySetOnHandQuantities", "type": { "kind": "OBJECT", "name": "InventorySetOnHandQuantitiesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of a location to activate.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Activates a location.", "isDeprecated": false, "name": "locationActivate", "type": { "kind": "OBJECT", "name": "LocationActivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties of the location to add.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "LocationAddInput", "ofType": null } } } ], "deprecationReason": null, "description": "Adds a new location.", "isDeprecated": false, "name": "locationAdd", "type": { "kind": "OBJECT", "name": "LocationAddPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of a location to deactivate.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of a destination location to which inventory, pending orders and moving transfers will be moved from the location to deactivate.", "name": "destinationLocationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location.", "isDeprecated": false, "name": "locationDeactivate", "type": { "kind": "OBJECT", "name": "LocationDeactivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of a location to delete.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a location.", "isDeprecated": false, "name": "locationDelete", "type": { "kind": "OBJECT", "name": "LocationDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of a location to edit.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The updated properties for the location.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "LocationEditInput", "ofType": null } } } ], "deprecationReason": null, "description": "Edits an existing location.", "isDeprecated": false, "name": "locationEdit", "type": { "kind": "OBJECT", "name": "LocationEditPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the location to disable local pickup for.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Disables local pickup for a location.", "isDeprecated": false, "name": "locationLocalPickupDisable", "type": { "kind": "OBJECT", "name": "LocationLocalPickupDisablePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The settings required to enable local pickup for a location.", "name": "localPickupSettings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeliveryLocationLocalPickupEnableInput", "ofType": null } } } ], "deprecationReason": null, "description": "Enables local pickup for a location.", "isDeprecated": false, "name": "locationLocalPickupEnable", "type": { "kind": "OBJECT", "name": "LocationLocalPickupEnablePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties of the new market.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new market.", "isDeprecated": false, "name": "marketCreate", "type": { "kind": "OBJECT", "name": "MarketCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the market definition to target.", "name": "marketId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Properties to update for the market currency settings.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketCurrencySettingsUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates currency settings of a market.", "isDeprecated": false, "name": "marketCurrencySettingsUpdate", "type": { "kind": "OBJECT", "name": "MarketCurrencySettingsUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the market to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a market definition.", "isDeprecated": false, "name": "marketDelete", "type": { "kind": "OBJECT", "name": "MarketDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the resource that is being localized within the context of a market.", "name": "resourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields for a market localization.", "name": "marketLocalizations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketLocalizationRegisterInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Creates or updates market localizations.", "isDeprecated": false, "name": "marketLocalizationsRegister", "type": { "kind": "OBJECT", "name": "MarketLocalizationsRegisterPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the resource for which market localizations are being deleted.", "name": "resourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The list of market localization keys.", "name": "marketLocalizationKeys", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "defaultValue": null, "description": "The list of market IDs.", "name": "marketIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Deletes market localizations.", "isDeprecated": false, "name": "marketLocalizationsRemove", "type": { "kind": "OBJECT", "name": "MarketLocalizationsRemovePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the market region to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a market region.", "isDeprecated": false, "name": "marketRegionDelete", "type": { "kind": "OBJECT", "name": "MarketRegionDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the market to add the regions to.", "name": "marketId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The regions to be created.\n", "name": "regions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketRegionCreateInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Creates regions that belong to an existing market.", "isDeprecated": false, "name": "marketRegionsCreate", "type": { "kind": "OBJECT", "name": "MarketRegionsCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the market to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties to update.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates the properties of a market.", "isDeprecated": false, "name": "marketUpdate", "type": { "kind": "OBJECT", "name": "MarketUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the market for which to create a web presence.", "name": "marketId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The details of the web presence to be created.\n", "name": "webPresence", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketWebPresenceCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a web presence for a market.", "isDeprecated": false, "name": "marketWebPresenceCreate", "type": { "kind": "OBJECT", "name": "MarketWebPresenceCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the market for which to delete the web presence.", "name": "marketId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a market web presence.", "isDeprecated": false, "name": "marketWebPresenceDelete", "type": { "kind": "OBJECT", "name": "MarketWebPresenceDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the market for which to update the web presence.", "name": "marketId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The web_presence fields used to update the market's web presence.\n", "name": "webPresence", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketWebPresenceUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a market web presence.", "isDeprecated": false, "name": "marketWebPresenceUpdate", "type": { "kind": "OBJECT", "name": "MarketWebPresenceUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The Input of marketing activity create.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketingActivityCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Create new marketing activity.", "isDeprecated": false, "name": "marketingActivityCreate", "type": { "kind": "OBJECT", "name": "MarketingActivityCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input field for creating a external marketing activity.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketingActivityCreateExternalInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new external marketing activity.", "isDeprecated": false, "name": "marketingActivityCreateExternal", "type": { "kind": "OBJECT", "name": "MarketingActivityCreateExternalPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The Input of the marketing activity.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketingActivityUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a marketing activity with the latest information.", "isDeprecated": false, "name": "marketingActivityUpdate", "type": { "kind": "OBJECT", "name": "MarketingActivityUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input to update the external marketing activity.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketingActivityUpdateExternalInput", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the marketing activity. You must provide one of the following values: marketing activity ID, remote ID, or UTM must be provided.", "name": "marketingActivityId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The remote ID of the marketing event associated with the marketing activity. You must provide one of the following values: marketing activity ID, remote ID, or UTM must be provided.", "name": "remoteId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The UTM parameters associated with marketing activities to filter by.You must provide one of the following values: marketing activity ID, remote ID, or UTM must be provided.", "name": "utm", "type": { "kind": "INPUT_OBJECT", "name": "UTMInput", "ofType": null } } ], "deprecationReason": null, "description": "Update an external marketing activity.", "isDeprecated": false, "name": "marketingActivityUpdateExternal", "type": { "kind": "OBJECT", "name": "MarketingActivityUpdateExternalPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the marketing activity.", "name": "marketingActivityId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The marketing engagement's attributes.", "name": "marketingEngagement", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MarketingEngagementInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new marketing event engagement for a marketing activity.", "isDeprecated": false, "name": "marketingEngagementCreate", "type": { "kind": "OBJECT", "name": "MarketingEngagementCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields for a metafield definition.", "name": "definition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a metafield definition.\n", "isDeprecated": false, "name": "metafieldDefinitionCreate", "type": { "kind": "OBJECT", "name": "MetafieldDefinitionCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The id of the metafield definition to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "false", "description": "Whether to delete all associated metafields.", "name": "deleteAllAssociatedMetafields", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Delete a metafield definition.\nOptionally deletes all associated metafields asynchronously when specified.\n", "isDeprecated": false, "name": "metafieldDefinitionDelete", "type": { "kind": "OBJECT", "name": "MetafieldDefinitionDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the metafield definition to pin.", "name": "definitionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions.\nThe order of your pinned metafield definitions determines the order in which your metafields are displayed\non the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed.\n", "isDeprecated": false, "name": "metafieldDefinitionPin", "type": { "kind": "OBJECT", "name": "MetafieldDefinitionPinPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the metafield definition to unpin.", "name": "definitionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions.\nThe order of your pinned metafield definitions determines the order in which your metafields are displayed\non the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed.\n", "isDeprecated": false, "name": "metafieldDefinitionUnpin", "type": { "kind": "OBJECT", "name": "MetafieldDefinitionUnpinPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for the metafield definition update.", "name": "definition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldDefinitionUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a metafield definition.\n", "isDeprecated": false, "name": "metafieldDefinitionUpdate", "type": { "kind": "OBJECT", "name": "MetafieldDefinitionUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": null, "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldDeleteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a metafield.", "isDeprecated": false, "name": "metafieldDelete", "type": { "kind": "OBJECT", "name": "MetafieldDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields for a `MetafieldStorefrontVisibility` record.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldStorefrontVisibilityInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a `MetafieldStorefrontVisibility` record to make all metafields that belong to the specified resource\nand have the established `namespace` and `key` combination visible in the Storefront API.\n", "isDeprecated": false, "name": "metafieldStorefrontVisibilityCreate", "type": { "kind": "OBJECT", "name": "MetafieldStorefrontVisibilityCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the `MetafieldStorefrontVisibility` record to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a `MetafieldStorefrontVisibility` record. All metafields that belongs to the specified record will no\nlonger be visible in the Storefront API.\n", "isDeprecated": false, "name": "metafieldStorefrontVisibilityDelete", "type": { "kind": "OBJECT", "name": "MetafieldStorefrontVisibilityDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The list of metafield values to set. Maximum of 25.", "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldsSetInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Sets metafield values. Metafield values will be set regardless if they were previously created or not.\n\nAllows a maximum of 25 metafields to be set at a time.\n\nNote that this operation is atomic as of `2023-01`, meaning no changes are persisted if any error is\nencountered.\n", "isDeprecated": false, "name": "metafieldsSet", "type": { "kind": "OBJECT", "name": "MetafieldsSetPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the condition by which metaobjects are deleted.\nExactly one field of input is required.\n", "name": "where", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectBulkDeleteWhereCondition", "ofType": null } } } ], "deprecationReason": null, "description": "Asynchronously delete metaobjects and their associated metafields in bulk.", "isDeprecated": false, "name": "metaobjectBulkDelete", "type": { "kind": "OBJECT", "name": "MetaobjectBulkDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The parameters for the metaobject to create.", "name": "metaobject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new metaobject.", "isDeprecated": false, "name": "metaobjectCreate", "type": { "kind": "OBJECT", "name": "MetaobjectCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for creating a metaobject definition.", "name": "definition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectDefinitionCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new metaobject definition.", "isDeprecated": false, "name": "metaobjectDefinitionCreate", "type": { "kind": "OBJECT", "name": "MetaobjectDefinitionCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the metaobjects definition to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes the specified metaobject definition.\nAlso deletes all related metafield definitions, metaobjects, and metafields asynchronously.\n", "isDeprecated": false, "name": "metaobjectDefinitionDelete", "type": { "kind": "OBJECT", "name": "MetaobjectDefinitionDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the metaobject definition to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields for updating a metaobject definition.", "name": "definition", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectDefinitionUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a metaobject definition with new settings and metafield definitions.", "isDeprecated": false, "name": "metaobjectDefinitionUpdate", "type": { "kind": "OBJECT", "name": "MetaobjectDefinitionUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the metaobject to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes the specified metaobject and its associated metafields.", "isDeprecated": false, "name": "metaobjectDelete", "type": { "kind": "OBJECT", "name": "MetaobjectDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the metaobject to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies parameters to update on the metaobject.", "name": "metaobject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates an existing metaobject.", "isDeprecated": false, "name": "metaobjectUpdate", "type": { "kind": "OBJECT", "name": "MetaobjectUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The identifier of the metaobject to upsert.", "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectHandleInput", "ofType": null } } }, { "defaultValue": null, "description": "The parameters to upsert the metaobject.", "name": "metaobject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectUpsertInput", "ofType": null } } } ], "deprecationReason": null, "description": "Retrieves a metaobject by handle, then updates it with the provided input values.\nIf no matching metaobject is found, a new metaobject is created with the provided input values.\n", "isDeprecated": false, "name": "metaobjectUpsert", "type": { "kind": "OBJECT", "name": "MetaobjectUpsertPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input for the mutation.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OrderCaptureInput", "ofType": null } } } ], "deprecationReason": null, "description": "Captures payment for an authorized transaction on an order. An order can only be captured if it has a successful authorization transaction. Capturing an order will claim the money reserved by the authorization.", "isDeprecated": false, "name": "orderCapture", "type": { "kind": "OBJECT", "name": "OrderCapturePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input for the mutation.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OrderCloseInput", "ofType": null } } } ], "deprecationReason": null, "description": "Closes an open order.\n", "isDeprecated": false, "name": "orderClose", "type": { "kind": "OBJECT", "name": "OrderClosePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the order to collect the balance for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the payment schedule to collect the balance for.", "name": "paymentScheduleId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "A unique key to identify the payment request.", "name": "idempotencyKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The mandate ID used for payment.", "name": "mandateId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "true", "description": "Whether the payment should be authorized or captured. If `false`, then the authorization of\n the payment is triggered.", "name": "autoCapture", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Creates a payment for an order by mandate.", "isDeprecated": false, "name": "orderCreateMandatePayment", "type": { "kind": "OBJECT", "name": "OrderCreateMandatePaymentPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nto which the custom item is added.\n", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The name of the custom item to add.", "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the retail [location](https://shopify.dev/api/admin-graphql/latest/objects/location)\n(if applicable) from which the custom item is sold. Used for tax calculations. A default location will be chosen automatically if none is provided.\n", "name": "locationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The unit price of the custom item. This value can't be negative.", "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the custom item. This value must be greater than zero.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "Whether the custom item is taxable. Defaults to `true`.", "name": "taxable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Whether the custom item requires shipping. Defaults to `false`.", "name": "requiresShipping", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Adds a custom line item to an existing order. For example, you could add a gift wrapping service as a [custom line item](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing#add-a-custom-line-item). To learn how to edit existing orders, refer to [Edit an existing order with Admin API](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).", "isDeprecated": false, "name": "orderEditAddCustomItem", "type": { "kind": "OBJECT", "name": "OrderEditAddCustomItemPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the calculated order to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of a newly added calculated line item to add the discount to.", "name": "lineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The discount to add to the line item.", "name": "discount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OrderEditAppliedDiscountInput", "ofType": null } } } ], "deprecationReason": null, "description": "Adds a discount to a newly added line item on the current order edit. More information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).", "isDeprecated": false, "name": "orderEditAddLineItemDiscount", "type": { "kind": "OBJECT", "name": "OrderEditAddLineItemDiscountPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nto edit.\n", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the variant to add.", "name": "variantId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the [location](https://shopify.dev/api/admin-graphql/latest/objects/location)\nto check for inventory availability. A default location ID is chosen automatically if none is provided.\n", "name": "locationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The quantity of the item to add to the order. Must be a positive value.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": "false", "description": "Whether the mutation can create a line item for a variant that's already on the calculated order.", "name": "allowDuplicates", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Adds a line item from an existing product variant.", "isDeprecated": false, "name": "orderEditAddVariant", "type": { "kind": "OBJECT", "name": "OrderEditAddVariantPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the order to begin editing.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Starts editing an order. Mutations are operating on `OrderEdit`.\nAll order edits start with `orderEditBegin`, have any number of `orderEdit`* mutations made, and end with `orderEditCommit`.\n", "isDeprecated": false, "name": "orderEditBegin", "type": { "kind": "OBJECT", "name": "OrderEditBeginPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the calculated order that will have its changes applied to the order.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Whether to notify the customer or not.", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Note for staff members.", "name": "staffNote", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Applies and saves staged changes to an order. Mutations are operating on `OrderEdit`.\nAll order edits start with `orderEditBegin`, have any number of `orderEdit`* mutations made, and end with `orderEditCommit`.\n", "isDeprecated": false, "name": "orderEditCommit", "type": { "kind": "OBJECT", "name": "OrderEditCommitPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nfrom which to remove the discount.\n", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the [calculated discount application](https://shopify.dev/api/admin-graphql/latest/interfaces/calculateddiscountapplication)\nto remove.\n", "name": "discountApplicationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Removes a line item discount that was applied as part of an order edit.", "isDeprecated": false, "name": "orderEditRemoveLineItemDiscount", "type": { "kind": "OBJECT", "name": "OrderEditRemoveLineItemDiscountPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the calculated order to edit. The edit changes the quantity on the line item.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the line item to edit.", "name": "lineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new quantity to set for the line item. This value cannot be negative.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "Whether or not to restock the line item when the updated quantity is less than the original quantity.\n", "name": "restock", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Sets the quantity of a line item on an order that is being edited. More information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).", "isDeprecated": false, "name": "orderEditSetQuantity", "type": { "kind": "OBJECT", "name": "OrderEditSetQuantityPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The order associated with the invoice.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The email input fields for the order invoice. The `bcc` and `from` fields should be store or staff account emails.", "name": "email", "type": { "kind": "INPUT_OBJECT", "name": "EmailInput", "ofType": null } } ], "deprecationReason": null, "description": "Sends an email invoice for an order.", "isDeprecated": false, "name": "orderInvoiceSend", "type": { "kind": "OBJECT", "name": "OrderInvoiceSendPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input for the mutation.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OrderMarkAsPaidInput", "ofType": null } } } ], "deprecationReason": null, "description": "Marks an order as paid. You can only mark an order as paid if it isn't already fully paid.\n", "isDeprecated": false, "name": "orderMarkAsPaid", "type": { "kind": "OBJECT", "name": "OrderMarkAsPaidPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input for the mutation.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OrderOpenInput", "ofType": null } } } ], "deprecationReason": null, "description": "Opens a closed order.\n", "isDeprecated": false, "name": "orderOpen", "type": { "kind": "OBJECT", "name": "OrderOpenPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input for the mutation.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OrderInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates the fields of an order.", "isDeprecated": false, "name": "orderUpdate", "type": { "kind": "OBJECT", "name": "OrderUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The global IDs of the payment customizations.", "name": "ids", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "defaultValue": null, "description": "The enabled status of the payment customizations.", "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "deprecationReason": null, "description": "Activates and deactivates payment customizations.", "isDeprecated": false, "name": "paymentCustomizationActivation", "type": { "kind": "OBJECT", "name": "PaymentCustomizationActivationPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input data used to create the payment customization.", "name": "paymentCustomization", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentCustomizationInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a payment customization.", "isDeprecated": false, "name": "paymentCustomizationCreate", "type": { "kind": "OBJECT", "name": "PaymentCustomizationCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The global ID of the payment customization.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a payment customization.", "isDeprecated": false, "name": "paymentCustomizationDelete", "type": { "kind": "OBJECT", "name": "PaymentCustomizationDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The global ID of the payment customization.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input data used to update the payment customization.", "name": "paymentCustomization", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentCustomizationInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a payment customization.", "isDeprecated": false, "name": "paymentCustomizationUpdate", "type": { "kind": "OBJECT", "name": "PaymentCustomizationUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The payment schedule id associated with the reminder.", "name": "paymentScheduleId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Sends an email payment reminder for a payment schedule.", "isDeprecated": false, "name": "paymentReminderSend", "type": { "kind": "OBJECT", "name": "PaymentReminderSendPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the reference orderId to add the payment terms for.", "name": "referenceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The attributes used to create the payment terms.", "name": "paymentTermsAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentTermsCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Create payment terms on an order. To create payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.", "isDeprecated": false, "name": "paymentTermsCreate", "type": { "kind": "OBJECT", "name": "PaymentTermsCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields used to delete the payment terms.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentTermsDeleteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Delete payment terms for an order. To delete payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.", "isDeprecated": false, "name": "paymentTermsDelete", "type": { "kind": "OBJECT", "name": "PaymentTermsDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields used to update the payment terms.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentTermsUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Update payment terms on an order. To update payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.", "isDeprecated": false, "name": "paymentTermsUpdate", "type": { "kind": "OBJECT", "name": "PaymentTermsUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties of the new price list.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceListCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a price list. You can use the `priceListCreate` mutation to create a new price list for a country. This enables you to sell your products with international pricing.", "isDeprecated": false, "name": "priceListCreate", "type": { "kind": "OBJECT", "name": "PriceListCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the price list to be deleted.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a price list. For example, you can delete a price list so that it no longer applies for products in the associated market.", "isDeprecated": false, "name": "priceListDelete", "type": { "kind": "OBJECT", "name": "PriceListDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the price list to which the fixed prices will be added or updated.", "name": "priceListId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The list of fixed prices to add or update in the price list.", "name": "prices", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceListPriceInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Creates or updates fixed prices on a price list. You can use the `priceListFixedPricesAdd` mutation to set a fixed price for specific product variants. This lets you change product variant pricing on a per country basis. Any existing fixed price list prices for these variants will be overwritten.", "isDeprecated": false, "name": "priceListFixedPricesAdd", "type": { "kind": "OBJECT", "name": "PriceListFixedPricesAddPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "A list of `PriceListProductPriceInput` that identifies which products to update the fixed prices for.", "name": "pricesToAdd", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceListProductPriceInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of product IDs that identifies which products to remove the fixed prices for.", "name": "pricesToDeleteByProductIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The price list to update the prices for.", "name": "priceListId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Updates the fixed prices for all variants for a product on a price list. You can use the `priceListFixedPricesByProductUpdate` mutation to set or remove a fixed price for all variants of a product associated with the price list.", "isDeprecated": false, "name": "priceListFixedPricesByProductUpdate", "type": { "kind": "OBJECT", "name": "PriceListFixedPricesByProductUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the price list from which the fixed prices will be removed.", "name": "priceListId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of product variant IDs whose fixed prices will be removed from the price list.", "name": "variantIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Deletes specific fixed prices from a price list using a product variant ID. You can use the `priceListFixedPricesDelete` mutation to delete a set of fixed prices from a price list. After deleting the set of fixed prices from the price list, the price of each product variant reverts to the original price that was determined by the price list adjustment.", "isDeprecated": false, "name": "priceListFixedPricesDelete", "type": { "kind": "OBJECT", "name": "PriceListFixedPricesDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The price list that the prices will be updated against.", "name": "priceListId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The fixed prices to add.", "name": "pricesToAdd", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceListPriceInput", "ofType": null } } } } }, { "defaultValue": null, "description": "A list of product variant IDs to remove from the price list.", "name": "variantIdsToDelete", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Updates fixed prices on a price list. You can use the `priceListFixedPricesUpdate` mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list.", "isDeprecated": false, "name": "priceListFixedPricesUpdate", "type": { "kind": "OBJECT", "name": "PriceListFixedPricesUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the price list to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input data used to update the price list.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceListUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a price list.\nIf you modify the currency, then any fixed prices set on the price list will be deleted.\n", "isDeprecated": false, "name": "priceListUpdate", "type": { "kind": "OBJECT", "name": "PriceListUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ID of the price rule to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `discountCodeActivate` instead.", "description": "Activate a price rule.", "isDeprecated": true, "name": "priceRuleActivate", "type": { "kind": "OBJECT", "name": "PriceRuleActivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to create a price rule.", "name": "priceRule", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceRuleInput", "ofType": null } } }, { "defaultValue": null, "description": "The input fields to create a discount code for the price rule.", "name": "priceRuleDiscountCode", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleDiscountCodeInput", "ofType": null } } ], "deprecationReason": "Use `discountCodeBasicCreate` instead.", "description": "Create a price rule using the input.", "isDeprecated": true, "name": "priceRuleCreate", "type": { "kind": "OBJECT", "name": "PriceRuleCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ID of the price rule to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `discountCodeDeactivate` instead.", "description": "Deactivate a price rule.", "isDeprecated": true, "name": "priceRuleDeactivate", "type": { "kind": "OBJECT", "name": "PriceRuleDeactivatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the price rule object.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `discountCodeDelete` instead.", "description": "Delete a price rule.", "isDeprecated": true, "name": "priceRuleDelete", "type": { "kind": "OBJECT", "name": "PriceRuleDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the price rule object.", "name": "priceRuleId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The code to create for the price rule.", "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Use `discountRedeemCodeBulkAdd` instead.", "description": "Create a discount code for a price rule.", "isDeprecated": true, "name": "priceRuleDiscountCodeCreate", "type": { "kind": "OBJECT", "name": "PriceRuleDiscountCodeCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the price rule object.", "name": "priceRuleId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new code of a price rule.", "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Use `discountCodeBasicUpdate` instead.", "description": "Update a discount code for a price rule.", "isDeprecated": true, "name": "priceRuleDiscountCodeUpdate", "type": { "kind": "OBJECT", "name": "PriceRuleDiscountCodeUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ID of the price rule to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields to update a price rule.", "name": "priceRule", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceRuleInput", "ofType": null } } }, { "defaultValue": null, "description": "The input fields to update the discount code of the price rule.", "name": "priceRuleDiscountCode", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleDiscountCodeInput", "ofType": null } } ], "deprecationReason": "Use `discountCodeBasicUpdate` instead.", "description": "Updates a price rule using its ID and an input.", "isDeprecated": true, "name": "priceRuleUpdate", "type": { "kind": "OBJECT", "name": "PriceRuleUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for the private metafield to delete.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PrivateMetafieldDeleteInput", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Deletes a private metafield.\nPrivate metafields are automatically deleted when the app that created them is uninstalled.\n", "isDeprecated": true, "name": "privateMetafieldDelete", "type": { "kind": "OBJECT", "name": "PrivateMetafieldDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields for the private metafield.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PrivateMetafieldInput", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Creates or updates a private metafield. Use private metafields when you don't want the metafield data to be accessible by merchants or other apps.\nPrivate metafields are accessible only by the application that created them and only from the GraphQL Admin API.\n\nAn application can create a maximum of 10 private metafields per shop resource.\n", "isDeprecated": true, "name": "privateMetafieldUpsert", "type": { "kind": "OBJECT", "name": "PrivateMetafieldUpsertPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the new images and the product that they're being added to.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductAppendImagesInput", "ofType": null } } } ], "deprecationReason": "Use `productCreateMedia` instead.", "description": "Appends images to a product.", "isDeprecated": true, "name": "productAppendImages", "type": { "kind": "OBJECT", "name": "ProductAppendImagesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The status to be assigned to the product.", "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ProductStatus", "ofType": null } } } ], "deprecationReason": null, "description": "Changes the status of a product. This allows you to set the availability of the product across all channels.", "isDeprecated": false, "name": "productChangeStatus", "type": { "kind": "OBJECT", "name": "ProductChangeStatusPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties of the new product.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductInput", "ofType": null } } }, { "defaultValue": null, "description": "List of new media to be added to the product.", "name": "media", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateMediaInput", "ofType": null } } } } ], "deprecationReason": null, "description": "Creates a product.\n\nIf you need to create a product with many\n[variants](https://shopify.dev/api/admin-graphql/latest/input-objects/ProductVariantInput)\nthat are active at several\n[locations](https://shopify.dev/api/admin-graphql/latest/input-objects/InventoryLevelInput),\nespecially with a lot of\n[collections](https://shopify.dev/api/admin-graphql/latest/mutations/productCreate#field-productinput-collectionstojoin)\nand\n[tags](https://shopify.dev/api/admin-graphql/latest/mutations/productCreate#field-productinput-tags),\nthen you should first create the product with just the variants.\n\nAfter the product is created, you can activate the variants at locations\nand add the other related objects to the product. This reduces the size of each mutation and increases the likelihood that it will\ncomplete before the operation times out.\n\nThe following example shows how you might break up product creation and object association into multiple steps:\n\n1. Create the product with variants. Don't specify any tags or collections on the product, and don't specify\n[inventory quantities](https://shopify.dev/api/admin-graphql/latest/input-objects/ProductVariantInput#field-productvariantinput-inventoryquantities)\nfor each variant.\n\n2. After the product is created, add tags to the product using the\n[tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsAdd) mutation, and add collections using the\n[collectionsAddProducts](https://shopify.dev/api/admin-graphql/latest/mutations/collectionAddProducts) mutation.\n\n3. Use the [inventoryBulkToggleActivation](https://shopify.dev/api/admin-graphql/latest/mutations/inventoryBulkToggleActivation) mutation\non each [inventory item](https://shopify.dev/api/admin-graphql/latest/objects/InventoryItem) to activate it at the appropriate locations.\n\n4. After activating the variants at the locations, adjust inventory quantities at each location using the\n[inventoryBulkAdjustQuantityAtLocation](https://shopify.dev/api/admin-graphql/latest/mutations/inventoryBulkAdjustQuantityAtLocation) mutation.\n", "isDeprecated": false, "name": "productCreate", "type": { "kind": "OBJECT", "name": "ProductCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the product associated with the media.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "List of new media to be added to a product.", "name": "media", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateMediaInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Creates media for a product.", "isDeprecated": false, "name": "productCreateMedia", "type": { "kind": "OBJECT", "name": "ProductCreateMediaPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the product to delete by its ID.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductDeleteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a product, including all associated variants and media.\n\nAs of API version `2023-01`, if you need to delete a large product, such as one that has many\n[variants](https://shopify.dev/api/admin-graphql/latest/input-objects/ProductVariantInput)\nthat are active at several\n[locations](https://shopify.dev/api/admin-graphql/latest/input-objects/InventoryLevelInput),\nyou may encounter timeout errors. To avoid these timeout errors, you can instead use the asynchronous\n[ProductDeleteAsync](https://shopify.dev/api/admin-graphql/latest/mutations/productDeleteAsync)\nmutation.\n", "isDeprecated": false, "name": "productDelete", "type": { "kind": "OBJECT", "name": "ProductDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product to be deleted.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a product asynchronously, including all associated variants and media.\n", "isDeprecated": false, "name": "productDeleteAsync", "type": { "kind": "OBJECT", "name": "ProductDeleteAsyncPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "This is the ID of the product.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "This is the array of image IDs to delete from the product.", "name": "imageIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": "Use `productDeleteMedia` instead.", "description": "Removes product images from the product.", "isDeprecated": true, "name": "productDeleteImages", "type": { "kind": "OBJECT", "name": "ProductDeleteImagesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the product ID from which the media will be deleted.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The media IDs to be deleted.", "name": "mediaIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Deletes media for a product.", "isDeprecated": false, "name": "productDeleteMedia", "type": { "kind": "OBJECT", "name": "ProductDeleteMediaPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product to be duplicated.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new title of the product.", "name": "newTitle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The new status of the product. If no value is provided the status will be inherited from the original product.", "name": "newStatus", "type": { "kind": "ENUM", "name": "ProductStatus", "ofType": null } }, { "defaultValue": "false", "description": "Specifies whether or not to duplicate images.", "name": "includeImages", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Duplicates a product.\n\nAs of API version `2023-01`, if you need to duplicate a large product, such as one that has many\n[variants](https://shopify.dev/api/admin-graphql/latest/input-objects/ProductVariantInput)\nthat are active at several\n[locations](https://shopify.dev/api/admin-graphql/latest/input-objects/InventoryLevelInput),\nyou may encounter timeout errors. To avoid these timeout errors, you can instead use the asynchronous\n[ProductDuplicateAsync](https://shopify.dev/api/admin-graphql/latest/mutations/productDuplicateAsync)\nmutation.\n", "isDeprecated": false, "name": "productDuplicate", "type": { "kind": "OBJECT", "name": "ProductDuplicatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The params for duplicating the product.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductDuplicateAsyncInput", "ofType": null } } } ], "deprecationReason": null, "description": "Asynchronously duplicate a single product.\n", "isDeprecated": false, "name": "productDuplicateAsync", "type": { "kind": "OBJECT", "name": "ProductDuplicateAsyncPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product on which to update the image.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Image to be updated.", "name": "image", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ImageInput", "ofType": null } } } ], "deprecationReason": "Use `productUpdateMedia` instead.", "description": "Updates an image of a product.", "isDeprecated": true, "name": "productImageUpdate", "type": { "kind": "OBJECT", "name": "ProductImageUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the selling plan groups to add.", "name": "sellingPlanGroupIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Adds multiple selling plan groups to a product.\n", "isDeprecated": false, "name": "productJoinSellingPlanGroups", "type": { "kind": "OBJECT", "name": "ProductJoinSellingPlanGroupsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the selling plan groups to add.", "name": "sellingPlanGroupIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Removes multiple groups from a product.\n", "isDeprecated": false, "name": "productLeaveSellingPlanGroups", "type": { "kind": "OBJECT", "name": "ProductLeaveSellingPlanGroupsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the product to publish and the channels to publish it to.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductPublishInput", "ofType": null } } } ], "deprecationReason": "Use `publishablePublish` instead.", "description": "Publishes a product. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can only be published on online stores.", "isDeprecated": true, "name": "productPublish", "type": { "kind": "OBJECT", "name": "ProductPublishPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product on which to reorder images.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of moves to perform which will be evaluated in order.", "name": "moves", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoveInput", "ofType": null } } } } } ], "deprecationReason": "Use `productReorderMedia` instead.", "description": "Asynchronously reorders a set of images for a given product.", "isDeprecated": true, "name": "productReorderImages", "type": { "kind": "OBJECT", "name": "ProductReorderImagesPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product on which to reorder medias.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of moves to perform which will be evaluated in order.", "name": "moves", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoveInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Asynchronously reorders the media attached to a product.", "isDeprecated": false, "name": "productReorderMedia", "type": { "kind": "OBJECT", "name": "ProductReorderMediaPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the product to unpublish and the channel to unpublish it from.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductUnpublishInput", "ofType": null } } } ], "deprecationReason": "Use `publishableUnpublish` instead.", "description": "Unpublishes a product.", "isDeprecated": true, "name": "productUnpublish", "type": { "kind": "OBJECT", "name": "ProductUnpublishPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The updated properties for a product.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a product. If you update a product and only include some variants in the update,\nthen any variants not included will be deleted. To safely manage variants without the risk of\ndeleting excluded variants, use\n[productVariantsBulkUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/productvariantsbulkupdate).\nIf you want to update a single variant, then use\n[productVariantUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/productvariantupdate).\n", "isDeprecated": false, "name": "productUpdate", "type": { "kind": "OBJECT", "name": "ProductUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the product on which media will be updated.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of media updates.", "name": "media", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateMediaInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Updates media for a product.", "isDeprecated": false, "name": "productUpdateMedia", "type": { "kind": "OBJECT", "name": "ProductUpdateMediaPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the product associated to the media.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of pairs of variants and media to be attached to the variants.", "name": "variantMedia", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductVariantAppendMediaInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Appends media from a product to variants of the product.", "isDeprecated": false, "name": "productVariantAppendMedia", "type": { "kind": "OBJECT", "name": "ProductVariantAppendMediaPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties for the new product variant.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductVariantInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a product variant.", "isDeprecated": false, "name": "productVariantCreate", "type": { "kind": "OBJECT", "name": "ProductVariantCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product variant to be deleted.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a product variant.", "isDeprecated": false, "name": "productVariantDelete", "type": { "kind": "OBJECT", "name": "ProductVariantDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the product to which the variants and media are associated.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of pairs of variants and media to be deleted from the variants.", "name": "variantMedia", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductVariantDetachMediaInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Detaches media from product variants.", "isDeprecated": false, "name": "productVariantDetachMedia", "type": { "kind": "OBJECT", "name": "ProductVariantDetachMediaPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product variant.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the selling plan groups to add.", "name": "sellingPlanGroupIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Adds multiple selling plan groups to a product variant.\n", "isDeprecated": false, "name": "productVariantJoinSellingPlanGroups", "type": { "kind": "OBJECT", "name": "ProductVariantJoinSellingPlanGroupsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product variant.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the selling plan groups to leave.", "name": "sellingPlanGroupIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Remove multiple groups from a product variant.\n", "isDeprecated": false, "name": "productVariantLeaveSellingPlanGroups", "type": { "kind": "OBJECT", "name": "ProductVariantLeaveSellingPlanGroupsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The updated properties for the product variant.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductVariantInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a product variant.", "isDeprecated": false, "name": "productVariantUpdate", "type": { "kind": "OBJECT", "name": "ProductVariantUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "An array of product variants to be created.", "name": "variants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductVariantsBulkInput", "ofType": null } } } } }, { "defaultValue": null, "description": "The ID of the product on which to create the variants.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Creates product variants in bulk. If you want to create a single variant, then use\n[productVariantCreate](https://shopify.dev/api/admin-graphql/latest/mutations/productvariantcreate).\n", "isDeprecated": false, "name": "productVariantsBulkCreate", "type": { "kind": "OBJECT", "name": "ProductVariantsBulkCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "An array of product variants IDs to delete.", "name": "variantsIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "defaultValue": null, "description": "The ID of the product with the variants to update.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes product variants in bulk. If you want to delete a single variant, then use\n[productVariantDelete](https://shopify.dev/api/admin-graphql/latest/mutations/productvariantdelete).\n", "isDeprecated": false, "name": "productVariantsBulkDelete", "type": { "kind": "OBJECT", "name": "ProductVariantsBulkDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The product ID of the variants to be reordered.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An array of variant positions.", "name": "positions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductVariantPositionInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Reorder product variants in bulk.", "isDeprecated": false, "name": "productVariantsBulkReorder", "type": { "kind": "OBJECT", "name": "ProductVariantsBulkReorderPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "An array of product variants to update.", "name": "variants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductVariantsBulkInput", "ofType": null } } } } }, { "defaultValue": null, "description": "The ID of the product associated with the variants to update.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "false", "description": "When partial updates are allowed, valid variant changes may be persisted even if some of\nthe variants updated have invalid data and cannot be persisted.\nWhen partial updates are not allowed, any error will prevent all variants from updating.\n", "name": "allowPartialUpdates", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Updates product variants in bulk. If you want to update a single variant, then use\n[productVariantUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/productvariantupdate).\n", "isDeprecated": false, "name": "productVariantsBulkUpdate", "type": { "kind": "OBJECT", "name": "ProductVariantsBulkUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The Google PubSub project ID.", "name": "pubSubProject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The Google PubSub topic ID.", "name": "pubSubTopic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Updates the server pixel to connect to a Google PubSub endpoint.\nRunning this mutation deletes any previous subscriptions for the server pixel.\n", "isDeprecated": false, "name": "pubSubServerPixelUpdate", "type": { "kind": "OBJECT", "name": "PubSubServerPixelUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The type of event that triggers the webhook.", "name": "topic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WebhookSubscriptionTopic", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a Google Cloud Pub/Sub webhook subscription.", "name": "webhookSubscription", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PubSubWebhookSubscriptionInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new Google Cloud Pub/Sub webhook subscription.", "isDeprecated": false, "name": "pubSubWebhookSubscriptionCreate", "type": { "kind": "OBJECT", "name": "PubSubWebhookSubscriptionCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the webhook subscription to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a Google Cloud Pub/Sub webhook subscription.", "name": "webhookSubscription", "type": { "kind": "INPUT_OBJECT", "name": "PubSubWebhookSubscriptionInput", "ofType": null } } ], "deprecationReason": null, "description": "Updates a Google Cloud Pub/Sub webhook subscription.", "isDeprecated": false, "name": "pubSubWebhookSubscriptionUpdate", "type": { "kind": "OBJECT", "name": "PubSubWebhookSubscriptionUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to use when creating the publication.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PublicationCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a publication.\n", "isDeprecated": false, "name": "publicationCreate", "type": { "kind": "OBJECT", "name": "PublicationCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the publication to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a publication.\n", "isDeprecated": false, "name": "publicationDelete", "type": { "kind": "OBJECT", "name": "PublicationDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the publication to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields to use when updating the publication.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PublicationUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a publication.\n", "isDeprecated": false, "name": "publicationUpdate", "type": { "kind": "OBJECT", "name": "PublicationUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The resource to create or update publications for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields required to publish a resource.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PublicationInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Publishes a resource to a channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can be published only on online stores.", "isDeprecated": false, "name": "publishablePublish", "type": { "kind": "OBJECT", "name": "PublishablePublishPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The resource to create or update publications for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Publishes a resource to current channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can be published only on online stores.", "isDeprecated": false, "name": "publishablePublishToCurrentChannel", "type": { "kind": "OBJECT", "name": "PublishablePublishToCurrentChannelPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The resource to delete or update publications for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields required to unpublish a resource.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PublicationInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Unpublishes a resource from a channel. If the resource is a product, then it's visible in the channel only if the product status is `active`.", "isDeprecated": false, "name": "publishableUnpublish", "type": { "kind": "OBJECT", "name": "PublishableUnpublishPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The resource to delete or update publications for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is `active`.", "isDeprecated": false, "name": "publishableUnpublishToCurrentChannel", "type": { "kind": "OBJECT", "name": "PublishableUnpublishToCurrentChannelPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields that are used in the mutation for creating a refund.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RefundInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a refund.", "isDeprecated": false, "name": "refundCreate", "type": { "kind": "OBJECT", "name": "RefundCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to approve a return.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnApproveRequestInput", "ofType": null } } } ], "deprecationReason": null, "description": "Approves a customer's return request.\nIf this mutation is successful, then the `Return.status` field of the\napproved return is set to `OPEN`.\n", "isDeprecated": false, "name": "returnApproveRequest", "type": { "kind": "OBJECT", "name": "ReturnApproveRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the return to cancel.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "false", "description": "Whether the customer receives an email notification regarding the canceled return.", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Cancels a return and restores the items back to being fulfilled.\nCanceling a return is only available before any work has been done\non the return (such as an inspection or refund).\n", "isDeprecated": false, "name": "returnCancel", "type": { "kind": "OBJECT", "name": "ReturnCancelPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the return to close.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Indicates a return is complete, either when a refund has been made and items restocked,\nor simply when it has been marked as returned in the system.\n", "isDeprecated": false, "name": "returnClose", "type": { "kind": "OBJECT", "name": "ReturnClosePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields for a return.", "name": "returnInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a return.", "isDeprecated": false, "name": "returnCreate", "type": { "kind": "OBJECT", "name": "ReturnCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for declining a customer's return request.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnDeclineRequestInput", "ofType": null } } } ], "deprecationReason": null, "description": "Declines a return on an order.\nWhen a return is declined, each `ReturnLineItem.fulfillmentLineItem` can be associated to a new return.\nUse the `ReturnCreate` or `ReturnRequest` mutation to initiate a new return.\n", "isDeprecated": false, "name": "returnDeclineRequest", "type": { "kind": "OBJECT", "name": "ReturnDeclineRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to refund a return.", "name": "returnRefundInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnRefundInput", "ofType": null } } } ], "deprecationReason": null, "description": "Refunds a return and associates it with the related return request.", "isDeprecated": false, "name": "returnRefund", "type": { "kind": "OBJECT", "name": "ReturnRefundPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the return to reopen.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Reopens a closed return.", "isDeprecated": false, "name": "returnReopen", "type": { "kind": "OBJECT", "name": "ReturnReopenPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for requesting a return.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnRequestInput", "ofType": null } } } ], "deprecationReason": null, "description": "A customer's return request that hasn't been approved or declined.\nThis mutation sets the value of the `Return.status` field to `REQUESTED`.\nTo create a return that has the `Return.status` field set to `OPEN`, use the `returnCreate` mutation.\n", "isDeprecated": false, "name": "returnRequest", "type": { "kind": "OBJECT", "name": "ReturnRequestPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the reverse fulfillment order that's associated to the reverse delivery.", "name": "reverseFulfillmentOrderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The reverse delivery line items to be created. If an empty array is provided, then this mutation\n will create a reverse delivery line item for each reverse fulfillment order line item, with its quantity equal\n to the reverse fulfillment order line item total quantity.", "name": "reverseDeliveryLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReverseDeliveryLineItemInput", "ofType": null } } } } }, { "defaultValue": "null", "description": "The tracking information for the reverse delivery.", "name": "trackingInput", "type": { "kind": "INPUT_OBJECT", "name": "ReverseDeliveryTrackingInput", "ofType": null } }, { "defaultValue": "null", "description": "The return label file information for the reverse delivery.", "name": "labelInput", "type": { "kind": "INPUT_OBJECT", "name": "ReverseDeliveryLabelInput", "ofType": null } }, { "defaultValue": "true", "description": "When `true` the customer is notified with delivery instructions if the `ReverseFulfillmentOrder.order.email` is present.", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Creates a new reverse delivery with associated external shipping information.", "isDeprecated": false, "name": "reverseDeliveryCreateWithShipping", "type": { "kind": "OBJECT", "name": "ReverseDeliveryCreateWithShippingPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input parameters required to dispose reverse delivery line items.", "name": "dispositionInputs", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReverseDeliveryDisposeInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Disposes reverse delivery line items for a reverse delivery on the same shop.\n", "isDeprecated": false, "name": "reverseDeliveryDispose", "type": { "kind": "OBJECT", "name": "ReverseDeliveryDisposePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the reverse delivery to update.", "name": "reverseDeliveryId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "null", "description": "The tracking information for the reverse delivery.", "name": "trackingInput", "type": { "kind": "INPUT_OBJECT", "name": "ReverseDeliveryTrackingInput", "ofType": null } }, { "defaultValue": "null", "description": "The return label file information for the reverse delivery.", "name": "labelInput", "type": { "kind": "INPUT_OBJECT", "name": "ReverseDeliveryLabelInput", "ofType": null } }, { "defaultValue": "true", "description": "If `true` and an email address exists on the `ReverseFulfillmentOrder.order`, then the customer is notified with the updated delivery instructions.", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Updates a reverse delivery with associated external shipping information.", "isDeprecated": false, "name": "reverseDeliveryShippingUpdate", "type": { "kind": "OBJECT", "name": "ReverseDeliveryShippingUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input parameters required to dispose reverse fulfillment order line items.", "name": "dispositionInputs", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReverseFulfillmentOrderDisposeInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Disposes reverse fulfillment order line items.\n", "isDeprecated": false, "name": "reverseFulfillmentOrderDispose", "type": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderDisposePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the input fields for a saved search.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SavedSearchCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a saved search.", "isDeprecated": false, "name": "savedSearchCreate", "type": { "kind": "OBJECT", "name": "SavedSearchCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to delete a saved search.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SavedSearchDeleteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Delete a saved search.", "isDeprecated": false, "name": "savedSearchDelete", "type": { "kind": "OBJECT", "name": "SavedSearchDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields to update a saved search.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SavedSearchUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a saved search.", "isDeprecated": false, "name": "savedSearchUpdate", "type": { "kind": "OBJECT", "name": "SavedSearchUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for a script tag.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ScriptTagInput", "ofType": null } } } ], "deprecationReason": null, "description": "

Theme app extensions

\n

Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only vintage themes. Learn more.

\n\n\nCreates a new script tag.\n", "isDeprecated": false, "name": "scriptTagCreate", "type": { "kind": "OBJECT", "name": "ScriptTagCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the script tag to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "

Theme app extensions

\n

Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only vintage themes. Learn more.

\n\n\nDeletes a script tag.\n", "isDeprecated": false, "name": "scriptTagDelete", "type": { "kind": "OBJECT", "name": "ScriptTagDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the script tag to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a script tag.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ScriptTagInput", "ofType": null } } } ], "deprecationReason": null, "description": "

Theme app extensions

\n

Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only vintage themes. Learn more.

\n\n\nUpdates a script tag.\n", "isDeprecated": false, "name": "scriptTagUpdate", "type": { "kind": "OBJECT", "name": "ScriptTagUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The name of the segment to be created. Segment names must be unique.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers such as `email_subscription_status = 'SUBSCRIBED'` with [this syntax](https://shopify.dev/api/shopifyql/segment-query-language-reference).", "name": "query", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a segment.", "isDeprecated": false, "name": "segmentCreate", "type": { "kind": "OBJECT", "name": "SegmentCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the segment to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a segment.", "isDeprecated": false, "name": "segmentDelete", "type": { "kind": "OBJECT", "name": "SegmentDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Specifies the segment to be updated.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new name for the segment.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers such as `email_subscription_status = 'SUBSCRIBED'` with [this syntax](https://shopify.dev/api/shopifyql/segment-query-language-reference).", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Updates a segment.", "isDeprecated": false, "name": "segmentUpdate", "type": { "kind": "OBJECT", "name": "SegmentUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the selling plan group.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the product variants to add.", "name": "productVariantIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Adds multiple product variants to a selling plan group.\n", "isDeprecated": false, "name": "sellingPlanGroupAddProductVariants", "type": { "kind": "OBJECT", "name": "SellingPlanGroupAddProductVariantsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the selling plan group.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the products to add.", "name": "productIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Adds multiple products to a selling plan group.\n", "isDeprecated": false, "name": "sellingPlanGroupAddProducts", "type": { "kind": "OBJECT", "name": "SellingPlanGroupAddProductsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties of the new Selling Plan Group.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanGroupInput", "ofType": null } } }, { "defaultValue": null, "description": "The resources this Selling Plan Group should be applied to.", "name": "resources", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanGroupResourceInput", "ofType": null } } ], "deprecationReason": null, "description": "Creates a Selling Plan Group.", "isDeprecated": false, "name": "sellingPlanGroupCreate", "type": { "kind": "OBJECT", "name": "SellingPlanGroupCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The id of the selling plan group to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Delete a Selling Plan Group.", "isDeprecated": false, "name": "sellingPlanGroupDelete", "type": { "kind": "OBJECT", "name": "SellingPlanGroupDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the selling plan group.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the product variants to remove.", "name": "productVariantIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Removes multiple product variants from a selling plan group.\n", "isDeprecated": false, "name": "sellingPlanGroupRemoveProductVariants", "type": { "kind": "OBJECT", "name": "SellingPlanGroupRemoveProductVariantsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the selling plan group.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The IDs of the products to remove.", "name": "productIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Removes multiple products from a selling plan group.\n", "isDeprecated": false, "name": "sellingPlanGroupRemoveProducts", "type": { "kind": "OBJECT", "name": "SellingPlanGroupRemoveProductsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The Selling Plan Group to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties of the Selling Plan Group to update.", "name": "input", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanGroupInput", "ofType": null } } ], "deprecationReason": null, "description": "Update a Selling Plan Group.", "isDeprecated": false, "name": "sellingPlanGroupUpdate", "type": { "kind": "OBJECT", "name": "SellingPlanGroupUpdatePayload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Creates a new unconfigured server pixel. A single server pixel can exist for an app and shop combination. If you call this mutation when a server pixel already exists, then an error will return.", "isDeprecated": false, "name": "serverPixelCreate", "type": { "kind": "OBJECT", "name": "ServerPixelCreatePayload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Deletes the Server Pixel associated with the current app & shop.", "isDeprecated": false, "name": "serverPixelDelete", "type": { "kind": "OBJECT", "name": "ServerPixelDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the shipping package to remove.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a shipping package.", "isDeprecated": false, "name": "shippingPackageDelete", "type": { "kind": "OBJECT", "name": "ShippingPackageDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the shipping package to set as the default.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Set a shipping package as the default.\nThe default shipping package is the one used to calculate shipping costs on checkout.\n", "isDeprecated": false, "name": "shippingPackageMakeDefault", "type": { "kind": "OBJECT", "name": "ShippingPackageMakeDefaultPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the shipping package to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a shipping package.", "name": "shippingPackage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomShippingPackageInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a shipping package.", "isDeprecated": false, "name": "shippingPackageUpdate", "type": { "kind": "OBJECT", "name": "ShippingPackageUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ISO code of the locale to delete.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a locale for a shop. This also deletes all translations of this locale.", "isDeprecated": false, "name": "shopLocaleDisable", "type": { "kind": "OBJECT", "name": "ShopLocaleDisablePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ISO code of the locale to enable.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The list of markets web presences to add the locale to.", "name": "marketWebPresenceIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "deprecationReason": null, "description": "Adds a locale for a shop. The newly added locale is in the unpublished state.", "isDeprecated": false, "name": "shopLocaleEnable", "type": { "kind": "OBJECT", "name": "ShopLocaleEnablePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ISO code of the locale to update.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a shop locale.", "name": "shopLocale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ShopLocaleInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a locale for a shop.", "isDeprecated": false, "name": "shopLocaleUpdate", "type": { "kind": "OBJECT", "name": "ShopLocaleUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties to use when updating the shop policy.", "name": "shopPolicy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ShopPolicyInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a shop policy.", "isDeprecated": false, "name": "shopPolicyUpdate", "type": { "kind": "OBJECT", "name": "ShopPolicyUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The fields required to create shop feedback.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ResourceFeedbackCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "The `ResourceFeedback` object lets your app report the status of shops and their resources. For example, if\nyour app is a marketplace channel, then you can use resource feedback to alert merchants that they need to connect their marketplace account by signing in.\n\nResource feedback notifications are displayed to the merchant on the home screen of their Shopify admin, and in the product details view for any products that are published to your app.\n\nThis resource should be used only in cases where you're describing steps that a merchant is required to complete. If your app offers optional or promotional set-up steps, or if it makes recommendations, then don't use resource feedback to let merchants know about them.\n\n## Sending feedback on a shop\n\nYou can send resource feedback on a shop to let the merchant know what steps they need to take to make sure that your app is set up correctly. Feedback can have one of two states: `requires_action` or `success`. You need to send a `requires_action` feedback request for each step that the merchant is required to complete.\n\nIf there are multiple set-up steps that require merchant action, then send feedback with a state of `requires_action` as merchants complete prior steps. And to remove the feedback message from the Shopify admin, send a `success` feedback request.\n\n#### Important\nSending feedback replaces previously sent feedback for the shop. Send a new `shopResourceFeedbackCreate` mutation to push the latest state of a shop or its resources to Shopify.\n", "isDeprecated": false, "name": "shopResourceFeedbackCreate", "type": { "kind": "OBJECT", "name": "ShopResourceFeedbackCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for generating a staged upload.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "StagedUploadTargetGenerateInput", "ofType": null } } } ], "deprecationReason": "Use `stagedUploadsCreate` instead.", "description": "Generates the URL and signed paramaters needed to upload an asset to Shopify.", "isDeprecated": true, "name": "stagedUploadTargetGenerate", "type": { "kind": "OBJECT", "name": "StagedUploadTargetGeneratePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The input fields for generating staged uploads.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "StageImageInput", "ofType": null } } } } } ], "deprecationReason": "Use `stagedUploadsCreate` instead.", "description": "Uploads multiple images.", "isDeprecated": true, "name": "stagedUploadTargetsGenerate", "type": { "kind": "OBJECT", "name": "StagedUploadTargetsGeneratePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The information required to generate staged upload targets.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "StagedUploadInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Creates staged upload targets for each input. This is the first step in the upload process.\nThe returned staged upload targets' URL and parameter fields can be used to send a request\nto upload the file described in the corresponding input.\n\nFor more information on the upload process, refer to\n[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify).\n", "isDeprecated": false, "name": "stagedUploadsCreate", "type": { "kind": "OBJECT", "name": "StagedUploadsCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The resource type that the metafield definition is scoped to.", "name": "ownerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the standard metafield definition template to enable.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The namespace of the standard metafield to enable. Used in combination with `key`.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key of the standard metafield to enable. Used in combination with `namespace`.", "name": "key", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Whether to pin the metafield definition.", "name": "pin", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "defaultValue": "null", "description": "Whether metafields for the definition are visible using the Storefront API.", "name": "visibleToStorefrontApi", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "Whether the metafield definition can be used as a collection condition.", "name": "useAsCollectionCondition", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Activates the specified standard metafield definition from its template.\n\nRefer to the [list of standard metafield definition templates](https://shopify.dev/apps/metafields/definitions/standard-definitions).\n", "isDeprecated": false, "name": "standardMetafieldDefinitionEnable", "type": { "kind": "OBJECT", "name": "StandardMetafieldDefinitionEnablePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The type of the metaobject definition to enable.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Enables the specified standard metaobject definition from its template.\n", "isDeprecated": false, "name": "standardMetaobjectDefinitionEnable", "type": { "kind": "OBJECT", "name": "StandardMetaobjectDefinitionEnablePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Provides the input fields for creating a storefront access token.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "StorefrontAccessTokenInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a storefront access token. An app can have a maximum of 100 active storefront access tokens for each shop.", "isDeprecated": false, "name": "storefrontAccessTokenCreate", "type": { "kind": "OBJECT", "name": "StorefrontAccessTokenCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Provides the input fields required to delete a storefront access token.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "StorefrontAccessTokenDeleteInput", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a storefront access token.", "isDeprecated": false, "name": "storefrontAccessTokenDelete", "type": { "kind": "OBJECT", "name": "StorefrontAccessTokenDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the subscription contract.", "name": "subscriptionContractId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The information to apply as a billing attempt.", "name": "subscriptionBillingAttemptInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingAttemptInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new subscription billing attempt. For more information, refer to [Create a subscription contract](https://shopify.dev/docs/apps/selling-strategies/subscriptions/contracts/create#step-4-create-a-billing-attempt).\n", "isDeprecated": false, "name": "subscriptionBillingAttemptCreate", "type": { "kind": "OBJECT", "name": "SubscriptionBillingAttemptCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Contract draft to commit.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Commits the updates of a Subscription Billing Cycle Contract draft.", "isDeprecated": false, "name": "subscriptionBillingCycleContractDraftCommit", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycleContractDraftCommitPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Contract draft to update.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An array of Subscription Contracts with their selected billing cycles to concatenate to the subscription draft.\n", "name": "concatenatedBillingCycleContracts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Concatenates a contract to a Subscription Draft.", "isDeprecated": false, "name": "subscriptionBillingCycleContractDraftConcatenate", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycleContractDraftConcatenatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Input object for selecting and using billing cycles.", "name": "billingCycleInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleInput", "ofType": null } } } ], "deprecationReason": null, "description": "Edit the contents of a subscription contract for the specified billing cycle.", "isDeprecated": false, "name": "subscriptionBillingCycleContractEdit", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycleContractEditPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Input object used to select and use billing cycles.", "name": "billingCycleInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleInput", "ofType": null } } } ], "deprecationReason": null, "description": "Delete the current or future schedule and contract edits of a subscription billing cycle.", "isDeprecated": false, "name": "subscriptionBillingCycleEditDelete", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycleEditDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The globally-unique identifier of the subscription contract that the billing cycle belongs to.", "name": "contractId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Select billing cycles to be deleted.", "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionBillingCyclesTargetSelection", "ofType": null } } } ], "deprecationReason": null, "description": "Delete the current or future schedule and contract edits of a list of subscription billing cycles.", "isDeprecated": false, "name": "subscriptionBillingCycleEditsDelete", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycleEditsDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Input object for selecting and using billing cycles.", "name": "billingCycleInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleInput", "ofType": null } } }, { "defaultValue": null, "description": "Data used to create or modify billing cycle schedule edit.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleScheduleEditInput", "ofType": null } } } ], "deprecationReason": null, "description": "Modify the schedule of a specific billing cycle.", "isDeprecated": false, "name": "subscriptionBillingCycleScheduleEdit", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycleScheduleEditPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties of the new Subscription Contract.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionContractAtomicCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a Subscription Contract.", "isDeprecated": false, "name": "subscriptionContractAtomicCreate", "type": { "kind": "OBJECT", "name": "SubscriptionContractAtomicCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The properties of the new Subscription Contract.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionContractCreateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a Subscription Contract.", "isDeprecated": false, "name": "subscriptionContractCreate", "type": { "kind": "OBJECT", "name": "SubscriptionContractCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the subscription contract.", "name": "subscriptionContractId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The gid of the Subscription Line to update.", "name": "lineId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties of the Product changes.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionContractProductChangeInput", "ofType": null } } } ], "deprecationReason": null, "description": "Allows for the easy change of a Product in a Contract or a Product price change.", "isDeprecated": false, "name": "subscriptionContractProductChange", "type": { "kind": "OBJECT", "name": "SubscriptionContractProductChangePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Contract to set the next billing date for.", "name": "contractId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The next billing date.", "name": "date", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "deprecationReason": null, "description": "Sets the next billing date of a Subscription Contract.", "isDeprecated": false, "name": "subscriptionContractSetNextBillingDate", "type": { "kind": "OBJECT", "name": "SubscriptionContractSetNextBillingDatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Contract to update.", "name": "contractId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a Subscription Contract.", "isDeprecated": false, "name": "subscriptionContractUpdate", "type": { "kind": "OBJECT", "name": "SubscriptionContractUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Contract draft to commit.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Commits the updates of a Subscription Contract draft.", "isDeprecated": false, "name": "subscriptionDraftCommit", "type": { "kind": "OBJECT", "name": "SubscriptionDraftCommitPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the Subscription Contract draft to add a subscription discount to.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties of the new Subscription Discount.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountInput", "ofType": null } } } ], "deprecationReason": null, "description": "Adds a subscription discount to a subscription draft.", "isDeprecated": false, "name": "subscriptionDraftDiscountAdd", "type": { "kind": "OBJECT", "name": "SubscriptionDraftDiscountAddPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the subscription contract draft to apply a subscription code discount on.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Code discount redeem code.", "name": "redeemCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Applies a code discount on the subscription draft.", "isDeprecated": false, "name": "subscriptionDraftDiscountCodeApply", "type": { "kind": "OBJECT", "name": "SubscriptionDraftDiscountCodeApplyPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the subscription contract draft to remove a subscription discount from.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The gid of the subscription draft discount to remove.", "name": "discountId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Removes a subscription discount from a subscription draft.", "isDeprecated": false, "name": "subscriptionDraftDiscountRemove", "type": { "kind": "OBJECT", "name": "SubscriptionDraftDiscountRemovePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the Subscription Contract draft to update a subscription discount on.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The gid of the Subscription Discount to update.", "name": "discountId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties to update on the Subscription Discount.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a subscription discount on a subscription draft.", "isDeprecated": false, "name": "subscriptionDraftDiscountUpdate", "type": { "kind": "OBJECT", "name": "SubscriptionDraftDiscountUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the subscription contract draft to add a subscription free shipping discount to.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties of the new subscription free shipping discount.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionFreeShippingDiscountInput", "ofType": null } } } ], "deprecationReason": null, "description": "Adds a subscription free shipping discount to a subscription draft.", "isDeprecated": false, "name": "subscriptionDraftFreeShippingDiscountAdd", "type": { "kind": "OBJECT", "name": "SubscriptionDraftFreeShippingDiscountAddPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the Subscription Contract draft to update a subscription discount on.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The gid of the Subscription Discount to update.", "name": "discountId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties to update on the Subscription Free Shipping Discount.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionFreeShippingDiscountInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a subscription free shipping discount on a subscription draft.", "isDeprecated": false, "name": "subscriptionDraftFreeShippingDiscountUpdate", "type": { "kind": "OBJECT", "name": "SubscriptionDraftFreeShippingDiscountUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Contract draft to add a subscription line to.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties of the new Subscription Line.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionLineInput", "ofType": null } } } ], "deprecationReason": null, "description": "Adds a subscription line to a subscription draft.", "isDeprecated": false, "name": "subscriptionDraftLineAdd", "type": { "kind": "OBJECT", "name": "SubscriptionDraftLineAddPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Contract draft to remove a subscription line from.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The gid of the Subscription Line to remove.", "name": "lineId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Removes a subscription line from a subscription draft.", "isDeprecated": false, "name": "subscriptionDraftLineRemove", "type": { "kind": "OBJECT", "name": "SubscriptionDraftLineRemovePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Contract draft to update a subscription line from.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The gid of the Subscription Line to update.", "name": "lineId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties of the new Subscription Line.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionLineUpdateInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a subscription line on a subscription draft.", "isDeprecated": false, "name": "subscriptionDraftLineUpdate", "type": { "kind": "OBJECT", "name": "SubscriptionDraftLineUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The gid of the Subscription Draft to update.", "name": "draftId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The properties of the new Subscription Contract.", "name": "input", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionDraftInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a Subscription Draft.", "isDeprecated": false, "name": "subscriptionDraftUpdate", "type": { "kind": "OBJECT", "name": "SubscriptionDraftUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of a resource to add tags to.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of tags to add to the resource. Can be an array of strings or a single string composed of a comma-separated list of values. Example values: `[\"tag1\", \"tag2\", \"tag3\"]`, `\"tag1, tag2, tag3\"`.\n", "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } ], "deprecationReason": null, "description": "Add tags to an order, a draft order, a customer, a product, or an online store article.", "isDeprecated": false, "name": "tagsAdd", "type": { "kind": "OBJECT", "name": "TagsAddPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the resource to remove tags from.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of tags to remove from the resource in the form of an array of strings. Example value: `[\"tag1\", \"tag2\", \"tag3\"]`.\n", "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } ], "deprecationReason": null, "description": "Remove tags from an order, a draft order, a customer, a product, or an online store article.", "isDeprecated": false, "name": "tagsRemove", "type": { "kind": "OBJECT", "name": "TagsRemovePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ID of the resource that is being translated.", "name": "resourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a translation.", "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "TranslationInput", "ofType": null } } } } } ], "deprecationReason": null, "description": "Creates or updates translations.", "isDeprecated": false, "name": "translationsRegister", "type": { "kind": "OBJECT", "name": "TranslationsRegisterPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "ID of the translatable resource for which translations are being deleted.", "name": "resourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The list of translation keys.", "name": "translationKeys", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "defaultValue": null, "description": "The list of translation locales.", "name": "locales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "defaultValue": null, "description": "The list of market IDs.", "name": "marketIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "deprecationReason": null, "description": "Deletes translations.", "isDeprecated": false, "name": "translationsRemove", "type": { "kind": "OBJECT", "name": "TranslationsRemovePayload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Asynchronously delete [URL redirects](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) in bulk.\n", "isDeprecated": false, "name": "urlRedirectBulkDeleteAll", "type": { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteAllPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "A list of [`URLRedirect`](\n https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect\n ) object IDs to delete.", "name": "ids", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Asynchronously delete [URLRedirect](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) \nobjects in bulk by IDs.\nLearn more about [URLRedirect](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect) \nobjects.\n", "isDeprecated": false, "name": "urlRedirectBulkDeleteByIds", "type": { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteByIdsPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the URL redirect saved search for filtering.", "name": "savedSearchId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Asynchronously delete redirects in bulk.", "isDeprecated": false, "name": "urlRedirectBulkDeleteBySavedSearch", "type": { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySavedSearchPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Search query for filtering redirects on (both Redirect from and Redirect to fields).", "name": "search", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Asynchronously delete redirects in bulk.", "isDeprecated": false, "name": "urlRedirectBulkDeleteBySearch", "type": { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySearchPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The fields to use when creating the redirect.", "name": "urlRedirect", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UrlRedirectInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object.\n", "isDeprecated": false, "name": "urlRedirectCreate", "type": { "kind": "OBJECT", "name": "UrlRedirectCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the redirect to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object.\n", "isDeprecated": false, "name": "urlRedirectDelete", "type": { "kind": "OBJECT", "name": "UrlRedirectDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The staged upload URL of the CSV file.\nYou can download [a sample URL redirect CSV file](https://help.shopify.com/csv/sample-redirect-template.csv)).\n", "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a [`UrlRedirectImport`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirectImport) object.\n\nAfter creating the `UrlRedirectImport` object, the `UrlRedirectImport` request can be performed using the [`urlRedirectImportSubmit`](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportSubmit) mutation.\n", "isDeprecated": false, "name": "urlRedirectImportCreate", "type": { "kind": "OBJECT", "name": "UrlRedirectImportCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the [`UrlRedirectImport`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirectImport) object.\n", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Submits a `UrlRedirectImport` request to be processed.\n\nThe `UrlRedirectImport` request is first created with the [`urlRedirectImportCreate`](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportCreate) mutation.\n", "isDeprecated": false, "name": "urlRedirectImportSubmit", "type": { "kind": "OBJECT", "name": "UrlRedirectImportSubmitPayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the URL redirect to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The input fields required to update the URL redirect.", "name": "urlRedirect", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UrlRedirectInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a URL redirect.\n", "isDeprecated": false, "name": "urlRedirectUpdate", "type": { "kind": "OBJECT", "name": "UrlRedirectUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The web pixel settings in JSON format.", "name": "webPixel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "WebPixelInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new web pixel settings.", "isDeprecated": false, "name": "webPixelCreate", "type": { "kind": "OBJECT", "name": "WebPixelCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the web pixel to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes the web pixel shop settings.", "isDeprecated": false, "name": "webPixelDelete", "type": { "kind": "OBJECT", "name": "WebPixelDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the web pixel to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The web pixel settings in JSON format.", "name": "webPixel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "WebPixelInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates the web pixel settings.", "isDeprecated": false, "name": "webPixelUpdate", "type": { "kind": "OBJECT", "name": "WebPixelUpdatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The type of event that triggers the webhook.", "name": "topic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WebhookSubscriptionTopic", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a webhook subscription.", "name": "webhookSubscription", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "WebhookSubscriptionInput", "ofType": null } } } ], "deprecationReason": null, "description": "Creates a new webhook subscription.\n", "isDeprecated": false, "name": "webhookSubscriptionCreate", "type": { "kind": "OBJECT", "name": "WebhookSubscriptionCreatePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the webhook subscription to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Deletes a webhook subscription.\n", "isDeprecated": false, "name": "webhookSubscriptionDelete", "type": { "kind": "OBJECT", "name": "WebhookSubscriptionDeletePayload", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the webhook subscription to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the input fields for a webhook subscription.", "name": "webhookSubscription", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "WebhookSubscriptionInput", "ofType": null } } } ], "deprecationReason": null, "description": "Updates a webhook subscription.\n", "isDeprecated": false, "name": "webhookSubscriptionUpdate", "type": { "kind": "OBJECT", "name": "WebhookSubscriptionUpdatePayload", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Mutation", "possibleTypes": null }, { "description": "A signed upload parameter for uploading an asset to Shopify.\n\nDeprecated in favor of\n[StagedUploadParameter](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadParameter),\nwhich is used in\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget)\nand returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The upload parameter name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The upload parameter value.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "MutationsStagedUploadTargetGenerateUploadParameter", "possibleTypes": null }, { "description": "A default cursor that you can use in queries to paginate your results. Each edge in a connection can\nreturn a cursor, which is a reference to the edge's position in the connection. You can use an edge's cursor as\nthe starting point to retrieve the nodes before or after it in a connection.\n\nTo learn more about using cursor-based pagination, refer to\n[Paginating results with GraphQL](https://shopify.dev/api/usage/pagination-graphql).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "Navigable", "possibleTypes": [ { "kind": "OBJECT", "name": "AbandonedCheckout", "ofType": null }, { "kind": "OBJECT", "name": "Company", "ofType": null }, { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStoreArticle", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStorePage", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } ] }, { "description": "A navigation item, holding basic link attributes.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The unique identifier of the navigation item.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the navigation item.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL of the page that the navigation item links to.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "NavigationItem", "possibleTypes": null }, { "description": "An object with an ID field to support global identification, in accordance with the\n[Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).\nThis interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)\nand [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "Node", "possibleTypes": [ { "kind": "OBJECT", "name": "AbandonedCheckout", "ofType": null }, { "kind": "OBJECT", "name": "Abandonment", "ofType": null }, { "kind": "OBJECT", "name": "AddAllProductsOperation", "ofType": null }, { "kind": "OBJECT", "name": "AdditionalFee", "ofType": null }, { "kind": "OBJECT", "name": "App", "ofType": null }, { "kind": "OBJECT", "name": "AppCatalog", "ofType": null }, { "kind": "OBJECT", "name": "AppCredit", "ofType": null }, { "kind": "OBJECT", "name": "AppInstallation", "ofType": null }, { "kind": "OBJECT", "name": "AppPurchaseOneTime", "ofType": null }, { "kind": "OBJECT", "name": "AppRevenueAttributionRecord", "ofType": null }, { "kind": "OBJECT", "name": "AppSubscription", "ofType": null }, { "kind": "OBJECT", "name": "AppUsageRecord", "ofType": null }, { "kind": "OBJECT", "name": "BasicEvent", "ofType": null }, { "kind": "OBJECT", "name": "BulkOperation", "ofType": null }, { "kind": "OBJECT", "name": "CalculatedOrder", "ofType": null }, { "kind": "OBJECT", "name": "CatalogCsvOperation", "ofType": null }, { "kind": "OBJECT", "name": "Channel", "ofType": null }, { "kind": "OBJECT", "name": "ChannelDefinition", "ofType": null }, { "kind": "OBJECT", "name": "ChannelInformation", "ofType": null }, { "kind": "OBJECT", "name": "CheckoutProfile", "ofType": null }, { "kind": "OBJECT", "name": "Collection", "ofType": null }, { "kind": "OBJECT", "name": "CommentEvent", "ofType": null }, { "kind": "OBJECT", "name": "Company", "ofType": null }, { "kind": "OBJECT", "name": "CompanyAddress", "ofType": null }, { "kind": "OBJECT", "name": "CompanyContact", "ofType": null }, { "kind": "OBJECT", "name": "CompanyContactRole", "ofType": null }, { "kind": "OBJECT", "name": "CompanyContactRoleAssignment", "ofType": null }, { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null }, { "kind": "OBJECT", "name": "CompanyLocationCatalog", "ofType": null }, { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null }, { "kind": "OBJECT", "name": "CustomerSegmentMembersQuery", "ofType": null }, { "kind": "OBJECT", "name": "CustomerVisit", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryCarrierService", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryCondition", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryCountry", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryLocationGroup", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryMethod", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryMethodDefinition", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryParticipant", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryProfile", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryProfileItem", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryProvince", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryRateDefinition", "ofType": null }, { "kind": "OBJECT", "name": "DeliveryZone", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticBxgy", "ofType": null }, { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountNode", "ofType": null }, { "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreation", "ofType": null }, { "kind": "OBJECT", "name": "Domain", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrder", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrderLineItem", "ofType": null }, { "kind": "OBJECT", "name": "DraftOrderTag", "ofType": null }, { "kind": "OBJECT", "name": "Duty", "ofType": null }, { "kind": "OBJECT", "name": "ExternalVideo", "ofType": null }, { "kind": "OBJECT", "name": "Fulfillment", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentEvent", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentLineItem", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrderDestination", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrderLineItem", "ofType": null }, { "kind": "OBJECT", "name": "FulfillmentOrderMerchantRequest", "ofType": null }, { "kind": "OBJECT", "name": "GenericFile", "ofType": null }, { "kind": "OBJECT", "name": "GiftCard", "ofType": null }, { "kind": "OBJECT", "name": "InventoryAdjustmentGroup", "ofType": null }, { "kind": "OBJECT", "name": "InventoryItem", "ofType": null }, { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null }, { "kind": "OBJECT", "name": "LineItem", "ofType": null }, { "kind": "OBJECT", "name": "LineItemMutable", "ofType": null }, { "kind": "OBJECT", "name": "Location", "ofType": null }, { "kind": "OBJECT", "name": "MailingAddress", "ofType": null }, { "kind": "OBJECT", "name": "Market", "ofType": null }, { "kind": "OBJECT", "name": "MarketCatalog", "ofType": null }, { "kind": "OBJECT", "name": "MarketRegionCountry", "ofType": null }, { "kind": "OBJECT", "name": "MarketWebPresence", "ofType": null }, { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null }, { "kind": "OBJECT", "name": "MarketingEvent", "ofType": null }, { "kind": "OBJECT", "name": "MediaImage", "ofType": null }, { "kind": "OBJECT", "name": "Metafield", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null }, { "kind": "OBJECT", "name": "MetafieldStorefrontVisibility", "ofType": null }, { "kind": "OBJECT", "name": "Metaobject", "ofType": null }, { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null }, { "kind": "OBJECT", "name": "Model3d", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStoreArticle", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStoreBlog", "ofType": null }, { "kind": "OBJECT", "name": "OnlineStorePage", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "OrderDisputeSummary", "ofType": null }, { "kind": "OBJECT", "name": "OrderTransaction", "ofType": null }, { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null }, { "kind": "OBJECT", "name": "PaymentMandate", "ofType": null }, { "kind": "OBJECT", "name": "PaymentSchedule", "ofType": null }, { "kind": "OBJECT", "name": "PaymentTerms", "ofType": null }, { "kind": "OBJECT", "name": "PaymentTermsTemplate", "ofType": null }, { "kind": "OBJECT", "name": "PriceList", "ofType": null }, { "kind": "OBJECT", "name": "PriceRule", "ofType": null }, { "kind": "OBJECT", "name": "PriceRuleDiscountCode", "ofType": null }, { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductOption", "ofType": null }, { "kind": "OBJECT", "name": "ProductTaxonomyNode", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, { "kind": "OBJECT", "name": "Publication", "ofType": null }, { "kind": "OBJECT", "name": "PublicationResourceOperation", "ofType": null }, { "kind": "OBJECT", "name": "Refund", "ofType": null }, { "kind": "OBJECT", "name": "Return", "ofType": null }, { "kind": "OBJECT", "name": "ReturnLineItem", "ofType": null }, { "kind": "OBJECT", "name": "ReturnableFulfillment", "ofType": null }, { "kind": "OBJECT", "name": "ReverseDelivery", "ofType": null }, { "kind": "OBJECT", "name": "ReverseDeliveryLineItem", "ofType": null }, { "kind": "OBJECT", "name": "ReverseFulfillmentOrder", "ofType": null }, { "kind": "OBJECT", "name": "ReverseFulfillmentOrderDisposition", "ofType": null }, { "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItem", "ofType": null }, { "kind": "OBJECT", "name": "SavedSearch", "ofType": null }, { "kind": "OBJECT", "name": "ScriptTag", "ofType": null }, { "kind": "OBJECT", "name": "Segment", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlan", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlanGroup", "ofType": null }, { "kind": "OBJECT", "name": "ServerPixel", "ofType": null }, { "kind": "OBJECT", "name": "Shop", "ofType": null }, { "kind": "OBJECT", "name": "ShopAddress", "ofType": null }, { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsAccount", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsBankAccount", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsDispute", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeEvidence", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFulfillment", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsPayout", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsVerification", "ofType": null }, { "kind": "OBJECT", "name": "StaffMember", "ofType": null }, { "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplate", "ofType": null }, { "kind": "OBJECT", "name": "StorefrontAccessToken", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionBillingAttempt", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null }, { "kind": "OBJECT", "name": "TenderTransaction", "ofType": null }, { "kind": "OBJECT", "name": "TransactionFee", "ofType": null }, { "kind": "OBJECT", "name": "UrlRedirect", "ofType": null }, { "kind": "OBJECT", "name": "UrlRedirectImport", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null }, { "kind": "OBJECT", "name": "WebPixel", "ofType": null }, { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } ] }, { "description": "The input fields for dimensions of an object.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The length in `unit`s.", "name": "length", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "defaultValue": null, "description": "The width in `unit`s.", "name": "width", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "defaultValue": null, "description": "The height in `unit`s.", "name": "height", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "defaultValue": null, "description": "Unit of measurement for `length`, `width`, and `height`.", "name": "unit", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LengthUnit", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ObjectDimensionsInput", "possibleTypes": null }, { "description": "An article in the blogging system. You can query articles from\n[the REST API](https://shopify.dev/api/admin-rest/latest/resources/article)\nif you need to access more information about an article. Currently, `OnlineStoreArticle` is\nonly useful to pass an article `id` to the `tagsAdd` mutation. For more information, refer to\nthe [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) mutation.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "Navigable", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "OnlineStoreArticle", "possibleTypes": null }, { "description": "Shopify stores come with a built-in blogging engine, allowing a shop to have one or more blogs. Blogs are meant\nto be used as a type of magazine or newsletter for the shop, with content that changes over time.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "OnlineStoreBlog", "possibleTypes": null }, { "description": "A custom page on the Online Store.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "Navigable", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "OnlineStorePage", "possibleTypes": null }, { "description": "Online Store preview URL of the object.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The online store preview URL.", "isDeprecated": false, "name": "onlineStorePreviewUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "OnlineStorePreviewable", "possibleTypes": [ { "kind": "OBJECT", "name": "Product", "ofType": null } ] }, { "description": "An order is a customer's request to purchase one or more products from a shop. You can retrieve and update orders using the `Order` object.\nLearn more about\n[editing an existing order with the GraphQL Admin API](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).\n\nOnly the last 60 days' worth of orders from a store are accessible from the `Order` object by default. If you want to access older orders,\nthen you need to [request access to all orders](https://shopify.dev/api/usage/access-scopes#orders-permissions). If your app is granted\naccess, then you can add the `read_all_orders` scope to your app along with `read_orders` or `write_orders`.\n[Private apps](https://shopify.dev/apps/auth/basic-http) are not affected by this change and are automatically granted the scope.\n\n**Caution:** Only use this data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don't have a legitimate use for the associated data.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of addtional fees applied to the order.", "isDeprecated": false, "name": "additionalFees", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AdditionalFee", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `happened_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of sales agreements associated with the order.", "isDeprecated": false, "name": "agreements", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SalesAgreementConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of messages that appear on the order page in the Shopify admin.\n", "isDeprecated": false, "name": "alerts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourceAlert", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The application that created the order.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "OrderApp", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The billing address of the customer.", "isDeprecated": false, "name": "billingAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the billing address matches the shipping address.", "isDeprecated": false, "name": "billingAddressMatchesShippingAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the order can be manually marked as paid.", "isDeprecated": false, "name": "canMarkAsPaid", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a customer email exists for the order.", "isDeprecated": false, "name": "canNotifyCustomer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason provided when the order was canceled.\nReturns `null` if the order wasn't canceled.\n", "isDeprecated": false, "name": "cancelReason", "type": { "kind": "ENUM", "name": "OrderCancelReason", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the order was canceled.\nReturns `null` if the order wasn't canceled.\n", "isDeprecated": false, "name": "cancelledAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether payment for the order can be captured.\n", "isDeprecated": false, "name": "capturable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `cartDiscountAmountSet` instead.", "description": "The total order-level discount amount, before returns, in shop currency.", "isDeprecated": true, "name": "cartDiscountAmount", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total order-level discount amount, before returns, in shop and presentment currencies.", "isDeprecated": false, "name": "cartDiscountAmountSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": "Use `publication` instead.", "description": "The channel that created the order.", "isDeprecated": true, "name": "channel", "type": { "kind": "OBJECT", "name": "Channel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Details about the channel that created the order.", "isDeprecated": false, "name": "channelInformation", "type": { "kind": "OBJECT", "name": "ChannelInformation", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The IP address of the API client that created the order.", "isDeprecated": false, "name": "clientIp", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the order is closed.", "isDeprecated": false, "name": "closed", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the order was closed.\nReturns `null` if the order is not closed.\n", "isDeprecated": false, "name": "closedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether inventory has been reserved for the order.", "isDeprecated": false, "name": "confirmed", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Date and time when the order was created in Shopify.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop currency when the order was placed.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current order-level discount amount after all order updates, in shop and presentment currencies.\n", "isDeprecated": false, "name": "currentCartDiscountAmountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of the quantities for all line items that contribute to the order's current subtotal price.", "isDeprecated": false, "name": "currentSubtotalLineItemsQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of the prices for all line items after discounts and returns, in shop and presentment currencies.\nIf `taxesIncluded` is `true`, then the subtotal also includes tax.\n", "isDeprecated": false, "name": "currentSubtotalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of all tax lines applied to line items on the order, after returns.\nTax line prices represent the total price for all tax lines with the same `rate` and `title`.\n", "isDeprecated": false, "name": "currentTaxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total amount of additional fees after returns, in shop and presentment currencies.\nReturns `null` if there are no additional fees for the order.\n", "isDeprecated": false, "name": "currentTotalAdditionalFeesSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total amount discounted on the order after returns, in shop and presentment currencies.\nThis includes both order and line level discounts.\n", "isDeprecated": false, "name": "currentTotalDiscountsSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of duties after returns, in shop and presentment currencies.\nReturns `null` if duties aren't applicable.\n", "isDeprecated": false, "name": "currentTotalDutiesSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total price of the order, after returns, in shop and presentment currencies.\nThis includes taxes and discounts.\n", "isDeprecated": false, "name": "currentTotalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of the prices of all tax lines applied to line items on the order, after returns, in shop and presentment currencies.\n", "isDeprecated": false, "name": "currentTotalTaxSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total weight of the order after returns, in grams.", "isDeprecated": false, "name": "currentTotalWeight", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the custom attributes added to the order.\n", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The customer that placed the order.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the customer agreed to receive marketing materials.", "isDeprecated": false, "name": "customerAcceptsMarketing", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `customerJourneySummary` instead.", "description": "The customer's visits and interactions with the online store before placing the order.\n", "isDeprecated": true, "name": "customerJourney", "type": { "kind": "OBJECT", "name": "CustomerJourney", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer's visits and interactions with the online store before placing the order.\n", "isDeprecated": false, "name": "customerJourneySummary", "type": { "kind": "OBJECT", "name": "CustomerJourneySummary", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A two-letter or three-letter language code, optionally followed by a region modifier.\n", "isDeprecated": false, "name": "customerLocale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of discounts that are applied to the order, not including order edits and refunds.", "isDeprecated": false, "name": "discountApplications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountApplicationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The discount code used for the order.", "isDeprecated": false, "name": "discountCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The discount codes used for the order.", "isDeprecated": false, "name": "discountCodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The primary address of the customer.\nReturns `null` if neither the shipping address nor the billing address was provided.\n", "isDeprecated": false, "name": "displayAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The financial status of the order that can be shown to the merchant.\nThis field does not capture all the details of an order's financial state. It should only be used for display summary purposes.\n", "isDeprecated": false, "name": "displayFinancialStatus", "type": { "kind": "ENUM", "name": "OrderDisplayFinancialStatus", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The fulfillment status for the order that can be shown to the merchant.\nThis field does not capture all the details of an order's fulfillment state. It should only be used for display summary purposes.\nFor a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.\n", "isDeprecated": false, "name": "displayFulfillmentStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderDisplayFulfillmentStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the disputes associated with the order.", "isDeprecated": false, "name": "disputes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderDisputeSummary", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the order has had any edits applied.", "isDeprecated": false, "name": "edited", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The email address associated with the customer.", "isDeprecated": false, "name": "email", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether taxes on the order are estimated.\nThis field returns `false` when taxes on the order are finalized and aren't subject to any changes.\n", "isDeprecated": false, "name": "estimatedTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of events associated with the order.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether there are line items that can be fulfilled.\nThis field returns `false` when the order has no fulfillable line items.\nFor a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.\n", "isDeprecated": false, "name": "fulfillable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": "false", "description": "Whether fulfillment orders that are hidden from the merchant are included.\nFor example, fulfillment orders that were closed after being combined or moved are hidden.\n", "name": "displayable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `assigned_location_id`\n - `status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of fulfillment orders for a specific order.\n\n[FulfillmentOrder API access scopes](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder#api-access-scopes)\ngovern which fulfillments orders are returned.\nAn API client will only receive a subset of the fulfillment orders which belong to an order\nif they don't have the necessary access scopes to view all of the fulfillment orders.\nIn the case that an API client does not have the access scopes necessary to view\nany of the fulfillment orders that belong to an order, an empty array will be returned.\n", "isDeprecated": false, "name": "fulfillmentOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "List of shipments for the order.", "isDeprecated": false, "name": "fulfillments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the order has been paid in full.", "isDeprecated": false, "name": "fullyPaid", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the merchant added a timeline comment to the order.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": "Use `customerJourneySummary.lastVisit.landingPageHtml` instead", "description": "The URL of the first page of the online store that the customer visited before they submitted the order.", "isDeprecated": true, "name": "landingPageDisplayText", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `customerJourneySummary.lastVisit.landingPage` instead", "description": "The first page of the online store that the customer visited before they submitted the order.", "isDeprecated": true, "name": "landingPageUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the order's line items.", "isDeprecated": false, "name": "lineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItemConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `lineItems` instead.", "description": "A list of the order's line items.", "isDeprecated": true, "name": "lineItemsMutable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItemMutableConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The country codes of the extensions.", "name": "countryCodes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } }, { "defaultValue": null, "description": "The purpose of the extensions.", "name": "purposes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LocalizationExtensionPurpose", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of localization extensions for the resource.", "isDeprecated": false, "name": "localizationExtensions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocalizationExtensionConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use `physicalLocation` instead.", "description": "The fulfillment location that was assigned when the order was created.\nUse the [`FulfillmentOrder`](https://shopify.dev/api/admin-graphql/latest/objects/fulfillmentorder) object for up-to-date fulfillment location information.\n", "isDeprecated": true, "name": "location", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the order can be edited by the merchant. For example, canceled orders can’t be edited.", "isDeprecated": false, "name": "merchantEditable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of reasons why the order can't be edited. For example, \"Canceled orders can’t be edited\".\n", "isDeprecated": false, "name": "merchantEditableErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The application acting as the Merchant of Record for the order.", "isDeprecated": false, "name": "merchantOfRecordApp", "type": { "kind": "OBJECT", "name": "OrderApp", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique identifier for the order that appears on the order page in the Shopify admin and the order status page.\nFor example, \"#1001\", \"EN1001\", or \"1001-A\".\nThis value isn't unique across multiple stores.\n", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "Use `netPaymentSet` instead.", "description": "The net payment for the order, based on the total amount received minus the total amount refunded, in shop currency.\n", "isDeprecated": true, "name": "netPayment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The net payment for the order, based on the total amount received minus the total amount refunded, in shop and presentment currencies.", "isDeprecated": false, "name": "netPaymentSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of line items that can't be fulfilled.\nFor example, tips and fully refunded line items can't be fulfilled.\nFor a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.\n", "isDeprecated": false, "name": "nonFulfillableLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItemConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The contents of the note associated with the order.\n", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total amount of additional fees after returns, in shop and presentment currencies.\nReturns `null` if there are no additional fees for the order.\n", "isDeprecated": false, "name": "originalTotalAdditionalFeesSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total amount of duties before returns, in shop and presentment currencies.\nReturns `null` if duties aren't applicable.\n", "isDeprecated": false, "name": "originalTotalDutiesSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total price of the order at the time of order creation, in shop and presentment currencies.", "isDeprecated": false, "name": "originalTotalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The payment collection details for the order.", "isDeprecated": false, "name": "paymentCollectionDetails", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderPaymentCollectionDetails", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the names of all payment gateways used for the order.\nFor example, \"Shopify Payments\" and \"Cash on Delivery (COD)\".\n", "isDeprecated": false, "name": "paymentGatewayNames", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The payment terms associated with the order.", "isDeprecated": false, "name": "paymentTerms", "type": { "kind": "OBJECT", "name": "PaymentTerms", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The phone number associated with the customer.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The fulfillment location that was assigned when the order was created.\nUse the [`FulfillmentOrder`](https://shopify.dev/api/admin-graphql/latest/objects/fulfillmentorder) object for up to date fulfillment location information.\n", "isDeprecated": false, "name": "physicalLocation", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment `CurrencyCode` of the customer for the order.", "isDeprecated": false, "name": "presentmentCurrencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the order was processed.\nThis date and time might not match the date and time when the order was created.\n", "isDeprecated": false, "name": "processedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The publication that the order was created from.", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The purchasing entity for the order.", "isDeprecated": false, "name": "purchasingEntity", "type": { "kind": "UNION", "name": "PurchasingEntity", "ofType": null } }, { "args": [], "deprecationReason": "Use `customerJourneySummary.lastVisit.referralCode` instead", "description": "The marketing referral code from the link that the customer clicked to visit the store.\nSupports the following URL attributes: \"ref\", \"source\", or \"r\".\nFor example, if the URL is `{shop}.myshopify.com/products/slide?ref=j2tj1tn2`, then this value is `j2tj1tn2`.\n", "isDeprecated": true, "name": "referralCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `customerJourneySummary.lastVisit.referralInfoHtml` instead", "description": "A web domain or short description of the source that sent the customer to your online store. For example, \"shopify.com\" or \"email\".\n", "isDeprecated": true, "name": "referrerDisplayText", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `customerJourneySummary.lastVisit.referrerUrl` instead", "description": "The URL of the webpage where the customer clicked a link that sent them to your online store.\n", "isDeprecated": true, "name": "referrerUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The difference between the suggested and actual refund amount of all refunds that have been applied to the order. A positive value indicates a difference in the merchant's favor, and a negative value indicates a difference in the customer's favor.", "isDeprecated": false, "name": "refundDiscrepancySet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the order can be refunded.\n", "isDeprecated": false, "name": "refundable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "A list of refunds that have been applied to the order.", "isDeprecated": false, "name": "refunds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Refund", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The URL of the source that the order originated from, if found in the domain registry.", "isDeprecated": false, "name": "registeredSourceUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the order has shipping lines or at least one line item on the order that requires shipping.\n", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether any line item on the order can be restocked.\n", "isDeprecated": false, "name": "restockable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order's aggregated return status for display purposes.", "isDeprecated": false, "name": "returnStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderReturnStatus", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of returns for the order.", "isDeprecated": false, "name": "returns", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The fraud risk level of the order.", "isDeprecated": false, "name": "riskLevel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderRiskLevel", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "A list of risks associated with the order.", "isDeprecated": false, "name": "risks", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderRisk", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The mailing address of the customer.", "isDeprecated": false, "name": "shippingAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A summary of all shipping costs on the order.", "isDeprecated": false, "name": "shippingLine", "type": { "kind": "OBJECT", "name": "ShippingLine", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the order's shipping lines.", "isDeprecated": false, "name": "shippingLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingLineConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A unique POS or third party order identifier.\nFor example, \"1234-12-1000\" or \"111-98567-54\". The `receipt_number` field is derived from this value for POS orders.\n", "isDeprecated": false, "name": "sourceIdentifier", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The sum of the quantities for all line items that contribute to the order's subtotal price.", "isDeprecated": false, "name": "subtotalLineItemsQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": "Use `subtotalPriceSet` instead.", "description": "The sum of the prices for all line items after discounts and before returns, in shop currency.\nIf `taxesIncluded` is `true`, then the subtotal also includes tax.\n", "isDeprecated": true, "name": "subtotalPrice", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The sum of the prices for all line items after discounts and before returns, in shop and presentment currencies.\nIf `taxesIncluded` is `true`, then the subtotal also includes tax.\n", "isDeprecated": false, "name": "subtotalPriceSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The amount to refund for shipping. Overrides the `refundShipping` argument.\nUse the `shippingAmountV2` argument for multi-currency orders.\n", "name": "shippingAmount", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "Whether to refund the full shipping amount.", "name": "refundShipping", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The line items from the order to include in the refund.", "name": "refundLineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RefundLineItemInput", "ofType": null } } } }, { "defaultValue": null, "description": "The duties from the order to include in the refund.", "name": "refundDuties", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RefundDutyInput", "ofType": null } } } }, { "defaultValue": "false", "description": "Whether the suggested refund should be created from all refundable line items on the order.\nIf `true`, the `refundLineItems` argument will be ignored.\n", "name": "suggestFullRefund", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A suggested refund for the order.", "isDeprecated": false, "name": "suggestedRefund", "type": { "kind": "OBJECT", "name": "SuggestedRefund", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A comma separated list of tags associated with the order. Updating `tags` overwrites\nany existing tags that were previously added to the order. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.\n", "isDeprecated": false, "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of all tax lines applied to line items on the order, before returns.\nTax line prices represent the total price for all tax lines with the same `rate` and `title`.\n", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether taxes are included in the subtotal price of the order.", "isDeprecated": false, "name": "taxesIncluded", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the order is a test.\nTest orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled.\nA test order cannot be converted into a real order and vice versa.\n", "isDeprecated": false, "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalCapturableSet` instead.", "description": "The authorized amount that is uncaptured or undercaptured, in shop currency.\nThis amount isn't adjusted for returns.\n", "isDeprecated": true, "name": "totalCapturable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The authorized amount that is uncaptured or undercaptured, in shop and presentment currencies.\nThis amount isn't adjusted for returns.\n", "isDeprecated": false, "name": "totalCapturableSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalDiscountsSet` instead.", "description": "The total amount discounted on the order before returns, in shop currency.\nThis includes both order and line level discounts.\n", "isDeprecated": true, "name": "totalDiscounts", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total amount discounted on the order before returns, in shop and presentment currencies.\nThis includes both order and line level discounts.\n", "isDeprecated": false, "name": "totalDiscountsSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total amount not yet transacted for the order, in shop and presentment currencies.\nA positive value indicates a difference in the merchant's favor (payment from customer to merchant) and a negative value indicates a difference in the customer's favor (refund from merchant to customer).\n", "isDeprecated": false, "name": "totalOutstandingSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalPriceSet` instead.", "description": "The total price of the order, before returns, in shop currency.\nThis includes taxes and discounts.\n", "isDeprecated": true, "name": "totalPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total price of the order, before returns, in shop and presentment currencies.\nThis includes taxes and discounts.\n", "isDeprecated": false, "name": "totalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalReceivedSet` instead.", "description": "The total amount received from the customer before returns, in shop currency.", "isDeprecated": true, "name": "totalReceived", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount received from the customer before returns, in shop and presentment currencies.", "isDeprecated": false, "name": "totalReceivedSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalRefundedSet` instead.", "description": "The total amount that was refunded, in shop currency.", "isDeprecated": true, "name": "totalRefunded", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount that was refunded, in shop and presentment currencies.", "isDeprecated": false, "name": "totalRefundedSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of shipping that was refunded, in shop and presentment currencies.", "isDeprecated": false, "name": "totalRefundedShippingSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalShippingPriceSet` instead.", "description": "The total shipping amount before discounts and returns, in shop currency.", "isDeprecated": true, "name": "totalShippingPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total shipping amount before discounts and returns, in shop and presentment currencies.", "isDeprecated": false, "name": "totalShippingPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalTaxSet` instead.", "description": "The total tax amount before returns, in shop currency.", "isDeprecated": true, "name": "totalTax", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total tax amount before returns, in shop and presentment currencies.", "isDeprecated": false, "name": "totalTaxSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": "Use `totalTipReceivedSet` instead.", "description": "The sum of all tip amounts for the order, in shop currency.", "isDeprecated": true, "name": "totalTipReceived", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of all tip amounts for the order, in shop and presentment currencies.", "isDeprecated": false, "name": "totalTipReceivedSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total weight of the order before returns, in grams.", "isDeprecated": false, "name": "totalWeight", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Filter transactions by whether they are capturable.\n", "name": "capturable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Filter transactions by whether they can be resolved manually.\nFor example, fully captured or voided transactions aren't manually resolvable.\n", "name": "manuallyResolvable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of transactions associated with the order.", "isDeprecated": false, "name": "transactions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderTransaction", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether no payments have been made for the order.\n", "isDeprecated": false, "name": "unpaid", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the order was modified last.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CommentEventSubject", "ofType": null }, { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "HasLocalizationExtensions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Order", "possibleTypes": null }, { "description": "The possible order action types for a\n[sales agreement](https://shopify.dev/api/admin-graphql/latest/interfaces/salesagreement).\n", "enumValues": [ { "deprecationReason": null, "description": "An order with a purchase or charge.", "isDeprecated": false, "name": "ORDER" }, { "deprecationReason": null, "description": "An edit to the order.", "isDeprecated": false, "name": "ORDER_EDIT" }, { "deprecationReason": null, "description": "A refund on the order.", "isDeprecated": false, "name": "REFUND" }, { "deprecationReason": null, "description": "An unknown agreement action. Represents new actions that may be added in future versions.", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderActionType", "possibleTypes": null }, { "description": "An agreement associated with an order placement.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The application that created the agreement.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time at which the agreement occured.", "isDeprecated": false, "name": "happenedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the agreement.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order associated with the agreement.", "isDeprecated": false, "name": "order", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason the agremeent was created.", "isDeprecated": false, "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderActionType", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The sales associated with the agreement.", "isDeprecated": false, "name": "sales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member associated with the agreement.", "isDeprecated": false, "name": "user", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SalesAgreement", "ofType": null } ], "kind": "OBJECT", "name": "OrderAgreement", "possibleTypes": null }, { "description": "The [application](https://shopify.dev/apps) that created the order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The application icon.", "isDeprecated": false, "name": "icon", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The application ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the application.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderApp", "possibleTypes": null }, { "description": "Represents the reason that the order is being canceled. Valid values are: customer, fraud, inventory, declined, other.", "enumValues": [ { "deprecationReason": null, "description": "The customer wanted to cancel the order.", "isDeprecated": false, "name": "CUSTOMER" }, { "deprecationReason": null, "description": "Payment was declined.", "isDeprecated": false, "name": "DECLINED" }, { "deprecationReason": null, "description": "The order was fraudulent.", "isDeprecated": false, "name": "FRAUD" }, { "deprecationReason": null, "description": "There was insufficient inventory.", "isDeprecated": false, "name": "INVENTORY" }, { "deprecationReason": null, "description": "The order was canceled for an unlisted reason.", "isDeprecated": false, "name": "OTHER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderCancelReason", "possibleTypes": null }, { "description": "The input fields for the authorized transaction to capture and the total amount to capture from it.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the order to capture.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the authorized transaction to capture.", "name": "parentTransactionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The amount to capture. The capture amount can't be greater than the amount of the authorized transaction.", "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "defaultValue": null, "description": "The currency (in ISO format) that is used to capture the order. This must be the presentment currency (the currency used by the customer) and is a required field for orders where the currency and presentment currency differ.", "name": "currency", "type": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "OrderCaptureInput", "possibleTypes": null }, { "description": "Return type for `orderCapture` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created capture transaction.", "isDeprecated": false, "name": "transaction", "type": { "kind": "OBJECT", "name": "OrderTransaction", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderCapturePayload", "possibleTypes": null }, { "description": "The input fields for specifying an open order to close.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the order to close.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "OrderCloseInput", "possibleTypes": null }, { "description": "Return type for `orderClose` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The closed order.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderClosePayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Orders.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in OrderEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderConnection", "possibleTypes": null }, { "description": "Return type for `orderCreateMandatePayment` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The async job used for charging the payment.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The Unique Identifier for the created payment.", "isDeprecated": false, "name": "paymentReferenceId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderCreateMandatePaymentUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderCreateMandatePaymentPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `OrderCreateMandatePayment`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "OrderCreateMandatePaymentUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "OrderCreateMandatePaymentUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `OrderCreateMandatePaymentUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Errors for mandate payment on order.", "isDeprecated": false, "name": "ORDER_MANDATE_PAYMENT_ERROR_CODE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderCreateMandatePaymentUserErrorCode", "possibleTypes": null }, { "description": "Represents the order's current financial status.", "enumValues": [ { "deprecationReason": null, "description": "Displayed as **Pending**.", "isDeprecated": false, "name": "PENDING" }, { "deprecationReason": null, "description": "Displayed as **Authorized**.", "isDeprecated": false, "name": "AUTHORIZED" }, { "deprecationReason": null, "description": "Displayed as **Partially paid**.", "isDeprecated": false, "name": "PARTIALLY_PAID" }, { "deprecationReason": null, "description": "Displayed as **Partially refunded**.", "isDeprecated": false, "name": "PARTIALLY_REFUNDED" }, { "deprecationReason": null, "description": "Displayed as **Voided**.", "isDeprecated": false, "name": "VOIDED" }, { "deprecationReason": null, "description": "Displayed as **Paid**.", "isDeprecated": false, "name": "PAID" }, { "deprecationReason": null, "description": "Displayed as **Refunded**.", "isDeprecated": false, "name": "REFUNDED" }, { "deprecationReason": null, "description": "Displayed as **Expired**.", "isDeprecated": false, "name": "EXPIRED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderDisplayFinancialStatus", "possibleTypes": null }, { "description": "Represents the order's aggregated fulfillment status for display purposes.", "enumValues": [ { "deprecationReason": null, "description": "Displayed as **Unfulfilled**. None of the items in the order have been fulfilled.", "isDeprecated": false, "name": "UNFULFILLED" }, { "deprecationReason": null, "description": "Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled.", "isDeprecated": false, "name": "PARTIALLY_FULFILLED" }, { "deprecationReason": null, "description": "Displayed as **Fulfilled**. All the items in the order have been fulfilled.", "isDeprecated": false, "name": "FULFILLED" }, { "deprecationReason": null, "description": "Displayed as **Restocked**. All the items in the order have been restocked. Replaced by the \"UNFULFILLED\" status.", "isDeprecated": false, "name": "RESTOCKED" }, { "deprecationReason": null, "description": "Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by the \"IN_PROGRESS\" status.", "isDeprecated": false, "name": "PENDING_FULFILLMENT" }, { "deprecationReason": null, "description": "Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by \"UNFULFILLED\" status.", "isDeprecated": false, "name": "OPEN" }, { "deprecationReason": null, "description": "Displayed as **In progress**. Some of the items in the order have been fulfilled, or a request for fulfillment has been sent to the fulfillment service.", "isDeprecated": false, "name": "IN_PROGRESS" }, { "deprecationReason": null, "description": "Displayed as **On hold**. All of the unfulfilled items in this order are on hold.", "isDeprecated": false, "name": "ON_HOLD" }, { "deprecationReason": null, "description": "Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time.", "isDeprecated": false, "name": "SCHEDULED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderDisplayFulfillmentStatus", "possibleTypes": null }, { "description": "A summary of the important details for a dispute on an order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type that the dispute was initiated as.", "isDeprecated": false, "name": "initiatedAs", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DisputeType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current status of the dispute.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DisputeStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "OrderDisputeSummary", "possibleTypes": null }, { "description": "An auto-generated type which holds one Order and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of OrderEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderEdge", "possibleTypes": null }, { "description": "Return type for `orderEditAddCustomItem` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The custom line item that will be added to the order based on the current edits.", "isDeprecated": false, "name": "calculatedLineItem", "type": { "kind": "OBJECT", "name": "CalculatedLineItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "An order with the edits applied but not saved.", "isDeprecated": false, "name": "calculatedOrder", "type": { "kind": "OBJECT", "name": "CalculatedOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderEditAddCustomItemPayload", "possibleTypes": null }, { "description": "Return type for `orderEditAddLineItemDiscount` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The discount applied to a line item during this order edit.", "isDeprecated": false, "name": "addedDiscountStagedChange", "type": { "kind": "OBJECT", "name": "OrderStagedChangeAddLineItemDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The line item with the edits applied but not saved.", "isDeprecated": false, "name": "calculatedLineItem", "type": { "kind": "OBJECT", "name": "CalculatedLineItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "An order with the edits applied but not saved.", "isDeprecated": false, "name": "calculatedOrder", "type": { "kind": "OBJECT", "name": "CalculatedOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderEditAddLineItemDiscountPayload", "possibleTypes": null }, { "description": "Return type for `orderEditAddVariant` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The [calculated line item](https://shopify.dev/api/admin-graphql/latest/objects/calculatedlineitem)\nthat's added during this order edit.\n", "isDeprecated": false, "name": "calculatedLineItem", "type": { "kind": "OBJECT", "name": "CalculatedLineItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nwith the edits applied but not saved.\n", "isDeprecated": false, "name": "calculatedOrder", "type": { "kind": "OBJECT", "name": "CalculatedOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderEditAddVariantPayload", "possibleTypes": null }, { "description": "An agreement associated with an edit to the order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The application that created the agreement.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time at which the agreement occured.", "isDeprecated": false, "name": "happenedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the agreement.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason the agremeent was created.", "isDeprecated": false, "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderActionType", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The sales associated with the agreement.", "isDeprecated": false, "name": "sales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member associated with the agreement.", "isDeprecated": false, "name": "user", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SalesAgreement", "ofType": null } ], "kind": "OBJECT", "name": "OrderEditAgreement", "possibleTypes": null }, { "description": "The input fields used to add a discount during an order edit.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The description of the discount.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The value of the discount as a fixed amount.", "name": "fixedValue", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, { "defaultValue": null, "description": "The value of the discount as a percentage.", "name": "percentValue", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "OrderEditAppliedDiscountInput", "possibleTypes": null }, { "description": "Return type for `orderEditBegin` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The order that will be edited.", "isDeprecated": false, "name": "calculatedOrder", "type": { "kind": "OBJECT", "name": "CalculatedOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderEditBeginPayload", "possibleTypes": null }, { "description": "Return type for `orderEditCommit` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The order with changes applied.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderEditCommitPayload", "possibleTypes": null }, { "description": "Return type for `orderEditRemoveLineItemDiscount` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The calculated line item after removal of the discount.", "isDeprecated": false, "name": "calculatedLineItem", "type": { "kind": "OBJECT", "name": "CalculatedLineItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "An order with the edits applied but not saved.", "isDeprecated": false, "name": "calculatedOrder", "type": { "kind": "OBJECT", "name": "CalculatedOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderEditRemoveLineItemDiscountPayload", "possibleTypes": null }, { "description": "Return type for `orderEditSetQuantity` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The calculated line item with the edits applied but not saved.", "isDeprecated": false, "name": "calculatedLineItem", "type": { "kind": "OBJECT", "name": "CalculatedLineItem", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The calculated order with the edits applied but not saved.", "isDeprecated": false, "name": "calculatedOrder", "type": { "kind": "OBJECT", "name": "CalculatedOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderEditSetQuantityPayload", "possibleTypes": null }, { "description": "The input fields for specifying the information to be updated on an order when using the orderUpdate mutation.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the order to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A new customer email address for the order. Overwrites the existing email address.", "name": "email", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The new contents for the note associated with the order. Overwrites the existing note.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A new list of tags for the order. Overwrites the existing tags.", "name": "tags", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The new shipping address for the order. Overwrites the existing shipping address.", "name": "shippingAddress", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, { "defaultValue": null, "description": "A new list of custom attributes for the order. Overwrites the existing custom attributes.", "name": "customAttributes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of new metafields to add to the existing metafields for the order.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of new [localization extensions](https://shopify.dev/api/admin-graphql/latest/objects/localizationextension) to add to the existing list of localization extensions for the order.", "name": "localizationExtensions", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "LocalizationExtensionInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "OrderInput", "possibleTypes": null }, { "description": "Return type for `orderInvoiceSend` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The order associated with the invoice email.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderInvoiceSendUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderInvoiceSendPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `OrderInvoiceSend`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "OrderInvoiceSendUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "OrderInvoiceSendUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `OrderInvoiceSendUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An error occurred while sending the invoice.", "isDeprecated": false, "name": "ORDER_INVOICE_SEND_UNSUCCESSFUL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderInvoiceSendUserErrorCode", "possibleTypes": null }, { "description": "The input fields for specifying the order to mark as paid.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the order to mark as paid.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "OrderMarkAsPaidInput", "possibleTypes": null }, { "description": "Return type for `orderMarkAsPaid` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The order marked as paid.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderMarkAsPaidPayload", "possibleTypes": null }, { "description": "The input fields for specifying a closed order to open.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the order to open.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "OrderOpenInput", "possibleTypes": null }, { "description": "Return type for `orderOpen` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The opened order.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderOpenPayload", "possibleTypes": null }, { "description": "The payment collection details for an order that requires additional payment following an edit to the order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The URL to use for collecting an additional payment on the order.", "isDeprecated": false, "name": "additionalPaymentCollectionUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of vaulted payment methods for the order with their permissions.", "isDeprecated": false, "name": "vaultedPaymentMethods", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentMandate", "ofType": null } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderPaymentCollectionDetails", "possibleTypes": null }, { "description": "The status of a customer's payment for an order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A message describing an error during the asynchronous processing of a payment.", "isDeprecated": false, "name": "errorMessage", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the payment, initially returned by an `orderCreateMandatePayment` or `orderCreatePayment` mutation.", "isDeprecated": false, "name": "paymentReferenceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the payment.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderPaymentStatusResult", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A translated message describing an error during the asynchronous processing of a payment.", "isDeprecated": false, "name": "translatedErrorMessage", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderPaymentStatus", "possibleTypes": null }, { "description": "The type of a payment status.", "enumValues": [ { "deprecationReason": null, "description": "The payment succeeded.", "isDeprecated": false, "name": "SUCCESS" }, { "deprecationReason": null, "description": "The payment is authorized.", "isDeprecated": false, "name": "AUTHORIZED" }, { "deprecationReason": null, "description": "The payment is voided.", "isDeprecated": false, "name": "VOIDED" }, { "deprecationReason": null, "description": "The payment is refunded.", "isDeprecated": false, "name": "REFUNDED" }, { "deprecationReason": null, "description": "The payment is captured.", "isDeprecated": false, "name": "CAPTURED" }, { "deprecationReason": null, "description": "The payment is in purchased status.", "isDeprecated": false, "name": "PURCHASED" }, { "deprecationReason": null, "description": "There was an error initiating the payment.", "isDeprecated": false, "name": "ERROR" }, { "deprecationReason": null, "description": "The payment is still being processed.", "isDeprecated": false, "name": "PROCESSING" }, { "deprecationReason": null, "description": "Redirect required.", "isDeprecated": false, "name": "REDIRECT_REQUIRED" }, { "deprecationReason": null, "description": "Payment can be retried.", "isDeprecated": false, "name": "RETRYABLE" }, { "deprecationReason": null, "description": "Status is unknown.", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderPaymentStatusResult", "possibleTypes": null }, { "description": "The order's aggregated return status that's used for display purposes.\nAn order might have multiple returns, so this field communicates the prioritized return status.\nThe `OrderReturnStatus` enum is a supported filter parameter in the [`orders` query](https://shopify.dev/api/admin-graphql/latest/queries/orders#:~:text=reference_location_id-,return_status,-risk_level).\n", "enumValues": [ { "deprecationReason": null, "description": "Some items in the order are being returned.", "isDeprecated": false, "name": "IN_PROGRESS" }, { "deprecationReason": null, "description": "All return shipments from a return in this order were inspected.", "isDeprecated": false, "name": "INSPECTION_COMPLETE" }, { "deprecationReason": null, "description": "No items in the order were returned.", "isDeprecated": false, "name": "NO_RETURN" }, { "deprecationReason": null, "description": "Some items in the order were returned.", "isDeprecated": false, "name": "RETURNED" }, { "deprecationReason": null, "description": "Some returns in the order were not completed successfully.", "isDeprecated": false, "name": "RETURN_FAILED" }, { "deprecationReason": null, "description": "A return was requested for some items in the order.", "isDeprecated": false, "name": "RETURN_REQUESTED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderReturnStatus", "possibleTypes": null }, { "description": "Represents a fraud check on an order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the risk level is shown in the Shopify admin. If false, then this order risk is ignored when Shopify determines the overall risk level for the order.", "isDeprecated": false, "name": "display", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The likelihood that an order is fraudulent, based on this order risk.\n\nThe level can be set by Shopify risk analysis or by an app.\n", "isDeprecated": false, "name": "level", "type": { "kind": "ENUM", "name": "OrderRiskLevel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The risk message that's shown to the merchant in the Shopify admin.", "isDeprecated": false, "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderRisk", "possibleTypes": null }, { "description": "The likelihood that an order is fraudulent.", "enumValues": [ { "deprecationReason": null, "description": "There is a low level of risk that this order is fraudulent.", "isDeprecated": false, "name": "LOW" }, { "deprecationReason": null, "description": "There is a medium level of risk that this order is fraudulent.", "isDeprecated": false, "name": "MEDIUM" }, { "deprecationReason": null, "description": "There is a high level of risk that this order is fraudulent.", "isDeprecated": false, "name": "HIGH" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderRiskLevel", "possibleTypes": null }, { "description": "The set of valid sort keys for the Order query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `customer_name` value.", "isDeprecated": false, "name": "CUSTOMER_NAME" }, { "deprecationReason": null, "description": "Sort orders by their shipping address country and city.", "isDeprecated": false, "name": "DESTINATION" }, { "deprecationReason": null, "description": "Sort by the `financial_status` value.", "isDeprecated": false, "name": "FINANCIAL_STATUS" }, { "deprecationReason": null, "description": "Sort by the `fulfillment_status` value.", "isDeprecated": false, "name": "FULFILLMENT_STATUS" }, { "deprecationReason": null, "description": "Sort by the `order_number` value.", "isDeprecated": false, "name": "ORDER_NUMBER" }, { "deprecationReason": null, "description": "Sort by the `processed_at` value.", "isDeprecated": false, "name": "PROCESSED_AT" }, { "deprecationReason": null, "description": "Sort by the `total_price` value.", "isDeprecated": false, "name": "TOTAL_PRICE" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderSortKeys", "possibleTypes": null }, { "description": "A change that has been applied to an order.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "OrderStagedChange", "possibleTypes": [ { "kind": "OBJECT", "name": "OrderStagedChangeAddCustomItem", "ofType": null }, { "kind": "OBJECT", "name": "OrderStagedChangeAddLineItemDiscount", "ofType": null }, { "kind": "OBJECT", "name": "OrderStagedChangeAddShippingLine", "ofType": null }, { "kind": "OBJECT", "name": "OrderStagedChangeAddVariant", "ofType": null }, { "kind": "OBJECT", "name": "OrderStagedChangeDecrementItem", "ofType": null }, { "kind": "OBJECT", "name": "OrderStagedChangeIncrementItem", "ofType": null } ] }, { "description": "A change to the order representing the addition of a\ncustom line item. For example, you might want to add gift wrapping service\nas a custom line item.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The price of an individual item without any discounts applied. This value cannot be negative.", "isDeprecated": false, "name": "originalUnitPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity of the custom item to add to the order. This value must be greater than zero.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the custom item.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderStagedChangeAddCustomItem", "possibleTypes": null }, { "description": "The discount applied to an item that was added during the current order edit.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The description of the discount.", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The pricing value of the discount.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderStagedChangeAddLineItemDiscount", "possibleTypes": null }, { "description": "A new [shipping line](https://shopify.dev/api/admin-graphql/latest/objects/shippingline)\nadded as part of an order edit.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The phone number at the shipping address.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shipping line's title that is shown to the buyer.\n", "isDeprecated": false, "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The price that applies to the shipping line.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the shipping line.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderStagedChangeAddShippingLine", "possibleTypes": null }, { "description": "A change to the order representing the addition of an existing product variant.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The quantity of the product variant that was added.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product variant that was added.", "isDeprecated": false, "name": "variant", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderStagedChangeAddVariant", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple OrderStagedChanges.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderStagedChangeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in OrderStagedChangeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "OrderStagedChange", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderStagedChangeConnection", "possibleTypes": null }, { "description": "An removal of items from an existing line item on the order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of items removed.", "isDeprecated": false, "name": "delta", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The original line item.", "isDeprecated": false, "name": "lineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The intention to restock the removed items.", "isDeprecated": false, "name": "restock", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderStagedChangeDecrementItem", "possibleTypes": null }, { "description": "An auto-generated type which holds one OrderStagedChange and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of OrderStagedChangeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "OrderStagedChange", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderStagedChangeEdge", "possibleTypes": null }, { "description": "An addition of items to an existing line item on the order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of items added.", "isDeprecated": false, "name": "delta", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The original line item.", "isDeprecated": false, "name": "lineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderStagedChangeIncrementItem", "possibleTypes": null }, { "description": "A payment transaction in the context of an order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The masked account number associated with the payment method.", "isDeprecated": false, "name": "accountNumber", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `amountSet` instead.", "description": "The amount of money.", "isDeprecated": true, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount and currency of the transaction in shop and presentment currencies.", "isDeprecated": false, "name": "amountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `amountSet` instead.", "description": "The amount and currency of the transaction.", "isDeprecated": true, "name": "amountV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Authorization code associated with the transaction.", "isDeprecated": false, "name": "authorizationCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations.\n", "isDeprecated": false, "name": "authorizationExpiresAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Date and time when the transaction was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A standardized error code, independent of the payment provider.", "isDeprecated": false, "name": "errorCode", "type": { "kind": "ENUM", "name": "OrderTransactionErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The transaction fees charged on the order transaction. Only present for Shopify Payments transactions.\n", "isDeprecated": false, "name": "fees", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TransactionFee", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The human-readable payment gateway name used to process the transaction.", "isDeprecated": false, "name": "formattedGateway", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment gateway used to process the transaction.", "isDeprecated": false, "name": "gateway", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The kind of transaction.", "isDeprecated": false, "name": "kind", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderTransactionKind", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the transaction can be manually captured.", "isDeprecated": false, "name": "manuallyCapturable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `maximumRefundableV2` instead.", "description": "Specifies the available amount to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.\n", "isDeprecated": true, "name": "maximumRefundable", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Specifies the available amount with currency to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.\n", "isDeprecated": false, "name": "maximumRefundableV2", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The associated order.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The associated parent transaction, for example the authorization of a capture.", "isDeprecated": false, "name": "parentTransaction", "type": { "kind": "OBJECT", "name": "OrderTransaction", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment details for the transaction.", "isDeprecated": false, "name": "paymentDetails", "type": { "kind": "UNION", "name": "PaymentDetails", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment icon to display for the transaction.", "isDeprecated": false, "name": "paymentIcon", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment ID associated with the transaction.", "isDeprecated": false, "name": "paymentId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `paymentIcon` instead.", "description": "The payment method used for the transaction. This value is `null` if the payment method is unknown.", "isDeprecated": true, "name": "paymentMethod", "type": { "kind": "ENUM", "name": "PaymentMethods", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Date and time when the transaction was processed.", "isDeprecated": false, "name": "processedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": "Use `receiptJson` instead.", "description": "The transaction receipt that the payment gateway attaches to the transaction.\nThe value of this field depends on which payment gateway processed the transaction.\n", "isDeprecated": true, "name": "receipt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The transaction receipt that the payment gateway attaches to the transaction.\nThe value of this field depends on which payment gateway processed the transaction.\n", "isDeprecated": false, "name": "receiptJson", "type": { "kind": "SCALAR", "name": "JSON", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The settlement currency.", "isDeprecated": false, "name": "settlementCurrency", "type": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The rate used when converting the transaction amount to settlement currency.", "isDeprecated": false, "name": "settlementCurrencyRate", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan.\n", "isDeprecated": false, "name": "shopifyPaymentsSet", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsTransactionSet", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of this transaction.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderTransactionStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the transaction is a test transaction.", "isDeprecated": false, "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalUnsettledSet` instead.", "description": "Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.\n", "isDeprecated": true, "name": "totalUnsettled", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.\n", "isDeprecated": false, "name": "totalUnsettledSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": "Use `totalUnsettledSet` instead.", "description": "Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.\n", "isDeprecated": true, "name": "totalUnsettledV2", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Staff member who was logged into the Shopify POS device when the transaction was processed.", "isDeprecated": false, "name": "user", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "OrderTransaction", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple OrderTransactions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderTransactionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in OrderTransactionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderTransaction", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderTransactionConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one OrderTransaction and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of OrderTransactionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderTransaction", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderTransactionEdge", "possibleTypes": null }, { "description": "A standardized error code, independent of the payment provider.", "enumValues": [ { "deprecationReason": null, "description": "The card number is incorrect.", "isDeprecated": false, "name": "INCORRECT_NUMBER" }, { "deprecationReason": null, "description": "The format of the card number is incorrect.", "isDeprecated": false, "name": "INVALID_NUMBER" }, { "deprecationReason": null, "description": "The format of the expiry date is incorrect.", "isDeprecated": false, "name": "INVALID_EXPIRY_DATE" }, { "deprecationReason": null, "description": "The format of the CVC is incorrect.", "isDeprecated": false, "name": "INVALID_CVC" }, { "deprecationReason": null, "description": "The card is expired.", "isDeprecated": false, "name": "EXPIRED_CARD" }, { "deprecationReason": null, "description": "The CVC does not match the card number.", "isDeprecated": false, "name": "INCORRECT_CVC" }, { "deprecationReason": null, "description": "The ZIP or postal code does not match the card number.", "isDeprecated": false, "name": "INCORRECT_ZIP" }, { "deprecationReason": null, "description": "The address does not match the card number.", "isDeprecated": false, "name": "INCORRECT_ADDRESS" }, { "deprecationReason": null, "description": "The entered PIN is incorrect.", "isDeprecated": false, "name": "INCORRECT_PIN" }, { "deprecationReason": null, "description": "The card was declined.", "isDeprecated": false, "name": "CARD_DECLINED" }, { "deprecationReason": null, "description": "There was an error while processing the payment.", "isDeprecated": false, "name": "PROCESSING_ERROR" }, { "deprecationReason": null, "description": "Call the card issuer.", "isDeprecated": false, "name": "CALL_ISSUER" }, { "deprecationReason": null, "description": "The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back.\n", "isDeprecated": false, "name": "PICK_UP_CARD" }, { "deprecationReason": null, "description": "There is an error in the gateway or merchant configuration.", "isDeprecated": false, "name": "CONFIG_ERROR" }, { "deprecationReason": null, "description": "A real card was used but the gateway was in test mode.", "isDeprecated": false, "name": "TEST_MODE_LIVE_CARD" }, { "deprecationReason": null, "description": "The gateway or merchant configuration doesn't support a feature, such as network tokenization.", "isDeprecated": false, "name": "UNSUPPORTED_FEATURE" }, { "deprecationReason": null, "description": "There was an unknown error with processing the payment.", "isDeprecated": false, "name": "GENERIC_ERROR" }, { "deprecationReason": null, "description": "The payment method is not available in the customer's country.", "isDeprecated": false, "name": "INVALID_COUNTRY" }, { "deprecationReason": null, "description": "The amount is either too high or too low for the provider.", "isDeprecated": false, "name": "INVALID_AMOUNT" }, { "deprecationReason": null, "description": "The payment method is momentarily unavailable.", "isDeprecated": false, "name": "PAYMENT_METHOD_UNAVAILABLE" }, { "deprecationReason": null, "description": "The payment method was invalid.", "isDeprecated": false, "name": "AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD" }, { "deprecationReason": null, "description": "The maximum amount has been captured.", "isDeprecated": false, "name": "AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED" }, { "deprecationReason": null, "description": "The maximum amount has been refunded.", "isDeprecated": false, "name": "AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED" }, { "deprecationReason": null, "description": "The maximum of 10 authorizations has been captured for an order.", "isDeprecated": false, "name": "AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED" }, { "deprecationReason": null, "description": "The maximum of 10 refunds has been processed for an order.", "isDeprecated": false, "name": "AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED" }, { "deprecationReason": null, "description": "The order was canceled, which canceled all open authorizations.", "isDeprecated": false, "name": "AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED" }, { "deprecationReason": null, "description": "The order was not confirmed within three hours.", "isDeprecated": false, "name": "AMAZON_PAYMENTS_STALE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderTransactionErrorCode", "possibleTypes": null }, { "description": "The input fields for the information needed to create an order transaction.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The amount of money for this transaction.", "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "defaultValue": null, "description": "The payment gateway to use for this transaction.", "name": "gateway", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The kind of transaction.", "name": "kind", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderTransactionKind", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the order associated with the transaction.", "name": "orderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the optional parent transaction, for example the authorization of a capture.", "name": "parentId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "OrderTransactionInput", "possibleTypes": null }, { "description": "The different kinds of order transactions.", "enumValues": [ { "deprecationReason": null, "description": "An authorization and capture performed together in a single step.", "isDeprecated": false, "name": "SALE" }, { "deprecationReason": null, "description": "A transfer of the money that was reserved by an authorization.", "isDeprecated": false, "name": "CAPTURE" }, { "deprecationReason": null, "description": "An amount reserved against the cardholder's funding source.\nMoney does not change hands until the authorization is captured.\n", "isDeprecated": false, "name": "AUTHORIZATION" }, { "deprecationReason": null, "description": "A cancelation of an authorization transaction.", "isDeprecated": false, "name": "VOID" }, { "deprecationReason": null, "description": "A partial or full return of captured funds to the cardholder.\nA refund can happen only after a capture is processed.\n", "isDeprecated": false, "name": "REFUND" }, { "deprecationReason": null, "description": "The money returned to the customer when they've paid too much during a cash transaction.\n", "isDeprecated": false, "name": "CHANGE" }, { "deprecationReason": null, "description": "An authorization for a payment taken with an EMV credit card reader.", "isDeprecated": false, "name": "EMV_AUTHORIZATION" }, { "deprecationReason": null, "description": "A suggested refund transaction that can be used to create a refund.", "isDeprecated": false, "name": "SUGGESTED_REFUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderTransactionKind", "possibleTypes": null }, { "description": "The different states that an `OrderTransaction` can have.", "enumValues": [ { "deprecationReason": null, "description": "The transaction succeeded.", "isDeprecated": false, "name": "SUCCESS" }, { "deprecationReason": null, "description": "The transaction failed.", "isDeprecated": false, "name": "FAILURE" }, { "deprecationReason": null, "description": "The transaction is pending.", "isDeprecated": false, "name": "PENDING" }, { "deprecationReason": null, "description": "There was an error while processing the transaction.", "isDeprecated": false, "name": "ERROR" }, { "deprecationReason": null, "description": "Awaiting a response.", "isDeprecated": false, "name": "AWAITING_RESPONSE" }, { "deprecationReason": null, "description": "The transaction status is unknown.", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "OrderTransactionStatus", "possibleTypes": null }, { "description": "Return type for `orderUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated order.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "OrderUpdatePayload", "possibleTypes": null }, { "description": "Returns information about pagination in a connection, in accordance with the\n[Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo).\nFor more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The cursor corresponding to the last node in edges.", "isDeprecated": false, "name": "endCursor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether there are more pages to fetch following the current page.", "isDeprecated": false, "name": "hasNextPage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether there are any pages prior to the current page.", "isDeprecated": false, "name": "hasPreviousPage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The cursor corresponding to the first node in edges.", "isDeprecated": false, "name": "startCursor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PageInfo", "possibleTypes": null }, { "description": "A ShopifyQL parsing error.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "An error code for the error.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ParseErrorCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the parsing error.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The start and end range for the error.", "isDeprecated": false, "name": "range", "type": { "kind": "OBJECT", "name": "ParseErrorRange", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ParseError", "possibleTypes": null }, { "description": "ShopifyQL parsing errors.", "enumValues": [ { "deprecationReason": null, "description": "Syntax not recognized.", "isDeprecated": false, "name": "SYNTAX_NOT_RECOGNIZED" }, { "deprecationReason": null, "description": "Semantically invalid.", "isDeprecated": false, "name": "SEMANTICALLY_INVALID" }, { "deprecationReason": null, "description": "Table not found.", "isDeprecated": false, "name": "TABLE_NOT_FOUND" }, { "deprecationReason": null, "description": "Column not found.", "isDeprecated": false, "name": "COLUMN_NOT_FOUND" }, { "deprecationReason": null, "description": "Value isn't parsable.", "isDeprecated": false, "name": "VALUE_NOT_PARSABLE" }, { "deprecationReason": null, "description": "Date isn't parsable.", "isDeprecated": false, "name": "DATE_NOT_PARSABLE" }, { "deprecationReason": null, "description": "Datetime value isn't parsable.", "isDeprecated": false, "name": "DATE_TIME_NOT_PARSABLE" }, { "deprecationReason": null, "description": "Date interval not found.", "isDeprecated": false, "name": "DATE_INTERVAL_NOT_FOUND" }, { "deprecationReason": null, "description": "Named date not found.", "isDeprecated": false, "name": "NAMED_DATE_NOT_FOUND" }, { "deprecationReason": null, "description": "Sort field not found.", "isDeprecated": false, "name": "SORT_FIELD_NOT_FOUND" }, { "deprecationReason": null, "description": "Limit is invalid.", "isDeprecated": false, "name": "LIMIT_INVALID" }, { "deprecationReason": null, "description": "The type of visualization is invalid. Acceptable types: bar, line.", "isDeprecated": false, "name": "VISUALIZE_CHART_TYPE_NOT_FOUND" }, { "deprecationReason": null, "description": "Function does not have any valid modifiers.", "isDeprecated": false, "name": "FUNCTION_MODIFIER_NOT_FOUND" }, { "deprecationReason": null, "description": "Function is missing required argument(s).", "isDeprecated": false, "name": "FUNCTION_ARGUMENTS_NOT_FOUND" }, { "deprecationReason": null, "description": "Function has too many arguments.", "isDeprecated": false, "name": "FUNCTION_EXCESS_ARGUMENTS" }, { "deprecationReason": null, "description": "Keyword `FROM` not found.", "isDeprecated": false, "name": "FROM_NOT_FOUND" }, { "deprecationReason": null, "description": "Query is missing `SHOW` or `VISUALIZE`.", "isDeprecated": false, "name": "PRESENTMENT_NOT_FOUND" }, { "deprecationReason": null, "description": "Use the correct syntax for either `SHOW` or `VISUALIZE`.", "isDeprecated": false, "name": "EXCESS_PRESENTMENTS" }, { "deprecationReason": null, "description": "Function has incompatible types.", "isDeprecated": false, "name": "FUNCTION_INCOMPATIBLE_TYPES" }, { "deprecationReason": null, "description": "Visualize has too many projections.", "isDeprecated": false, "name": "VISUALIZE_EXCESS_PROJECTIONS" }, { "deprecationReason": null, "description": "Unknown error.", "isDeprecated": false, "name": "UNKNOWN" }, { "deprecationReason": null, "description": "Invalid arguments for operator.", "isDeprecated": false, "name": "OPERATOR_INCOMPATIBLE_TYPES" }, { "deprecationReason": null, "description": "Function `VISUALIZE` contains a data type which cannot be plotted.", "isDeprecated": false, "name": "VISUALIZE_INCOMPATIBLE_TYPES" }, { "deprecationReason": null, "description": "Function `VISUALIZE` requires `GROUP BY`.", "isDeprecated": false, "name": "VISUALIZE_GROUP_BY_NOT_FOUND" }, { "deprecationReason": null, "description": "Function `VISUALIZE` can only use `GROUP BY` or `GROUP BY` with the `ALL` modifier, not both.", "isDeprecated": false, "name": "VISUALIZE_GROUP_BY_MIXED_BACKFILL" }, { "deprecationReason": null, "description": "Mixing an aggregate expression and a non-aggregate expression is not allowed.", "isDeprecated": false, "name": "MIXED_AGGREGATE_AND_NON_AGGREGATE" }, { "deprecationReason": null, "description": "An aggregate function received a nested aggregate argument, which is not allowed.", "isDeprecated": false, "name": "FUNCTION_NESTED_AGGREGATE" }, { "deprecationReason": null, "description": "Time function is incompatible in a `GROUP BY` clause with the `ALL` modifier.", "isDeprecated": false, "name": "TIME_FUNCTION_NOT_FOUND" }, { "deprecationReason": null, "description": "Mixing of `IN` list arguments of different data types is not allowed.", "isDeprecated": false, "name": "LIST_MIXED_ARGUMENT_TYPES" }, { "deprecationReason": null, "description": "Mixing of `SINCE` and/or `UNTIL` with `DURING` is not allowed.", "isDeprecated": false, "name": "EXCESS_PERIODS" }, { "deprecationReason": null, "description": "Invalid entry.", "isDeprecated": false, "name": "SYNTAX_INVALID_TOKEN" }, { "deprecationReason": null, "description": "Identifier after `SHOW` is not valid in its current position.", "isDeprecated": false, "name": "SYNTAX_NO_VIABLE_ALTERNATIVE" }, { "deprecationReason": null, "description": "Invalid `COMPARE TO` period specified. Make sure it's not the same as the `DURING` clause.", "isDeprecated": false, "name": "COMPARE_TO_INVALID_PERIOD" }, { "deprecationReason": null, "description": "The time period for `COMPARE TO` must be the same length as `DURING`.", "isDeprecated": false, "name": "COMPARE_TO_INCOMPATIBLE_PERIOD" }, { "deprecationReason": null, "description": "When using `COMPARE TO` with a time-based `GROUP BY`, `ALL` must be used.", "isDeprecated": false, "name": "UNBACKFILLED_TIME_GROUP_BY_COMPARISON" }, { "deprecationReason": null, "description": "Comparison queries must only contain aggregated fields.", "isDeprecated": false, "name": "COMPARISON_WITH_NON_AGGREGATE_FIELDS" }, { "deprecationReason": null, "description": "Column must include `GROUP BY` arg1.", "isDeprecated": false, "name": "REQUIRED_GROUP_BY_NOT_FOUND" }, { "deprecationReason": null, "description": "Identifier or function out of place.", "isDeprecated": false, "name": "SYNTAX_INPUT_MISMATCH" }, { "deprecationReason": null, "description": "Identifier or function out of place.", "isDeprecated": false, "name": "SYNTAX_UNWANTED_TOKEN" }, { "deprecationReason": null, "description": "Query is incomplete.", "isDeprecated": false, "name": "SYNTAX_MISSING_TOKEN" }, { "deprecationReason": null, "description": "Function not found.", "isDeprecated": false, "name": "FUNCTION_NOT_FOUND" }, { "deprecationReason": null, "description": "The `SINCE` date must be before or the same as the `UNTIL` date.", "isDeprecated": false, "name": "INVALID_DATE_RANGE" }, { "deprecationReason": null, "description": "The `GROUP BY` function is limited to one parameter with the `ALL` modifier.", "isDeprecated": false, "name": "EXCESS_BACKFILL_DIMENSIONS" }, { "deprecationReason": null, "description": "When using `GROUP BY` with the `ALL` modifier, `SINCE` or `DURING` must be defined.", "isDeprecated": false, "name": "BACKFILL_DATE_RANGE_NOT_FOUND" }, { "deprecationReason": null, "description": "Cannot use a `COMPARE TO` clause without `DURING` or `SINCE`.", "isDeprecated": false, "name": "COMPARE_TO_MISSING_PERIOD" }, { "deprecationReason": null, "description": "The `GROUP BY` function has too many parameters.\nWhen using `VISUALIZE` with `COMPARE TO` use only one `GROUP BY` parameter.\n", "isDeprecated": false, "name": "EXCESS_DIMENSIONS" }, { "deprecationReason": null, "description": "A semantic predicate failed during validation.", "isDeprecated": false, "name": "SYNTAX_FAILED_PREDICATE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ParseErrorCode", "possibleTypes": null }, { "description": "A range of ShopifyQL parsing errors.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ending position of the error.", "isDeprecated": false, "name": "end", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorPosition", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The starting position of the error.", "isDeprecated": false, "name": "start", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorPosition", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ParseErrorRange", "possibleTypes": null }, { "description": "A payment customization.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The enabled status of the payment customization.", "isDeprecated": false, "name": "enabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The error history on the most recent version of the payment customization.", "isDeprecated": false, "name": "errorHistory", "type": { "kind": "OBJECT", "name": "FunctionsErrorHistory", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the Shopify Function implementing the payment customization.", "isDeprecated": false, "name": "functionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The Shopify Function implementing the payment customization.", "isDeprecated": false, "name": "shopifyFunction", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyFunction", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the payment customization.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PaymentCustomization", "possibleTypes": null }, { "description": "Return type for `paymentCustomizationActivation` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The IDs of the updated payment customizations.", "isDeprecated": false, "name": "ids", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentCustomizationError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentCustomizationActivationPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple PaymentCustomizations.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentCustomizationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in PaymentCustomizationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentCustomizationConnection", "possibleTypes": null }, { "description": "Return type for `paymentCustomizationCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Returns the created payment customization.", "isDeprecated": false, "name": "paymentCustomization", "type": { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentCustomizationError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentCustomizationCreatePayload", "possibleTypes": null }, { "description": "Return type for `paymentCustomizationDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Returns the deleted payment customization ID.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentCustomizationError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentCustomizationDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one PaymentCustomization and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of PaymentCustomizationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentCustomizationEdge", "possibleTypes": null }, { "description": "An error that occurs during the execution of a payment customization mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PaymentCustomizationErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PaymentCustomizationError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PaymentCustomizationError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "Function not found.", "isDeprecated": false, "name": "FUNCTION_NOT_FOUND" }, { "deprecationReason": null, "description": "Payment customization not found.", "isDeprecated": false, "name": "PAYMENT_CUSTOMIZATION_NOT_FOUND" }, { "deprecationReason": null, "description": "Shop must be on a Shopify Plus plan to activate payment customizations from a custom app.", "isDeprecated": false, "name": "PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE" }, { "deprecationReason": null, "description": "Maximum payment customizations are already enabled.", "isDeprecated": false, "name": "MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS" }, { "deprecationReason": null, "description": "Shop must be on a Shopify Plus plan to activate functions from a custom app.", "isDeprecated": false, "name": "CUSTOM_APP_FUNCTION_NOT_ELIGIBLE" }, { "deprecationReason": null, "description": "Function does not implement the required interface for this payment customization.", "isDeprecated": false, "name": "FUNCTION_DOES_NOT_IMPLEMENT" }, { "deprecationReason": null, "description": "Function is pending deletion.", "isDeprecated": false, "name": "FUNCTION_PENDING_DELETION" }, { "deprecationReason": null, "description": "Function ID cannot be changed.", "isDeprecated": false, "name": "FUNCTION_ID_CANNOT_BE_CHANGED" }, { "deprecationReason": null, "description": "Required input field must be present.", "isDeprecated": false, "name": "REQUIRED_INPUT_FIELD" }, { "deprecationReason": null, "description": "Could not create or update metafields.", "isDeprecated": false, "name": "INVALID_METAFIELDS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PaymentCustomizationErrorCode", "possibleTypes": null }, { "description": "The input fields to create and update a payment customization.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the function providing the payment customization.", "name": "functionId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The title of the payment customization.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The enabled status of the payment customization.", "name": "enabled", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "[]", "description": "Additional metafields to associate to the payment customization.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PaymentCustomizationInput", "possibleTypes": null }, { "description": "Return type for `paymentCustomizationUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Returns the updated payment customization.", "isDeprecated": false, "name": "paymentCustomization", "type": { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentCustomizationError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentCustomizationUpdatePayload", "possibleTypes": null }, { "description": "Payment details related to a transaction.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "PaymentDetails", "possibleTypes": [ { "kind": "OBJECT", "name": "CardPaymentDetails", "ofType": null } ] }, { "description": "All possible instrument outputs for Payment Mandates.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "PaymentInstrument", "possibleTypes": [ { "kind": "OBJECT", "name": "VaultCreditCard", "ofType": null }, { "kind": "OBJECT", "name": "VaultPaypalBillingAgreement", "ofType": null } ] }, { "description": "A payment instrument and the permission\nthe owner of the instrument gives to the merchant to debit it.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The unique ID of a payment mandate.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The outputs details of the payment instrument.", "isDeprecated": false, "name": "paymentInstrument", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PaymentInstrument", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PaymentMandate", "possibleTypes": null }, { "description": "Some of the payment methods used in Shopify.", "enumValues": [ { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "VISA" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "MASTERCARD" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "DISCOVER" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "AMERICAN_EXPRESS" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "DINERS_CLUB" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "JCB" }, { "deprecationReason": null, "description": "The payment method for UnionPay payment.", "isDeprecated": false, "name": "UNIONPAY" }, { "deprecationReason": null, "description": "The payment method for Elo payment.", "isDeprecated": false, "name": "ELO" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "DANKORT" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "MAESTRO" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "FORBRUGSFORENINGEN" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "PAYPAL" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "BOGUS" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "BITCOIN" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "LITECOIN" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "DOGECOIN" }, { "deprecationReason": null, "description": "The payment method for Interac payment.", "isDeprecated": false, "name": "INTERAC" }, { "deprecationReason": null, "description": "The payment method for eftpos_au payment.", "isDeprecated": false, "name": "EFTPOS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PaymentMethods", "possibleTypes": null }, { "description": "Return type for `paymentReminderSend` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the payment reminder email was successfully sent.", "isDeprecated": false, "name": "success", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentReminderSendUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentReminderSendPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `PaymentReminderSend`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PaymentReminderSendUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PaymentReminderSendUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PaymentReminderSendUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An error occurred while sending the payment reminder.", "isDeprecated": false, "name": "PAYMENT_REMINDER_SEND_UNSUCCESSFUL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PaymentReminderSendUserErrorCode", "possibleTypes": null }, { "description": "Represents the payment schedule for a single payment defined in the payment terms.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Amount owed for this payment schedule.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Date and time when the payment schedule is paid or fulfilled.", "isDeprecated": false, "name": "completedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Date and time when the payment schedule is due.", "isDeprecated": false, "name": "dueAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Date and time when the invoice is sent.", "isDeprecated": false, "name": "issuedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The payment terms the payment schedule belongs to.", "isDeprecated": false, "name": "paymentTerms", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentTerms", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PaymentSchedule", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple PaymentSchedules.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentScheduleEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in PaymentScheduleEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentSchedule", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentScheduleConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one PaymentSchedule and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of PaymentScheduleEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentSchedule", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentScheduleEdge", "possibleTypes": null }, { "description": "The input fields used to create a payment schedule for payment terms.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the date and time that the payment schedule was issued. This field must be provided for net type payment terms.", "name": "issuedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "Specifies the date and time when the payment schedule is due. This field must be provided for fixed type payment terms.", "name": "dueAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PaymentScheduleInput", "possibleTypes": null }, { "description": "Settings related to payments.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "List of the digital wallets which the shop supports.", "isDeprecated": false, "name": "supportedDigitalWallets", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DigitalWallet", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentSettings", "possibleTypes": null }, { "description": "Represents the payment terms for an order or draft order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The draft order associated with the payment terms.", "isDeprecated": false, "name": "draftOrder", "type": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Duration of payment terms in days based on the payment terms template used to create the payment terms.\n", "isDeprecated": false, "name": "dueInDays", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order associated with the payment terms.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the payment terms have overdue payment schedules.", "isDeprecated": false, "name": "overdue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of schedules for the payment terms.", "isDeprecated": false, "name": "paymentSchedules", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentScheduleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the payment terms template used to create the payment terms.", "isDeprecated": false, "name": "paymentTermsName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The payment terms template type used to create the payment terms.", "isDeprecated": false, "name": "paymentTermsType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaymentTermsType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The payment terms name, translated into the shop admin's preferred language.", "isDeprecated": false, "name": "translatedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PaymentTerms", "possibleTypes": null }, { "description": "The input fields used to create a payment terms.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the payment terms template ID used to generate payment terms.", "name": "paymentTermsTemplateId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the payment schedules for the payment terms.", "name": "paymentSchedules", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentScheduleInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PaymentTermsCreateInput", "possibleTypes": null }, { "description": "Return type for `paymentTermsCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created payment terms.", "isDeprecated": false, "name": "paymentTerms", "type": { "kind": "OBJECT", "name": "PaymentTerms", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentTermsCreateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentTermsCreatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `PaymentTermsCreate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PaymentTermsCreateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PaymentTermsCreateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PaymentTermsCreateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An error occurred while creating payment terms.", "isDeprecated": false, "name": "PAYMENT_TERMS_CREATION_UNSUCCESSFUL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PaymentTermsCreateUserErrorCode", "possibleTypes": null }, { "description": "The input fields used to delete the payment terms.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the payment terms being deleted.", "name": "paymentTermsId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PaymentTermsDeleteInput", "possibleTypes": null }, { "description": "Return type for `paymentTermsDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The deleted payment terms id.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentTermsDeleteUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentTermsDeletePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `PaymentTermsDelete`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PaymentTermsDeleteUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PaymentTermsDeleteUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PaymentTermsDeleteUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An error occurred while deleting payment terms.", "isDeprecated": false, "name": "PAYMENT_TERMS_DELETE_UNSUCCESSFUL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PaymentTermsDeleteUserErrorCode", "possibleTypes": null }, { "description": "The input fields used to create a payment terms.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the payment terms template ID used to generate payment terms.", "name": "paymentTermsTemplateId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Specifies the payment schedules for the payment terms.", "name": "paymentSchedules", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentScheduleInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PaymentTermsInput", "possibleTypes": null }, { "description": "Represents the payment terms template object.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The description of the payment terms template.", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of days between the issued date and due date if this is the net type of payment terms.", "isDeprecated": false, "name": "dueInDays", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the payment terms template.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of the payment terms template.", "isDeprecated": false, "name": "paymentTermsType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaymentTermsType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The translated payment terms template name.", "isDeprecated": false, "name": "translatedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PaymentTermsTemplate", "possibleTypes": null }, { "description": "The type of a payment terms or a payment terms template.", "enumValues": [ { "deprecationReason": null, "description": "The payment terms or payment terms template is due on receipt.", "isDeprecated": false, "name": "RECEIPT" }, { "deprecationReason": null, "description": "The payment terms or payment terms template is a net type. It's due a number of days after issue.", "isDeprecated": false, "name": "NET" }, { "deprecationReason": null, "description": "The payment terms or payment terms template is a fixed type. It's due on a specified date.", "isDeprecated": false, "name": "FIXED" }, { "deprecationReason": null, "description": "The payment terms or payment terms template is due on fulfillment.", "isDeprecated": false, "name": "FULFILLMENT" }, { "deprecationReason": null, "description": "The type of the payment terms or payment terms template is unknown.", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PaymentTermsType", "possibleTypes": null }, { "description": "The input fields used to update the payment terms.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the payment terms being updated.", "name": "paymentTermsId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The attributes used to update the payment terms.", "name": "paymentTermsAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentTermsInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PaymentTermsUpdateInput", "possibleTypes": null }, { "description": "Return type for `paymentTermsUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated payment terms.", "isDeprecated": false, "name": "paymentTerms", "type": { "kind": "OBJECT", "name": "PaymentTerms", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentTermsUpdateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PaymentTermsUpdatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `PaymentTermsUpdate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PaymentTermsUpdateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PaymentTermsUpdateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PaymentTermsUpdateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "An error occurred while updating payment terms.", "isDeprecated": false, "name": "PAYMENT_TERMS_UPDATE_UNSUCCESSFUL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PaymentTermsUpdateUserErrorCode", "possibleTypes": null }, { "description": "Represents a valid PayPal Express subscriptions gateway status.", "enumValues": [ { "deprecationReason": null, "description": "The status is enabled.", "isDeprecated": false, "name": "ENABLED" }, { "deprecationReason": null, "description": "The status is disabled.", "isDeprecated": false, "name": "DISABLED" }, { "deprecationReason": null, "description": "The status is pending.", "isDeprecated": false, "name": "PENDING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PaypalExpressSubscriptionsGatewayStatus", "possibleTypes": null }, { "description": "A PolarisViz data point structure for ShopifyQL query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The data key. Typically a category, dimension, or other qualitative data.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The data value is numeric and quantitative.", "isDeprecated": false, "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PolarisVizDataPoint", "possibleTypes": null }, { "description": "The data series used for PolarisViz visualization.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "An array of data points.", "isDeprecated": false, "name": "data", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PolarisVizDataPoint", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the series represents comparison data.", "isDeprecated": false, "name": "isComparison", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the series.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PolarisVizDataSeries", "possibleTypes": null }, { "description": "A PolarisViz response to a ShopifyQL query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The PolarisViz visualization of data.", "isDeprecated": false, "name": "data", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PolarisVizDataSeries", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of parse errors, if parsing fails.", "isDeprecated": false, "name": "parseErrors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ParseError", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The result in a tabular format with schema and row data.\n It's always present even if query has a `VISUALIZE` keyword.", "isDeprecated": false, "name": "tableData", "type": { "kind": "OBJECT", "name": "TableData", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of visualization. For example, a line chart.", "isDeprecated": false, "name": "vizType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "VisualizationType", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ShopifyqlResponse", "ofType": null } ], "kind": "OBJECT", "name": "PolarisVizResponse", "possibleTypes": null }, { "description": "The input fields used to include the line items of a specified fulfillment order that should be marked as prepared for pickup by a customer.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the fulfillment order.", "name": "fulfillmentOrderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PreparedFulfillmentOrderLineItemsInput", "possibleTypes": null }, { "description": "Represents a price list, including information about related prices and eligibility rules.\nYou can use price lists to specify either fixed prices or adjusted relative prices that\noverride initial product variant prices. Price lists are applied to customers\nusing context rules, which determine price list eligibility.\n\n For more information on price lists, refer to\n [Support different pricing models](https://shopify.dev/apps/internationalization/product-price-lists).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The catalog that the price list is associated with.", "isDeprecated": false, "name": "catalog", "type": { "kind": "INTERFACE", "name": "Catalog", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The currency for fixed prices associated with this price list.", "isDeprecated": false, "name": "currency", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of fixed prices on the price list.", "isDeprecated": false, "name": "fixedPricesCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique name of the price list, used as a human-readable identifier.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Relative adjustments to other prices.", "isDeprecated": false, "name": "parent", "type": { "kind": "OBJECT", "name": "PriceListParent", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The origin of this price, either fixed (defined on the price list)\n or relative (calculated using an adjustment via a price list parent configuration).", "name": "originType", "type": { "kind": "ENUM", "name": "PriceListPriceOriginType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of prices associated with the price list.", "isDeprecated": false, "name": "prices", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPriceConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PriceList", "possibleTypes": null }, { "description": "The type and value of a price list adjustment.\n\nFor more information on price lists, refer to\n[Support different pricing models](https://shopify.dev/apps/internationalization/product-price-lists).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of price adjustment, such as percentage increase or decrease.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceListAdjustmentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of price adjustment, where positive numbers reduce the prices and negative numbers\nincrease them.\n", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListAdjustment", "possibleTypes": null }, { "description": "The input fields to set a price list adjustment.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The value of the price adjustment as specified by the `type`.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "defaultValue": null, "description": "The type of price adjustment, such as percentage increase or decrease.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceListAdjustmentType", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceListAdjustmentInput", "possibleTypes": null }, { "description": "Represents the settings of price list adjustments.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of price list adjustment setting for compare at price.", "isDeprecated": false, "name": "compareAtMode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceListCompareAtMode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListAdjustmentSettings", "possibleTypes": null }, { "description": "The input fields to set a price list's adjustment settings.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": "ADJUSTED", "description": "Determines how adjustments are applied to compare at prices.", "name": "compareAtMode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceListCompareAtMode", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceListAdjustmentSettingsInput", "possibleTypes": null }, { "description": "Represents a percentage price adjustment type.", "enumValues": [ { "deprecationReason": null, "description": "Percentage decrease type. Prices will have a lower value.", "isDeprecated": false, "name": "PERCENTAGE_DECREASE" }, { "deprecationReason": null, "description": "Percentage increase type. Prices will have a higher value.", "isDeprecated": false, "name": "PERCENTAGE_INCREASE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceListAdjustmentType", "possibleTypes": null }, { "description": "Represents how the compare at price will be determined for a price list.", "enumValues": [ { "deprecationReason": null, "description": "The compare at price is adjusted based on percentage specified in price list.", "isDeprecated": false, "name": "ADJUSTED" }, { "deprecationReason": null, "description": "The compare at prices are set to `null` unless explicitly defined by a fixed price value.", "isDeprecated": false, "name": "NULLIFY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceListCompareAtMode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple PriceLists.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in PriceListEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceList", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListConnection", "possibleTypes": null }, { "description": "The input fields to create a price list.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The unique name of the price list, used as a human-readable identifier.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Three letter currency code for fixed prices associated with this price list.", "name": "currency", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "defaultValue": null, "description": "Relative adjustments to other prices.", "name": "parent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceListParentCreateInput", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the catalog to associate with this price list.If the catalog was already associated with another price list then it will be unlinked.", "name": "catalogId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceListCreateInput", "possibleTypes": null }, { "description": "Return type for `priceListCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created price list.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListCreatePayload", "possibleTypes": null }, { "description": "Return type for `priceListDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted price list.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one PriceList and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of PriceListEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceList", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListEdge", "possibleTypes": null }, { "description": "Return type for `priceListFixedPricesAdd` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of fixed prices that were added to or updated in the price list.", "isDeprecated": false, "name": "prices", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPrice", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPriceUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListFixedPricesAddPayload", "possibleTypes": null }, { "description": "Return type for `priceListFixedPricesByProductUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The price list for which the fixed prices were modified.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The product for which the fixed prices were added.", "isDeprecated": false, "name": "pricesToAddProducts", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The product for which the fixed prices were deleted.", "isDeprecated": false, "name": "pricesToDeleteProducts", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListFixedPricesByProductUpdatePayload", "possibleTypes": null }, { "description": "Return type for `priceListFixedPricesDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of product variant IDs whose fixed prices were removed from the price list.", "isDeprecated": false, "name": "deletedFixedPriceVariantIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPriceUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListFixedPricesDeletePayload", "possibleTypes": null }, { "description": "Return type for `priceListFixedPricesUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of deleted variant IDs for prices.", "isDeprecated": false, "name": "deletedFixedPriceVariantIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The price list for which the fixed prices were modified.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The prices that were added to the price list.", "isDeprecated": false, "name": "pricesAdded", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPrice", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPriceUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListFixedPricesUpdatePayload", "possibleTypes": null }, { "description": "Represents relative adjustments from one price list to other prices.\n You can use a `PriceListParent` to specify an adjusted relative price using a percentage-based\n adjustment. Adjusted prices work in conjunction with exchange rules and rounding.\n\n [Adjustment types](https://shopify.dev/api/admin-graphql/latest/enums/pricelistadjustmenttype)\n support both percentage increases and decreases.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A price list adjustment.", "isDeprecated": false, "name": "adjustment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListAdjustment", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A price list's settings for adjustment.", "isDeprecated": false, "name": "settings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListAdjustmentSettings", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListParent", "possibleTypes": null }, { "description": "The input fields to create a price list adjustment.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The relative adjustments to other prices.", "name": "adjustment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceListAdjustmentInput", "ofType": null } } }, { "defaultValue": null, "description": "The price list adjustment settings.", "name": "settings", "type": { "kind": "INPUT_OBJECT", "name": "PriceListAdjustmentSettingsInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceListParentCreateInput", "possibleTypes": null }, { "description": "The input fields used to update a price list's adjustment.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The relative adjustments to other prices..", "name": "adjustment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PriceListAdjustmentInput", "ofType": null } } }, { "defaultValue": null, "description": "The price list adjustment settings.", "name": "settings", "type": { "kind": "INPUT_OBJECT", "name": "PriceListAdjustmentSettingsInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceListParentUpdateInput", "possibleTypes": null }, { "description": "Represents information about pricing for a product variant\n as defined on a price list, such as the price, compare at price, and origin type. You can use a PriceListPrice to specify a fixed price for a specific product variant.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The compare-at price of the product variant on this price list.", "isDeprecated": false, "name": "compareAtPrice", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration).\n", "isDeprecated": false, "name": "originType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceListPriceOriginType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price of the product variant on this price list.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product variant associated with this price.", "isDeprecated": false, "name": "variant", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListPrice", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple PriceListPrices.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPriceEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in PriceListPriceEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPrice", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListPriceConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one PriceListPrice and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of PriceListPriceEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListPrice", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListPriceEdge", "possibleTypes": null }, { "description": "The input fields for providing the fields and values to use when creating or updating a fixed price list price.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The product variant ID associated with the price list price.", "name": "variantId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The price of the product variant on this price list.", "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": null, "description": "The compare-at price of the product variant on this price list.", "name": "compareAtPrice", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceListPriceInput", "possibleTypes": null }, { "description": "Represents the origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration).\n", "enumValues": [ { "deprecationReason": null, "description": "The price is defined on the price list.", "isDeprecated": false, "name": "FIXED" }, { "deprecationReason": null, "description": "The price is relative to the adjustment type and value.", "isDeprecated": false, "name": "RELATIVE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceListPriceOriginType", "possibleTypes": null }, { "description": "An error for a failed price list price operation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PriceListPriceUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PriceListPriceUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PriceListPriceUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The price list doesn't exist.", "isDeprecated": false, "name": "PRICE_LIST_NOT_FOUND" }, { "deprecationReason": null, "description": "The specified currency doesn't match the price list's currency.", "isDeprecated": false, "name": "PRICE_LIST_CURRENCY_MISMATCH" }, { "deprecationReason": null, "description": "A fixed price for the specified product variant doesn't exist.", "isDeprecated": false, "name": "VARIANT_NOT_FOUND" }, { "deprecationReason": null, "description": "Only fixed prices can be deleted.", "isDeprecated": false, "name": "PRICE_NOT_FIXED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceListPriceUserErrorCode", "possibleTypes": null }, { "description": "The input fields representing the price for all variants of a product.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the ID of the product to update its variants for.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The price of the product to use for all variants with its currency.", "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceListProductPriceInput", "possibleTypes": null }, { "description": "The set of valid sort keys for the PriceList query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceListSortKeys", "possibleTypes": null }, { "description": "The input fields used to update a price list.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The unique name of the price list, used as a human-readable identifier.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The three-letter currency code for fixed prices associated with this price list.", "name": "currency", "type": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, { "defaultValue": null, "description": "Relative adjustments to other prices.", "name": "parent", "type": { "kind": "INPUT_OBJECT", "name": "PriceListParentUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "The ID of the catalog to associate with this price list.", "name": "catalogId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceListUpdateInput", "possibleTypes": null }, { "description": "Return type for `priceListUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated price list.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceListUpdatePayload", "possibleTypes": null }, { "description": "Error codes for failed contextual pricing operations.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PriceListUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PriceListUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PriceListUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The specified price list doesn't exist.", "isDeprecated": false, "name": "PRICE_LIST_NOT_FOUND" }, { "deprecationReason": null, "description": "The price list is currently being modified. Please try again later.", "isDeprecated": false, "name": "PRICE_LIST_LOCKED" }, { "deprecationReason": "The limit is removed.", "description": "Cannot save the price list with context rule because the limit of context rules per shop was reached.", "isDeprecated": true, "name": "CONTEXT_RULE_LIMIT_REACHED" }, { "deprecationReason": null, "description": "A price list context rule cannot have more than one country.", "isDeprecated": false, "name": "CONTEXT_RULE_COUNTRIES_LIMIT" }, { "deprecationReason": null, "description": "A price list’s currency must be of the pricing rule’s country.", "isDeprecated": false, "name": "CURRENCY_COUNTRY_MISMATCH" }, { "deprecationReason": null, "description": "A country in a context rule must use a valid currency.", "isDeprecated": false, "name": "COUNTRY_CURRENCY_MISMATCH" }, { "deprecationReason": null, "description": "A price list’s currency must be the market currency.", "isDeprecated": false, "name": "CURRENCY_MARKET_MISMATCH" }, { "deprecationReason": null, "description": "The context rule's market does not use the price list currency.", "isDeprecated": false, "name": "MARKET_CURRENCY_MISMATCH" }, { "deprecationReason": null, "description": "The adjustment value must be a positive value and not be greater than 100% for `type` `PERCENTAGE_DECREASE` and not be greater than 1000% for `type` `PERCENTAGE_INCREASE`.", "isDeprecated": false, "name": "INVALID_ADJUSTMENT_VALUE" }, { "deprecationReason": null, "description": "The adjustment value must not be greater than 100% for `type` `PERCENTAGE_DECREASE`.", "isDeprecated": false, "name": "INVALID_ADJUSTMENT_MIN_VALUE" }, { "deprecationReason": null, "description": "The adjustment value must not be greater than 1000% for `type` `PERCENTAGE_INCREASE`.", "isDeprecated": false, "name": "INVALID_ADJUSTMENT_MAX_VALUE" }, { "deprecationReason": null, "description": "A price list for this country is already taken.", "isDeprecated": false, "name": "CONTEXT_RULE_COUNTRY_TAKEN" }, { "deprecationReason": null, "description": "Only one context rule option may be specified.", "isDeprecated": false, "name": "CONTEXT_RULE_LIMIT_ONE_OPTION" }, { "deprecationReason": null, "description": "The specified market wasn't found.", "isDeprecated": false, "name": "CONTEXT_RULE_MARKET_NOT_FOUND" }, { "deprecationReason": null, "description": "A price list for this market is already taken.", "isDeprecated": false, "name": "CONTEXT_RULE_MARKET_TAKEN" }, { "deprecationReason": null, "description": "The price list currency is not supported by the shop's payment gateway.", "isDeprecated": false, "name": "CURRENCY_NOT_SUPPORTED" }, { "deprecationReason": null, "description": "Cannot create price list for a primary market.", "isDeprecated": false, "name": "PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET" }, { "deprecationReason": null, "description": "Cannot assign a catalog to a price list that also has context rules.", "isDeprecated": false, "name": "CATALOG_ASSIGNMENT_NOT_ALLOWED" }, { "deprecationReason": null, "description": "The specified catalog does not exist.", "isDeprecated": false, "name": "CATALOG_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "The context type of a catalog cannot be changed.", "isDeprecated": false, "name": "CATALOG_CANNOT_CHANGE_CONTEXT_TYPE" }, { "deprecationReason": null, "description": "The price list currency must match the market catalog currency.", "isDeprecated": false, "name": "CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH" }, { "deprecationReason": null, "description": "Catalog has a price list already assigned.", "isDeprecated": false, "name": "CATALOG_TAKEN" }, { "deprecationReason": null, "description": "A country catalog cannot be assigned to a price list.", "isDeprecated": false, "name": "COUNTRY_PRICE_LIST_ASSIGNMENT" }, { "deprecationReason": null, "description": "An app catalog cannot be assigned to a price list.", "isDeprecated": false, "name": "APP_CATALOG_PRICE_LIST_ASSIGNMENT" }, { "deprecationReason": null, "description": "Something went wrong when trying to save the price list. Please try again.", "isDeprecated": false, "name": "GENERIC_ERROR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceListUserErrorCode", "possibleTypes": null }, { "description": "Price rules are a set of conditions, including entitlements and prerequisites, that must be met in order for a discount code to apply.\n\nWe recommend using the types and queries detailed at [Getting started with discounts](https://shopify.dev/docs/apps/selling-strategies/discounts/getting-started) instead. These will replace the GraphQL `PriceRule` object and REST Admin `PriceRule` and `DiscountCode` resources.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The maximum number of times that the price rule can be allocated onto an order.", "isDeprecated": false, "name": "allocationLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The method by which the price rule's value is allocated to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceRuleAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The application that created the price rule.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Determines which discount classes the discount can combine with.", "isDeprecated": false, "name": "combinesWith", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCombinesWith", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the price rule was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The customers that can use this price rule.", "isDeprecated": false, "name": "customerSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleCustomerSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The class of the discount for combining purposes.", "isDeprecated": false, "name": "discountClass", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountClass", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DiscountCodeSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `times_used`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "List of the price rule's discount codes.", "isDeprecated": false, "name": "discountCodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleDiscountCodeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How many discount codes associated with the price rule.", "isDeprecated": false, "name": "discountCodesCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the price rule ends. For open-ended price rules, use `null`.", "isDeprecated": false, "name": "endsAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": "Use `prerequisiteToEntitlementQuantityRatio` instead.", "description": "Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.", "isDeprecated": true, "name": "entitlementToPrerequisiteQuantityRatio", "type": { "kind": "OBJECT", "name": "PriceRuleEntitlementToPrerequisiteQuantityRatio", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "EventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `comments`\n - `created_at`\n - `subject_type`\n - `verb`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of events associated with the price rule.", "isDeprecated": false, "name": "events", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the price rule's features.", "isDeprecated": false, "name": "features", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceRuleFeature", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Indicates whether there are any timeline comments on the price rule.", "isDeprecated": false, "name": "hasTimelineComment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The items to which the price rule applies.", "isDeprecated": false, "name": "itemEntitlements", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleItemEntitlements", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The items required for the price rule to be applicable.", "isDeprecated": false, "name": "itemPrerequisites", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleLineItemPrerequisites", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the price rule can be applied only once per customer.", "isDeprecated": false, "name": "oncePerCustomer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of the entitled items must fall within this range for the price rule to be applicable.", "isDeprecated": false, "name": "prerequisiteQuantityRange", "type": { "kind": "OBJECT", "name": "PriceRuleQuantityRange", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shipping cost must fall within this range for the price rule to be applicable.", "isDeprecated": false, "name": "prerequisiteShippingPriceRange", "type": { "kind": "OBJECT", "name": "PriceRuleMoneyRange", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable.", "isDeprecated": false, "name": "prerequisiteSubtotalRange", "type": { "kind": "OBJECT", "name": "PriceRuleMoneyRange", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.", "isDeprecated": false, "name": "prerequisiteToEntitlementQuantityRatio", "type": { "kind": "OBJECT", "name": "PriceRulePrerequisiteToEntitlementQuantityRatio", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "URLs that can be used to share the discount.", "isDeprecated": false, "name": "shareableUrls", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleShareableUrl", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The shipping lines to which the price rule applies.", "isDeprecated": false, "name": "shippingEntitlements", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleShippingLineEntitlements", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the price rule starts.", "isDeprecated": false, "name": "startsAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the price rule.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceRuleStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A detailed summary of the price rule.", "isDeprecated": false, "name": "summary", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of lines (line_item or shipping_line) to which the price rule applies.", "isDeprecated": false, "name": "target", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceRuleTarget", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the price rule.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total sales from orders where the price rule was used.", "isDeprecated": false, "name": "totalSales", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": "Use `features` instead.", "description": "A list of the price rule's features.", "isDeprecated": true, "name": "traits", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceRuleTrait", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.", "isDeprecated": false, "name": "usageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of times that the price rule can be used in total.", "isDeprecated": false, "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A time period during which a price rule is applicable.", "isDeprecated": false, "name": "validityPeriod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleValidityPeriod", "ofType": null } } }, { "args": [], "deprecationReason": "Use `valueV2` instead.", "description": "The value of the price rule.", "isDeprecated": true, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PriceRuleValue", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the price rule.", "isDeprecated": false, "name": "valueV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "CommentEventSubject", "ofType": null }, { "kind": "INTERFACE", "name": "HasEvents", "ofType": null }, { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PriceRule", "possibleTypes": null }, { "description": "Return type for `priceRuleActivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The activated price rule.", "isDeprecated": false, "name": "priceRule", "type": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "priceRuleUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `priceRuleUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleActivatePayload", "possibleTypes": null }, { "description": "The method by which the price rule's value is allocated to its entitled items.", "enumValues": [ { "deprecationReason": null, "description": "The value will be applied to each of the entitled items.", "isDeprecated": false, "name": "EACH" }, { "deprecationReason": null, "description": "The value will be applied once across the entitled items.", "isDeprecated": false, "name": "ACROSS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceRuleAllocationMethod", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple PriceRules.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in PriceRuleEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleConnection", "possibleTypes": null }, { "description": "Return type for `priceRuleCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created price rule.", "isDeprecated": false, "name": "priceRule", "type": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The newly created discount code.", "isDeprecated": false, "name": "priceRuleDiscountCode", "type": { "kind": "OBJECT", "name": "PriceRuleDiscountCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "priceRuleUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `priceRuleUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleCreatePayload", "possibleTypes": null }, { "description": "A selection of customers for whom the price rule applies.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CustomerSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `accepts_marketing`\n - `country`\n - `customer_date`\n - `email`\n - `last_abandoned_order_date`\n - `order_date`\n - `orders_count`\n - `phone`\n - `state`\n - `tag`\n - `tag_not`\n - `total_spent`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "List of customers to whom the price rule applies.", "isDeprecated": false, "name": "customers", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the price rule applies to all customers.", "isDeprecated": false, "name": "forAllCustomers", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of customer segments that contain the customers who can use the price rule.", "isDeprecated": false, "name": "segments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Segment", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleCustomerSelection", "possibleTypes": null }, { "description": "The input fields to update a price rule customer selection.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": "false", "description": "Whether the price rule applies to all customers.", "name": "forAllCustomers", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "List of customer segments that contain the customers to whom the price rule applies. No single customer IDs may be present.", "name": "segmentIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "List of customers to add to the current list of customers to whom the price rule applies. `savedSearchIds` must be empty.", "name": "customerIdsToAdd", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "A list of customers to remove from the current list of customers to whom the price rule applies.", "name": "customerIdsToRemove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleCustomerSelectionInput", "possibleTypes": null }, { "description": "Return type for `priceRuleDeactivate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The deactivated price rule.", "isDeprecated": false, "name": "priceRule", "type": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "priceRuleUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `priceRuleUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleDeactivatePayload", "possibleTypes": null }, { "description": "Return type for `priceRuleDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The id price of the deleted price rule.", "isDeprecated": false, "name": "deletedPriceRuleId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "priceRuleUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The shop of the deleted price rule.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": "Use `priceRuleUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleDeletePayload", "possibleTypes": null }, { "description": "A discount code of a price rule.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The application that created the discount code.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The code to apply the discount.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.", "isDeprecated": false, "name": "usageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PriceRuleDiscountCode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple PriceRuleDiscountCodes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleDiscountCodeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in PriceRuleDiscountCodeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleDiscountCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleDiscountCodeConnection", "possibleTypes": null }, { "description": "Return type for `priceRuleDiscountCodeCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated price rule.", "isDeprecated": false, "name": "priceRule", "type": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The newly created discount code.", "isDeprecated": false, "name": "priceRuleDiscountCode", "type": { "kind": "OBJECT", "name": "PriceRuleDiscountCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "priceRuleUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `priceRuleUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleDiscountCodeCreatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of PriceRuleDiscountCodeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleDiscountCode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleDiscountCodeEdge", "possibleTypes": null }, { "description": "The input fields to manipulate a discount code.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The code to use the discount.", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleDiscountCodeInput", "possibleTypes": null }, { "description": "Return type for `priceRuleDiscountCodeUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated price rule.", "isDeprecated": false, "name": "priceRule", "type": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The updated discount code.", "isDeprecated": false, "name": "priceRuleDiscountCode", "type": { "kind": "OBJECT", "name": "PriceRuleDiscountCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "priceRuleUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `priceRuleUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleDiscountCodeUpdatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one PriceRule and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of PriceRuleEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleEdge", "possibleTypes": null }, { "description": "Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The quantity of entitled items in the ratio.", "isDeprecated": false, "name": "entitlementQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity of prerequisite items in the ratio.", "isDeprecated": false, "name": "prerequisiteQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleEntitlementToPrerequisiteQuantityRatio", "possibleTypes": null }, { "description": "Specifies the quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The quantity of entitled items in the ratio.", "name": "entitlementQuantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The quantity of prerequisite items in the ratio.", "name": "prerequisiteQuantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleEntitlementToPrerequisiteQuantityRatioInput", "possibleTypes": null }, { "description": "Possible error codes that could be returned by a price rule mutation.", "enumValues": [ { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value should be equal to the value allowed.", "isDeprecated": false, "name": "EQUAL_TO" }, { "deprecationReason": null, "description": "The input value should be greater than the minimum allowed value.", "isDeprecated": false, "name": "GREATER_THAN" }, { "deprecationReason": null, "description": "The input value should be greater than or equal to the minimum value allowed.", "isDeprecated": false, "name": "GREATER_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value should be less than the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN" }, { "deprecationReason": null, "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "Unexpected internal error happened.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Too many arguments provided.", "isDeprecated": false, "name": "TOO_MANY_ARGUMENTS" }, { "deprecationReason": null, "description": "Missing a required argument.", "isDeprecated": false, "name": "MISSING_ARGUMENT" }, { "deprecationReason": null, "description": "Can't exceed the maximum number.", "isDeprecated": false, "name": "EXCEEDED_MAX" }, { "deprecationReason": null, "description": "The allocation limit can only be set on Buy x, get y (BXGY) discounts.", "isDeprecated": false, "name": "PRICE_RULE_ALLOCATION_LIMIT_ON_NON_BOGO" }, { "deprecationReason": null, "description": "The allocation limit must be a non-zero positive number.", "isDeprecated": false, "name": "PRICE_RULE_ALLOCATION_LIMIT_IS_ZERO" }, { "deprecationReason": null, "description": "The number of discount codes in the shop has reached its limit.", "isDeprecated": false, "name": "PRICE_RULE_EXCEEDED_MAX_DISCOUNT_CODE" }, { "deprecationReason": null, "description": "The number of discounts in the shop has reached its limit.", "isDeprecated": false, "name": "SHOP_EXCEEDED_MAX_PRICE_RULES" }, { "deprecationReason": null, "description": "The discount end date must be after the start date.", "isDeprecated": false, "name": "END_DATE_BEFORE_START_DATE" }, { "deprecationReason": null, "description": "The percentage value must be between 0 and -100.", "isDeprecated": false, "name": "PRICE_RULE_PERCENTAGE_VALUE_OUTSIDE_RANGE" }, { "deprecationReason": null, "description": "Only one of the minimum subtotal or minimum quantity condition can be defined.", "isDeprecated": false, "name": "PREREQUISITE_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT" }, { "deprecationReason": null, "description": "The allocation method must be `ACROSS` for the provided target selection.", "isDeprecated": false, "name": "ALLOCATION_METHOD_MUST_BE_ACROSS_FOR_GIVEN_TARGET_SELECTION" }, { "deprecationReason": null, "description": "The discount must apply on either one-time purchase or subscription items, or both.", "isDeprecated": false, "name": "APPLIES_ON_NOTHING" }, { "deprecationReason": null, "description": "The recurring cycle limit must be 1 when a discount doesn't apply on subscription items.", "isDeprecated": false, "name": "MULTIPLE_RECURRING_CYCLE_LIMIT_FOR_NON_SUBSCRIPTION_ITEMS" }, { "deprecationReason": null, "description": "Invalid BOGO target selection.", "isDeprecated": false, "name": "BOGO_INVALID_TARGET_SELECTION" }, { "deprecationReason": null, "description": "Invalid BOGO target type.", "isDeprecated": false, "name": "BOGO_INVALID_TARGET_TYPE" }, { "deprecationReason": null, "description": "Invalid BOGO value type.", "isDeprecated": false, "name": "BOGO_INVALID_VALUE_TYPE" }, { "deprecationReason": null, "description": "A duplicate discount code exists.", "isDeprecated": false, "name": "DISCOUNT_CODE_DUPLICATE" }, { "deprecationReason": null, "description": "Can't use both prerequisite customers and saved search.", "isDeprecated": false, "name": "BOTH_CUSTOMER_AND_SAVED_SEARCH_PREREQUISITES_SELECTED" }, { "deprecationReason": null, "description": "A duplicate customer saved search exists.", "isDeprecated": false, "name": "CUSTOMER_SAVED_SEARCH_DUPLICATE" }, { "deprecationReason": null, "description": "The customer saved search exceeded the maximum number.", "isDeprecated": false, "name": "CUSTOMER_SAVED_SEARCH_EXCEEDED_MAX" }, { "deprecationReason": null, "description": "Invalid customer saved search.", "isDeprecated": false, "name": "CUSTOMER_SAVED_SEARCH_INVALID" }, { "deprecationReason": null, "description": "The customer prerequisites exceeded the maximum number.", "isDeprecated": false, "name": "CUSTOMER_PREREQUISITES_EXCEEDED_MAX" }, { "deprecationReason": null, "description": "Invalid customer prerequisites selection.", "isDeprecated": false, "name": "CUSTOMER_PREREQUISITES_INVALID_SELECTION" }, { "deprecationReason": null, "description": "A duplicate customer prerequisite ID exists.", "isDeprecated": false, "name": "CUSTOMER_PREREQUISITE_DUPLICATE" }, { "deprecationReason": null, "description": "Customer prerequisites are missing.", "isDeprecated": false, "name": "CUSTOMER_PREREQUISITES_MISSING" }, { "deprecationReason": null, "description": "Can't have both prerequisite customers and prerequisite segments.", "isDeprecated": false, "name": "BOTH_CUSTOMER_AND_SEGMENT_PREREQUISITES_SELECTED" }, { "deprecationReason": null, "description": "Can't have both saved searches and segments prerequisites.", "isDeprecated": false, "name": "BOTH_SAVED_SEARCH_AND_SEGMENT_PREREQUISITES_SELECTED" }, { "deprecationReason": null, "description": "The customer segment prerequisites exceeded the maximum number.", "isDeprecated": false, "name": "CUSTOMER_SEGMENT_EXCEEDED_MAX" }, { "deprecationReason": null, "description": "The customer segment prerequisite ID is invalid.", "isDeprecated": false, "name": "CUSTOMER_SEGMENT_INVALID" }, { "deprecationReason": null, "description": "A duplicate customer segment prerequisite ID exists.", "isDeprecated": false, "name": "CUSTOMER_SEGMENT_PREREQUISITE_DUPLICATE" }, { "deprecationReason": null, "description": "Can't use collections as a prequisite in combination with product variants or products.", "isDeprecated": false, "name": "CANNOT_PREREQUISITE_COLLECTION_WITH_PRODUCT_OR_VARIANTS" }, { "deprecationReason": null, "description": "Can't add the same collection twice.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_DUPLICATE_COLLECTION" }, { "deprecationReason": null, "description": "Can't add the same product twice.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_DUPLICATE_PRODUCT" }, { "deprecationReason": null, "description": "Can't add the same variant twice.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_DUPLICATE_VARIANT" }, { "deprecationReason": null, "description": "Can't exceed the maximum number of item prerequisites.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_EXCEEDED_MAX" }, { "deprecationReason": null, "description": "Invalid collection.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_INVALID_COLLECTION" }, { "deprecationReason": null, "description": "Invalid type.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_INVALID_TYPE" }, { "deprecationReason": null, "description": "Invalid product.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_INVALID_PRODUCT" }, { "deprecationReason": null, "description": "Invalid variant.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_INVALID_VARIANT" }, { "deprecationReason": null, "description": "Item prerequisites must be empty if the prerequisite quantity ratio isn't defined.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_MUST_BE_EMPTY" }, { "deprecationReason": null, "description": "Item prerequisites must have at least one item prerequisite if the prerequisite quantity ratio is defined.", "isDeprecated": false, "name": "ITEM_PREREQUISITES_MISSING" }, { "deprecationReason": null, "description": "Can't entitle collections in combination with product variants or products.", "isDeprecated": false, "name": "CANNOT_ENTITLE_COLLECTIONS_WITH_PRODUCTS_OR_VARIANTS" }, { "deprecationReason": null, "description": "Can't add the same collection twice.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_DUPLICATE_COLLECTION" }, { "deprecationReason": null, "description": "Can't add the same product twice.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_DUPLICATE_PRODUCT" }, { "deprecationReason": null, "description": "Can't add the same collection twice.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_DUPLICATE_VARIANT" }, { "deprecationReason": null, "description": "Can't exceed the maximum number of collection entitlements.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_EXCEEDED_MAX_COLLECTION" }, { "deprecationReason": null, "description": "Can't exceed the maximum number of product entitlements.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_EXCEEDED_MAX_PRODUCT" }, { "deprecationReason": null, "description": "Can't exceed the maximum number of variant entitlements.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_EXCEEDED_MAX_VARIANT" }, { "deprecationReason": null, "description": "Invalid entitlement type.", "isDeprecated": false, "name": "ITEM_ENTITLEMENT_INVALID_TYPE" }, { "deprecationReason": null, "description": "Invalid collection.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_INVALID_COLLECTION" }, { "deprecationReason": null, "description": "Invalid product.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_INVALID_PRODUCT" }, { "deprecationReason": null, "description": "Invalid variant.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_INVALID_VARIANT" }, { "deprecationReason": null, "description": "Invalid combination of target type and selection.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_INVALID_TARGET_TYPE_OR_SELECTION" }, { "deprecationReason": null, "description": "Entitlements are missing.", "isDeprecated": false, "name": "ITEM_ENTITLEMENTS_MISSING" }, { "deprecationReason": null, "description": "The variant is already entitled through a product.", "isDeprecated": false, "name": "VARIANT_ALREADY_ENTITLED_THROUGH_PRODUCT" }, { "deprecationReason": null, "description": "A duplicate country code exists.", "isDeprecated": false, "name": "SHIPPING_ENTITLEMENTS_DUPLICATE_COUNTRY" }, { "deprecationReason": null, "description": "Can't exceed the maximum number of entitlements.", "isDeprecated": false, "name": "SHIPPING_ENTITLEMENTS_EXCEEDED_MAX" }, { "deprecationReason": null, "description": "The country is unknown.", "isDeprecated": false, "name": "SHIPPING_ENTITLEMENTS_INVALID_COUNTRY" }, { "deprecationReason": null, "description": "Invalid target type or selection.", "isDeprecated": false, "name": "SHIPPING_ENTITLEMENTS_INVALID_TARGET_TYPE_OR_SELECTION" }, { "deprecationReason": null, "description": "Missing entitlements.", "isDeprecated": false, "name": "SHIPPING_ENTITLEMENTS_MISSING" }, { "deprecationReason": null, "description": "Unsupported destination type.", "isDeprecated": false, "name": "SHIPPING_ENTITLEMENTS_UNSUPPORTED_DESTINATION_TYPE" }, { "deprecationReason": null, "description": "The target type is invalid when defining a prerequisite shipping price range.", "isDeprecated": false, "name": "INVALID_TARGET_TYPE_PREREQUISITE_SHIPPING_PRICE_RANGE" }, { "deprecationReason": null, "description": "The `combinesWith` settings are invalid for the discount class.", "isDeprecated": false, "name": "INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS" }, { "deprecationReason": null, "description": "The discountClass is invalid for the price rule.", "isDeprecated": false, "name": "INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceRuleErrorCode", "possibleTypes": null }, { "description": "The list of features that can be supported by a price rule.", "enumValues": [ { "deprecationReason": null, "description": "The price rule supports Buy X, Get Y (BXGY) discounts.", "isDeprecated": false, "name": "BUY_ONE_GET_ONE" }, { "deprecationReason": null, "description": "The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit.", "isDeprecated": false, "name": "BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT" }, { "deprecationReason": null, "description": "The price rule supports bulk discounts.", "isDeprecated": false, "name": "BULK" }, { "deprecationReason": null, "description": "The price rule targets specific customers.", "isDeprecated": false, "name": "SPECIFIC_CUSTOMERS" }, { "deprecationReason": null, "description": "The price rule supports discounts that require a quantity.", "isDeprecated": false, "name": "QUANTITY_DISCOUNTS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceRuleFeature", "possibleTypes": null }, { "description": "The value of a fixed amount price rule.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The monetary value of the price rule.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleFixedAmountValue", "possibleTypes": null }, { "description": "The input fields to manipulate a price rule.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Determines which discount classes the discount can combine with.", "name": "combinesWith", "type": { "kind": "INPUT_OBJECT", "name": "DiscountCombinesWithInput", "ofType": null } }, { "defaultValue": null, "description": "PriceRuleValidityPeriod for the price rule.", "name": "validityPeriod", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleValidityPeriodInput", "ofType": null } }, { "defaultValue": "false", "description": "Whether the price rule can be applied only once per customer.", "name": "oncePerCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The customers that can use this price rule.", "name": "customerSelection", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleCustomerSelectionInput", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times that the price rule can be used in total.", "name": "usageLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Title of the price rule.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times that the price rule can be allocated onto an order.", "name": "allocationLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The method by which the price rule's value is allocated to its entitled items.", "name": "allocationMethod", "type": { "kind": "ENUM", "name": "PriceRuleAllocationMethod", "ofType": null } }, { "defaultValue": null, "description": "The value of the price rule.", "name": "value", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleValueInput", "ofType": null } }, { "defaultValue": null, "description": "The type of lines (line_item or shipping_line) to which the price rule applies.", "name": "target", "type": { "kind": "ENUM", "name": "PriceRuleTarget", "ofType": null } }, { "defaultValue": null, "description": "The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable.", "name": "prerequisiteSubtotalRange", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleMoneyRangeInput", "ofType": null } }, { "defaultValue": null, "description": "The number of the entitled items must fall within this range for the price rule to be applicable.", "name": "prerequisiteQuantityRange", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleQuantityRangeInput", "ofType": null } }, { "defaultValue": null, "description": "The shipping cost must fall within this range for the price rule to be applicable.", "name": "prerequisiteShippingPriceRange", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleMoneyRangeInput", "ofType": null } }, { "defaultValue": null, "description": "The items to which the price rule applies.", "name": "itemEntitlements", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleItemEntitlementsInput", "ofType": null } }, { "defaultValue": null, "description": "The items required for the price rule to be applicable.", "name": "itemPrerequisites", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleItemPrerequisitesInput", "ofType": null } }, { "defaultValue": null, "description": "The shipping lines to which the price rule applies.", "name": "shippingEntitlements", "type": { "kind": "INPUT_OBJECT", "name": "PriceRuleShippingEntitlementsInput", "ofType": null } }, { "defaultValue": null, "description": "Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.", "name": "prerequisiteToEntitlementQuantityRatio", "type": { "kind": "INPUT_OBJECT", "name": "PriceRulePrerequisiteToEntitlementQuantityRatioInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleInput", "possibleTypes": null }, { "description": "The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The collections to which the price rule applies.", "isDeprecated": false, "name": "collections", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The product variants to which the price rule applies.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The products to which the price rule applies.", "isDeprecated": false, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the price rule applies to all line items.", "isDeprecated": false, "name": "targetAllLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleItemEntitlements", "possibleTypes": null }, { "description": "The input fields to update a price rule line item entitlement.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": "false", "description": "Whether the price rule applies to all items.", "name": "targetAllLineItems", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The products to which the price rule applies.", "name": "productIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The product variants to which the price rule applies.", "name": "productVariantIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The collections to which the price rule applies.", "name": "collectionIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleItemEntitlementsInput", "possibleTypes": null }, { "description": "The input fields to update a price rule's item prerequisites.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The products needed for the price rule to be applied.", "name": "productIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The product variants needed for the price rule to be applied.", "name": "productVariantIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The collections needed for the price rule to be applied.", "name": "collectionIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleItemPrerequisitesInput", "possibleTypes": null }, { "description": "Single or multiple line item products, product variants or collections required for the price rule to be applicable, can also be provided in combination.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The collections required for the price rule to be applicable.", "isDeprecated": false, "name": "collections", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The product variants required for the price rule to be applicable.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The products required for the price rule to be applicable.", "isDeprecated": false, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleLineItemPrerequisites", "possibleTypes": null }, { "description": "A money range within which the price rule is applicable.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The lower bound of the money range.", "isDeprecated": false, "name": "greaterThan", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The lower bound or equal of the money range.", "isDeprecated": false, "name": "greaterThanOrEqualTo", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The upper bound of the money range.", "isDeprecated": false, "name": "lessThan", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The upper bound or equal of the money range.", "isDeprecated": false, "name": "lessThanOrEqualTo", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleMoneyRange", "possibleTypes": null }, { "description": "The input fields to update the money range within which the price rule is applicable.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The upper bound of the money range.", "name": "lessThan", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "The upper or equal bound of the money range.", "name": "lessThanOrEqualTo", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "The lower bound of the money range.", "name": "greaterThan", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "The lower or equal bound of the money range.", "name": "greaterThanOrEqualTo", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleMoneyRangeInput", "possibleTypes": null }, { "description": "The value of a percent price rule.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The percent value of the price rule.", "isDeprecated": false, "name": "percentage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRulePercentValue", "possibleTypes": null }, { "description": "Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The quantity of entitled items in the ratio.", "isDeprecated": false, "name": "entitlementQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity of prerequisite items in the ratio.", "isDeprecated": false, "name": "prerequisiteQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRulePrerequisiteToEntitlementQuantityRatio", "possibleTypes": null }, { "description": "Specifies the quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The quantity of entitled items in the ratio.", "name": "entitlementQuantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The quantity of prerequisite items in the ratio.", "name": "prerequisiteQuantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRulePrerequisiteToEntitlementQuantityRatioInput", "possibleTypes": null }, { "description": "A quantity range within which the price rule is applicable.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The lower bound of the quantity range.", "isDeprecated": false, "name": "greaterThan", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The lower bound or equal of the quantity range.", "isDeprecated": false, "name": "greaterThanOrEqualTo", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The upper bound of the quantity range.", "isDeprecated": false, "name": "lessThan", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The upper bound or equal of the quantity range.", "isDeprecated": false, "name": "lessThanOrEqualTo", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleQuantityRange", "possibleTypes": null }, { "description": "The input fields to update the quantity range within which the price rule is applicable.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The upper bound of the quantity range.", "name": "lessThan", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The upper or equal bound of the quantity range.", "name": "lessThanOrEqualTo", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The lower bound of the quantity range.", "name": "greaterThan", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The lower or equal bound of the quantity range.", "name": "greaterThanOrEqualTo", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleQuantityRangeInput", "possibleTypes": null }, { "description": "Shareable URL for the discount code associated with the price rule.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The image URL of the item (product or collection) to which the discount applies.", "isDeprecated": false, "name": "targetItemImage", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of page that's associated with the URL.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PriceRuleShareableUrlTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the page that's associated with the URL.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL for the discount code.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleShareableUrl", "possibleTypes": null }, { "description": "The type of page where a shareable price rule URL lands.", "enumValues": [ { "deprecationReason": null, "description": "The URL lands on a home page.", "isDeprecated": false, "name": "HOME" }, { "deprecationReason": null, "description": "The URL lands on a product page.", "isDeprecated": false, "name": "PRODUCT" }, { "deprecationReason": null, "description": "The URL lands on a collection page.", "isDeprecated": false, "name": "COLLECTION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceRuleShareableUrlTargetType", "possibleTypes": null }, { "description": "The input fields to update a price rule shipping entitlement.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": "false", "description": "Whether the price rule applies to all shipping lines.", "name": "targetAllShippingLines", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The codes for the countries to which the price rule applies to.", "name": "countryCodes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } }, { "defaultValue": "false", "description": "Whether the price rule is applicable to countries that have not been defined in the shop's shipping zones.", "name": "includeRestOfWorld", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleShippingEntitlementsInput", "possibleTypes": null }, { "description": "The shipping lines to which the price rule applies to.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The codes for the countries to which the price rule applies to.", "isDeprecated": false, "name": "countryCodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether the price rule is applicable to countries that have not been defined in the shop's shipping zones.", "isDeprecated": false, "name": "includeRestOfWorld", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the price rule applies to all shipping lines.", "isDeprecated": false, "name": "targetAllShippingLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleShippingLineEntitlements", "possibleTypes": null }, { "description": "The set of valid sort keys for the PriceRule query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `starts_at` value.", "isDeprecated": false, "name": "STARTS_AT" }, { "deprecationReason": null, "description": "Sort by the `ends_at` value.", "isDeprecated": false, "name": "ENDS_AT" }, { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceRuleSortKeys", "possibleTypes": null }, { "description": "The status of the price rule.", "enumValues": [ { "deprecationReason": null, "description": "The price rule is active.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "The price rule is expired.", "isDeprecated": false, "name": "EXPIRED" }, { "deprecationReason": null, "description": "The price rule is scheduled.", "isDeprecated": false, "name": "SCHEDULED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceRuleStatus", "possibleTypes": null }, { "description": "The type of lines (line_item or shipping_line) to which the price rule applies.", "enumValues": [ { "deprecationReason": null, "description": "The price rule applies to line items.", "isDeprecated": false, "name": "LINE_ITEM" }, { "deprecationReason": null, "description": "The price rule applies to shipping lines.", "isDeprecated": false, "name": "SHIPPING_LINE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceRuleTarget", "possibleTypes": null }, { "description": "The list of features that can be supported by a price rule.", "enumValues": [ { "deprecationReason": null, "description": "The price rule supports Buy X, Get Y (BXGY) discounts.", "isDeprecated": false, "name": "BUY_ONE_GET_ONE" }, { "deprecationReason": null, "description": "The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit.", "isDeprecated": false, "name": "BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT" }, { "deprecationReason": null, "description": "The price rule supports bulk discounts.", "isDeprecated": false, "name": "BULK" }, { "deprecationReason": null, "description": "The price rule targets specific customers.", "isDeprecated": false, "name": "SPECIFIC_CUSTOMERS" }, { "deprecationReason": null, "description": "The price rule supports discounts that require a quantity.", "isDeprecated": false, "name": "QUANTITY_DISCOUNTS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PriceRuleTrait", "possibleTypes": null }, { "description": "Return type for `priceRuleUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated price rule.", "isDeprecated": false, "name": "priceRule", "type": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The updated discount code.", "isDeprecated": false, "name": "priceRuleDiscountCode", "type": { "kind": "OBJECT", "name": "PriceRuleDiscountCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "priceRuleUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `priceRuleUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleUpdatePayload", "possibleTypes": null }, { "description": "Represents an error that happens during execution of a price rule mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Error code to uniquely identify the error.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PriceRuleErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PriceRuleUserError", "possibleTypes": null }, { "description": "A time period during which a price rule is applicable.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The time after which the price rule becomes invalid.", "isDeprecated": false, "name": "end", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The time after which the price rule is valid.", "isDeprecated": false, "name": "start", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PriceRuleValidityPeriod", "possibleTypes": null }, { "description": "The input fields to update the validity period of a price rule.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The time after which the price rule is valid.", "name": "start", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "defaultValue": null, "description": "The time after which the price rule becomes invalid.", "name": "end", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleValidityPeriodInput", "possibleTypes": null }, { "description": "The type of the price rule value. The price rule value might be a percentage value, or a fixed amount.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "PriceRuleValue", "possibleTypes": [ { "kind": "OBJECT", "name": "PriceRuleFixedAmountValue", "ofType": null }, { "kind": "OBJECT", "name": "PriceRulePercentValue", "ofType": null } ] }, { "description": "The input fields to update a price rule.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The percentage value of the price rule.", "name": "percentageValue", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The fixed amount value of the price rule.", "name": "fixedAmountValue", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PriceRuleValueInput", "possibleTypes": null }, { "description": "One type of value given to a customer when a discount is applied to an order.\nThe application of a discount with this value gives the customer the specified percentage off a specified item.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The percentage value of the object. This is a number between -100 (free) and 0 (no discount).\n", "isDeprecated": false, "name": "percentage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PricingPercentageValue", "possibleTypes": null }, { "description": "The type of value given to a customer when a discount is applied to an order. For example, the application of the discount might give the customer a percentage off a specified item. Alternatively, the application of the discount might give the customer a monetary value in a given currency off an order.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "PricingValue", "possibleTypes": [ { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, { "kind": "OBJECT", "name": "PricingPercentageValue", "ofType": null } ] }, { "description": "Private metafields represent custom metadata that is attached to a resource.\nPrivate metafields are accessible only by the application that created them and only from the GraphQL Admin API.\n\nAn application can create a maximum of 10 private metafields per shop resource.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the private metafield was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the private metafield.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The key name of the private metafield.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The namespace of the private metafield.", "isDeprecated": false, "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the private metafield was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of a private metafield.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Represents the private metafield value type.", "isDeprecated": false, "name": "valueType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PrivateMetafieldValueType", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "PrivateMetafield", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple PrivateMetafields.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in PrivateMetafieldEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PrivateMetafieldConnection", "possibleTypes": null }, { "description": "The input fields for the private metafield to delete.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the resource that owns the metafield. If the field is blank, then the `Shop` resource owns the metafield.", "name": "owner", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The namespace of the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key of the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PrivateMetafieldDeleteInput", "possibleTypes": null }, { "description": "Return type for `privateMetafieldDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of private metafield that was deleted.", "isDeprecated": false, "name": "deletedPrivateMetafieldId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PrivateMetafieldDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one PrivateMetafield and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of PrivateMetafieldEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PrivateMetafieldEdge", "possibleTypes": null }, { "description": "The input fields for a private metafield.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The resource that owns the metafield. If the field is blank, then the `Shop` resource owns the metafield.", "name": "owner", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The namespace of the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key of the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The `value` and `valueType` of the private metafield, wrapped in a `ValueInput` object.", "name": "valueInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PrivateMetafieldValueInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PrivateMetafieldInput", "possibleTypes": null }, { "description": "Return type for `privateMetafieldUpsert` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The private metafield that was created or updated.", "isDeprecated": false, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PrivateMetafieldUpsertPayload", "possibleTypes": null }, { "description": "The input fields for the value and value type of the private metafield.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The value of a private metafield.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Represents the private metafield value type.", "name": "valueType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PrivateMetafieldValueType", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PrivateMetafieldValueInput", "possibleTypes": null }, { "description": "Supported private metafield value types.", "enumValues": [ { "deprecationReason": null, "description": "A string metafield.", "isDeprecated": false, "name": "STRING" }, { "deprecationReason": null, "description": "An integer metafield.", "isDeprecated": false, "name": "INTEGER" }, { "deprecationReason": null, "description": "A JSON string metafield.", "isDeprecated": false, "name": "JSON_STRING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PrivateMetafieldValueType", "possibleTypes": null }, { "description": "The Product resource lets you manage products in a merchant’s store. You can use [ProductVariants](https://shopify.dev/api/admin-graphql/latest/objects/productvariant) to create or update different versions of the same product. You can also add or update product [Media](https://shopify.dev/api/admin-graphql/latest/interfaces/media). Products can be organized by grouping them into a [Collection](https://shopify.dev/api/admin-graphql/latest/objects/collection).", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of publications a resource is published to without feedback errors.", "isDeprecated": false, "name": "availablePublicationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": "Use `descriptionHtml` instead.", "description": "The description of the product, complete with HTML formatting.", "isDeprecated": true, "name": "bodyHtml", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CollectionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `collection_type`\n - `publishable_status`\n - `published_status`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of the collections that include the product.", "isDeprecated": false, "name": "collections", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The context used to generate contextual pricing for the variant.", "name": "context", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ContextualPricingContext", "ofType": null } } } ], "deprecationReason": null, "description": "The pricing that applies for a customer in a given context.", "isDeprecated": false, "name": "contextualPricing", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductContextualPricing", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the product was created.\n", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": "Deprecated in API version 2022-10. Use `productType` instead.", "description": "The custom product type specified by the merchant.", "isDeprecated": true, "name": "customProductType", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Truncates string after the given length.", "name": "truncateAt", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "A stripped description of the product, single line with HTML tags removed.", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the product, complete with HTML formatting.", "isDeprecated": false, "name": "descriptionHtml", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } } }, { "args": [], "deprecationReason": "Use `description` instead.", "description": "Stripped description of the product, single line with HTML tags removed.\nTruncated to 60 characters.\n", "isDeprecated": true, "name": "descriptionPlainSummary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The featured image for the product.", "isDeprecated": false, "name": "featuredImage", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The featured media for the product.", "isDeprecated": false, "name": "featuredMedia", "type": { "kind": "INTERFACE", "name": "Media", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Information about the product that's provided through resource feedback.", "isDeprecated": false, "name": "feedback", "type": { "kind": "OBJECT", "name": "ResourceFeedback", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The theme template used when viewing the gift card in a store.", "isDeprecated": false, "name": "giftCardTemplateSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A unique human-friendly string of the product's title.", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the product has only a single variant with the default option and value.", "isDeprecated": false, "name": "hasOnlyDefaultVariant", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the product has out of stock variants.", "isDeprecated": false, "name": "hasOutOfStockVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "POSITION", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductImageSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The images associated with the product.", "isDeprecated": false, "name": "images", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ImageConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the collection to check.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether the product is in a given collection.", "isDeprecated": false, "name": "inCollection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the product is a gift card.", "isDeprecated": false, "name": "isGiftCard", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "POSITION", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductMediaSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The media associated with the product. This can include images, 3D models, or videos.", "isDeprecated": false, "name": "media", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total count of media belonging to a product.", "isDeprecated": false, "name": "mediaCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The online store preview URL.", "isDeprecated": false, "name": "onlineStorePreviewUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The online store URL for the product.\nA value of `null` indicates that the product is not published to the Online Store sales channel.\n", "isDeprecated": false, "name": "onlineStoreUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Truncate the array result to this size.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "deprecationReason": null, "description": "A list of product options. The limit is specified by Shop.resourceLimits.maxProductOptions.", "isDeprecated": false, "name": "options", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductOption", "ofType": null } } } } }, { "args": [], "deprecationReason": "Deprecated in API version 2020-10. Use `priceRangeV2` instead.", "description": "The price range of the product.", "isDeprecated": true, "name": "priceRange", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPriceRange", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price range of the product with prices formatted as decimals.", "isDeprecated": false, "name": "priceRangeV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPriceRangeV2", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product category specified by the merchant.", "isDeprecated": false, "name": "productCategory", "type": { "kind": "OBJECT", "name": "ProductCategory", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `resourcePublications` instead.", "description": "A list of the channels where the product is published.", "isDeprecated": true, "name": "productPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPublicationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product type specified by the merchant.", "isDeprecated": false, "name": "productType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Include only the resource's publications that are published. If false, then return all the resource's publications including future publications.", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The number of publications a resource is published on.", "isDeprecated": false, "name": "publicationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Return only the publications that are published. If false, then return all publications.", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `resourcePublications` instead.", "description": "A list of the channels where the product is published.", "isDeprecated": true, "name": "publications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPublicationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the product was published to the Online Store.\n", "isDeprecated": false, "name": "publishedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The context used to determine publication status.", "name": "context", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ContextualPublicationContext", "ofType": null } } } ], "deprecationReason": null, "description": "Whether or not the product is published for a customer in the given context.", "isDeprecated": false, "name": "publishedInContext", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the channel to check.", "name": "channelId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `publishedOnPublication` instead.", "description": "Check to see whether the resource is published to a given channel.", "isDeprecated": true, "name": "publishedOnChannel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `publishedOnCurrentPublication` instead.", "description": "Check to see whether the resource is published to the calling app's channel.", "isDeprecated": true, "name": "publishedOnCurrentChannel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Check to see whether the resource is published to the calling app's publication.", "isDeprecated": false, "name": "publishedOnCurrentPublication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the publication to check.", "name": "publicationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Check to see whether the resource is published to a given publication.", "isDeprecated": false, "name": "publishedOnPublication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the product can only be purchased with a selling plan (subscription). Products that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores. If you update a product to be subscription only, then the product is unpublished from all channels except the online store.", "isDeprecated": false, "name": "requiresSellingPlan", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The resource that is either published or staged to be published to the calling app's publication. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "resourcePublicationOnCurrentPublication", "type": { "kind": "OBJECT", "name": "ResourcePublicationV2", "ofType": null } }, { "args": [ { "defaultValue": "true", "description": "Whether to return only the resources that are currently published. If false, then also returns the resources that are scheduled to be published.\n", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of resources that are published to a publication.", "isDeprecated": false, "name": "resourcePublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Whether to return only the resources that are currently published. If false, then also returns the resources that are scheduled or staged to be published.\n", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Filter publications by catalog type.", "name": "catalogType", "type": { "kind": "ENUM", "name": "CatalogType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of resources that are either published or staged to be published to a publication.", "isDeprecated": false, "name": "resourcePublicationsV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationV2Connection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Count of selling plan groups associated with the product.", "isDeprecated": false, "name": "sellingPlanGroupCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of all selling plan groups defined in the current shop associated with the product either directly or through any of its variants.", "isDeprecated": false, "name": "sellingPlanGroups", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "SEO information of the product.", "isDeprecated": false, "name": "seo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SEO", "ofType": null } } }, { "args": [], "deprecationReason": "Deprecated in API version 2022-10. Use `productCategory` instead.", "description": "The standardized product type in the Shopify product taxonomy.", "isDeprecated": true, "name": "standardizedProductType", "type": { "kind": "OBJECT", "name": "StandardizedProductType", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The product status. This controls visibility across all channels.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ProductStatus", "ofType": null } } }, { "args": [], "deprecationReason": "Use `id` instead.", "description": "The Storefront GraphQL API ID of the `Product`.\n\nAs of the `2022-04` version release, the Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.\n", "isDeprecated": true, "name": "storefrontId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "StorefrontID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A comma separated list of tags associated with the product. Updating `tags` overwrites\nany existing tags that were previously added to the product. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.\n", "isDeprecated": false, "name": "tags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The theme template used when viewing the product in a store.", "isDeprecated": false, "name": "templateSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the product.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity of inventory in stock.", "isDeprecated": false, "name": "totalInventory", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of variants that are associated with the product.", "isDeprecated": false, "name": "totalVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether inventory tracking has been enabled for the product.", "isDeprecated": false, "name": "tracksInventory", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `unpublishedPublications` instead.", "description": "The list of channels that the resource is not published to.", "isDeprecated": true, "name": "unpublishedChannels", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of publications that the resource is not published to.", "isDeprecated": false, "name": "unpublishedPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PublicationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the product was last modified.\nA product's `updatedAt` value can change for different reasons. For example, if an order\nis placed for a product that has inventory tracking set up, then the inventory adjustment\nis counted as an update.\n", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "POSITION", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductVariantSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "A list of variants associated with the product.", "isDeprecated": false, "name": "variants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the product's vendor.", "isDeprecated": false, "name": "vendor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Navigable", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "OnlineStorePreviewable", "ofType": null }, { "kind": "INTERFACE", "name": "Publishable", "ofType": null } ], "kind": "OBJECT", "name": "Product", "possibleTypes": null }, { "description": "The input fields for specifying product images to append.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the product.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of images to be appended to the product.", "name": "images", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ImageInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductAppendImagesInput", "possibleTypes": null }, { "description": "Return type for `productAppendImages` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "List of new images appended to the product.", "isDeprecated": false, "name": "newImages", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductAppendImagesPayload", "possibleTypes": null }, { "description": "The details of a specific product category within the [Shopify product taxonomy](https://help.shopify.com/txt/product_taxonomy/en.txt).", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product taxonomy node associated with the product category.", "isDeprecated": false, "name": "productTaxonomyNode", "type": { "kind": "OBJECT", "name": "ProductTaxonomyNode", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductCategory", "possibleTypes": null }, { "description": "The input fields to use when adding a product category to a product. The [Shopify product taxonomy](https://help.shopify.com/txt/product_taxonomy/en.txt) contains the full list of available values.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the node in the Shopify taxonomy that represents the product category.", "name": "productTaxonomyNodeId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductCategoryInput", "possibleTypes": null }, { "description": "Return type for `productChangeStatus` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductChangeStatusUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductChangeStatusPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `ProductChangeStatus`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ProductChangeStatusUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ProductChangeStatusUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ProductChangeStatusUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Product could not be found.", "isDeprecated": false, "name": "PRODUCT_NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductChangeStatusUserErrorCode", "possibleTypes": null }, { "description": "The set of valid sort keys for the ProductCollection query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `price` value.", "isDeprecated": false, "name": "PRICE" }, { "deprecationReason": null, "description": "Sort by the `best-selling` value.", "isDeprecated": false, "name": "BEST_SELLING" }, { "deprecationReason": null, "description": "Sort by the `created` value.", "isDeprecated": false, "name": "CREATED" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by the `manual` value.", "isDeprecated": false, "name": "MANUAL" }, { "deprecationReason": null, "description": "Sort by the `collection-default` value.", "isDeprecated": false, "name": "COLLECTION_DEFAULT" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductCollectionSortKeys", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Products.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ProductEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductConnection", "possibleTypes": null }, { "description": "The price of a product in a specific country.\nPrices vary between countries.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The pricing of the variant with the highest price in the given context.", "isDeprecated": false, "name": "maxVariantPricing", "type": { "kind": "OBJECT", "name": "ProductVariantContextualPricing", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The pricing of the variant with the lowest price in the given context.", "isDeprecated": false, "name": "minVariantPricing", "type": { "kind": "OBJECT", "name": "ProductVariantContextualPricing", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The price range of the product with prices formatted as decimals.", "isDeprecated": false, "name": "priceRange", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPriceRangeV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductContextualPricing", "possibleTypes": null }, { "description": "Return type for `productCreateMedia` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created media.", "isDeprecated": false, "name": "media", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Media", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "mediaUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The product associated with the media.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": "Use `mediaUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductCreateMediaPayload", "possibleTypes": null }, { "description": "Return type for `productCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shop associated with the product.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductCreatePayload", "possibleTypes": null }, { "description": "Return type for `productDeleteAsync` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the product that was requested to be deleted.", "isDeprecated": false, "name": "deleteProductId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The background job that will delete the product and its associated variants and media.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductDeleteUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductDeleteAsyncPayload", "possibleTypes": null }, { "description": "Return type for `productDeleteImages` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The array of image IDs to delete.", "isDeprecated": false, "name": "deletedImageIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductDeleteImagesPayload", "possibleTypes": null }, { "description": "The input fields for specifying the product to delete.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the product.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductDeleteInput", "possibleTypes": null }, { "description": "Return type for `productDeleteMedia` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "List of media IDs which were deleted.", "isDeprecated": false, "name": "deletedMediaIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "List of product image IDs which were deleted.", "isDeprecated": false, "name": "deletedProductImageIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "mediaUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The product associated with the deleted media.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": "Use `mediaUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductDeleteMediaPayload", "possibleTypes": null }, { "description": "Return type for `productDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted product.", "isDeprecated": false, "name": "deletedProductId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shop associated with the product.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductDeletePayload", "possibleTypes": null }, { "description": "An error that occurred while setting the activation status of an inventory item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ProductDeleteUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ProductDeleteUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ProductDeleteUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Product does not exist.", "isDeprecated": false, "name": "PRODUCT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Something went wrong, please try again.", "isDeprecated": false, "name": "GENERIC_ERROR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductDeleteUserErrorCode", "possibleTypes": null }, { "description": "The input fields for the product async duplicate mutation.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the product to be duplicated.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The new title of the product.", "name": "newTitle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The new status of the product. If no value is provided the status will be inherited from the original product.", "name": "newStatus", "type": { "kind": "ENUM", "name": "ProductStatus", "ofType": null } }, { "defaultValue": "false", "description": "Specifies whether or not to duplicate images.", "name": "includeImages", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductDuplicateAsyncInput", "possibleTypes": null }, { "description": "Return type for `productDuplicateAsync` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The duplicated product id.", "isDeprecated": false, "name": "duplicatedProductId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The asynchronous job for duplicating the products.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductDuplicateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductDuplicateAsyncPayload", "possibleTypes": null }, { "description": "Return type for `productDuplicate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job that duplicates the product images.", "isDeprecated": false, "name": "imageJob", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The duplicated product.", "isDeprecated": false, "name": "newProduct", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductDuplicatePayload", "possibleTypes": null }, { "description": "An error that occurred while duplicating the product.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ProductDuplicateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ProductDuplicateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ProductDuplicateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The product does not exist.", "isDeprecated": false, "name": "PRODUCT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Cannot duplicate a product which has no variants.", "isDeprecated": false, "name": "EMPTY_VARIANT" }, { "deprecationReason": null, "description": "The title cannot be empty.", "isDeprecated": false, "name": "EMPTY_TITLE" }, { "deprecationReason": null, "description": "Something went wrong, please try again.", "isDeprecated": false, "name": "GENERIC_ERROR" }, { "deprecationReason": null, "description": "Something went wrong when saving the product, please try again.", "isDeprecated": false, "name": "FAILED_TO_SAVE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductDuplicateUserErrorCode", "possibleTypes": null }, { "description": "An auto-generated type which holds one Product and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ProductEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the ProductImage query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `position` value.", "isDeprecated": false, "name": "POSITION" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductImageSortKeys", "possibleTypes": null }, { "description": "Return type for `productImageUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The image that has been updated.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductImageUpdatePayload", "possibleTypes": null }, { "description": "The input fields required to create a product.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The description of the product, complete with HTML formatting.", "name": "descriptionHtml", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A unique, human-friendly string for the product.\nAutomatically generated from the product's title unless otherwise specified.\n", "name": "handle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether a redirect is required after a new handle has been provided.\nIf true, then the old handle is redirected to the new one automatically.\n", "name": "redirectNewHandle", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The SEO information associated with the product.", "name": "seo", "type": { "kind": "INPUT_OBJECT", "name": "SEOInput", "ofType": null } }, { "defaultValue": null, "description": "The product type specified by the merchant.", "name": "productType", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The standardized product type in the Shopify product taxonomy.", "name": "standardizedProductType", "type": { "kind": "INPUT_OBJECT", "name": "StandardizedProductTypeInput", "ofType": null } }, { "defaultValue": null, "description": "The product category in the Shopify product taxonomy.", "name": "productCategory", "type": { "kind": "INPUT_OBJECT", "name": "ProductCategoryInput", "ofType": null } }, { "defaultValue": null, "description": "The custom product type specified by the merchant.", "name": "customProductType", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A comma separated list of tags that have been added to the product.", "name": "tags", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The theme template used when viewing the product in a store.", "name": "templateSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether the product is a gift card.", "name": "giftCard", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The theme template used when viewing the gift card in a store.", "name": "giftCardTemplateSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The title of the product.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The name of the product's vendor.", "name": "vendor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The IDs of the collections that this product will be added to.", "name": "collectionsToJoin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The IDs of collections that will no longer include the existing product.", "name": "collectionsToLeave", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "Specifies the product to update in productUpdate or creates a new product if absent in productCreate.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The images to associate with the product.", "name": "images", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ImageInput", "ofType": null } } } }, { "defaultValue": null, "description": "The metafields to associate with this product.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "List of custom product options (maximum of 3 per product).", "name": "options", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "A list of variants associated with the product.", "name": "variants", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductVariantInput", "ofType": null } } } }, { "defaultValue": null, "description": "The status of the product.", "name": "status", "type": { "kind": "ENUM", "name": "ProductStatus", "ofType": null } }, { "defaultValue": null, "description": "Whether the product can only be purchased with a selling plan (subscription). Products that are sold exclusively on subscription can only be created on online stores. If set to `true` on an already existing product, then the product will be marked unavailable on channels that don't support subscriptions.", "name": "requiresSellingPlan", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductInput", "possibleTypes": null }, { "description": "Return type for `productJoinSellingPlanGroups` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductJoinSellingPlanGroupsPayload", "possibleTypes": null }, { "description": "Return type for `productLeaveSellingPlanGroups` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductLeaveSellingPlanGroupsPayload", "possibleTypes": null }, { "description": "The set of valid sort keys for the ProductMedia query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `position` value.", "isDeprecated": false, "name": "POSITION" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductMediaSortKeys", "possibleTypes": null }, { "description": "The product property names. For example, \"Size\", \"Color\", and \"Material\".\nVariants are selected based on permutations of these options.\nThe limit for each product property name is 255 characters.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product option’s name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product option's position.", "isDeprecated": false, "name": "position", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The corresponding value to the product option name.", "isDeprecated": false, "name": "values", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ProductOption", "possibleTypes": null }, { "description": "The price range of the product.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The highest variant's price.", "isDeprecated": false, "name": "maxVariantPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The lowest variant's price.", "isDeprecated": false, "name": "minVariantPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductPriceRange", "possibleTypes": null }, { "description": "The price range of the product.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The highest variant's price.", "isDeprecated": false, "name": "maxVariantPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The lowest variant's price.", "isDeprecated": false, "name": "minVariantPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductPriceRangeV2", "possibleTypes": null }, { "description": "Represents the channels where a product is published.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The channel where the product was or is published.", "isDeprecated": false, "name": "channel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Channel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the publication is published or not.", "isDeprecated": false, "name": "isPublished", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product that was or is going to be published on the channel.", "isDeprecated": false, "name": "product", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date that the product was or is going to be published on the channel.", "isDeprecated": false, "name": "publishDate", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductPublication", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ProductPublications.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPublicationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ProductPublicationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPublication", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductPublicationConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ProductPublication and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ProductPublicationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPublication", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductPublicationEdge", "possibleTypes": null }, { "description": "The input fields for specifying a publication to which a product will be published.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the publication.", "name": "publicationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The date and time that the product was (or will be) published.", "name": "publishDate", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductPublicationInput", "possibleTypes": null }, { "description": "The input fields for specifying a product to publish and the channels to publish it to.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The product to create or update publications for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The publication that the product is published to.", "name": "productPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductPublicationInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductPublishInput", "possibleTypes": null }, { "description": "Return type for `productPublish` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product that has been published.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": "Use Product.publications instead.", "description": "The channels where the product is published.", "isDeprecated": true, "name": "productPublications", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPublication", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductPublishPayload", "possibleTypes": null }, { "description": "Return type for `productReorderImages` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job which reorders the images.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductReorderImagesPayload", "possibleTypes": null }, { "description": "Return type for `productReorderMedia` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job which reorders the media.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "mediaUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `mediaUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductReorderMediaPayload", "possibleTypes": null }, { "description": "Reports the status of product for a Sales Channel or Storefront API.\nThis might include why a product is not available in a Sales Channel\nand how a merchant might fix this.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The time when the feedback was generated. Used to help determine whether\nincoming feedback is outdated compared to existing feedback.\n", "isDeprecated": false, "name": "feedbackGeneratedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The feedback messages presented to the merchant.", "isDeprecated": false, "name": "messages", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The ID of the product associated with the feedback.", "isDeprecated": false, "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The timestamp of the product associated with the feedback.", "isDeprecated": false, "name": "productUpdatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Conveys the state of the feedback and whether it requires merchant action or not.", "isDeprecated": false, "name": "state", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ResourceFeedbackState", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductResourceFeedback", "possibleTypes": null }, { "description": "The input fields used to create a product feedback.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the product that the feedback was created on.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Whether the merchant needs to take action on the product.", "name": "state", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ResourceFeedbackState", "ofType": null } } }, { "defaultValue": null, "description": "The date and time when the payload is constructed.\nUsed to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival.\n", "name": "feedbackGeneratedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "defaultValue": null, "description": "The timestamp of the product associated with the feedback.", "name": "productUpdatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "defaultValue": null, "description": "A concise set of copy strings to be displayed to merchants. Used to guide merchants in resolving problems that your app encounters when trying to make use of their products.\nYou can specify up to four messages. Each message is limited to 100 characters.\n", "name": "messages", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductResourceFeedbackInput", "possibleTypes": null }, { "description": "A sale associated with a product.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of order action that the sale represents.", "isDeprecated": false, "name": "actionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleActionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the sale.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line item for the associated sale.", "isDeprecated": false, "name": "lineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line type assocated with the sale.", "isDeprecated": false, "name": "lineType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleLineType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units either ordered or intended to be returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "All individual taxes associated with the sale.", "isDeprecated": false, "name": "taxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleTax", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total sale amount after taxes and discounts.", "isDeprecated": false, "name": "totalAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale after taxes.", "isDeprecated": false, "name": "totalDiscountAmountAfterTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale before taxes.", "isDeprecated": false, "name": "totalDiscountAmountBeforeTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the sale.", "isDeprecated": false, "name": "totalTaxAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Sale", "ofType": null } ], "kind": "OBJECT", "name": "ProductSale", "possibleTypes": null }, { "description": "The set of valid sort keys for the Product query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `product_type` value.", "isDeprecated": false, "name": "PRODUCT_TYPE" }, { "deprecationReason": null, "description": "Sort by the `vendor` value.", "isDeprecated": false, "name": "VENDOR" }, { "deprecationReason": null, "description": "Sort by the `inventory_total` value.", "isDeprecated": false, "name": "INVENTORY_TOTAL" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `published_at` value.", "isDeprecated": false, "name": "PUBLISHED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\nPagination isn't supported when using this sort key.", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductSortKeys", "possibleTypes": null }, { "description": "The possible product statuses.", "enumValues": [ { "deprecationReason": null, "description": "The product is ready to sell and can be published to sales channels and apps. Products with an active status aren't automatically published to sales channels, such as the online store, or apps. By default, existing products are set to active.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "The product is no longer being sold and isn't available to customers on sales channels and apps.", "isDeprecated": false, "name": "ARCHIVED" }, { "deprecationReason": null, "description": "The product isn't ready to sell and is unavailable to customers on sales channels and apps. By default, duplicated and unarchived products are set to draft.", "isDeprecated": false, "name": "DRAFT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductStatus", "possibleTypes": null }, { "description": "Represents a [Shopify product taxonomy](https://help.shopify.com/txt/product_taxonomy/en.txt) node.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The full name of the product taxonomy node. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.", "isDeprecated": false, "name": "fullName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the product taxonomy node.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the node is a leaf node.", "isDeprecated": false, "name": "isLeaf", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the node is a root node.", "isDeprecated": false, "name": "isRoot", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the product taxonomy node. For example, Dog Beds.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ProductTaxonomyNode", "possibleTypes": null }, { "description": "The input fields for specifying a product to unpublish from a channel and the sales channels to unpublish it from.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the product to create or update publications for.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The channels to unpublish the product from.", "name": "productPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ProductPublicationInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductUnpublishInput", "possibleTypes": null }, { "description": "Return type for `productUnpublish` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product that has been unpublished.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductUnpublishPayload", "possibleTypes": null }, { "description": "Return type for `productUpdateMedia` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated media object.", "isDeprecated": false, "name": "media", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Media", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "mediaUserErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The product on which media was updated.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": "Use `mediaUserErrors` instead.", "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": true, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductUpdateMediaPayload", "possibleTypes": null }, { "description": "Return type for `productUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductUpdatePayload", "possibleTypes": null }, { "description": "Represents a product variant.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the product variant is available for sale.", "isDeprecated": false, "name": "availableForSale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the barcode associated with the product.", "isDeprecated": false, "name": "barcode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The compare-at price of the variant in the default shop currency.", "isDeprecated": false, "name": "compareAtPrice", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The context used to generate contextual pricing for the variant.", "name": "context", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ContextualPricingContext", "ofType": null } } } ], "deprecationReason": null, "description": "The pricing that applies for a customer in a given context.", "isDeprecated": false, "name": "contextualPricing", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantContextualPricing", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the variant was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A default cursor that returns the single next record, sorted ascending by ID.\n", "isDeprecated": false, "name": "defaultCursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The delivery profile for the variant.", "isDeprecated": false, "name": "deliveryProfile", "type": { "kind": "OBJECT", "name": "DeliveryProfile", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Display name of the variant, based on product's title + variant's title.", "isDeprecated": false, "name": "displayName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "\nThe [relationship between a product variant and a fulfillment service was changed in the `2022-07` API version](/changelog/fulfillment-service-sku-sharing). A [ProductVariant](/api/admin-graphql/latest/objects/ProductVariant) can be stocked by multiple fulfillment services. As a result, we recommend that you use the [inventoryItem field](/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-inventoryitem) if you need to determine where a product variant is stocked.\n\nIf you need to determine whether a product is a gift card, then you should continue to use this field until an alternative is available.\n\nLearn more about [managing inventory quantities and states](/apps/fulfillment/inventory-management-apps/quantities-states).\n", "description": "The fulfillment service that stocks a product variant.\n\nThis is a third-party fulfillment service if the following conditions are met:\n- The product variant is stocked by a single fulfillment service.\n- The [FulfillmentService](/api/admin-graphql/latest/objects/FulfillmentService) is a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n- The fulfillment service has not [opted into SKU sharing](/api/admin-graphql/latest/objects/FulfillmentService#field-fulfillmentservice-permitsskusharing).\n\nIf the conditions aren't met, then the fulfillment service has the `manual` handle.\n", "isDeprecated": true, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether changes to the fulfillment service for the product variant are allowed.", "isDeprecated": false, "name": "fulfillmentServiceEditable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EditableProperty", "ofType": null } } }, { "args": [], "deprecationReason": "Use `InventoryItem.harmonizedSystemCode` instead.", "description": "The Harmonized System Code (or HS Tariff Code) for the variant.", "isDeprecated": true, "name": "harmonizedSystemCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The featured image for the variant.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The inventory item, which is used to query for inventory information.", "isDeprecated": false, "name": "inventoryItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryItem", "ofType": null } } }, { "args": [], "deprecationReason": "Use tracked attribute on `inventoryItem` instead.", "description": "The fulfillment service that tracks the number of items in stock for the product variant.", "isDeprecated": true, "name": "inventoryManagement", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ProductVariantInventoryManagement", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether customers are allowed to place an order for the product variant when it's out of stock.", "isDeprecated": false, "name": "inventoryPolicy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ProductVariantInventoryPolicy", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total sellable quantity of the variant.", "isDeprecated": false, "name": "inventoryQuantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The media associated with the product variant.", "isDeprecated": false, "name": "media", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definitions by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "ANY", "description": "Filter by the definition's pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order of the product variant in the list of product variants. The first position in the list is 1.\n", "isDeprecated": false, "name": "position", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The presentment currencies prices should return in.", "name": "presentmentCurrencies", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `contextualPricing` instead.", "description": "List of prices and compare-at prices in the presentment currencies for this shop.", "isDeprecated": true, "name": "presentmentPrices", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantPricePairConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price of the product variant in the default shop currency.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product that this variant belongs to.", "isDeprecated": false, "name": "product", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } } }, { "args": [], "deprecationReason": "Use `InventoryItem.requiresShipping` instead.", "description": "Whether a customer needs to provide a shipping address when placing an order for the product variant.\n", "isDeprecated": true, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "List of product options applied to the variant.", "isDeprecated": false, "name": "selectedOptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SelectedOption", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total sellable quantity of the variant for online channels.\nThis doesn't represent the total available inventory or capture\n[limitations based on customer location](https://help.shopify.com/manual/markets/inventory_and_fulfillment).\n", "isDeprecated": false, "name": "sellableOnlineQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Count of selling plan groups associated with the product variant.", "isDeprecated": false, "name": "sellingPlanGroupCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of all selling plan groups defined in the current shop associated with the product variant.", "isDeprecated": false, "name": "sellingPlanGroups", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "An identifier for the product variant in the shop. Required in order to connect to a fulfillment service.\n", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `id` instead.", "description": "The Storefront GraphQL API ID of the `ProductVariant`.\n\nAs of the `2022-04` version release, the Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.\n", "isDeprecated": true, "name": "storefrontId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "StorefrontID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The tax code for the product variant.", "isDeprecated": false, "name": "taxCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether a tax is charged when the product variant is sold.", "isDeprecated": false, "name": "taxable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the product variant.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time (ISO 8601 format) when the product variant was last modified.\n", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The weight of the product variant in the unit system specified with weight_unit.", "isDeprecated": false, "name": "weight", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The unit of measurement that applies to the product variant's weight. If you don't specify a value for weight_unit, then the shop's default unit of measurement is applied. Valid values: `g`, `kg`, `oz`, `lb`.\n", "isDeprecated": false, "name": "weightUnit", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WeightUnit", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafieldDefinitions", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Navigable", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ProductVariant", "possibleTypes": null }, { "description": "The input fields required to append media to a single variant.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the variant to which media will be appended.", "name": "variantId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the media to append to the variant.", "name": "mediaIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductVariantAppendMediaInput", "possibleTypes": null }, { "description": "Return type for `productVariantAppendMedia` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product associated with the variants and media.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The product variants that were updated.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantAppendMediaPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ProductVariants.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ProductVariantEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantConnection", "possibleTypes": null }, { "description": "The price of a product variant in a specific country.\nPrices vary between countries.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The final compare-at price after all adjustments are applied.", "isDeprecated": false, "name": "compareAtPrice", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The final price after all adjustments are applied.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantContextualPricing", "possibleTypes": null }, { "description": "Return type for `productVariantCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product associated with the variant.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The successfully created variant.", "isDeprecated": false, "name": "productVariant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantCreatePayload", "possibleTypes": null }, { "description": "Return type for `productVariantDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted product variant.", "isDeprecated": false, "name": "deletedProductVariantId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The product associated with the deleted product variant.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantDeletePayload", "possibleTypes": null }, { "description": "The input fields required to detach media from a single variant.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the variant from which media will be detached.", "name": "variantId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Specifies the media to detach from the variant.", "name": "mediaIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductVariantDetachMediaInput", "possibleTypes": null }, { "description": "Return type for `productVariantDetachMedia` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product associated with the variants and media.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The product variants that were updated.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantDetachMediaPayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one ProductVariant and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ProductVariantEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantEdge", "possibleTypes": null }, { "description": "The input fields for specifying a product variant to create or update.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The value of the barcode associated with the product.", "name": "barcode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The compare-at price of the variant.", "name": "compareAtPrice", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "The Harmonized System code (or HS Tariff code) for the variant.", "name": "harmonizedSystemCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the product variant to update or create a new variant if absent.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the image that's associated with the variant.", "name": "imageId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The URL of an image to associate with the variant. This field can only be used through mutations that create product images and must match one of the URLs being created on the product.\n", "name": "imageSrc", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The URL of the media to associate with the variant. This field can only be used in mutations that create media images and must match one of the URLs being created on the product. This field only accepts one value.", "name": "mediaSrc", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Whether customers are allowed to place an order for the product variant when it's out of stock.", "name": "inventoryPolicy", "type": { "kind": "ENUM", "name": "ProductVariantInventoryPolicy", "ofType": null } }, { "defaultValue": null, "description": "The inventory quantities at each location where the variant is stocked. Used as input only to the `productVariantCreate` mutation.", "name": "inventoryQuantities", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryLevelInput", "ofType": null } } } }, { "defaultValue": null, "description": "The inventory item associated with the variant. Used for unit cost.", "name": "inventoryItem", "type": { "kind": "INPUT_OBJECT", "name": "InventoryItemInput", "ofType": null } }, { "defaultValue": null, "description": "Additional customizable information about the product variant.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "The custom properties that a shop owner uses to define product variants.", "name": "options", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The order of the product variant in the list of product variants. The first position in the list is 1.\n", "name": "position", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The price of the variant.", "name": "price", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "The product to create the variant for. Used as input only to the `productVariantCreate` mutation.", "name": "productId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Whether the variant requires shipping.", "name": "requiresShipping", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The SKU for the variant.", "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether the variant is taxable.", "name": "taxable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The tax code associated with the variant.", "name": "taxCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The weight of the variant.", "name": "weight", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The unit of weight that's used to measure the variant.", "name": "weightUnit", "type": { "kind": "ENUM", "name": "WeightUnit", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductVariantInput", "possibleTypes": null }, { "description": "The valid values for the method of inventory tracking for a product variant.", "enumValues": [ { "deprecationReason": null, "description": "This product variant's inventory is tracked by Shopify. In the unstable API version, this product variant's inventory could also be tracked by both Shopify and a third-party fulfillment service.", "isDeprecated": false, "name": "SHOPIFY" }, { "deprecationReason": null, "description": "This product variant's inventory is not tracked.", "isDeprecated": false, "name": "NOT_MANAGED" }, { "deprecationReason": null, "description": "This product variant's inventory is tracked by a third-party fulfillment service.", "isDeprecated": false, "name": "FULFILLMENT_SERVICE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductVariantInventoryManagement", "possibleTypes": null }, { "description": "The valid values for the inventory policy of a product variant once it is out of stock.\n", "enumValues": [ { "deprecationReason": null, "description": "Customers can't buy this product variant after it's out of stock.", "isDeprecated": false, "name": "DENY" }, { "deprecationReason": null, "description": "Customers can buy this product variant after it's out of stock.", "isDeprecated": false, "name": "CONTINUE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductVariantInventoryPolicy", "possibleTypes": null }, { "description": "Return type for `productVariantJoinSellingPlanGroups` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product variant object.", "isDeprecated": false, "name": "productVariant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantJoinSellingPlanGroupsPayload", "possibleTypes": null }, { "description": "Return type for `productVariantLeaveSellingPlanGroups` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product variant object.", "isDeprecated": false, "name": "productVariant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantLeaveSellingPlanGroupsPayload", "possibleTypes": null }, { "description": "The input fields representing a product variant position.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the ID of the product variant to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The order of the product variant in the list of product variants. The first position in the list is 1.", "name": "position", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductVariantPositionInput", "possibleTypes": null }, { "description": "The compare-at price and price of a variant sharing a currency.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The compare-at price of the variant with associated currency.", "isDeprecated": false, "name": "compareAtPrice", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The price of the variant with associated currency.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantPricePair", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ProductVariantPricePairs.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantPricePairEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ProductVariantPricePairEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantPricePair", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantPricePairConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ProductVariantPricePair and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ProductVariantPricePairEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantPricePair", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantPricePairEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the ProductVariant query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `sku` value.", "isDeprecated": false, "name": "SKU" }, { "deprecationReason": null, "description": "Sort by the `inventory_quantity` value.", "isDeprecated": false, "name": "INVENTORY_QUANTITY" }, { "deprecationReason": null, "description": "Sort by the `inventory_management` value.", "isDeprecated": false, "name": "INVENTORY_MANAGEMENT" }, { "deprecationReason": null, "description": "Sort by available inventory quantity in the location specified by the `query:\"location_id:\"` argument.\nDon't use this sort key when no `location_id` in query is specified.\n", "isDeprecated": false, "name": "INVENTORY_LEVELS_AVAILABLE" }, { "deprecationReason": null, "description": "Sort by the `inventory_policy` value.", "isDeprecated": false, "name": "INVENTORY_POLICY" }, { "deprecationReason": null, "description": "Sort by the `full_title` value.", "isDeprecated": false, "name": "FULL_TITLE" }, { "deprecationReason": null, "description": "Sort by the `popular` value.", "isDeprecated": false, "name": "POPULAR" }, { "deprecationReason": null, "description": "Sort by the `position` value.", "isDeprecated": false, "name": "POSITION" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductVariantSortKeys", "possibleTypes": null }, { "description": "Return type for `productVariantUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product associated with the variant.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The updated variant.", "isDeprecated": false, "name": "productVariant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantUpdatePayload", "possibleTypes": null }, { "description": "Return type for `productVariantsBulkCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The newly created variants.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantsBulkCreateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantsBulkCreatePayload", "possibleTypes": null }, { "description": "Error codes for failed product variant bulk create mutations.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ProductVariantsBulkCreateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ProductVariantsBulkCreateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ProductVariantsBulkCreateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Product does not exist.", "isDeprecated": false, "name": "PRODUCT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "On create, this key cannot be used.", "isDeprecated": false, "name": "NO_KEY_ON_CREATE" }, { "deprecationReason": null, "description": "Variant already exists.", "isDeprecated": false, "name": "VARIANT_ALREADY_EXISTS" }, { "deprecationReason": null, "description": "Variant price must be greater than or equal to zero.", "isDeprecated": false, "name": "GREATER_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "Variant options are not enough.", "isDeprecated": false, "name": "NEED_TO_ADD_OPTION_VALUES" }, { "deprecationReason": null, "description": "Variant options are more than the product options.", "isDeprecated": false, "name": "OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS" }, { "deprecationReason": null, "description": "Inventory locations cannot exceed the allowed resource limit or 10.", "isDeprecated": false, "name": "TOO_MANY_INVENTORY_LOCATIONS" }, { "deprecationReason": null, "description": "You reached the limit of available SKUs in your current plan.", "isDeprecated": false, "name": "SUBSCRIPTION_VIOLATION" }, { "deprecationReason": null, "description": "Variant options already exist. Please change the variant option(s).", "isDeprecated": false, "name": "VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE" }, { "deprecationReason": null, "description": "Quantity could not be set. The location was not found.", "isDeprecated": false, "name": "TRACKED_VARIANT_LOCATION_NOT_FOUND" }, { "deprecationReason": null, "description": "Input must be for this product.", "isDeprecated": false, "name": "MUST_BE_FOR_THIS_PRODUCT" }, { "deprecationReason": null, "description": "Input is not defined for this shop.", "isDeprecated": false, "name": "NOT_DEFINED_FOR_SHOP" }, { "deprecationReason": null, "description": "Invalid input detected.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "Price cannot take a negative value.", "isDeprecated": false, "name": "NEGATIVE_PRICE_VALUE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductVariantsBulkCreateUserErrorCode", "possibleTypes": null }, { "description": "Return type for `productVariantsBulkDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantsBulkDeleteUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantsBulkDeletePayload", "possibleTypes": null }, { "description": "Error codes for failed bulk variant delete mutations.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ProductVariantsBulkDeleteUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ProductVariantsBulkDeleteUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ProductVariantsBulkDeleteUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Product does not exist.", "isDeprecated": false, "name": "PRODUCT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Cannot delete default variant.", "isDeprecated": false, "name": "CANNOT_DELETE_LAST_VARIANT" }, { "deprecationReason": null, "description": "The variant does not exist.", "isDeprecated": false, "name": "AT_LEAST_ONE_VARIANT_DOES_NOT_BELONG_TO_THE_PRODUCT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductVariantsBulkDeleteUserErrorCode", "possibleTypes": null }, { "description": "The input fields for specifying a product variant to create as part of a variant bulk mutation.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The value of the barcode associated with the product variant.", "name": "barcode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The compare-at price of the variant.", "name": "compareAtPrice", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "The Harmonized System code (or HS Tariff code) for the variant.", "name": "harmonizedSystemCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Specifies the product variant to update or delete.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The ID of the image that's associated with the variant.", "name": "imageId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The URL of an image to associate with the variant. This field can only be used through mutations that create product images and must match one of the URLs being created on the product.\n", "name": "imageSrc", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The URL of the media to associate with the variant.", "name": "mediaSrc", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Whether customers are allowed to place an order for the variant when it's out of stock.", "name": "inventoryPolicy", "type": { "kind": "ENUM", "name": "ProductVariantInventoryPolicy", "ofType": null } }, { "defaultValue": null, "description": "The inventory quantities at each location where the variant is stocked. The number of elements\nin the array of inventory quantities cannot exceed 10 and the amount specified for the plan. Used as input only to the `productVariantCreate` mutation.\n", "name": "inventoryQuantities", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InventoryLevelInput", "ofType": null } } } }, { "defaultValue": null, "description": "The inventory item associated with the variant, used for unit cost.", "name": "inventoryItem", "type": { "kind": "INPUT_OBJECT", "name": "InventoryItemInput", "ofType": null } }, { "defaultValue": null, "description": "The additional customizable information about the product variant.", "name": "metafields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetafieldInput", "ofType": null } } } }, { "defaultValue": null, "description": "The custom properties that a shop owner uses to define product variants.", "name": "options", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The price of the variant.", "name": "price", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "Whether the variant requires shipping.", "name": "requiresShipping", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The SKU for the variant.", "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether the variant is taxable.", "name": "taxable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The tax code associated with the variant.", "name": "taxCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The weight of the variant.", "name": "weight", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The unit of weight that's used to measure the variant.", "name": "weightUnit", "type": { "kind": "ENUM", "name": "WeightUnit", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ProductVariantsBulkInput", "possibleTypes": null }, { "description": "Return type for `productVariantsBulkReorder` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated product.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantsBulkReorderUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantsBulkReorderPayload", "possibleTypes": null }, { "description": "Error codes for failed bulk product variants reorder operation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ProductVariantsBulkReorderUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ProductVariantsBulkReorderUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ProductVariantsBulkReorderUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Product does not exist.", "isDeprecated": false, "name": "PRODUCT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Product variant does not exist.", "isDeprecated": false, "name": "MISSING_VARIANT" }, { "deprecationReason": null, "description": "Product variant position cannot be zero or negative number.", "isDeprecated": false, "name": "INVALID_POSITION" }, { "deprecationReason": null, "description": "Product variant IDs must be unique.", "isDeprecated": false, "name": "DUPLICATED_VARIANT_ID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductVariantsBulkReorderUserErrorCode", "possibleTypes": null }, { "description": "Return type for `productVariantsBulkUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated product object.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The updated variants.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantsBulkUpdateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ProductVariantsBulkUpdatePayload", "possibleTypes": null }, { "description": "Error codes for failed variant bulk update mutations.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ProductVariantsBulkUpdateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ProductVariantsBulkUpdateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ProductVariantsBulkUpdateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Product does not exist.", "isDeprecated": false, "name": "PRODUCT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Product variant is missing ID attribute.", "isDeprecated": false, "name": "PRODUCT_VARIANT_ID_MISSING" }, { "deprecationReason": null, "description": "Product variant does not exist.", "isDeprecated": false, "name": "PRODUCT_VARIANT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Inventory quantities cannot be updated with variants API.", "isDeprecated": false, "name": "NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE" }, { "deprecationReason": null, "description": "The variant already exists.", "isDeprecated": false, "name": "VARIANT_ALREADY_EXISTS" }, { "deprecationReason": null, "description": "The price of the variant must be greater than or equal to zero.", "isDeprecated": false, "name": "GREATER_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "Variant options are not enough.", "isDeprecated": false, "name": "NEED_TO_ADD_OPTION_VALUES" }, { "deprecationReason": null, "description": "Variant options are more than the product options.", "isDeprecated": false, "name": "OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS" }, { "deprecationReason": null, "description": "You reached the limit of available SKUs in your current plan.", "isDeprecated": false, "name": "SUBSCRIPTION_VIOLATION" }, { "deprecationReason": null, "description": "Inventory quantities cannot be provided during update.", "isDeprecated": false, "name": "NO_INVENTORY_QUANTITES_DURING_UPDATE" }, { "deprecationReason": null, "description": "Price cannot take a negative value.", "isDeprecated": false, "name": "NEGATIVE_PRICE_VALUE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProductVariantsBulkUpdateUserErrorCode", "possibleTypes": null }, { "description": "The set of valid sort keys for the ProfileItem query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `title` value.", "isDeprecated": false, "name": "TITLE" }, { "deprecationReason": null, "description": "Sort by the `product_type` value.", "isDeprecated": false, "name": "PRODUCT_TYPE" }, { "deprecationReason": null, "description": "Sort by the `vendor` value.", "isDeprecated": false, "name": "VENDOR" }, { "deprecationReason": null, "description": "Sort by the `inventory_total` value.", "isDeprecated": false, "name": "INVENTORY_TOTAL" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `published_at` value.", "isDeprecated": false, "name": "PUBLISHED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ProfileItemSortKeys", "possibleTypes": null }, { "description": "Return type for `pubSubServerPixelUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The server pixel as configured by the mutation.", "isDeprecated": false, "name": "serverPixel", "type": { "kind": "OBJECT", "name": "ServerPixel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorsServerPixelUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PubSubServerPixelUpdatePayload", "possibleTypes": null }, { "description": "Return type for `pubSubWebhookSubscriptionCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PubSubWebhookSubscriptionCreateUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The webhook subscription that was created.", "isDeprecated": false, "name": "webhookSubscription", "type": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PubSubWebhookSubscriptionCreatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `PubSubWebhookSubscriptionCreate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PubSubWebhookSubscriptionCreateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PubSubWebhookSubscriptionCreateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PubSubWebhookSubscriptionCreateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Invalid parameters provided.", "isDeprecated": false, "name": "INVALID_PARAMETERS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PubSubWebhookSubscriptionCreateUserErrorCode", "possibleTypes": null }, { "description": "The input fields for a PubSub webhook subscription.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The Pub/Sub project ID.", "name": "pubSubProject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The Pub/Sub topic ID.", "name": "pubSubTopic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The format in which the webhook subscription should send the data.", "name": "format", "type": { "kind": "ENUM", "name": "WebhookSubscriptionFormat", "ofType": null } }, { "defaultValue": null, "description": "The list of fields to be included in the webhook subscription.", "name": "includeFields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The list of namespaces for any metafields that should be included in the webhook subscription.", "name": "metafieldNamespaces", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PubSubWebhookSubscriptionInput", "possibleTypes": null }, { "description": "Return type for `pubSubWebhookSubscriptionUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PubSubWebhookSubscriptionUpdateUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The webhook subscription that was updated.", "isDeprecated": false, "name": "webhookSubscription", "type": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PubSubWebhookSubscriptionUpdatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `PubSubWebhookSubscriptionUpdate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PubSubWebhookSubscriptionUpdateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PubSubWebhookSubscriptionUpdateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PubSubWebhookSubscriptionUpdateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Invalid parameters provided.", "isDeprecated": false, "name": "INVALID_PARAMETERS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PubSubWebhookSubscriptionUpdateUserErrorCode", "possibleTypes": null }, { "description": "A publication is a group of products and collections that is published to an app.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use [AppCatalog.apps](https://shopify.dev/api/admin-graphql/unstable/objects/AppCatalog#connection-appcatalog-apps) instead.", "description": "The app associated with the publication.", "isDeprecated": true, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether new products are automatically published to this publication.", "isDeprecated": false, "name": "autoPublish", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The catalog associated with the publication.", "isDeprecated": false, "name": "catalog", "type": { "kind": "INTERFACE", "name": "Catalog", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The collection publications for the list of collections published to the publication.", "isDeprecated": false, "name": "collectionPublicationsV3", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of collections published to the publication.", "isDeprecated": false, "name": "collections", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Collection ID to check.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether the collection is available to the publication.", "isDeprecated": false, "name": "hasCollection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": "Use [Catalog.title](https://shopify.dev/api/admin-graphql/unstable/interfaces/Catalog#field-catalog-title) instead.", "description": "Name of the publication.", "isDeprecated": true, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A background operation associated with this publication.", "isDeprecated": false, "name": "operation", "type": { "kind": "UNION", "name": "PublicationOperation", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The product publications for the list of products published to the publication.", "isDeprecated": false, "name": "productPublicationsV3", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of products published to the publication.", "isDeprecated": false, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the publication supports future publishing.", "isDeprecated": false, "name": "supportsFuturePublishing", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Publication", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Publications.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PublicationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in PublicationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Publication", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublicationConnection", "possibleTypes": null }, { "description": "The input fields for creating a publication.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the catalog.", "name": "catalogId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": "EMPTY", "description": "Whether to create an empty publication or prepopulate it with all products.", "name": "defaultState", "type": { "kind": "ENUM", "name": "PublicationCreateInputPublicationDefaultState", "ofType": null } }, { "defaultValue": "false", "description": "Whether to automatically add newly created products to this publication.", "name": "autoPublish", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PublicationCreateInput", "possibleTypes": null }, { "description": "The input fields for the possible values for the default state of a publication.", "enumValues": [ { "deprecationReason": null, "description": "The publication is empty.", "isDeprecated": false, "name": "EMPTY" }, { "deprecationReason": null, "description": "The publication is populated with all products.", "isDeprecated": false, "name": "ALL_PRODUCTS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PublicationCreateInputPublicationDefaultState", "possibleTypes": null }, { "description": "Return type for `publicationCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The publication that's been created.", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PublicationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublicationCreatePayload", "possibleTypes": null }, { "description": "Return type for `publicationDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the publication that was deleted.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PublicationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublicationDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Publication and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of PublicationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Publication", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublicationEdge", "possibleTypes": null }, { "description": "The input fields required to publish a resource.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the publication.", "name": "publicationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The date and time that the resource was published. Setting this to a date in the future will schedule the resource to be published. Only online store channels support future publishing. This field has no effect if you include it in the `publishableUnpublish` mutation.\n", "name": "publishDate", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PublicationInput", "possibleTypes": null }, { "description": "The possible types of publication operations.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "PublicationOperation", "possibleTypes": [ { "kind": "OBJECT", "name": "AddAllProductsOperation", "ofType": null }, { "kind": "OBJECT", "name": "CatalogCsvOperation", "ofType": null }, { "kind": "OBJECT", "name": "PublicationResourceOperation", "ofType": null } ] }, { "description": "A bulk update operation on a publication.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The count of processed rows, summing imported, failed, and skipped rows.", "isDeprecated": false, "name": "processedRowCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Represents a rows objects within this background operation.", "isDeprecated": false, "name": "rowCount", "type": { "kind": "OBJECT", "name": "RowCount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of this operation.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ResourceOperationStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "ResourceOperation", "ofType": null } ], "kind": "OBJECT", "name": "PublicationResourceOperation", "possibleTypes": null }, { "description": "The input fields for updating a publication.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": "[]", "description": "A list of publishable IDs to add. The maximum number of publishables to update simultaneously is 50.", "name": "publishablesToAdd", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": "[]", "description": "A list of publishable IDs to remove. The maximum number of publishables to update simultaneously is 50.", "name": "publishablesToRemove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "Whether new products should be automatically published to the publication.", "name": "autoPublish", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PublicationUpdateInput", "possibleTypes": null }, { "description": "Return type for `publicationUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The publication that's been updated.", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PublicationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublicationUpdatePayload", "possibleTypes": null }, { "description": "Defines errors encountered while managing a publication.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "PublicationUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "PublicationUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `PublicationUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Can't perform this action on a publication.", "isDeprecated": false, "name": "UNSUPPORTED_PUBLICATION_ACTION" }, { "deprecationReason": null, "description": "Publication not found.", "isDeprecated": false, "name": "PUBLICATION_NOT_FOUND" }, { "deprecationReason": null, "description": "The publication is currently being modified. Please try again later.", "isDeprecated": false, "name": "PUBLICATION_LOCKED" }, { "deprecationReason": null, "description": "A catalog publication can only contain products.", "isDeprecated": false, "name": "UNSUPPORTED_PUBLISHABLE_TYPE" }, { "deprecationReason": null, "description": "Publishable ID not found.", "isDeprecated": false, "name": "INVALID_PUBLISHABLE_ID" }, { "deprecationReason": null, "description": "Market does not exist.", "isDeprecated": false, "name": "MARKET_NOT_FOUND" }, { "deprecationReason": null, "description": "Catalog does not exist.", "isDeprecated": false, "name": "CATALOG_NOT_FOUND" }, { "deprecationReason": null, "description": "Can't modify a publication that belongs to an app catalog.", "isDeprecated": false, "name": "CANNOT_MODIFY_APP_CATALOG_PUBLICATION" }, { "deprecationReason": null, "description": "Can't modify a publication that belongs to a market catalog.", "isDeprecated": false, "name": "CANNOT_MODIFY_MARKET_CATALOG_PUBLICATION" }, { "deprecationReason": null, "description": "Cannot modify a catalog for an app.", "isDeprecated": false, "name": "CANNOT_MODIFY_APP_CATALOG" }, { "deprecationReason": null, "description": "Cannot modify a catalog for a market.", "isDeprecated": false, "name": "CANNOT_MODIFY_MARKET_CATALOG" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "A product publication cannot be created because the catalog type associated with this publication does not permit publications of this product type.", "isDeprecated": false, "name": "PRODUCT_TYPE_INCOMPATIBLE_WITH_CATALOG_TYPE" }, { "deprecationReason": null, "description": "The limit for simultaneous publication updates has been exceeded.", "isDeprecated": false, "name": "PUBLICATION_UPDATE_LIMIT_EXCEEDED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "PublicationUserErrorCode", "possibleTypes": null }, { "description": "Represents a resource that can be published to a channel.\nA publishable resource can be either a Product or Collection.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of publications a resource is published to without feedback errors.", "isDeprecated": false, "name": "availablePublicationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Include only the resource's publications that are published. If false, then return all the resource's publications including future publications.", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The number of publications a resource is published on.", "isDeprecated": false, "name": "publicationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the channel to check.", "name": "channelId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `publishedOnPublication` instead.", "description": "Check to see whether the resource is published to a given channel.", "isDeprecated": true, "name": "publishedOnChannel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `publishedOnCurrentPublication` instead.", "description": "Check to see whether the resource is published to the calling app's channel.", "isDeprecated": true, "name": "publishedOnCurrentChannel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Check to see whether the resource is published to the calling app's publication.", "isDeprecated": false, "name": "publishedOnCurrentPublication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the publication to check.", "name": "publicationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Check to see whether the resource is published to a given publication.", "isDeprecated": false, "name": "publishedOnPublication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Whether to return only the resources that are currently published. If false, then also returns the resources that are scheduled to be published.\n", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of resources that are published to a publication.", "isDeprecated": false, "name": "resourcePublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": "true", "description": "Whether to return only the resources that are currently published. If false, then also returns the resources that are scheduled or staged to be published.\n", "name": "onlyPublished", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Filter publications by catalog type.", "name": "catalogType", "type": { "kind": "ENUM", "name": "CatalogType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of resources that are either published or staged to be published to a publication.", "isDeprecated": false, "name": "resourcePublicationsV2", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationV2Connection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `unpublishedPublications` instead.", "description": "The list of channels that the resource is not published to.", "isDeprecated": true, "name": "unpublishedChannels", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of publications that the resource is not published to.", "isDeprecated": false, "name": "unpublishedPublications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PublicationConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "Publishable", "possibleTypes": [ { "kind": "OBJECT", "name": "Collection", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null } ] }, { "description": "Return type for `publishablePublish` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Resource that has been published.", "isDeprecated": false, "name": "publishable", "type": { "kind": "INTERFACE", "name": "Publishable", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublishablePublishPayload", "possibleTypes": null }, { "description": "Return type for `publishablePublishToCurrentChannel` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Resource that has been published.", "isDeprecated": false, "name": "publishable", "type": { "kind": "INTERFACE", "name": "Publishable", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublishablePublishToCurrentChannelPayload", "possibleTypes": null }, { "description": "Return type for `publishableUnpublish` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Resource that has been unpublished.", "isDeprecated": false, "name": "publishable", "type": { "kind": "INTERFACE", "name": "Publishable", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublishableUnpublishPayload", "possibleTypes": null }, { "description": "Return type for `publishableUnpublishToCurrentChannel` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Resource that has been unpublished.", "isDeprecated": false, "name": "publishable", "type": { "kind": "INTERFACE", "name": "Publishable", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PublishableUnpublishToCurrentChannelPayload", "possibleTypes": null }, { "description": "Represents information about the purchasing company for the order or draft order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The company associated to the order or draft order.", "isDeprecated": false, "name": "company", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Company", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The company contact associated to the order or draft order.", "isDeprecated": false, "name": "contact", "type": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The company location associated to the order or draft order.", "isDeprecated": false, "name": "location", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "PurchasingCompany", "possibleTypes": null }, { "description": "The input fields for a purchasing company, which is a combination of company, company contact, and company location.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the company.", "name": "companyId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "ID of the company contact.", "name": "companyContactId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "ID of the company location.", "name": "companyLocationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PurchasingCompanyInput", "possibleTypes": null }, { "description": "Represents information about the purchasing entity for the order or draft order.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "PurchasingEntity", "possibleTypes": [ { "kind": "OBJECT", "name": "Customer", "ofType": null }, { "kind": "OBJECT", "name": "PurchasingCompany", "ofType": null } ] }, { "description": "The input fields for a purchasing entity. Can either be a customer or a purchasing company.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Represents a customer. Null if there is a purchasing company.", "name": "customerId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Represents a purchasing company. Null if there is a customer.", "name": "purchasingCompany", "type": { "kind": "INPUT_OBJECT", "name": "PurchasingCompanyInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "PurchasingEntityInput", "possibleTypes": null }, { "description": "The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "The ID of the Abandonment to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns an abandonment by ID.", "isDeprecated": false, "name": "abandonment", "type": { "kind": "OBJECT", "name": "Abandonment", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the Abandoned Checkout ID to query by.", "name": "abandonedCheckoutId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns an Abandonment by the Abandoned Checkout ID.", "isDeprecated": false, "name": "abandonmentByAbandonedCheckoutId", "type": { "kind": "OBJECT", "name": "Abandonment", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID to lookup the App by.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Lookup an App by ID or return the currently authenticated App.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Handle of the App.", "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Fetches app by handle.\nReturns null if the app doesn't exist.\n", "isDeprecated": false, "name": "appByHandle", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Client ID of the app.", "name": "apiKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Fetches an app by its client ID.\nReturns null if the app doesn't exist.\n", "isDeprecated": false, "name": "appByKey", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID for the function providing the app discount type.", "name": "functionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "An app discount type.\n", "isDeprecated": false, "name": "appDiscountType", "type": { "kind": "OBJECT", "name": "AppDiscountType", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A list of app discount types installed by apps.\n", "isDeprecated": false, "name": "appDiscountTypes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppDiscountType", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "ID used to lookup AppInstallation.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Lookup an AppInstallation by ID or return the AppInstallation for the currently authenticated App.", "isDeprecated": false, "name": "appInstallation", "type": { "kind": "OBJECT", "name": "AppInstallation", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "INSTALLED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "AppInstallationSortKeys", "ofType": null } }, { "defaultValue": null, "description": "The category of app installations to fetch.", "name": "category", "type": { "kind": "ENUM", "name": "AppInstallationCategory", "ofType": null } }, { "defaultValue": "PUBLIC", "description": "The privacy level of app installations to fetch.", "name": "privacy", "type": { "kind": "ENUM", "name": "AppInstallationPrivacy", "ofType": null } } ], "deprecationReason": null, "description": "List of app installations.", "isDeprecated": false, "name": "appInstallations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppInstallationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the DiscountAutomatic to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `automaticDiscountNode` instead.", "description": "Returns an automatic discount resource by ID.", "isDeprecated": true, "name": "automaticDiscount", "type": { "kind": "UNION", "name": "DiscountAutomatic", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the DiscountAutomaticNode to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns an automatic discount resource by ID.", "isDeprecated": false, "name": "automaticDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountAutomaticNode", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "AutomaticDiscountSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `status`\n - `type`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "List of automatic discounts.", "isDeprecated": false, "name": "automaticDiscountNodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAutomaticNodeConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of the shop's automatic discount saved searches.", "isDeprecated": false, "name": "automaticDiscountSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "AutomaticDiscountSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `status`\n - `type`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": "Use `automaticDiscountNodes` instead.", "description": "List of automatic discounts.", "isDeprecated": true, "name": "automaticDiscounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAutomaticConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Returns a list of activated carrier services and associated shop locations that support them.", "isDeprecated": false, "name": "availableCarrierServices", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCarrierServiceAndLocations", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of available locales.", "isDeprecated": false, "name": "availableLocales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Locale", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "The ID of the DeliveryCarrierService to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a `DeliveryCarrierService` object by ID.", "isDeprecated": false, "name": "carrierService", "type": { "kind": "OBJECT", "name": "DeliveryCarrierService", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the Catalog to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Catalog resource by ID.", "isDeprecated": false, "name": "catalog", "type": { "kind": "INTERFACE", "name": "Catalog", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Returns the most recent catalog operations for the shop.", "isDeprecated": false, "name": "catalogOperations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "ResourceOperation", "ofType": null } } } } }, { "args": [ { "defaultValue": "null", "description": "The type of the catalogs to be returned.", "name": "type", "type": { "kind": "ENUM", "name": "CatalogType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CatalogSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `app_id`\n - `company_id`\n - `company_location_id`\n - `managed_country_id`\n - `market_id`\n - `status`\n - `title`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The catalogs belonging to the shop.", "isDeprecated": false, "name": "catalogs", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CatalogConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Channel to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `publication` instead.", "description": "Lookup a channel by ID.", "isDeprecated": true, "name": "channel", "type": { "kind": "OBJECT", "name": "Channel", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `publications` instead.", "description": "List of the active sales channels.", "isDeprecated": true, "name": "channels", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the checkout profile.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "A checkout profile on a shop.", "isDeprecated": false, "name": "checkoutProfile", "type": { "kind": "OBJECT", "name": "CheckoutProfile", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "UPDATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CheckoutProfileSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `is_published`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of checkout profiles on a shop.", "isDeprecated": false, "name": "checkoutProfiles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutProfileConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the DiscountCodeNode to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a code discount resource by ID.", "isDeprecated": false, "name": "codeDiscountNode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The case-insensitive code of the `DiscountCodeNode` to return.", "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a code discount identified by its discount code.", "isDeprecated": false, "name": "codeDiscountNodeByCode", "type": { "kind": "OBJECT", "name": "DiscountCodeNode", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CodeDiscountSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `combines_with`\n - `created_at`\n - `discount_type`\n - `ends_at`\n - `starts_at`\n - `status`\n - `times_used`\n - `title`\n - `type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "List of code discounts. Special fields for query params:\n * status: active, expired, scheduled\n * discount_type: bogo, fixed_amount, free_shipping, percentage.", "isDeprecated": false, "name": "codeDiscountNodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountCodeNodeConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of the shop's code discount saved searches.", "isDeprecated": false, "name": "codeDiscountSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Collection to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Collection resource by ID.", "isDeprecated": false, "name": "collection", "type": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The handle of the collection.", "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Return a collection by its handle.\n", "isDeprecated": false, "name": "collectionByHandle", "type": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Lists all rules that can be used to create smart collections.", "isDeprecated": false, "name": "collectionRulesConditions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionRuleConditions", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of the shop's collection saved searches.", "isDeprecated": false, "name": "collectionSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CollectionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `collection_type`\n - `publishable_status`\n - `published_status`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of collections.", "isDeprecated": false, "name": "collections", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CompanySortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `external_id`\n - `name`\n - `since_date`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Returns the list of companies in the shop.", "isDeprecated": false, "name": "companies", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Company to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a `Company` object by ID.", "isDeprecated": false, "name": "company", "type": { "kind": "OBJECT", "name": "Company", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the CompanyContact to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a `CompanyContact` object by ID.", "isDeprecated": false, "name": "companyContact", "type": { "kind": "OBJECT", "name": "CompanyContact", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the CompanyContactRole to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a `CompanyContactRole` object by ID.", "isDeprecated": false, "name": "companyContactRole", "type": { "kind": "OBJECT", "name": "CompanyContactRole", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of companies for a shop.", "isDeprecated": false, "name": "companyCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the CompanyLocation to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a `CompanyLocation` object by ID.", "isDeprecated": false, "name": "companyLocation", "type": { "kind": "OBJECT", "name": "CompanyLocation", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CompanyLocationSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `company_id`\n - `created_at`\n - `external_id`\n - `ids`\n - `name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Returns the list of company locations in the shop.", "isDeprecated": false, "name": "companyLocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CompanyLocationConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Return the AppInstallation for the currently authenticated App.", "isDeprecated": false, "name": "currentAppInstallation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppInstallation", "ofType": null } } }, { "args": [ { "defaultValue": "QUERY", "description": "The current bulk operation's type.", "name": "type", "type": { "kind": "ENUM", "name": "BulkOperationType", "ofType": null } } ], "deprecationReason": null, "description": "Returns the current app's most recent BulkOperation. Apps can run one bulk query and one bulk mutation operation at a time, by shop.", "isDeprecated": false, "name": "currentBulkOperation", "type": { "kind": "OBJECT", "name": "BulkOperation", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the Customer to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Customer resource by ID.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the job performing the customer merge request.", "name": "jobId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns the status of a customer merge request job.", "isDeprecated": false, "name": "customerMergeJobStatus", "type": { "kind": "OBJECT", "name": "CustomerMergeRequest", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the first customer that will be merged.", "name": "customerOneId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the second customer that will be merged.", "name": "customerTwoId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a preview of a customer merge request.", "isDeprecated": false, "name": "customerMergePreview", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerMergePreview", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the CustomerPaymentMethod to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "false", "description": "Whether to show the customer's revoked payment method.", "name": "showRevoked", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns a CustomerPaymentMethod resource by its ID.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the segment.", "name": "segmentId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The query that's used to filter the members. The query is composed of a combination of conditions on facts about customers such as `email_subscription_status = 'SUBSCRIBED'` with [this syntax](https://shopify.dev/api/shopifyql/segment-query-language-reference).", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the segment members query.", "name": "queryId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The timezone that's used to interpret relative date arguments. The timezone defaults to UTC if the timezone isn't provided.", "name": "timezone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the list. The sorting behaviour defaults to ascending order.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Sort the list by a given key.", "name": "sortKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of members, such as customers, that's associated with an individual segment.", "isDeprecated": false, "name": "customerSegmentMembers", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerSegmentMemberConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the CustomerSegmentMembersQuery to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a segment members query resource by ID.", "isDeprecated": false, "name": "customerSegmentMembersQuery", "type": { "kind": "OBJECT", "name": "CustomerSegmentMembersQuery", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The segments to evaluate for the given customer.", "name": "segmentIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "defaultValue": null, "description": "The ID of the customer that has the membership.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether a member, which is a customer, belongs to a segment.", "isDeprecated": false, "name": "customerSegmentMembership", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentMembershipResponse", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CustomerSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `accepts_marketing`\n - `country`\n - `customer_date`\n - `email`\n - `last_abandoned_order_date`\n - `order_date`\n - `orders_count`\n - `phone`\n - `state`\n - `tag`\n - `tag_not`\n - `total_spent`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of customers.", "isDeprecated": false, "name": "customers", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "List of subject types to filter by.", "name": "subjectTypes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeletionEventSubjectType", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DeletionEventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `occurred_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of deletion events.", "isDeprecated": false, "name": "deletionEvents", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeletionEventConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the delivery customization.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "The delivery customization.", "isDeprecated": false, "name": "deliveryCustomization", "type": { "kind": "OBJECT", "name": "DeliveryCustomization", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `enabled`\n - `function_id`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The delivery customizations.", "isDeprecated": false, "name": "deliveryCustomizations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryCustomizationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the DeliveryProfile to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Delivery Profile resource by ID.", "isDeprecated": false, "name": "deliveryProfile", "type": { "kind": "OBJECT", "name": "DeliveryProfile", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "If `true`, returns only delivery profiles that were created by the merchant.", "name": "merchantOwnedOnly", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of saved delivery profiles.", "isDeprecated": false, "name": "deliveryProfiles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeliveryProfileConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Returns the shop-wide shipping settings.", "isDeprecated": false, "name": "deliverySettings", "type": { "kind": "OBJECT", "name": "DeliverySetting", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Supported filter parameters:\n * times_used.", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The total number of discount codes for the shop.", "isDeprecated": false, "name": "discountCodeCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the DiscountNode to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a discount resource by ID.", "isDeprecated": false, "name": "discountNode", "type": { "kind": "OBJECT", "name": "DiscountNode", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DiscountSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `combines_with`\n - Acceptable Values:\n - `PRODUCT_DISCOUNTS`\n - `ORDER_DISCOUNTS`\n - `SHIPPING_DISCOUNTS`\n - `discount_class`\n - Acceptable Values:\n - `PRODUCT`\n - `ORDER`\n - `SHIPPING`\n - `discount_type`\n - `method`\n - `starts_at`\n - `status`\n - `times_used`\n - `title`\n - `type`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "List of discounts.", "isDeprecated": false, "name": "discountNodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountNodeConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the DiscountRedeemCodeBulkCreation to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a bulk code creation resource by ID.", "isDeprecated": false, "name": "discountRedeemCodeBulkCreation", "type": { "kind": "OBJECT", "name": "DiscountRedeemCodeBulkCreation", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DiscountCodeSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `times_used`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of the shop's redeemed discount code saved searches.", "isDeprecated": false, "name": "discountRedeemCodeSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the ShopifyPaymentsDispute to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns dispute details based on ID.", "isDeprecated": false, "name": "dispute", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDispute", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the ShopifyPaymentsDisputeEvidence to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns dispute evidence details based on ID.", "isDeprecated": false, "name": "disputeEvidence", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeEvidence", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the Domain to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Lookup a Domain by ID.", "isDeprecated": false, "name": "domain", "type": { "kind": "OBJECT", "name": "Domain", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the DraftOrder to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a DraftOrder resource by ID.", "isDeprecated": false, "name": "draftOrder", "type": { "kind": "OBJECT", "name": "DraftOrder", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of the shop's draft order saved searches.", "isDeprecated": false, "name": "draftOrderSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the DraftOrderTag to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a DraftOrderTag resource by ID.", "isDeprecated": false, "name": "draftOrderTag", "type": { "kind": "OBJECT", "name": "DraftOrderTag", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DraftOrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `customer_id`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "List of saved draft orders.", "isDeprecated": false, "name": "draftOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the shop's file saved searches.", "isDeprecated": false, "name": "fileSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "FileSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `filename`\n - `media_type`\n - `original_upload_size`\n - `status`\n - `updated_at`\n - `used_in`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Returns a paginated list of files that have been uploaded to Shopify.", "isDeprecated": false, "name": "files", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FileConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Fulfillment to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Fulfillment resource by ID.", "isDeprecated": false, "name": "fulfillment", "type": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the FulfillmentOrder to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Fulfillment order resource by ID.", "isDeprecated": false, "name": "fulfillmentOrder", "type": { "kind": "OBJECT", "name": "FulfillmentOrder", "ofType": null } }, { "args": [ { "defaultValue": "false", "description": "Whether to include closed fulfillment orders.", "name": "includeClosed", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "FulfillmentOrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `assigned_location_id`\n - `status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of merchant-managed and third-party fulfillment orders.", "isDeprecated": false, "name": "fulfillmentOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the FulfillmentService to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a FulfillmentService resource by ID.", "isDeprecated": false, "name": "fulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the GiftCard to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a gift card resource by ID.", "isDeprecated": false, "name": "giftCard", "type": { "kind": "OBJECT", "name": "GiftCard", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "GiftCardSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `balance_status`\n - `created_at`\n - `expires_on`\n - `initial_value`\n - `source`\n - `status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of gift cards.", "isDeprecated": false, "name": "giftCards", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "GiftCardConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Whether to count enabled or disabled or all gift cards.", "name": "enabled", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The total number of gift cards issued for the shop.", "isDeprecated": false, "name": "giftCardsCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the InventoryItem to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns an `InventoryItem` object by ID.", "isDeprecated": false, "name": "inventoryItem", "type": { "kind": "OBJECT", "name": "InventoryItem", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `id`\n - `sku`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of inventory items.", "isDeprecated": false, "name": "inventoryItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryItemConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the InventoryLevel to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns an `InventoryLevel` object by ID.", "isDeprecated": false, "name": "inventoryLevel", "type": { "kind": "OBJECT", "name": "InventoryLevel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "General inventory properties for the shop.", "isDeprecated": false, "name": "inventoryProperties", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryProperties", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "ID of the job to query.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.\n", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the location to return. If no ID is provided, the primary location of the Shop is returned.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Returns an inventory Location resource by ID.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "NAME", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "LocationSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `active`\n - `address1`\n - `address2`\n - `city`\n - `country`\n - `legacy`\n - `name`\n - `province`\n - `zip`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "If true, also include the legacy locations of fulfillment services.", "name": "includeLegacy", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "If true, also include the locations that are deactivated.", "name": "includeInactive", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of active inventory locations.", "isDeprecated": false, "name": "locations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use `locationsAvailableForDeliveryProfilesConnection` instead.", "description": "Returns a list of all origin locations available for a delivery profile.", "isDeprecated": true, "name": "locationsAvailableForDeliveryProfiles", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of all origin locations available for a delivery profile.", "isDeprecated": false, "name": "locationsAvailableForDeliveryProfilesConnection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The query conditions used to filter fulfillment orders. Only fulfillment orders corresponding to orders matching the query will be counted.\nSupported filter parameters:\n - `order_financial_status`\n - `order_risk_level`\n - `shipping_address_coordinates_validated`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of fulfillment orders that are on hold.", "isDeprecated": false, "name": "manualHoldsFulfillmentOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Market to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a market resource by ID.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The code for the country where the customer is.", "name": "countryCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } ], "deprecationReason": null, "description": "Returns the applicable market for a customer based on where they are in the world.", "isDeprecated": false, "name": "marketByGeography", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Find a market localizable resource by ID.", "name": "resourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "A resource that can have localized values for different markets.", "isDeprecated": false, "name": "marketLocalizableResource", "type": { "kind": "OBJECT", "name": "MarketLocalizableResource", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Return only resources of a type.", "name": "resourceType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MarketLocalizableResourceType", "ofType": null } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Resources that can have localized values for different markets.", "isDeprecated": false, "name": "marketLocalizableResources", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalizableResourceConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Return only resources for given IDs.", "name": "resourceIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Resources that can have localized values for different markets.", "isDeprecated": false, "name": "marketLocalizableResourcesByIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketLocalizableResourceConnection", "ofType": null } } }, { "args": [ { "defaultValue": "[]", "description": "The list of marketing activity IDs to filter by.", "name": "marketingActivityIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": "[]", "description": "The list of remote IDs associated with marketing activities to filter by.", "name": "remoteIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The UTM parameters associated with marketing activities to filter by.", "name": "utm", "type": { "kind": "INPUT_OBJECT", "name": "UTMInput", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MarketingActivitySortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `app_id`\n - `app_name`\n - `created_at`\n - `marketing_campaign_id`\n - `scheduled_to_end_at`\n - `scheduled_to_start_at`\n - `tactic`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "A list of marketing activities associated with the marketing app.", "isDeprecated": false, "name": "marketingActivities", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingActivityConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the MarketingActivity to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a MarketingActivity resource by ID.", "isDeprecated": false, "name": "marketingActivity", "type": { "kind": "OBJECT", "name": "MarketingActivity", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the MarketingEvent to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a MarketingEvent resource by ID.", "isDeprecated": false, "name": "marketingEvent", "type": { "kind": "OBJECT", "name": "MarketingEvent", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MarketingEventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `app_id`\n - `description`\n - `started_at`\n - `type`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of marketing events associated with the marketing app.", "isDeprecated": false, "name": "marketingEvents", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingEventConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The markets configured for the shop.", "isDeprecated": false, "name": "markets", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Metafield to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by ID.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the MetafieldDefinition to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield definition by ID.", "isDeprecated": false, "name": "metafieldDefinition", "type": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Each metafield definition has a type, which defines the type of information that it can store.\nThis type is enforced across every instance of the resource that owns the metafield definition.\n\nRefer to the [list of supported metafield types](https://shopify.dev/apps/metafields/types).\n", "isDeprecated": false, "name": "metafieldDefinitionTypes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionType", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Filter metafield definition by key.", "name": "key", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Filter metafield definition by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Filter the metafield definition by the specific owner type.", "name": "ownerType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } }, { "defaultValue": "ANY", "description": "Filter the metafield definition by the pinned status.", "name": "pinnedStatus", "type": { "kind": "ENUM", "name": "MetafieldDefinitionPinnedStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MetafieldDefinitionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `key`\n - `namespace`\n - `owner_type`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List of metafield definitions.", "isDeprecated": false, "name": "metafieldDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filter the visible metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of the `MetafieldStorefrontVisibility` records.", "isDeprecated": false, "name": "metafieldStorefrontVisibilities", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldStorefrontVisibilityConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the MetafieldStorefrontVisibility to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a `MetafieldStorefrontVisibility` record by ID. A `MetafieldStorefrontVisibility` record lists the\nmetafields to make visible in the Storefront API.\n", "isDeprecated": false, "name": "metafieldStorefrontVisibility", "type": { "kind": "OBJECT", "name": "MetafieldStorefrontVisibility", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the metaobject to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Retrieves a metaobject by ID.", "isDeprecated": false, "name": "metaobject", "type": { "kind": "OBJECT", "name": "Metaobject", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The identifier of the metaobject to return.", "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MetaobjectHandleInput", "ofType": null } } } ], "deprecationReason": null, "description": "Retrieves a metaobject by handle.", "isDeprecated": false, "name": "metaobjectByHandle", "type": { "kind": "OBJECT", "name": "Metaobject", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the metaobject to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Retrieves a metaobject definition by ID.", "isDeprecated": false, "name": "metaobjectDefinition", "type": { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The type of the metaobject definition to return.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Finds a metaobject definition by type.", "isDeprecated": false, "name": "metaobjectDefinitionByType", "type": { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "All metaobject definitions.", "isDeprecated": false, "name": "metaobjectDefinitions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectDefinitionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The type of the metaobjects to query.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key of a field to sort with. Supports \"id\", \"type\", \"updated_at\", and \"display_name\".\n", "name": "sortKey", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `display_name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "All metaobjects for the shop.", "isDeprecated": false, "name": "metaobjects", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Node to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a specific node (any object that implements the\n[Node](https://shopify.dev/api/admin-graphql/latest/interfaces/Node)\ninterface) by ID, in accordance with the\n[Relay specification](https://relay.dev/docs/guides/graphql-server-specification/#object-identification).\nThis field is commonly used for refetching an object.\n", "isDeprecated": false, "name": "node", "type": { "kind": "INTERFACE", "name": "Node", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The IDs of the Nodes to return.", "name": "ids", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Returns the list of nodes (any objects that implement the\n[Node](https://shopify.dev/api/admin-graphql/latest/interfaces/Node)\ninterface) with the given IDs, in accordance with the\n[Relay specification](https://relay.dev/docs/guides/graphql-server-specification/#object-identification).\n", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "INTERFACE", "name": "Node", "ofType": null } } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Order to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns an Order resource by ID.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Unique identifier returned by orderCreatePayment.", "name": "paymentReferenceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "ID of the order for which the payment was initiated.", "name": "orderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a payment status by payment reference ID. Used to check the status of a deferred payment.", "isDeprecated": false, "name": "orderPaymentStatus", "type": { "kind": "OBJECT", "name": "OrderPaymentStatus", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of the shop's order saved searches.", "isDeprecated": false, "name": "orderSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "PROCESSED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "OrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `cart_token`\n - `channel`\n - `channel_id`\n - `chargeback_status`\n - `checkout_token`\n - `created_at`\n - `credit_card_last4`\n - `customer_id`\n - `delivery_method`\n - `discount_code`\n - `earliest_fulfill_by`\n - `email`\n - `financial_status`\n - `fraud_protection_level`\n - `fulfillment_location_id`\n - `fulfillment_status`\n - `gateway`\n - `location_id`\n - `name`\n - `payment_id`\n - `payment_provider_id`\n - `po_number`\n - `processed_at`\n - `reference_location_id`\n - `return_status`\n - `risk_level`\n - `sales_channel`\n - `sku`\n - `source_identifier`\n - `source_name`\n - `status`\n - `tag`\n - `tag_not`\n - `test`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of orders placed.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the payment customization.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "The payment customization.", "isDeprecated": false, "name": "paymentCustomization", "type": { "kind": "OBJECT", "name": "PaymentCustomization", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `enabled`\n - `function_id`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The payment customizations.", "isDeprecated": false, "name": "paymentCustomizations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentCustomizationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The payment terms type to filter the payment terms templates list.", "name": "paymentTermsType", "type": { "kind": "ENUM", "name": "PaymentTermsType", "ofType": null } } ], "deprecationReason": null, "description": "The list of payment terms templates eligible for all shops and users.", "isDeprecated": false, "name": "paymentTermsTemplates", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentTermsTemplate", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "The ID of the `PriceList` to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a price list resource by ID.", "isDeprecated": false, "name": "priceList", "type": { "kind": "OBJECT", "name": "PriceList", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "PriceListSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "All price lists for a shop.", "isDeprecated": false, "name": "priceLists", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceListConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the PriceRule to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Use `codeDiscountNode` instead.", "description": "Returns a code price rule resource by ID.", "isDeprecated": true, "name": "priceRule", "type": { "kind": "OBJECT", "name": "PriceRule", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of the shop's price rule saved searches.", "isDeprecated": false, "name": "priceRuleSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "PriceRuleSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `combines_with`\n - `created_at`\n - `discount_type`\n - `ends_at`\n - `starts_at`\n - `status`\n - `times_used`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": "Use `codeDiscountNodes` instead.", "description": "Returns a list of price rule resources that have at least one associated discount code.", "isDeprecated": true, "name": "priceRules", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The primary market of the shop.", "isDeprecated": false, "name": "primaryMarket", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Market", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the PrivateMetafield to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by ID.\nPrivate metafields are accessible only by the application that created them.\n", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Retrieve the private metafields of a certain resource, specified by the resource ID.", "name": "owner", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a list of private metafields associated to a resource.\n", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Product to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Product resource by ID.", "isDeprecated": false, "name": "product", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "A unique string that identifies the product. Handles are automatically generated based on the product's title, and are always lowercase. Whitespace and special characters are replaced with a hyphen: `-`. If there are multiple consecutive whitespace or special characters, then they're replaced with a single hyphen. Whitespace or special characters at the beginning are removed. If a duplicate product title is used, then the handle is auto-incremented by one. For example, if you had two products called `Potion`, then their handles would be `potion` and `potion-1`. After a product has been created, changing the product title doesn't update the handle.", "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Return a product by its handle.\n", "isDeprecated": false, "name": "productByHandle", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The product associated with the resource feedback.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns the product resource feedback for the currently authenticated app.\n", "isDeprecated": false, "name": "productResourceFeedback", "type": { "kind": "OBJECT", "name": "ProductResourceFeedback", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of the shop's product saved searches.", "isDeprecated": false, "name": "productSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the ProductVariant to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a ProductVariant resource by ID.", "isDeprecated": false, "name": "productVariant", "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductVariantSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `available_quantity`\n - `barcode`\n - `collection`\n - `committed_quantity`\n - `delivery_profile_id`\n - `exclude_composite`\n - `exclude_variants_with_components`\n - `gift_card`\n - `incoming_quantity`\n - `inventory_quantity`\n - `location_id`\n - `managed`\n - `managed_by`\n - `on_hand_quantity`\n - `option1`\n - `option2`\n - `option3`\n - `product_id`\n - `product_status`\n - `product_type`\n - `publishable_status`\n - `published_status`\n - `requires_components`\n - `reserved_quantity`\n - `sku`\n - `tag`\n - `tag_not`\n - `taxable`\n - `title`\n - `updated_at`\n - `vendor`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "List of the product variants.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `barcode`\n - `bundles`\n - `created_at`\n - `delivery_profile_id`\n - `error_feedback`\n - `gift_card`\n - `has_only_composites`\n - `has_only_default_variant`\n - `has_variant_with_components`\n - `id`\n - `inventory_total`\n - `is_price_reduced`\n - `out_of_stock_somewhere`\n - `price`\n - `product_configuration_owner`\n - `product_type`\n - `publishable_status`\n - `published_status`\n - `sku`\n - `status`\n - `tag`\n - `tag_not`\n - `title`\n - `updated_at`\n - `vendor`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "List of products.", "isDeprecated": false, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of publicly-accessible Admin API versions, including supported versions, the release candidate, and unstable versions.", "isDeprecated": false, "name": "publicApiVersions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ApiVersion", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Publication to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Lookup a publication by ID.\n", "isDeprecated": false, "name": "publication", "type": { "kind": "OBJECT", "name": "Publication", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter publications by catalog type.", "name": "catalogType", "type": { "kind": "ENUM", "name": "CatalogType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of publications.", "isDeprecated": false, "name": "publications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PublicationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Refund to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Refund resource by ID.", "isDeprecated": false, "name": "refund", "type": { "kind": "OBJECT", "name": "Refund", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the Return to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Return resource by ID.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the ReturnableFulfillment to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Lookup a returnable fulfillment by ID.", "isDeprecated": false, "name": "returnableFulfillment", "type": { "kind": "OBJECT", "name": "ReturnableFulfillment", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Order ID that will scope all returnable fulfillments.", "name": "orderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of returnable fulfillments.", "isDeprecated": false, "name": "returnableFulfillments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnableFulfillmentConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the ReverseDelivery to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Lookup a reverse delivery by ID.", "isDeprecated": false, "name": "reverseDelivery", "type": { "kind": "OBJECT", "name": "ReverseDelivery", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the reverse fulfillment order to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Lookup a reverse fulfillment order by ID.", "isDeprecated": false, "name": "reverseFulfillmentOrder", "type": { "kind": "OBJECT", "name": "ReverseFulfillmentOrder", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the ScriptTag to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "

Theme app extensions

\n

Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only vintage themes. Learn more.

\n\n\nLookup a script tag resource by ID.\n", "isDeprecated": false, "name": "scriptTag", "type": { "kind": "OBJECT", "name": "ScriptTag", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The source URL of the script tag to filter by.", "name": "src", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "deprecationReason": null, "description": "

Theme app extensions

\n

Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only vintage themes. Learn more.

\n\n\nA list of script tags.\n", "isDeprecated": false, "name": "scriptTags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ScriptTagConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Find a segment by ID.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "The Customer Segment.", "isDeprecated": false, "name": "segment", "type": { "kind": "OBJECT", "name": "Segment", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of segments for a shop.", "isDeprecated": false, "name": "segmentCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns the elements of a list by keyword or term.", "name": "search", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of filter suggestions associated with a segment. A segment is a group of members (commonly customers) that meet specific criteria.", "isDeprecated": false, "name": "segmentFilterSuggestions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentFilterConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of filters.", "isDeprecated": false, "name": "segmentFilters", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentFilterConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Search a segment migration by its saved search ID.", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of a shop's segment migrations.", "isDeprecated": false, "name": "segmentMigrations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentMigrationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns the elements of a list by keyword or term.", "name": "search", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Returns the elements of a list by filter handle.", "name": "filterQueryName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "The list of suggested values that's associated with an individual segment.A segment is a group of members, such as customers, that meet specific criteria.", "isDeprecated": false, "name": "segmentValueSuggestions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentValueConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATION_DATE", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "SegmentSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `name`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "A list of a shop's segments.", "isDeprecated": false, "name": "segments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the SellingPlanGroup to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Selling Plan Group resource by ID.", "isDeprecated": false, "name": "sellingPlanGroup", "type": { "kind": "OBJECT", "name": "SellingPlanGroup", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "SellingPlanGroupSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `app_id`\n - Acceptable Values:\n - `CURRENT`\n - `ALL`\n - `App ID number`\n - Default Value: `CURRENT`\n - `category`\n - Acceptable Values:\n - `SUBSCRIPTION`\n - `PRE_ORDER`\n - `TRY_BEFORE_YOU_BUY`\n - `OTHER`\n - `created_at`\n - `delivery_frequency`\n - `name`\n - `percentage_off`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "List Selling Plan Groups.", "isDeprecated": false, "name": "sellingPlanGroups", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The server pixel configured by the app.", "isDeprecated": false, "name": "serverPixel", "type": { "kind": "OBJECT", "name": "ServerPixel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains\nbusiness and store management settings for the shop.\n", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's billing preferences.", "isDeprecated": false, "name": "shopBillingPreferences", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopBillingPreferences", "ofType": null } } }, { "args": [ { "defaultValue": "false", "description": "Return only published locales.", "name": "published", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of locales available on a shop.", "isDeprecated": false, "name": "shopLocales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopLocale", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Shopify Function.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "The Shopify Function.", "isDeprecated": false, "name": "shopifyFunction", "type": { "kind": "OBJECT", "name": "ShopifyFunction", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the functions by the API type.", "name": "apiType", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Filter the functions by whether or not the function uses the creation UI in the Admin.", "name": "useCreationUi", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Returns the Shopify Functions for apps installed on the shop.", "isDeprecated": false, "name": "shopifyFunctions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyFunctionConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Shopify Payments account information, including balances and payouts.", "isDeprecated": false, "name": "shopifyPaymentsAccount", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsAccount", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "A ShopifyQL query.", "name": "query", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns the results of a ShopifyQL query. Refer to the [ShopifyQL documentation](https://shopify.dev/api/shopifyql) for more information.", "isDeprecated": false, "name": "shopifyqlQuery", "type": { "kind": "INTERFACE", "name": "ShopifyqlResponse", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the staff member to return. If no ID is provided, then the staff member making the query (if any) is returned.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The StaffMember resource, by ID.", "isDeprecated": false, "name": "staffMember", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Standard metafield definitions are intended for specific, common use cases. Their namespace and keys reflect these use cases and are reserved.\n\nRefer to all available [`Standard Metafield Definition Templates`](https://shopify.dev/api/admin-graphql/latest/objects/StandardMetafieldDefinitionTemplate).\n", "isDeprecated": false, "name": "standardMetafieldDefinitionTemplates", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplateConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the SubscriptionBillingAttempt to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a SubscriptionBillingAttempt by ID.", "isDeprecated": false, "name": "subscriptionBillingAttempt", "type": { "kind": "OBJECT", "name": "SubscriptionBillingAttempt", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Input object used to select and use billing cycles.", "name": "billingCycleInput", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleInput", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a subscription billing cycle found either by cycle index or date.", "isDeprecated": false, "name": "subscriptionBillingCycle", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycle", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the subscription contract to retrieve billing cycles for.", "name": "contractId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Select subscription billing cycles within a date range.", "name": "billingCyclesDateRangeSelector", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCyclesDateRangeSelector", "ofType": null } }, { "defaultValue": null, "description": "Select subscription billing cycles within an index range.", "name": "billingCyclesIndexRangeSelector", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCyclesIndexRangeSelector", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CYCLE_INDEX", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "SubscriptionBillingCyclesSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "Returns subscription billing cycles for a contract ID.", "isDeprecated": false, "name": "subscriptionBillingCycles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycleConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Subscription Contract to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Subscription Contract resource by ID.", "isDeprecated": false, "name": "subscriptionContract", "type": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List Subscription Contracts.", "isDeprecated": false, "name": "subscriptionContracts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContractConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the Subscription Draft to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a Subscription Draft resource by ID.", "isDeprecated": false, "name": "subscriptionDraft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `point_of_sale_device_id`\n - `processed_at`\n - `test`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Returns a list of TenderTransactions associated with the shop.", "isDeprecated": false, "name": "tenderTransactions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TenderTransactionConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Find a translatable resource by ID.", "name": "resourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "A resource that can have localized values for different languages.", "isDeprecated": false, "name": "translatableResource", "type": { "kind": "OBJECT", "name": "TranslatableResource", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Return only resources of a type.", "name": "resourceType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TranslatableResourceType", "ofType": null } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Resources that can have localized values for different languages.", "isDeprecated": false, "name": "translatableResources", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslatableResourceConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Return only resources for given IDs.", "name": "resourceIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Resources that can have localized values for different languages.", "isDeprecated": false, "name": "translatableResourcesByIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslatableResourceConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the UrlRedirect to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a redirect resource by ID.", "isDeprecated": false, "name": "urlRedirect", "type": { "kind": "OBJECT", "name": "UrlRedirect", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the UrlRedirectImport to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a redirect import resource by ID.", "isDeprecated": false, "name": "urlRedirectImport", "type": { "kind": "OBJECT", "name": "UrlRedirectImport", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the shop's URL redirect saved searches.", "isDeprecated": false, "name": "urlRedirectSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "UrlRedirectSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `path`\n - `target`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "A list of redirects for a shop.", "isDeprecated": false, "name": "urlRedirects", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns a web pixel by ID.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The web pixel configured by the app.", "isDeprecated": false, "name": "webPixel", "type": { "kind": "OBJECT", "name": "WebPixel", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the WebhookSubscription to return.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a webhook subscription by ID.", "isDeprecated": false, "name": "webhookSubscription", "type": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "WebhookSubscriptionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Callback URL to filter by.", "name": "callbackUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "defaultValue": null, "description": "Response format to filter by.", "name": "format", "type": { "kind": "ENUM", "name": "WebhookSubscriptionFormat", "ofType": null } }, { "defaultValue": null, "description": "List of webhook subscription topics to filter by.", "name": "topics", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WebhookSubscriptionTopic", "ofType": null } } } } ], "deprecationReason": null, "description": "Returns a list of webhook subscriptions.", "isDeprecated": false, "name": "webhookSubscriptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WebhookSubscriptionConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "QueryRoot", "possibleTypes": null }, { "description": "The record of the line items and transactions that were refunded to a customer, along with restocking instructions for refunded line items.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the refund was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A list of the refunded duties as part of this refund.", "isDeprecated": false, "name": "duties", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundDuty", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The optional note associated with the refund.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The order associated with the refund.", "isDeprecated": false, "name": "order", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The `RefundLineItem` resources attached to the refund.", "isDeprecated": false, "name": "refundLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundLineItemConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The return associated with the refund.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The staff member who created the refund.", "isDeprecated": false, "name": "staffMember", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } }, { "args": [], "deprecationReason": "Use `totalRefundedSet` instead.", "description": "The total amount across all transactions for the refund.", "isDeprecated": true, "name": "totalRefunded", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount across all transactions for the refund, in shop and presentment currencies.", "isDeprecated": false, "name": "totalRefundedSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The transactions associated with the refund.", "isDeprecated": false, "name": "transactions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderTransactionConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the refund was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Refund", "possibleTypes": null }, { "description": "An agreement between the merchant and customer to refund all or a portion of the order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The application that created the agreement.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time at which the agreement occured.", "isDeprecated": false, "name": "happenedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the agreement.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason the agremeent was created.", "isDeprecated": false, "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderActionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The refund associated with the agreement.", "isDeprecated": false, "name": "refund", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Refund", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The sales associated with the agreement.", "isDeprecated": false, "name": "sales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member associated with the agreement.", "isDeprecated": false, "name": "user", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SalesAgreement", "ofType": null } ], "kind": "OBJECT", "name": "RefundAgreement", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Refunds.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in RefundEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Refund", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "RefundConnection", "possibleTypes": null }, { "description": "Return type for `refundCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The order associated with the created refund.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The created refund.", "isDeprecated": false, "name": "refund", "type": { "kind": "OBJECT", "name": "Refund", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "RefundCreatePayload", "possibleTypes": null }, { "description": "Represents a refunded duty.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The amount of a refunded duty in shop and presentment currencies.", "isDeprecated": false, "name": "amountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The duty associated with this refunded duty.", "isDeprecated": false, "name": "originalDuty", "type": { "kind": "OBJECT", "name": "Duty", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "RefundDuty", "possibleTypes": null }, { "description": "The input fields required to reimburse duties on a refund.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the duty in the refund.", "name": "dutyId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The type of refund for this duty.", "name": "refundType", "type": { "kind": "ENUM", "name": "RefundDutyRefundType", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "RefundDutyInput", "possibleTypes": null }, { "description": "The type of refund to perform for a particular refund duty.", "enumValues": [ { "deprecationReason": null, "description": "The duty is proportionally refunded based on the quantity of the refunded line item.", "isDeprecated": false, "name": "PROPORTIONAL" }, { "deprecationReason": null, "description": "The duty is fully refunded.", "isDeprecated": false, "name": "FULL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "RefundDutyRefundType", "possibleTypes": null }, { "description": "An auto-generated type which holds one Refund and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of RefundEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Refund", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "RefundEdge", "possibleTypes": null }, { "description": "The input fields to create a refund.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The currency that is used to refund the order. This must be the presentment currency, which is the currency used by the customer. This is a required field for orders where the currency and presentment currency differ.", "name": "currency", "type": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, { "defaultValue": null, "description": "The ID of the order that is being refunded.", "name": "orderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "An optional note that is attached to the refund.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Whether to send a refund notification to the customer.", "name": "notify", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The input fields that are required to reimburse shipping costs.", "name": "shipping", "type": { "kind": "INPUT_OBJECT", "name": "ShippingRefundInput", "ofType": null } }, { "defaultValue": null, "description": "A list of line items to refund.", "name": "refundLineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RefundLineItemInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of duties to refund.", "name": "refundDuties", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RefundDutyInput", "ofType": null } } } }, { "defaultValue": null, "description": "A list of transactions involved in the refund.", "name": "transactions", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OrderTransactionInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "RefundInput", "possibleTypes": null }, { "description": "A line item that's included in a refund.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The `LineItem` resource associated to the refunded line item.", "isDeprecated": false, "name": "lineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The inventory restock location.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": "Use `priceSet` instead.", "description": "The price of a refunded line item.", "isDeprecated": true, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price of a refunded line item in shop and presentment currencies.", "isDeprecated": false, "name": "priceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity of a refunded line item.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of restock for the refunded line item.", "isDeprecated": false, "name": "restockType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RefundLineItemRestockType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund.", "isDeprecated": false, "name": "restocked", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `subtotalSet` instead.", "description": "The subtotal price of a refunded line item.", "isDeprecated": true, "name": "subtotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subtotal price of a refunded line item in shop and presentment currencies.", "isDeprecated": false, "name": "subtotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalTaxSet` instead.", "description": "The total tax charged on a refunded line item.", "isDeprecated": true, "name": "totalTax", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total tax charged on a refunded line item in shop and presentment currencies.", "isDeprecated": false, "name": "totalTaxSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "RefundLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple RefundLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in RefundLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "RefundLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one RefundLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of RefundLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "RefundLineItemEdge", "possibleTypes": null }, { "description": "The input fields required to reimburse line items on a refund.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the line item in the refund.", "name": "lineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the associated line item to be refunded.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The type of restock for this line item.", "name": "restockType", "type": { "kind": "ENUM", "name": "RefundLineItemRestockType", "ofType": null } }, { "defaultValue": null, "description": "The intended location for restocking. If the `restockType` is set to `NO_RESTOCK`, then this value is empty.`", "name": "locationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "RefundLineItemInput", "possibleTypes": null }, { "description": "The type of restock performed for a particular refund line item.", "enumValues": [ { "deprecationReason": null, "description": "The refund line item was returned. Use this when restocking line items that were fulfilled.", "isDeprecated": false, "name": "RETURN" }, { "deprecationReason": null, "description": "The refund line item was canceled. Use this when restocking unfulfilled line items.", "isDeprecated": false, "name": "CANCEL" }, { "deprecationReason": null, "description": "Deprecated. The refund line item was restocked, without specifically beingidentified as a return or cancelation. This value is not accepted when creating new refunds.", "isDeprecated": false, "name": "LEGACY_RESTOCK" }, { "deprecationReason": null, "description": "Refund line item was not restocked.", "isDeprecated": false, "name": "NO_RESTOCK" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "RefundLineItemRestockType", "possibleTypes": null }, { "description": "The input fields for the shipping cost to refund.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The input fields required to refund shipping cost, in the presentment currency of the order.\nThis overrides the `fullRefund` argument.\n", "name": "shippingRefundAmount", "type": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, { "defaultValue": "false", "description": "Whether to refund the full shipping amount.", "name": "fullRefund", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "RefundShippingInput", "possibleTypes": null }, { "description": "The input fields for a remote Authorize.net customer payment profile.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The customerProfileId value from the Authorize.net API.\n", "name": "customerProfileId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The customerPaymentProfileId value from the Authorize.net API.\n", "name": "customerPaymentProfileId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "RemoteAuthorizeNetCustomerPaymentProfileInput", "possibleTypes": null }, { "description": "The input fields for a remote Braintree customer payment profile.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The `customer_id` value from the Braintree API.\n", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The `payment_method_token` value from the Braintree API.\n", "name": "paymentMethodToken", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "RemoteBraintreePaymentMethodInput", "possibleTypes": null }, { "description": "The input fields for a remote stripe payment method.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The customer_id value from the Stripe API.\n", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The payment_method_id value from the Stripe API.\n", "name": "paymentMethodId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "RemoteStripePaymentMethodInput", "possibleTypes": null }, { "description": "An alert message that appears in the Shopify admin about a problem with a store resource, with 1 or more actions to take. For example, you could use an alert to indicate that you're not charging taxes on some product variants.\nThey can optionally have a specific icon and be dismissed by merchants.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Buttons in the alert that link to related information.\nFor example, _Edit variants_.\n", "isDeprecated": false, "name": "actions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourceAlertAction", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The secondary text in the alert that includes further information or instructions about how to solve a problem.\n", "isDeprecated": false, "name": "content", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Unique identifier that appears when an alert is manually closed by the merchant.\nMost alerts cannot be manually closed.\n", "isDeprecated": false, "name": "dismissibleHandle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "An icon that is optionally displayed with the alert.", "isDeprecated": false, "name": "icon", "type": { "kind": "ENUM", "name": "ResourceAlertIcon", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Indication of how important the alert is.", "isDeprecated": false, "name": "severity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ResourceAlertSeverity", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The primary text in the alert that includes information or describes the problem.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourceAlert", "possibleTypes": null }, { "description": "An action associated to a resource alert, such as editing variants.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the action appears as a button or as a link.", "isDeprecated": false, "name": "primary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Resource for the action to show.", "isDeprecated": false, "name": "show", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The text for the button in the alert. For example, _Edit variants_.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The target URL that the button links to.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourceAlertAction", "possibleTypes": null }, { "description": "The available icons for resource alerts.", "enumValues": [ { "deprecationReason": null, "description": "A checkmark inside a circle.", "isDeprecated": false, "name": "CHECKMARK_CIRCLE" }, { "deprecationReason": null, "description": "A lowercase `i` inside a circle.", "isDeprecated": false, "name": "INFORMATION_CIRCLE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ResourceAlertIcon", "possibleTypes": null }, { "description": "The possible severity levels for a resource alert.", "enumValues": [ { "deprecationReason": null, "description": "Indicates a neutral alert. For example, an accepted dispute.", "isDeprecated": false, "name": "DEFAULT" }, { "deprecationReason": null, "description": "Indicates an informative alert. For example, an escalated dispute.", "isDeprecated": false, "name": "INFO" }, { "deprecationReason": null, "description": "Indicates an informative alert. For example, a new dispute.", "isDeprecated": false, "name": "WARNING" }, { "deprecationReason": null, "description": "Indicates a success alert. For example, a winning a dispute.", "isDeprecated": false, "name": "SUCCESS" }, { "deprecationReason": null, "description": "Indicates a critical alert. For example, a blocked app.", "isDeprecated": false, "name": "CRITICAL" }, { "deprecationReason": "`ERROR` severity is being deprecated in favour of `WARNING` or `CRITICAL` instead.", "description": null, "isDeprecated": true, "name": "ERROR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ResourceAlertSeverity", "possibleTypes": null }, { "description": "Represents feedback from apps about a resource, and the steps required to set up the apps on the shop.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `details` instead.", "description": "Feedback from an app about the steps a merchant needs to take to set up the app on their store.", "isDeprecated": true, "name": "appFeedback", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppFeedback", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "List of AppFeedback detailing issues regarding a resource.", "isDeprecated": false, "name": "details", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppFeedback", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Summary of resource feedback pertaining to the resource.", "isDeprecated": false, "name": "summary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourceFeedback", "possibleTypes": null }, { "description": "The input fields for a resource feedback object.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The date and time when the feedback was generated. Used to help determine whether\nincoming feedback is outdated compared to existing feedback.\n", "name": "feedbackGeneratedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "defaultValue": null, "description": "If the feedback state is `requires_action`, then you can send a string message that communicates the action to be taken by the merchant.\nThe string must be a single message up to 100 characters long and must end with a period.\nYou need to adhere to the message formatting rules or your requests will fail:\n- `[Explanation of the problem]. [Suggested action].`\n\n**Examples:**\n- `[Your app name]` is not connected. Connect your account to use this sales channel. `[Learn more]`\n- `[Your app name]` is not configured. Agree to the terms and conditions to use this app. `[Learn more]`\nBoth `Your app name` and `Learn more` (a button which directs merchants to your app) are automatically populated in the Shopify admin.\n", "name": "messages", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The state of the feedback and whether it requires merchant action.", "name": "state", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ResourceFeedbackState", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ResourceFeedbackCreateInput", "possibleTypes": null }, { "description": "The state of the resource feedback.", "enumValues": [ { "deprecationReason": null, "description": "No action required from merchant.", "isDeprecated": false, "name": "ACCEPTED" }, { "deprecationReason": null, "description": "The merchant needs to resolve an issue with the resource.", "isDeprecated": false, "name": "REQUIRES_ACTION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ResourceFeedbackState", "possibleTypes": null }, { "description": "A resource limit represents the limits that the resource has.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the resource is available.", "isDeprecated": false, "name": "available", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Quantity available. If null the quantity available is unlimited.", "isDeprecated": false, "name": "quantityAvailable", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Quantity limit of the resource. If null the quantity is unlimited.", "isDeprecated": false, "name": "quantityLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Quantity used of the resource. If null the quantity used cannot be retrieved.", "isDeprecated": false, "name": "quantityUsed", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourceLimit", "possibleTypes": null }, { "description": "Represents a merchandising background operation interface.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The count of processed rows, summing imported, failed, and skipped rows.", "isDeprecated": false, "name": "processedRowCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Represents a rows objects within this background operation.", "isDeprecated": false, "name": "rowCount", "type": { "kind": "OBJECT", "name": "RowCount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The status of this operation.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ResourceOperationStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "ResourceOperation", "possibleTypes": [ { "kind": "OBJECT", "name": "AddAllProductsOperation", "ofType": null }, { "kind": "OBJECT", "name": "CatalogCsvOperation", "ofType": null }, { "kind": "OBJECT", "name": "PublicationResourceOperation", "ofType": null } ] }, { "description": "Represents the state of this catalog operation.", "enumValues": [ { "deprecationReason": null, "description": "Operation has been created.", "isDeprecated": false, "name": "CREATED" }, { "deprecationReason": null, "description": "Operation is currently running.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "Operation is complete.", "isDeprecated": false, "name": "COMPLETE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ResourceOperationStatus", "possibleTypes": null }, { "description": "A resource publication represents information about the publication of a resource.\nAn instance of `ResourcePublication`, unlike `ResourcePublicationV2`, can be neither published or scheduled to be published.\n\nSee [ResourcePublicationV2](/api/admin-graphql/latest/objects/ResourcePublicationV2) for more context.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `publication` instead.", "description": "The channel the resource publication is published to.", "isDeprecated": true, "name": "channel", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Channel", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the resource publication is published. Also returns true if the resource publication is scheduled to be published.\nIf false, then the resource publication is neither published nor scheduled to be published.\n", "isDeprecated": false, "name": "isPublished", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The publication the resource publication is published to.", "isDeprecated": false, "name": "publication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Publication", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date that the resource publication was or is going to be published to the publication.\nIf the product isn't published, then this field returns an epoch timestamp.\n", "isDeprecated": false, "name": "publishDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The resource published to the publication.", "isDeprecated": false, "name": "publishable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Publishable", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourcePublication", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ResourcePublications.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ResourcePublicationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublication", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourcePublicationConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ResourcePublication and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ResourcePublicationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublication", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourcePublicationEdge", "possibleTypes": null }, { "description": "A resource publication represents information about the publication of a resource.\nUnlike `ResourcePublication`, an instance of `ResourcePublicationV2` can't be unpublished. It must either be published or scheduled to be published.\n\nSee [ResourcePublication](/api/admin-graphql/latest/objects/ResourcePublication) for more context.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the resource publication is published. If true, then the resource publication is published to the publication.\nIf false, then the resource publication is staged to be published to the publication.\n", "isDeprecated": false, "name": "isPublished", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The publication the resource publication is published to.", "isDeprecated": false, "name": "publication", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Publication", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date that the resource publication was or is going to be published to the publication.", "isDeprecated": false, "name": "publishDate", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The resource published to the publication.", "isDeprecated": false, "name": "publishable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Publishable", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourcePublicationV2", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ResourcePublicationV2s.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationV2Edge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ResourcePublicationV2Edge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationV2", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourcePublicationV2Connection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ResourcePublicationV2 and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ResourcePublicationV2Edge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourcePublicationV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ResourcePublicationV2Edge", "possibleTypes": null }, { "description": "Represents a return.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Additional information about the declined return.", "isDeprecated": false, "name": "decline", "type": { "kind": "OBJECT", "name": "ReturnDecline", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the return.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order that the return belongs to.", "isDeprecated": false, "name": "order", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of refunds associated with the return.", "isDeprecated": false, "name": "refunds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The return line items attached to the return.", "isDeprecated": false, "name": "returnLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnLineItemConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of reverse fulfillment orders for the return.", "isDeprecated": false, "name": "reverseFulfillmentOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the return.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReturnStatus", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The line items from the return to include in the refund.", "name": "returnRefundLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnRefundLineItemInput", "ofType": null } } } } }, { "defaultValue": null, "description": "The shipping amount from the associated order to include in the refund.", "name": "refundShipping", "type": { "kind": "INPUT_OBJECT", "name": "RefundShippingInput", "ofType": null } }, { "defaultValue": null, "description": "The duties from to associated order to include in the refund.", "name": "refundDuties", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RefundDutyInput", "ofType": null } } } } ], "deprecationReason": null, "description": "A suggested refund for the return.", "isDeprecated": false, "name": "suggestedRefund", "type": { "kind": "OBJECT", "name": "SuggestedReturnRefund", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The sum of all line item quantities for the return.", "isDeprecated": false, "name": "totalQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Return", "possibleTypes": null }, { "description": "The input fields for approving a customer's return request.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the return that's being approved.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnApproveRequestInput", "possibleTypes": null }, { "description": "Return type for `returnApproveRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The approved return.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnApproveRequestPayload", "possibleTypes": null }, { "description": "Return type for `returnCancel` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The canceled return.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnCancelPayload", "possibleTypes": null }, { "description": "Return type for `returnClose` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The closed return.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnClosePayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Returns.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ReturnEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Return", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnConnection", "possibleTypes": null }, { "description": "Return type for `returnCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created return.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnCreatePayload", "possibleTypes": null }, { "description": "Additional information about why a merchant declined the customer's return request.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The notification message sent to the customer about their declined return request.\nMaximum length: 500 characters.\n", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The reason the customer's return request was declined.", "isDeprecated": false, "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReturnDeclineReason", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnDecline", "possibleTypes": null }, { "description": "The reason why the merchant declined a customer's return request.", "enumValues": [ { "deprecationReason": null, "description": "The return period has ended.", "isDeprecated": false, "name": "RETURN_PERIOD_ENDED" }, { "deprecationReason": null, "description": "The return contains final sale items.", "isDeprecated": false, "name": "FINAL_SALE" }, { "deprecationReason": null, "description": "The return is declined for another reason.", "isDeprecated": false, "name": "OTHER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ReturnDeclineReason", "possibleTypes": null }, { "description": "The input fields for declining a customer's return request.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the return that's being declined.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The reason why the merchant declined the customer's return request.", "name": "declineReason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReturnDeclineReason", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnDeclineRequestInput", "possibleTypes": null }, { "description": "Return type for `returnDeclineRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The declined return.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnDeclineRequestPayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Return and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ReturnEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Return", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnEdge", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ReturnUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Unexpected internal error happened.", "isDeprecated": false, "name": "INTERNAL_ERROR" }, { "deprecationReason": null, "description": "Too many arguments provided.", "isDeprecated": false, "name": "TOO_MANY_ARGUMENTS" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value should be equal to the value allowed.", "isDeprecated": false, "name": "EQUAL_TO" }, { "deprecationReason": null, "description": "The input value should be greater than the minimum allowed value.", "isDeprecated": false, "name": "GREATER_THAN" }, { "deprecationReason": null, "description": "The input value should be greater than or equal to the minimum value allowed.", "isDeprecated": false, "name": "GREATER_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value should be less than the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN" }, { "deprecationReason": null, "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value is not a number.", "isDeprecated": false, "name": "NOT_A_NUMBER" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too big.", "isDeprecated": false, "name": "TOO_BIG" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The input value is the wrong length.", "isDeprecated": false, "name": "WRONG_LENGTH" }, { "deprecationReason": null, "description": "The requested resource already exists.", "isDeprecated": false, "name": "ALREADY_EXISTS" }, { "deprecationReason": null, "description": "A requested resource could not be created.", "isDeprecated": false, "name": "CREATION_FAILED" }, { "deprecationReason": null, "description": "A required feature is not enabled.", "isDeprecated": false, "name": "FEATURE_NOT_ENABLED" }, { "deprecationReason": null, "description": "A resource was not in the correct state for the operation to succeed.", "isDeprecated": false, "name": "INVALID_STATE" }, { "deprecationReason": null, "description": "A requested notification could not be sent.", "isDeprecated": false, "name": "NOTIFICATION_FAILED" }, { "deprecationReason": null, "description": "A requested item is not editable.", "isDeprecated": false, "name": "NOT_EDITABLE" }, { "deprecationReason": null, "description": "A requested item could not be found.", "isDeprecated": false, "name": "NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ReturnErrorCode", "possibleTypes": null }, { "description": "The input fields for a return.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the order to be returned.", "name": "orderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The return line items list to be handled.", "name": "returnLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnLineItemInput", "ofType": null } } } } }, { "defaultValue": "false", "description": "When `true` the customer will receive a notification if there is an `Order.email` present.", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The UTC date and time when the return was first solicited by the customer.", "name": "requestedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnInput", "possibleTypes": null }, { "description": "A return line item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A note from the customer that describes the item to be returned. Maximum length: 300 characters.", "isDeprecated": false, "name": "customerNote", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The fulfillment line item from which items are returned.", "isDeprecated": false, "name": "fulfillmentLineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity being returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity that can be refunded.", "isDeprecated": false, "name": "refundableQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity that was refunded.", "isDeprecated": false, "name": "refundedQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason for returning the item.", "isDeprecated": false, "name": "returnReason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReturnReason", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Additional information about the reason for the return. Maximum length: 255 characters.", "isDeprecated": false, "name": "returnReasonNote", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total weight of the item.", "isDeprecated": false, "name": "totalWeight", "type": { "kind": "OBJECT", "name": "Weight", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The total line price after all discounts on the line item, including both line item level discounts and code-based line item discounts, are applied.", "isDeprecated": false, "name": "withCodeDiscountedTotalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ReturnLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ReturnLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ReturnLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ReturnLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ReturnLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnLineItemEdge", "possibleTypes": null }, { "description": "The input fields for a return line item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the fulfillment line item to be returned.\nSpecifically, this field expects a `FulfillmentLineItem.id`.\n", "name": "fulfillmentLineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the item to be returned.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The reason for the item to be returned.", "name": "returnReason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReturnReason", "ofType": null } } }, { "defaultValue": "\"\"", "description": "A note about the reason that the item is being returned.\nA note can be provided only if the return reason is `OTHER`.\nMaximum length: 255 characters.\n", "name": "returnReasonNote", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnLineItemInput", "possibleTypes": null }, { "description": "The reason for returning the return line item.", "enumValues": [ { "deprecationReason": null, "description": "The item is returned because the size was too small.", "isDeprecated": false, "name": "SIZE_TOO_SMALL" }, { "deprecationReason": null, "description": "The item is returned because the size was too large.", "isDeprecated": false, "name": "SIZE_TOO_LARGE" }, { "deprecationReason": null, "description": "The item is returned because the customer changed their mind.", "isDeprecated": false, "name": "UNWANTED" }, { "deprecationReason": null, "description": "The item is returned because it was not as described.", "isDeprecated": false, "name": "NOT_AS_DESCRIBED" }, { "deprecationReason": null, "description": "The item is returned because the customer received the wrong one.", "isDeprecated": false, "name": "WRONG_ITEM" }, { "deprecationReason": null, "description": "The item is returned because it is damaged or defective.", "isDeprecated": false, "name": "DEFECTIVE" }, { "deprecationReason": null, "description": "The item is returned because the buyer did not like the style.", "isDeprecated": false, "name": "STYLE" }, { "deprecationReason": null, "description": "The item is returned because the buyer did not like the color.", "isDeprecated": false, "name": "COLOR" }, { "deprecationReason": null, "description": "The item is returned for another reason. For this value, a return reason note is also provided.", "isDeprecated": false, "name": "OTHER" }, { "deprecationReason": null, "description": "The item is returned because of an unknown reason.", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ReturnReason", "possibleTypes": null }, { "description": "The input fields to refund a return.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the return.", "name": "returnId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A list of return line items to refund.", "name": "returnRefundLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnRefundLineItemInput", "ofType": null } } } } }, { "defaultValue": null, "description": "The shipping amount to refund.", "name": "refundShipping", "type": { "kind": "INPUT_OBJECT", "name": "RefundShippingInput", "ofType": null } }, { "defaultValue": null, "description": "A list of duties to refund.", "name": "refundDuties", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RefundDutyInput", "ofType": null } } } }, { "defaultValue": "[]", "description": "A list of transactions involved in refunding the return.", "name": "orderTransactions", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnRefundOrderTransactionInput", "ofType": null } } } }, { "defaultValue": "false", "description": "Whether to send a refund notification to the customer.", "name": "notifyCustomer", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnRefundInput", "possibleTypes": null }, { "description": "The input fields for a return refund line item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the return line item to be refunded.", "name": "returnLineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the return line item to be refunded.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnRefundLineItemInput", "possibleTypes": null }, { "description": "The input fields to create order transactions when refunding a return.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The amount of money for the transaction in the presentment currency of the order.", "name": "transactionAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the parent order transaction. The transaction must be of kind `CAPTURE` or a `SALE`.", "name": "parentId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnRefundOrderTransactionInput", "possibleTypes": null }, { "description": "Return type for `returnRefund` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created refund.", "isDeprecated": false, "name": "refund", "type": { "kind": "OBJECT", "name": "Refund", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnRefundPayload", "possibleTypes": null }, { "description": "Return type for `returnReopen` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The reopened return.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnReopenPayload", "possibleTypes": null }, { "description": "The input fields for requesting a return.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the order that's being returned.", "name": "orderId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The line items that are being handled in the return.", "name": "returnLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReturnRequestLineItemInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnRequestInput", "possibleTypes": null }, { "description": "The input fields for a return line item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the fulfillment line item to be returned.\nSpecifically, this field expects a `FulfillmentLineItem.id`.\n", "name": "fulfillmentLineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the item that's being returned.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The reason why the line item is being returned.", "name": "returnReason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReturnReason", "ofType": null } } }, { "defaultValue": null, "description": "A note from the customer that describes the item to be returned.\nFor example, the note can communicate issues with the item to the merchant.\nMaximum length: 300 characters.\n", "name": "customerNote", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReturnRequestLineItemInput", "possibleTypes": null }, { "description": "Return type for `returnRequest` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The requested return.", "isDeprecated": false, "name": "return", "type": { "kind": "OBJECT", "name": "Return", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnRequestPayload", "possibleTypes": null }, { "description": "The status of a return.", "enumValues": [ { "deprecationReason": null, "description": "The return has been canceled.", "isDeprecated": false, "name": "CANCELED" }, { "deprecationReason": null, "description": "The return has been completed.", "isDeprecated": false, "name": "CLOSED" }, { "deprecationReason": null, "description": "The return is in progress.", "isDeprecated": false, "name": "OPEN" }, { "deprecationReason": null, "description": "The return was requested.", "isDeprecated": false, "name": "REQUESTED" }, { "deprecationReason": null, "description": "The return was declined.", "isDeprecated": false, "name": "DECLINED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ReturnStatus", "possibleTypes": null }, { "description": "An error that occurs during the execution of a return mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ReturnErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ReturnUserError", "possibleTypes": null }, { "description": "A returnable fulfillment, which is an order that has been delivered\nand is eligible to be returned to the merchant.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment that the returnable fulfillment refers to.", "isDeprecated": false, "name": "fulfillment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID of the Returnable Fulfillment.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of returnable fulfillment line items.", "isDeprecated": false, "name": "returnableFulfillmentLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnableFulfillmentLineItemConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ReturnableFulfillment", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ReturnableFulfillments.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnableFulfillmentEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ReturnableFulfillmentEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnableFulfillment", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnableFulfillmentConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ReturnableFulfillment and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ReturnableFulfillmentEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnableFulfillment", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnableFulfillmentEdge", "possibleTypes": null }, { "description": "A returnable fulfillment line item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fulfillment line item that can be returned.", "isDeprecated": false, "name": "fulfillmentLineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The quantity available to be returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnableFulfillmentLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ReturnableFulfillmentLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnableFulfillmentLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ReturnableFulfillmentLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnableFulfillmentLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnableFulfillmentLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ReturnableFulfillmentLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ReturnableFulfillmentLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnableFulfillmentLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReturnableFulfillmentLineItemEdge", "possibleTypes": null }, { "description": "A reverse delivery is a post-fulfillment object that represents a buyer sending a package to a merchant.\nFor example, a buyer requests a return, and a merchant sends the buyer a shipping label.\nThe reverse delivery contains the context of the items sent back, how they're being sent back\n(for example, a shipping label), and the current state of the delivery (tracking information).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The deliverable associated with the reverse delivery.", "isDeprecated": false, "name": "deliverable", "type": { "kind": "UNION", "name": "ReverseDeliveryDeliverable", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the reverse delivery.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The reverse delivery line items attached to the reverse delivery.", "isDeprecated": false, "name": "reverseDeliveryLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDeliveryLineItemConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The `ReverseFulfillmentOrder` associated with the reverse delivery.", "isDeprecated": false, "name": "reverseFulfillmentOrder", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrder", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ReverseDelivery", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ReverseDeliveries.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDeliveryEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ReverseDeliveryEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDelivery", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryConnection", "possibleTypes": null }, { "description": "Return type for `reverseDeliveryCreateWithShipping` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created reverse delivery.", "isDeprecated": false, "name": "reverseDelivery", "type": { "kind": "OBJECT", "name": "ReverseDelivery", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryCreateWithShippingPayload", "possibleTypes": null }, { "description": "The delivery method and artifacts associated with a reverse delivery.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "ReverseDeliveryDeliverable", "possibleTypes": [ { "kind": "OBJECT", "name": "ReverseDeliveryShippingDeliverable", "ofType": null } ] }, { "description": "The input fields to dispose a reverse delivery line item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the reverse delivery line item.", "name": "reverseDeliveryLineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the reverse delivery line item to dispose.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The final arrangement for the reverse delivery line item.", "name": "dispositionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReverseFulfillmentOrderDispositionType", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the location where the reverse delivery line item is to be disposed. This is required\n when the disposition type is RESTOCKED.", "name": "locationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReverseDeliveryDisposeInput", "possibleTypes": null }, { "description": "Return type for `reverseDeliveryDispose` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The disposed reverse delivery line items.", "isDeprecated": false, "name": "reverseDeliveryLineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDeliveryLineItem", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryDisposePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one ReverseDelivery and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ReverseDeliveryEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDelivery", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryEdge", "possibleTypes": null }, { "description": "The input fields for a reverse label.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The URL of the label file. If a label file was uploaded to be attached to the delivery, then provide the temporary staged URL.", "name": "fileUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReverseDeliveryLabelInput", "possibleTypes": null }, { "description": "The return label file information for a reverse delivery.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the reverse delivery label was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A public link that can be used to download the label image.", "isDeprecated": false, "name": "publicFileUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the reverse delivery label was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryLabelV2", "possibleTypes": null }, { "description": "The details about a reverse delivery line item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The dispositions of the item.", "isDeprecated": false, "name": "dispositions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderDisposition", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The expected number of units.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The corresponding reverse fulfillment order line item.", "isDeprecated": false, "name": "reverseFulfillmentOrderLineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ReverseDeliveryLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ReverseDeliveryLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDeliveryLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ReverseDeliveryLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDeliveryLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ReverseDeliveryLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ReverseDeliveryLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDeliveryLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryLineItemEdge", "possibleTypes": null }, { "description": "The input fields for a reverse delivery line item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the related reverse fulfillment order line item.", "name": "reverseFulfillmentOrderLineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the item to be included in the delivery.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReverseDeliveryLineItemInput", "possibleTypes": null }, { "description": "A reverse shipping deliverable that may include a label and tracking information.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The return label attached to the reverse delivery.", "isDeprecated": false, "name": "label", "type": { "kind": "OBJECT", "name": "ReverseDeliveryLabelV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The information to track the reverse delivery.", "isDeprecated": false, "name": "tracking", "type": { "kind": "OBJECT", "name": "ReverseDeliveryTrackingV2", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryShippingDeliverable", "possibleTypes": null }, { "description": "Return type for `reverseDeliveryShippingUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated reverse delivery.", "isDeprecated": false, "name": "reverseDelivery", "type": { "kind": "OBJECT", "name": "ReverseDelivery", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryShippingUpdatePayload", "possibleTypes": null }, { "description": "The input fields for tracking information about a return delivery.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The tracking number for the label.", "name": "number", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The tracking URL for the carrier. If the carrier isn't supported by Shopify, then provide the tracking URL of the delivery.", "name": "url", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReverseDeliveryTrackingInput", "possibleTypes": null }, { "description": "Represents the information used to track a reverse delivery.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The provider of the tracking information, in a human-readable format for display purposes.", "isDeprecated": false, "name": "carrierName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The identifier used by the courier to identify the shipment.", "isDeprecated": false, "name": "number", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL to track a shipment.", "isDeprecated": false, "name": "url", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseDeliveryTrackingV2", "possibleTypes": null }, { "description": "A group of one or more items in a return that will be processed at a fulfillment service.\nThere can be more than one reverse fulfillment order for a return at a given location.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of reverse fulfillment order line items for the reverse fulfillment order.", "isDeprecated": false, "name": "lineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItemConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order associated with the reverse fulfillment order.", "isDeprecated": false, "name": "order", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of reverse deliveries for the reverse fulfillment order.", "isDeprecated": false, "name": "reverseDeliveries", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseDeliveryConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the reverse fulfillment order.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReverseFulfillmentOrderStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current confirmation for the reverse fulfillment order from a third-party logistics service. \nIf no third-party service is involved, then this value is `nil`.\n", "isDeprecated": false, "name": "thirdPartyConfirmation", "type": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderThirdPartyConfirmation", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ReverseFulfillmentOrder", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ReverseFulfillmentOrders.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ReverseFulfillmentOrderEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrder", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseFulfillmentOrderConnection", "possibleTypes": null }, { "description": "The input fields to dispose a reverse fulfillment order line item.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the reverse fulfillment order line item.", "name": "reverseFulfillmentOrderLineItemId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the reverse fulfillment order line item to dispose.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the location where the reverse fulfillment order line item is to be disposed.\n This is required when the disposition type is RESTOCKED.", "name": "locationId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The final arrangement for the reverse fulfillment order line item.", "name": "dispositionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReverseFulfillmentOrderDispositionType", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ReverseFulfillmentOrderDisposeInput", "possibleTypes": null }, { "description": "Return type for `reverseFulfillmentOrderDispose` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The disposed reverse fulfillment order line items.", "isDeprecated": false, "name": "reverseFulfillmentOrderLineItems", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItem", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReturnUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseFulfillmentOrderDisposePayload", "possibleTypes": null }, { "description": "The details of the arrangement of an item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The location where the disposition occurred.", "isDeprecated": false, "name": "location", "type": { "kind": "OBJECT", "name": "Location", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of disposed units.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The final arrangement of an item.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReverseFulfillmentOrderDispositionType", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ReverseFulfillmentOrderDisposition", "possibleTypes": null }, { "description": "The final arrangement of an item from a reverse fulfillment order.", "enumValues": [ { "deprecationReason": null, "description": "An item that was restocked.", "isDeprecated": false, "name": "RESTOCKED" }, { "deprecationReason": null, "description": "An item that requires further processing before being restocked or discarded.", "isDeprecated": false, "name": "PROCESSING_REQUIRED" }, { "deprecationReason": null, "description": "An item that wasn't restocked.", "isDeprecated": false, "name": "NOT_RESTOCKED" }, { "deprecationReason": null, "description": "An item that was expected but absent.", "isDeprecated": false, "name": "MISSING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ReverseFulfillmentOrderDispositionType", "possibleTypes": null }, { "description": "An auto-generated type which holds one ReverseFulfillmentOrder and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ReverseFulfillmentOrderEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrder", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseFulfillmentOrderEdge", "possibleTypes": null }, { "description": "The details about a reverse fulfillment order line item.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The dispositions of the item.", "isDeprecated": false, "name": "dispositions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderDisposition", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The corresponding fulfillment line item for a reverse fulfillment order line item.", "isDeprecated": false, "name": "fulfillmentLineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total number of units to be processed.", "isDeprecated": false, "name": "totalQuantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItem", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ReverseFulfillmentOrderLineItems.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItemEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ReverseFulfillmentOrderLineItemEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItemConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ReverseFulfillmentOrderLineItem and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ReverseFulfillmentOrderLineItemEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItem", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseFulfillmentOrderLineItemEdge", "possibleTypes": null }, { "description": "The status of a reverse fulfillment order.", "enumValues": [ { "deprecationReason": null, "description": "The reverse fulfillment order has been canceled.", "isDeprecated": false, "name": "CANCELED" }, { "deprecationReason": null, "description": "The reverse fulfillment order has been completed.", "isDeprecated": false, "name": "CLOSED" }, { "deprecationReason": null, "description": "The reverse fulfillment order is in progress.", "isDeprecated": false, "name": "OPEN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ReverseFulfillmentOrderStatus", "possibleTypes": null }, { "description": "The third-party confirmation of a reverse fulfillment order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The status of the reverse fulfillment order third-party confirmation.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReverseFulfillmentOrderThirdPartyConfirmationStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ReverseFulfillmentOrderThirdPartyConfirmation", "possibleTypes": null }, { "description": "The status of a reverse fulfillment order third-party confirmation.", "enumValues": [ { "deprecationReason": null, "description": "The reverse fulfillment order was accepted by the fulfillment service.", "isDeprecated": false, "name": "ACCEPTED" }, { "deprecationReason": null, "description": "The reverse fulfillment order cancelation was accepted by the fulfillment service.", "isDeprecated": false, "name": "CANCEL_ACCEPTED" }, { "deprecationReason": null, "description": "The reverse fulfillment order cancelation was rejected by the fulfillment service.", "isDeprecated": false, "name": "CANCEL_REJECTED" }, { "deprecationReason": null, "description": "The reverse fulfillment order is awaiting acceptance by the fulfillment service.", "isDeprecated": false, "name": "PENDING_ACCEPTANCE" }, { "deprecationReason": null, "description": "The reverse fulfillment order is awaiting cancelation by the fulfillment service.", "isDeprecated": false, "name": "PENDING_CANCELATION" }, { "deprecationReason": null, "description": "The reverse fulfillment order was rejected by the fulfillment service.", "isDeprecated": false, "name": "REJECTED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ReverseFulfillmentOrderThirdPartyConfirmationStatus", "possibleTypes": null }, { "description": "A row count represents rows on background operation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Estimated number of rows contained within this background operation.", "isDeprecated": false, "name": "count", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the operation exceeds max number of reportable rows.", "isDeprecated": false, "name": "exceedsMax", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "RowCount", "possibleTypes": null }, { "description": "SEO information.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "SEO Description.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "SEO Title.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SEO", "possibleTypes": null }, { "description": "The input fields for SEO information.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "SEO title of the product.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "SEO description of the product.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SEOInput", "possibleTypes": null }, { "description": "An individual sale record associated with a sales agreement. Every money value in an order's sales data is represented in the currency's smallest unit. When amounts are divided across multiple line items, such as taxes or order discounts, the amounts might not divide evenly across all of the line items on the order. To address this, the remaining currency units that couldn't be divided evenly are allocated one at a time, starting with the first line item, until they are all accounted for. In aggregate, the values sum up correctly. In isolation, one line item might have a different tax or discount amount than another line item of the same price, before taxes and discounts. This is because the amount could not be divided evenly across the items. The allocation of currency units across line items is immutable. After they are allocated, currency units are never reallocated or redistributed among the line items.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of order action that the sale represents.", "isDeprecated": false, "name": "actionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleActionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the sale.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line type assocated with the sale.", "isDeprecated": false, "name": "lineType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleLineType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units either ordered or intended to be returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "All individual taxes associated with the sale.", "isDeprecated": false, "name": "taxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleTax", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total sale amount after taxes and discounts.", "isDeprecated": false, "name": "totalAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale after taxes.", "isDeprecated": false, "name": "totalDiscountAmountAfterTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale before taxes.", "isDeprecated": false, "name": "totalDiscountAmountBeforeTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the sale.", "isDeprecated": false, "name": "totalTaxAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "Sale", "possibleTypes": [ { "kind": "OBJECT", "name": "AdjustmentSale", "ofType": null }, { "kind": "OBJECT", "name": "DutySale", "ofType": null }, { "kind": "OBJECT", "name": "GiftCardSale", "ofType": null }, { "kind": "OBJECT", "name": "ProductSale", "ofType": null }, { "kind": "OBJECT", "name": "ShippingLineSale", "ofType": null }, { "kind": "OBJECT", "name": "TipSale", "ofType": null } ] }, { "description": "The possible order action types for a sale.", "enumValues": [ { "deprecationReason": null, "description": "A purchase or charge.", "isDeprecated": false, "name": "ORDER" }, { "deprecationReason": null, "description": "A removal or return.", "isDeprecated": false, "name": "RETURN" }, { "deprecationReason": null, "description": "A change to the price, taxes, or discounts for a prior purchase.", "isDeprecated": false, "name": "UPDATE" }, { "deprecationReason": null, "description": "An unknown order action. Represents new actions that may be added in future versions.", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SaleActionType", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Sales.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SaleEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Sale", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SaleConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one Sale and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SaleEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Sale", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SaleEdge", "possibleTypes": null }, { "description": "The possible line types for a sale record. One of the possible order line types for a sale is an adjustment. Sales adjustments occur when a refund is issued for a line item that is either more or less than the total value of the line item. Examples are restocking fees and goodwill payments. When this happens, Shopify produces a sales agreement with sale records for each line item that is returned or refunded and an additional sale record for the adjustment (for example, a restocking fee). The sales records for the returned or refunded items represent the reversal of the original line item sale value. The additional adjustment sale record represents the difference between the original total value of all line items that were refunded, and the actual amount refunded.", "enumValues": [ { "deprecationReason": null, "description": "A product purchased, returned or exchanged.", "isDeprecated": false, "name": "PRODUCT" }, { "deprecationReason": null, "description": "A tip added by the customer.", "isDeprecated": false, "name": "TIP" }, { "deprecationReason": null, "description": "A gift card.", "isDeprecated": false, "name": "GIFT_CARD" }, { "deprecationReason": null, "description": "A shipping cost.", "isDeprecated": false, "name": "SHIPPING" }, { "deprecationReason": null, "description": "A duty charge.", "isDeprecated": false, "name": "DUTY" }, { "deprecationReason": null, "description": "An unknown sale line. Represents new types that may be added in future versions.", "isDeprecated": false, "name": "UNKNOWN" }, { "deprecationReason": null, "description": "A sale adjustment.", "isDeprecated": false, "name": "ADJUSTMENT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SaleLineType", "possibleTypes": null }, { "description": "The tax allocated to a sale from a single tax line.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The portion of the total tax amount on the related sale that comes from the associated tax line.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the sale tax.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The tax line associated with the sale.", "isDeprecated": false, "name": "taxLine", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SaleTax", "possibleTypes": null }, { "description": "A contract between a merchant and a customer to do business. Shopify creates a sales agreement whenever an order is placed, edited, or refunded. A sales agreement has one or more sales records, which provide itemized details about the initial agreement or subsequent changes made to the order. For example, when a customer places an order, Shopify creates the order, generates a sales agreement, and records a sale for each line item purchased in the order. A sale record is specific to a type of order line. Order lines can represent different things such as a purchased product, a tip added by a customer, shipping costs collected at checkout, and more.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The application that created the agreement.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time at which the agreement occured.", "isDeprecated": false, "name": "happenedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the agreement.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason the agremeent was created.", "isDeprecated": false, "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderActionType", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The sales associated with the agreement.", "isDeprecated": false, "name": "sales", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member associated with the agreement.", "isDeprecated": false, "name": "user", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "SalesAgreement", "possibleTypes": [ { "kind": "OBJECT", "name": "OrderAgreement", "ofType": null }, { "kind": "OBJECT", "name": "OrderEditAgreement", "ofType": null }, { "kind": "OBJECT", "name": "RefundAgreement", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple SalesAgreements.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SalesAgreementEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SalesAgreementEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "SalesAgreement", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SalesAgreementConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one SalesAgreement and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SalesAgreementEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "SalesAgreement", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SalesAgreementEdge", "possibleTypes": null }, { "description": "A saved search is a representation of a search query saved in the admin.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The filters of a saved search.", "isDeprecated": false, "name": "filters", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SearchFilter", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of a saved search.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query string of a saved search. This includes search terms and filters.", "isDeprecated": false, "name": "query", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of resource this saved search is searching in.", "isDeprecated": false, "name": "resourceType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SearchResultType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The search terms of a saved search.", "isDeprecated": false, "name": "searchTerms", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "SavedSearch", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SavedSearches.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SavedSearchEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearch", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SavedSearchConnection", "possibleTypes": null }, { "description": "The input fields to create a saved search.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The type of resource this saved search is searching in.", "name": "resourceType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SearchResultType", "ofType": null } } }, { "defaultValue": null, "description": "A descriptive name of the saved search.", "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The query string of a saved search. This includes search terms and filters.", "name": "query", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SavedSearchCreateInput", "possibleTypes": null }, { "description": "Return type for `savedSearchCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The saved search that was created.", "isDeprecated": false, "name": "savedSearch", "type": { "kind": "OBJECT", "name": "SavedSearch", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SavedSearchCreatePayload", "possibleTypes": null }, { "description": "The input fields to delete a saved search.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the saved search to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SavedSearchDeleteInput", "possibleTypes": null }, { "description": "Return type for `savedSearchDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The id of the saved search that was deleted.", "isDeprecated": false, "name": "deletedSavedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shop of the saved search that was deleted.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SavedSearchDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one SavedSearch and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SavedSearchEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearch", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SavedSearchEdge", "possibleTypes": null }, { "description": "The input fields to update a saved search.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the saved search to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "A descriptive name of the saved search.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The query string of a saved search. This included search terms and filters.", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SavedSearchUpdateInput", "possibleTypes": null }, { "description": "Return type for `savedSearchUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The saved search that was updated.", "isDeprecated": false, "name": "savedSearch", "type": { "kind": "OBJECT", "name": "SavedSearch", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SavedSearchUpdatePayload", "possibleTypes": null }, { "description": "Script discount applications capture the intentions of a discount that\nwas created by a Shopify Script for an order's line item or shipping line.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The method by which the discount's value is applied to its entitled items.", "isDeprecated": false, "name": "allocationMethod", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } } }, { "args": [], "deprecationReason": "Use `title` instead.", "description": "The description of the application as defined by the Script.", "isDeprecated": true, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.\n", "isDeprecated": false, "name": "index", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How the discount amount is distributed on the discounted lines.", "isDeprecated": false, "name": "targetSelection", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the discount is applied on line items or shipping lines.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title of the application as defined by the Script.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the discount application.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } ], "kind": "OBJECT", "name": "ScriptDiscountApplication", "possibleTypes": null }, { "description": "

Theme app extensions

\n

Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only vintage themes. Learn more.

\n\n\nA script tag represents remote JavaScript code that is loaded into the pages of a shop's storefront or the order status page of checkout.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the Shopify CDN can cache and serve the script tag.\nIf `true`, then the script will be cached and served by the CDN.\nThe cache expires 15 minutes after the script tag is successfully returned.\nIf `false`, then the script will be served as is.\n", "isDeprecated": false, "name": "cache", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the script tag was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The page or pages on the online store that the script should be included.", "isDeprecated": false, "name": "displayScope", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ScriptTagDisplayScope", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL to the remote script.", "isDeprecated": false, "name": "src", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the script tag was last updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ScriptTag", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ScriptTags.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ScriptTagEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ScriptTagEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ScriptTag", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ScriptTagConnection", "possibleTypes": null }, { "description": "Return type for `scriptTagCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The script tag that was created.", "isDeprecated": false, "name": "scriptTag", "type": { "kind": "OBJECT", "name": "ScriptTag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ScriptTagCreatePayload", "possibleTypes": null }, { "description": "Return type for `scriptTagDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted script tag.", "isDeprecated": false, "name": "deletedScriptTagId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ScriptTagDeletePayload", "possibleTypes": null }, { "description": "The page or pages on the online store where the script should be included.\n", "enumValues": [ { "deprecationReason": null, "description": "Include the script on both the web storefront and the order status page.", "isDeprecated": false, "name": "ALL" }, { "deprecationReason": null, "description": "Include the script only on the order status page.", "isDeprecated": false, "name": "ORDER_STATUS" }, { "deprecationReason": null, "description": "Include the script only on the web storefront.", "isDeprecated": false, "name": "ONLINE_STORE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ScriptTagDisplayScope", "possibleTypes": null }, { "description": "An auto-generated type which holds one ScriptTag and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ScriptTagEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ScriptTag", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ScriptTagEdge", "possibleTypes": null }, { "description": "The input fields for a script tag. This input object is used when creating or updating\na script tag to specify its URL, where it should be included, and how it will be cached.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The URL of the remote script. For example: `https://example.com/path/to/script.js`.", "name": "src", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "defaultValue": null, "description": "The page or pages on the online store where the script should be included.", "name": "displayScope", "type": { "kind": "ENUM", "name": "ScriptTagDisplayScope", "ofType": null } }, { "defaultValue": "false", "description": "Whether the Shopify CDN can cache and serve the script tag.\nIf `true`, then the script will be cached and served by the CDN.\nThe cache expires 15 minutes after the script tag is successfully returned.\nIf `false`, then the script is served as is.\nThe default value is `false`.\n", "name": "cache", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ScriptTagInput", "possibleTypes": null }, { "description": "Return type for `scriptTagUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The script tag that was updated.", "isDeprecated": false, "name": "scriptTag", "type": { "kind": "OBJECT", "name": "ScriptTag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ScriptTagUpdatePayload", "possibleTypes": null }, { "description": "A filter in a search query represented by a key value pair.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The key of the search filter.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the search filter.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SearchFilter", "possibleTypes": null }, { "description": "A list of search filters along with their specific options in value and label pair for filtering.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of options that can be use to filter product availability.", "isDeprecated": false, "name": "productAvailability", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FilterOption", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SearchFilterOptions", "possibleTypes": null }, { "description": "Represents an individual result returned from a search.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Returns the search result description text.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Returns the Image resource presented to accompany a search result.", "isDeprecated": false, "name": "image", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Returns the ID of the resource returned in the search result.", "isDeprecated": false, "name": "reference", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Node", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Returns the resource title.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Returns the absolute URL to the resource in the search result.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SearchResult", "possibleTypes": null }, { "description": "The connection type for SearchResult.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SearchResultEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } }, { "args": [], "deprecationReason": "The provided information is not accurate.", "description": "Information to aid in pagination.", "isDeprecated": true, "name": "resultsAfterCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SearchResultConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one SearchResult and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SearchResultEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SearchResult", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SearchResultEdge", "possibleTypes": null }, { "description": "Specifies the type of resources to be returned from a search.", "enumValues": [ { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "CUSTOMER" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "DRAFT_ORDER" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "PRODUCT" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "COLLECTION" }, { "deprecationReason": null, "description": "A file.", "isDeprecated": false, "name": "FILE" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "ONLINE_STORE_PAGE" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "ONLINE_STORE_BLOG" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "ONLINE_STORE_ARTICLE" }, { "deprecationReason": null, "description": "A URL redirect.", "isDeprecated": false, "name": "URL_REDIRECT" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "PRICE_RULE" }, { "deprecationReason": null, "description": "A code discount redeem code.", "isDeprecated": false, "name": "DISCOUNT_REDEEM_CODE" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "ORDER" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SearchResultType", "possibleTypes": null }, { "description": "A dynamic collection of customers based on specific criteria.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the segment was added to the store.", "isDeprecated": false, "name": "creationDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the segment was last updated.", "isDeprecated": false, "name": "lastEditDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the segment.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers.", "isDeprecated": false, "name": "query", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Segment", "possibleTypes": null }, { "description": "A filter that takes a value that's associated with an object. For example, the `tags` field is associated with the [`Customer`](/api/admin-graphql/latest/objects/Customer) object.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } ], "kind": "OBJECT", "name": "SegmentAssociationFilter", "possibleTypes": null }, { "description": "The statistics of a given attribute.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The average of a given attribute.", "isDeprecated": false, "name": "average", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of a given attribute.", "isDeprecated": false, "name": "sum", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentAttributeStatistics", "possibleTypes": null }, { "description": "A filter with a Boolean value that's been added to a segment query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } ], "kind": "OBJECT", "name": "SegmentBooleanFilter", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple Segments.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SegmentEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Segment", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentConnection", "possibleTypes": null }, { "description": "Return type for `segmentCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The newly created segment.", "isDeprecated": false, "name": "segment", "type": { "kind": "OBJECT", "name": "Segment", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentCreatePayload", "possibleTypes": null }, { "description": "A filter with a date value that's been added to a segment query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } ], "kind": "OBJECT", "name": "SegmentDateFilter", "possibleTypes": null }, { "description": "Return type for `segmentDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "ID of the deleted segment.", "isDeprecated": false, "name": "deletedSegmentId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one Segment and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SegmentEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Segment", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentEdge", "possibleTypes": null }, { "description": "A filter with a set of possible values that's been added to a segment query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } ], "kind": "OBJECT", "name": "SegmentEnumFilter", "possibleTypes": null }, { "description": "A filter that's used to segment customers based on the date that an event occured. For example, the `product_bought` event filter allows you to segment customers based on what products they've bought.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The parameters for an event segment filter.", "isDeprecated": false, "name": "parameters", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentEventFilterParameter", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The return value type for an event segment filter.", "isDeprecated": false, "name": "returnValueType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } ], "kind": "OBJECT", "name": "SegmentEventFilter", "possibleTypes": null }, { "description": "The parameters for an event segment filter.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized description of the parameter.", "isDeprecated": false, "name": "localizedDescription", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The localized name of the parameter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the parameter is optional.", "isDeprecated": false, "name": "optional", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of the parameter.", "isDeprecated": false, "name": "parameterType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the parameter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentEventFilterParameter", "possibleTypes": null }, { "description": "The filters used in segment queries associated with a shop.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "SegmentFilter", "possibleTypes": [ { "kind": "OBJECT", "name": "SegmentAssociationFilter", "ofType": null }, { "kind": "OBJECT", "name": "SegmentBooleanFilter", "ofType": null }, { "kind": "OBJECT", "name": "SegmentDateFilter", "ofType": null }, { "kind": "OBJECT", "name": "SegmentEnumFilter", "ofType": null }, { "kind": "OBJECT", "name": "SegmentEventFilter", "ofType": null }, { "kind": "OBJECT", "name": "SegmentFloatFilter", "ofType": null }, { "kind": "OBJECT", "name": "SegmentIntegerFilter", "ofType": null }, { "kind": "OBJECT", "name": "SegmentStringFilter", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple SegmentFilters.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentFilterEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SegmentFilterEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentFilterConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one SegmentFilter and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SegmentFilterEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentFilterEdge", "possibleTypes": null }, { "description": "A filter with a double-precision, floating-point value that's been added to a segment query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } ], "kind": "OBJECT", "name": "SegmentFloatFilter", "possibleTypes": null }, { "description": "A filter with an integer that's been added to a segment query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } ], "kind": "OBJECT", "name": "SegmentIntegerFilter", "possibleTypes": null }, { "description": "The response type for the `segmentMembership` object.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A Boolean that indicates whether or not the customer in the query is a member of the segment, which is identified using the `segmentId`.", "isDeprecated": false, "name": "isMember", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A `segmentId` that is used for testing membership.", "isDeprecated": false, "name": "segmentId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentMembership", "possibleTypes": null }, { "description": "A list of maps that contain `segmentId` IDs and `isMember` Booleans. The maps represent segment memberships.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The membership status for the given list of segments.", "isDeprecated": false, "name": "memberships", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentMembership", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentMembershipResponse", "possibleTypes": null }, { "description": "A segment and its corresponding saved search. \nFor example, you can use `SegmentMigration` to retrieve the segment ID that corresponds to a saved search ID.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the saved search.", "isDeprecated": false, "name": "savedSearchId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the segment.", "isDeprecated": false, "name": "segmentId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentMigration", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SegmentMigrations.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentMigrationEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SegmentMigrationEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentMigration", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentMigrationConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one SegmentMigration and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SegmentMigrationEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentMigration", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentMigrationEdge", "possibleTypes": null }, { "description": "The set of valid sort keys for the Segment query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `creation_date` value.", "isDeprecated": false, "name": "CREATION_DATE" }, { "deprecationReason": null, "description": "Sort by the `last_edit_date` value.", "isDeprecated": false, "name": "LAST_EDIT_DATE" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SegmentSortKeys", "possibleTypes": null }, { "description": "The statistics of a given segment.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": null, "description": "The attribute that statistics are retrieved for.", "name": "attributeName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "The statistics of a given attribute.", "isDeprecated": false, "name": "attributeStatistics", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentAttributeStatistics", "ofType": null } } }, { "args": [], "deprecationReason": "Use CustomerSegmentMemberConnection.totalCount instead.", "description": "The total number of members in a given segment.", "isDeprecated": true, "name": "totalCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentStatistics", "possibleTypes": null }, { "description": "A filter with a string that's been added to a segment query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized name of the filter.", "isDeprecated": false, "name": "localizedName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a file can have multiple values for a single customer.", "isDeprecated": false, "name": "multiValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The query name of the filter.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SegmentFilter", "ofType": null } ], "kind": "OBJECT", "name": "SegmentStringFilter", "possibleTypes": null }, { "description": "Return type for `segmentUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated segment.", "isDeprecated": false, "name": "segment", "type": { "kind": "OBJECT", "name": "Segment", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentUpdatePayload", "possibleTypes": null }, { "description": "A list of suggested values associated with an individual segment. A\nsegment is a group of members, such as customers, that meet specific\ncriteria.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The localized version of the value's name. This name is displayed to the merchant.", "isDeprecated": false, "name": "localizedValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the query associated with the suggestion.", "isDeprecated": false, "name": "queryName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentValue", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SegmentValues.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentValueEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SegmentValueEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentValue", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentValueConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one SegmentValue and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SegmentValueEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SegmentValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SegmentValueEdge", "possibleTypes": null }, { "description": "Properties used by customers to select a product variant.\nProducts can have multiple options, like different sizes or colors.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product option’s name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product option’s value.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SelectedOption", "possibleTypes": null }, { "description": "Represents how a product can be sold and purchased. Selling plans and associated records (selling plan groups\nand policies) are deleted 48 hours after a merchant uninstalls their subscriptions app. We recommend backing\nup these records if you need to restore them later.\n\nFor more information on selling plans, refer to\n[*Creating and managing selling plans*](https://shopify.dev/docs/apps/selling-strategies/subscriptions/selling-plans).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A selling plan policy which describes the recurring billing details.", "isDeprecated": false, "name": "billingPolicy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SellingPlanBillingPolicy", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The category used to classify the selling plan for reporting purposes.", "isDeprecated": false, "name": "category", "type": { "kind": "ENUM", "name": "SellingPlanCategory", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the selling plan was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A selling plan policy which describes the delivery details.", "isDeprecated": false, "name": "deliveryPolicy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SellingPlanDeliveryPolicy", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Buyer facing string which describes the selling plan commitment.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "When to reserve inventory for a selling plan.", "isDeprecated": false, "name": "inventoryPolicy", "type": { "kind": "OBJECT", "name": "SellingPlanInventoryPolicy", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A customer-facing description of the selling plan.\n\nIf your store supports multiple currencies, then don't include country-specific pricing content, such as \"Buy monthly, get 10$ CAD off\". This field won't be converted to reflect different currencies.\n", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.", "isDeprecated": false, "name": "options", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Relative position of the selling plan for display. A lower position will be displayed before a higher position.", "isDeprecated": false, "name": "position", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Selling plan pricing details.", "isDeprecated": false, "name": "pricingPolicies", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SellingPlanPricingPolicy", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "SellingPlan", "possibleTypes": null }, { "description": "Represents a selling plan policy anchor.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The cutoff day for the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is MONTHDAY, then the value must be between 1-31.\n\nIf `type` is YEARDAY, then the value must be `null`.\n", "isDeprecated": false, "name": "cutoffDay", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is not WEEKDAY, then the value must be between 1-31.\n", "isDeprecated": false, "name": "day", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The month of the anchor. If type is different than YEARDAY, then the value must\nbe `null` or between 1-12.\n", "isDeprecated": false, "name": "month", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.\n", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanAnchorType", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanAnchor", "possibleTypes": null }, { "description": "The input fields required to create or update a selling plan anchor.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Represents the anchor type, must be one of WEEKDAY, MONTHDAY, YEARDAY.\n", "name": "type", "type": { "kind": "ENUM", "name": "SellingPlanAnchorType", "ofType": null } }, { "defaultValue": null, "description": "The day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is not WEEKDAY, then the value must be between 1-31.\n", "name": "day", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The month of the anchor. If type is different than YEARDAY, then the value must\nbe `null` or between 1-12.\n", "name": "month", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The cutoff day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is MONTHDAY, then the value must be between 1-31.\n\nIf `type` is YEARDAY, then the value must be `null`.\n\nThis field should only be set if the cutoff field for the delivery policy is `null`.\n", "name": "cutoffDay", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanAnchorInput", "possibleTypes": null }, { "description": "Represents the anchor type.", "enumValues": [ { "deprecationReason": null, "description": "Which day of the week, between 1-7.", "isDeprecated": false, "name": "WEEKDAY" }, { "deprecationReason": null, "description": "Which day of the month, between 1-31.", "isDeprecated": false, "name": "MONTHDAY" }, { "deprecationReason": null, "description": "Which days of the month and year, month between 1-12, and day between 1-31.", "isDeprecated": false, "name": "YEARDAY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanAnchorType", "possibleTypes": null }, { "description": "Represents the billing frequency associated to the selling plan (for example, bill every week, or bill every\nthree months). The selling plan billing policy and associated records (selling plan groups, selling plans, pricing\npolicies, and delivery policy) are deleted 48 hours after a merchant uninstalls their subscriptions app.\nWe recommend backing up these records if you need to restore them later.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SellingPlanBillingPolicy", "possibleTypes": [ { "kind": "OBJECT", "name": "SellingPlanFixedBillingPolicy", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlanRecurringBillingPolicy", "ofType": null } ] }, { "description": "The input fields that are required to create or update a billing policy type.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The fixed billing policy details.", "name": "fixed", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanFixedBillingPolicyInput", "ofType": null } }, { "defaultValue": null, "description": "The recurring billing policy details.", "name": "recurring", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanRecurringBillingPolicyInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanBillingPolicyInput", "possibleTypes": null }, { "description": "The category of the selling plan. For the `OTHER` category,\n you must fill out our [request form](https://docs.google.com/forms/d/e/1FAIpQLSeU18Xmw0Q61V8wdH-dfGafFqIBfRchQKUO8WAF3yJTvgyyZQ/viewform),\n where we'll review your request for a new purchase option.", "enumValues": [ { "deprecationReason": null, "description": "The selling plan is for anything not in one of the other categories.", "isDeprecated": false, "name": "OTHER" }, { "deprecationReason": null, "description": "The selling plan is for pre-orders.", "isDeprecated": false, "name": "PRE_ORDER" }, { "deprecationReason": null, "description": "The selling plan is for subscriptions.", "isDeprecated": false, "name": "SUBSCRIPTION" }, { "deprecationReason": null, "description": "The selling plan is for try before you buy purchases.", "isDeprecated": false, "name": "TRY_BEFORE_YOU_BUY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanCategory", "possibleTypes": null }, { "description": "The amount charged at checkout when the full amount isn't charged at checkout.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The charge type for the checkout charge.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanCheckoutChargeType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The charge value for the checkout charge.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SellingPlanCheckoutChargeValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanCheckoutCharge", "possibleTypes": null }, { "description": "The input fields that are required to create or update a checkout charge.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The checkout charge type defined by the policy.", "name": "type", "type": { "kind": "ENUM", "name": "SellingPlanCheckoutChargeType", "ofType": null } }, { "defaultValue": null, "description": "The checkout charge value defined by the policy.", "name": "value", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanCheckoutChargeValueInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanCheckoutChargeInput", "possibleTypes": null }, { "description": "The percentage value of the price used for checkout charge.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The percentage value of the price used for checkout charge.", "isDeprecated": false, "name": "percentage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanCheckoutChargePercentageValue", "possibleTypes": null }, { "description": "The checkout charge when the full amount isn't charged at checkout.", "enumValues": [ { "deprecationReason": null, "description": "The checkout charge is a percentage of the product or variant price.", "isDeprecated": false, "name": "PERCENTAGE" }, { "deprecationReason": null, "description": "The checkout charge is a fixed price amount.", "isDeprecated": false, "name": "PRICE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanCheckoutChargeType", "possibleTypes": null }, { "description": "The portion of the price to be charged at checkout.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SellingPlanCheckoutChargeValue", "possibleTypes": [ { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlanCheckoutChargePercentageValue", "ofType": null } ] }, { "description": "The input fields required to create or update an checkout charge value.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The percentage value.", "name": "percentage", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The fixed value for an checkout charge.", "name": "fixedValue", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanCheckoutChargeValueInput", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SellingPlans.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SellingPlanEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlan", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanConnection", "possibleTypes": null }, { "description": "Represents the delivery frequency associated to the selling plan (for example, deliver every month, or deliver\nevery other week). The selling plan delivery policy and associated records (selling plan groups, selling plans,\npricing policies, and billing policy) are deleted 48 hours after a merchant uninstalls their subscriptions app.\nWe recommend backing up these records if you need to restore them later.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SellingPlanDeliveryPolicy", "possibleTypes": [ { "kind": "OBJECT", "name": "SellingPlanFixedDeliveryPolicy", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlanRecurringDeliveryPolicy", "ofType": null } ] }, { "description": "The input fields that are required to create or update a delivery policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The fixed delivery policy details.", "name": "fixed", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanFixedDeliveryPolicyInput", "ofType": null } }, { "defaultValue": null, "description": "The recurring delivery policy details.", "name": "recurring", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanRecurringDeliveryPolicyInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanDeliveryPolicyInput", "possibleTypes": null }, { "description": "An auto-generated type which holds one SellingPlan and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SellingPlanEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlan", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanEdge", "possibleTypes": null }, { "description": "The fixed selling plan billing policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The checkout charge when the full amount isn't charged at checkout.", "isDeprecated": false, "name": "checkoutCharge", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanCheckoutCharge", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The exact time when to capture the full payment.", "isDeprecated": false, "name": "remainingBalanceChargeExactTime", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.\n", "isDeprecated": false, "name": "remainingBalanceChargeTimeAfterCheckout", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "When to capture payment for amount due.", "isDeprecated": false, "name": "remainingBalanceChargeTrigger", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanRemainingBalanceChargeTrigger", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanFixedBillingPolicy", "possibleTypes": null }, { "description": "The input fields required to create or update a fixed billing policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "When to capture the payment for the amount due.", "name": "remainingBalanceChargeTrigger", "type": { "kind": "ENUM", "name": "SellingPlanRemainingBalanceChargeTrigger", "ofType": null } }, { "defaultValue": null, "description": "The date and time to capture the full payment.", "name": "remainingBalanceChargeExactTime", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The period after capturing the payment for the amount due (`remainingBalanceChargeTrigger`), and before capturing the full payment. Expressed as an ISO8601 duration.", "name": "remainingBalanceChargeTimeAfterCheckout", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The checkout charge policy for the selling plan.", "name": "checkoutCharge", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanCheckoutChargeInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanFixedBillingPolicyInput", "possibleTypes": null }, { "description": "Represents a fixed selling plan delivery policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The specific anchor dates upon which the delivery interval calculations should be made.", "isDeprecated": false, "name": "anchors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanAnchor", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A buffer period for orders to be included in next fulfillment anchor.", "isDeprecated": false, "name": "cutoff", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the fulfillment should trigger.", "isDeprecated": false, "name": "fulfillmentExactTime", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.", "isDeprecated": false, "name": "fulfillmentTrigger", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanFulfillmentTrigger", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the delivery policy is merchant or buyer-centric.\nBuyer-centric delivery policies state the time when the buyer will receive the goods.\nMerchant-centric delivery policies state the time when the fulfillment should be started.\nCurrently, only merchant-centric delivery policies are supported.\n", "isDeprecated": false, "name": "intent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanFixedDeliveryPolicyIntent", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`.", "isDeprecated": false, "name": "preAnchorBehavior", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanFixedDeliveryPolicyPreAnchorBehavior", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanFixedDeliveryPolicy", "possibleTypes": null }, { "description": "The input fields required to create or update a fixed delivery policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The specific anchor dates upon which the delivery interval calculations should be made.", "name": "anchors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanAnchorInput", "ofType": null } } } }, { "defaultValue": null, "description": "What triggers the fulfillment.", "name": "fulfillmentTrigger", "type": { "kind": "ENUM", "name": "SellingPlanFulfillmentTrigger", "ofType": null } }, { "defaultValue": null, "description": "The date and time when the fulfillment should trigger.", "name": "fulfillmentExactTime", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "A buffer period for orders to be included in a cycle.", "name": "cutoff", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Whether the delivery policy is merchant or buyer-centric.", "name": "intent", "type": { "kind": "ENUM", "name": "SellingPlanFixedDeliveryPolicyIntent", "ofType": null } }, { "defaultValue": null, "description": "The pre-anchor behavior.", "name": "preAnchorBehavior", "type": { "kind": "ENUM", "name": "SellingPlanFixedDeliveryPolicyPreAnchorBehavior", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanFixedDeliveryPolicyInput", "possibleTypes": null }, { "description": "Possible intentions of a Delivery Policy.", "enumValues": [ { "deprecationReason": null, "description": "A merchant-centric delivery policy. Mark this delivery policy to define when the merchant should start fulfillment.\n", "isDeprecated": false, "name": "FULFILLMENT_BEGIN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanFixedDeliveryPolicyIntent", "possibleTypes": null }, { "description": "The fulfillment or delivery behavior of the first fulfillment when the orderis placed before the anchor.", "enumValues": [ { "deprecationReason": null, "description": "Orders placed can be fulfilled / delivered immediately. Orders placed inside a cutoff can be fulfilled / delivered at the next anchor.\n", "isDeprecated": false, "name": "ASAP" }, { "deprecationReason": null, "description": "Orders placed can be fulfilled / delivered at the next anchor date.\nOrders placed inside a cutoff will skip the next anchor and can be fulfilled /\ndelivered at the following anchor.\n", "isDeprecated": false, "name": "NEXT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanFixedDeliveryPolicyPreAnchorBehavior", "possibleTypes": null }, { "description": "Represents a fixed selling plan pricing policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The price adjustment type.", "isDeprecated": false, "name": "adjustmentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanPricingPolicyAdjustmentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price adjustment value.", "isDeprecated": false, "name": "adjustmentValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SellingPlanPricingPolicyAdjustmentValue", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the fixed selling plan pricing policy was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SellingPlanPricingPolicyBase", "ofType": null } ], "kind": "OBJECT", "name": "SellingPlanFixedPricingPolicy", "possibleTypes": null }, { "description": "The input fields required to create or update a fixed selling plan pricing policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the pricing policy.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Price adjustment type defined by the policy.", "name": "adjustmentType", "type": { "kind": "ENUM", "name": "SellingPlanPricingPolicyAdjustmentType", "ofType": null } }, { "defaultValue": null, "description": "Price adjustment value defined by the policy.", "name": "adjustmentValue", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanPricingPolicyValueInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanFixedPricingPolicyInput", "possibleTypes": null }, { "description": "Describes what triggers fulfillment.", "enumValues": [ { "deprecationReason": null, "description": "Use the anchor values to calculate fulfillment date.", "isDeprecated": false, "name": "ANCHOR" }, { "deprecationReason": null, "description": "As soon as possible.", "isDeprecated": false, "name": "ASAP" }, { "deprecationReason": null, "description": "At an exact time defined by the fulfillment_exact_time field.", "isDeprecated": false, "name": "EXACT_TIME" }, { "deprecationReason": null, "description": "Unknown. Usually to be determined in the future.", "isDeprecated": false, "name": "UNKNOWN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanFulfillmentTrigger", "possibleTypes": null }, { "description": "Represents a selling method (for example, \"Subscribe and save\" or \"Pre-paid\"). Selling plan groups\nand associated records (selling plans and policies) are deleted 48 hours after a merchant\nuninstalls their subscriptions app. We recommend backing up these records if you need to restore them later.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID for app, exposed in Liquid and product JSON.", "isDeprecated": false, "name": "appId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The ID of the product.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether the given product is directly associated to the selling plan group.", "isDeprecated": false, "name": "appliesToProduct", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the product.", "name": "productVariantId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether the given product variant is directly associated to the selling plan group.", "isDeprecated": false, "name": "appliesToProductVariant", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the product.", "name": "productId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "deprecationReason": null, "description": "Whether any of the product variants of the given product are associated to the selling plan group.\n", "isDeprecated": false, "name": "appliesToProductVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the selling plan group was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The merchant-facing description of the selling plan group.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The merchant-facing label of the selling plan group.", "isDeprecated": false, "name": "merchantCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The buyer-facing label of the selling plan group.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they are created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.", "isDeprecated": false, "name": "options", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The relative position of the selling plan group for display.", "isDeprecated": false, "name": "position", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A count of products associated to the selling plan group.", "isDeprecated": false, "name": "productCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The ID of the product to scope the count to.", "name": "productId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "A count of product variants associated to the selling plan group.", "isDeprecated": false, "name": "productVariantCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters the product variants by a product ID.", "name": "productId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Product variants associated to the selling plan group.", "isDeprecated": false, "name": "productVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Products associated to the selling plan group.", "isDeprecated": false, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "Selling plans associated to the selling plan group.", "isDeprecated": false, "name": "sellingPlans", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A summary of the policies associated to the selling plan group.", "isDeprecated": false, "name": "summary", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "SellingPlanGroup", "possibleTypes": null }, { "description": "Return type for `sellingPlanGroupAddProductVariants` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated selling plan group.", "isDeprecated": false, "name": "sellingPlanGroup", "type": { "kind": "OBJECT", "name": "SellingPlanGroup", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupAddProductVariantsPayload", "possibleTypes": null }, { "description": "Return type for `sellingPlanGroupAddProducts` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated selling plan group.", "isDeprecated": false, "name": "sellingPlanGroup", "type": { "kind": "OBJECT", "name": "SellingPlanGroup", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupAddProductsPayload", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SellingPlanGroups.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SellingPlanGroupEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroup", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupConnection", "possibleTypes": null }, { "description": "Return type for `sellingPlanGroupCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created selling plan group object.", "isDeprecated": false, "name": "sellingPlanGroup", "type": { "kind": "OBJECT", "name": "SellingPlanGroup", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupCreatePayload", "possibleTypes": null }, { "description": "Return type for `sellingPlanGroupDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The id of the deleted selling plan group object.", "isDeprecated": false, "name": "deletedSellingPlanGroupId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one SellingPlanGroup and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SellingPlanGroupEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroup", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupEdge", "possibleTypes": null }, { "description": "The input fields required to create or update a selling plan group.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Buyer facing label of the selling plan group.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "ID for app, exposed in Liquid and product JSON.", "name": "appId", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Merchant facing label of the selling plan group.", "name": "merchantCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Merchant facing description of the selling plan group.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of selling plans to create.", "name": "sellingPlansToCreate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanInput", "ofType": null } } } }, { "defaultValue": null, "description": "List of selling plans to update.", "name": "sellingPlansToUpdate", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanInput", "ofType": null } } } }, { "defaultValue": null, "description": "List of selling plans ids to delete.", "name": "sellingPlansToDelete", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they are created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.", "name": "options", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Relative value for display purposes of the selling plan group. A lower position will be displayed before a higher one.", "name": "position", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanGroupInput", "possibleTypes": null }, { "description": "Return type for `sellingPlanGroupRemoveProductVariants` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The removed product variant ids.", "isDeprecated": false, "name": "removedProductVariantIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupRemoveProductVariantsPayload", "possibleTypes": null }, { "description": "Return type for `sellingPlanGroupRemoveProducts` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The removed product ids.", "isDeprecated": false, "name": "removedProductIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupRemoveProductsPayload", "possibleTypes": null }, { "description": "The input fields for resource association with a Selling Plan Group.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The IDs of the Variants to add to the Selling Plan Group.", "name": "productVariantIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The IDs of the Products to add to the Selling Plan Group.", "name": "productIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanGroupResourceInput", "possibleTypes": null }, { "description": "The set of valid sort keys for the SellingPlanGroup query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `name` value.", "isDeprecated": false, "name": "NAME" }, { "deprecationReason": null, "description": "Sort by the `updated_at` value.", "isDeprecated": false, "name": "UPDATED_AT" }, { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanGroupSortKeys", "possibleTypes": null }, { "description": "Return type for `sellingPlanGroupUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The IDs of the deleted Subscription Plans.", "isDeprecated": false, "name": "deletedSellingPlanIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The updated Selling Plan Group.", "isDeprecated": false, "name": "sellingPlanGroup", "type": { "kind": "OBJECT", "name": "SellingPlanGroup", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanGroupUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanGroupUpdatePayload", "possibleTypes": null }, { "description": "Represents a selling plan group custom error.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "SellingPlanGroupUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "SellingPlanGroupUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `SellingPlanGroupUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value should be equal to the value allowed.", "isDeprecated": false, "name": "EQUAL_TO" }, { "deprecationReason": null, "description": "The input value should be greater than the minimum allowed value.", "isDeprecated": false, "name": "GREATER_THAN" }, { "deprecationReason": null, "description": "The input value should be greater than or equal to the minimum value allowed.", "isDeprecated": false, "name": "GREATER_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value isn't included in the list.", "isDeprecated": false, "name": "INCLUSION" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value should be less than the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN" }, { "deprecationReason": null, "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value is not a number.", "isDeprecated": false, "name": "NOT_A_NUMBER" }, { "deprecationReason": null, "description": "The record with the ID used as the input value couldn't be found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The input value is too big.", "isDeprecated": false, "name": "TOO_BIG" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" }, { "deprecationReason": null, "description": "The input value is the wrong length.", "isDeprecated": false, "name": "WRONG_LENGTH" }, { "deprecationReason": null, "description": "Exceeded the selling plan limit (31).", "isDeprecated": false, "name": "SELLING_PLAN_COUNT_UPPER_BOUND" }, { "deprecationReason": null, "description": "Must include at least one selling plan.", "isDeprecated": false, "name": "SELLING_PLAN_COUNT_LOWER_BOUND" }, { "deprecationReason": null, "description": "Selling plan's billing policy max cycles must be greater than min cycles.", "isDeprecated": false, "name": "SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES" }, { "deprecationReason": null, "description": "Selling plan's billing and delivery policies anchors must be equal.", "isDeprecated": false, "name": "SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL" }, { "deprecationReason": null, "description": "Selling plan's billing cycle must be a multiple of delivery cycle.", "isDeprecated": false, "name": "SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE" }, { "deprecationReason": null, "description": "Selling plan's pricing policies must contain one fixed pricing policy.", "isDeprecated": false, "name": "SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY" }, { "deprecationReason": null, "description": "Cannot define option2 on this selling plan as there's no label on the parent selling plan group.", "isDeprecated": false, "name": "SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP" }, { "deprecationReason": null, "description": "Cannot define option3 on this selling plan as there's no label on the parent selling plan group.", "isDeprecated": false, "name": "SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP" }, { "deprecationReason": null, "description": "Selling plan's option2 is required because option2 exists.", "isDeprecated": false, "name": "SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP" }, { "deprecationReason": null, "description": "Selling plan's option3 is required because option3 exists.", "isDeprecated": false, "name": "SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP" }, { "deprecationReason": null, "description": "Selling plans can't have more than 2 pricing policies.", "isDeprecated": false, "name": "SELLING_PLAN_PRICING_POLICIES_LIMIT" }, { "deprecationReason": null, "description": "The selling plan list provided contains 1 or more invalid IDs.", "isDeprecated": false, "name": "RESOURCE_LIST_CONTAINS_INVALID_IDS" }, { "deprecationReason": null, "description": "Product variant does not exist.", "isDeprecated": false, "name": "PRODUCT_VARIANT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Product does not exist.", "isDeprecated": false, "name": "PRODUCT_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Selling plan group does not exist.", "isDeprecated": false, "name": "GROUP_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Selling plan group could not be deleted.", "isDeprecated": false, "name": "GROUP_COULD_NOT_BE_DELETED" }, { "deprecationReason": null, "description": "Could not add the resource to the selling plan group.", "isDeprecated": false, "name": "ERROR_ADDING_RESOURCE_TO_GROUP" }, { "deprecationReason": null, "description": "Missing delivery policy.", "isDeprecated": false, "name": "SELLING_PLAN_DELIVERY_POLICY_MISSING" }, { "deprecationReason": null, "description": "Missing billing policy.", "isDeprecated": false, "name": "SELLING_PLAN_BILLING_POLICY_MISSING" }, { "deprecationReason": null, "description": "Selling plan does not exist.", "isDeprecated": false, "name": "PLAN_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Selling plan ID must be specified to update.", "isDeprecated": false, "name": "PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE" }, { "deprecationReason": null, "description": "Only one billing policy type can be defined.", "isDeprecated": false, "name": "ONLY_NEED_ONE_BILLING_POLICY_TYPE" }, { "deprecationReason": null, "description": "Only one delivery policy type can be defined.", "isDeprecated": false, "name": "ONLY_NEED_ONE_DELIVERY_POLICY_TYPE" }, { "deprecationReason": null, "description": "Only one pricing policy type can be defined.", "isDeprecated": false, "name": "ONLY_NEED_ONE_PRICING_POLICY_TYPE" }, { "deprecationReason": null, "description": "Billing and delivery policy types must be the same.", "isDeprecated": false, "name": "BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME" }, { "deprecationReason": null, "description": "Only one pricing policy adjustment value type can be defined.", "isDeprecated": false, "name": "ONLY_NEED_ONE_PRICING_POLICY_VALUE" }, { "deprecationReason": null, "description": "Pricing policy's adjustment value and adjustment type must match.", "isDeprecated": false, "name": "PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH" }, { "deprecationReason": null, "description": "Cannot have multiple selling plans with the same name.", "isDeprecated": false, "name": "SELLING_PLAN_DUPLICATE_NAME" }, { "deprecationReason": null, "description": "Cannot have multiple selling plans with the same options.", "isDeprecated": false, "name": "SELLING_PLAN_DUPLICATE_OPTIONS" }, { "deprecationReason": null, "description": "A fixed selling plan can have at most one pricing policy.", "isDeprecated": false, "name": "SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT" }, { "deprecationReason": null, "description": "A fixed billing policy's remaining_balance_charge_exact_time can't be blank when the remaining_balance_charge_trigger is EXACT_TIME.", "isDeprecated": false, "name": "REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED" }, { "deprecationReason": null, "description": "A fixed billing policy's checkout charge value and type must match.", "isDeprecated": false, "name": "CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH" }, { "deprecationReason": null, "description": "A fixed billing policy's checkout charge can have at most one value.", "isDeprecated": false, "name": "ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE" }, { "deprecationReason": null, "description": "A fixed billing policy's remaining_balance_charge_exact_time must not be present when the remaining_balance_charge_trigger isn't EXACT_TIME.", "isDeprecated": false, "name": "REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED" }, { "deprecationReason": null, "description": "A fixed billing policy's remaining_balance_charge_time_after_checkout must be present and greater than zero when the remaining_balance_charge_trigger is TIME_AFTER_CHECKOUT.", "isDeprecated": false, "name": "REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO" }, { "deprecationReason": null, "description": "A fixed billing policy's remaining_balance_charge_trigger must be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is 100.", "isDeprecated": false, "name": "REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT" }, { "deprecationReason": null, "description": "A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is less than 100.", "isDeprecated": false, "name": "REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE" }, { "deprecationReason": null, "description": "A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PRICE.", "isDeprecated": false, "name": "REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE" }, { "deprecationReason": null, "description": "A fixed billing policy's fulfillment_exact_time can't be blank when the fulfillment_trigger is EXACT_TIME.", "isDeprecated": false, "name": "FULFILLMENT_EXACT_TIME_REQUIRED" }, { "deprecationReason": null, "description": "A fixed billing policy's fulfillment_exact_time must not be present when the fulfillment_trigger isn't EXACT_TIME.", "isDeprecated": false, "name": "FULFILLMENT_EXACT_TIME_NOT_ALLOWED" }, { "deprecationReason": null, "description": "A fixed delivery policy's anchors must not be present when the fulfillment_trigger isn't ANCHOR.", "isDeprecated": false, "name": "SELLING_PLAN_ANCHORS_NOT_ALLOWED" }, { "deprecationReason": null, "description": "A fixed delivery policy's anchors must be present when the fulfillment_trigger is ANCHOR.", "isDeprecated": false, "name": "SELLING_PLAN_ANCHORS_REQUIRED" }, { "deprecationReason": null, "description": "A selling plan can't have both fixed and recurring billing policies.", "isDeprecated": false, "name": "ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING" }, { "deprecationReason": null, "description": "A selling plan can't have both fixed and recurring delivery policies.", "isDeprecated": false, "name": "ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanGroupUserErrorCode", "possibleTypes": null }, { "description": "The input fields to create or update a selling plan.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the selling plan.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Buyer facing string which describes the selling plan content.", "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Buyer facing string which describes the selling plan commitment.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Selling plan policy which describes the billing details.", "name": "billingPolicy", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanBillingPolicyInput", "ofType": null } }, { "defaultValue": null, "description": "A selling plan policy which describes the delivery details.", "name": "deliveryPolicy", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanDeliveryPolicyInput", "ofType": null } }, { "defaultValue": null, "description": "A selling plan policy which describes the inventory details.", "name": "inventoryPolicy", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanInventoryPolicyInput", "ofType": null } }, { "defaultValue": null, "description": "The pricing policies which describe the pricing details. Each selling plan\ncan only contain a maximum of 2 pricing policies.\n", "name": "pricingPolicies", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanPricingPolicyInput", "ofType": null } } } }, { "defaultValue": null, "description": "The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they are created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.", "name": "options", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Relative value for display purposes of this plan. A lower position will be displayed before a higher one.", "name": "position", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The category used to classify this selling plan for reporting purposes.", "name": "category", "type": { "kind": "ENUM", "name": "SellingPlanCategory", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanInput", "possibleTypes": null }, { "description": "Represents valid selling plan interval.", "enumValues": [ { "deprecationReason": null, "description": "Day interval.", "isDeprecated": false, "name": "DAY" }, { "deprecationReason": null, "description": "Week interval.", "isDeprecated": false, "name": "WEEK" }, { "deprecationReason": null, "description": "Month interval.", "isDeprecated": false, "name": "MONTH" }, { "deprecationReason": null, "description": "Year interval.", "isDeprecated": false, "name": "YEAR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanInterval", "possibleTypes": null }, { "description": "The selling plan inventory policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "When to reserve inventory for the order.", "isDeprecated": false, "name": "reserve", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanReserve", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanInventoryPolicy", "possibleTypes": null }, { "description": "The input fields required to create or update an inventory policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "When to reserve inventory for the order. The value must be ON_FULFILLMENT or ON_SALE.", "name": "reserve", "type": { "kind": "ENUM", "name": "SellingPlanReserve", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanInventoryPolicyInput", "possibleTypes": null }, { "description": "Represents the type of pricing associated to the selling plan (for example, a $10 or 20% discount that is set\nfor a limited period or that is fixed for the duration of the subscription). Selling plan pricing policies and\nassociated records (selling plan groups, selling plans, billing policy, and delivery policy) are deleted 48\nhours after a merchant uninstalls their subscriptions app. We recommend backing up these records if you need\nto restore them later.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SellingPlanPricingPolicy", "possibleTypes": [ { "kind": "OBJECT", "name": "SellingPlanFixedPricingPolicy", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlanRecurringPricingPolicy", "ofType": null } ] }, { "description": "Represents a selling plan pricing policy adjustment type.", "enumValues": [ { "deprecationReason": null, "description": "Percentage off adjustment.", "isDeprecated": false, "name": "PERCENTAGE" }, { "deprecationReason": null, "description": "Fixed amount off adjustment.", "isDeprecated": false, "name": "FIXED_AMOUNT" }, { "deprecationReason": null, "description": "Price of the policy.", "isDeprecated": false, "name": "PRICE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanPricingPolicyAdjustmentType", "possibleTypes": null }, { "description": "Represents a selling plan pricing policy adjustment value type.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SellingPlanPricingPolicyAdjustmentValue", "possibleTypes": [ { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlanPricingPolicyPercentageValue", "ofType": null } ] }, { "description": "Represents selling plan pricing policy common fields.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The price adjustment type.", "isDeprecated": false, "name": "adjustmentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanPricingPolicyAdjustmentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price adjustment value.", "isDeprecated": false, "name": "adjustmentValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SellingPlanPricingPolicyAdjustmentValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "SellingPlanPricingPolicyBase", "possibleTypes": [ { "kind": "OBJECT", "name": "SellingPlanFixedPricingPolicy", "ofType": null }, { "kind": "OBJECT", "name": "SellingPlanRecurringPricingPolicy", "ofType": null } ] }, { "description": "The input fields required to create or update a selling plan pricing policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Recurring pricing policy details.", "name": "recurring", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanRecurringPricingPolicyInput", "ofType": null } }, { "defaultValue": null, "description": "Fixed pricing policy details.", "name": "fixed", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanFixedPricingPolicyInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanPricingPolicyInput", "possibleTypes": null }, { "description": "The percentage value of a selling plan pricing policy percentage type.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The percentage value.", "isDeprecated": false, "name": "percentage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanPricingPolicyPercentageValue", "possibleTypes": null }, { "description": "The input fields required to create or update a pricing policy adjustment value.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The percentage value.", "name": "percentage", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "The fixed value for an fixed amount off or a new policy price.", "name": "fixedValue", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanPricingPolicyValueInput", "possibleTypes": null }, { "description": "Represents a recurring selling plan billing policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Specific anchor dates upon which the billing interval calculations should be made.", "isDeprecated": false, "name": "anchors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanAnchor", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the selling plan billing policy was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The billing frequency, it can be either: day, week, month or year.", "isDeprecated": false, "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanInterval", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of intervals between billings.", "isDeprecated": false, "name": "intervalCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Maximum number of billing iterations.", "isDeprecated": false, "name": "maxCycles", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Minimum number of billing iterations.", "isDeprecated": false, "name": "minCycles", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanRecurringBillingPolicy", "possibleTypes": null }, { "description": "The input fields required to create or update a recurring billing policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The billing frequency, it can be either: day, week, month or year.", "name": "interval", "type": { "kind": "ENUM", "name": "SellingPlanInterval", "ofType": null } }, { "defaultValue": null, "description": "The number of intervals between billings.", "name": "intervalCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Specific anchor dates upon which the billing interval calculations should be made.", "name": "anchors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanAnchorInput", "ofType": null } } } }, { "defaultValue": null, "description": "Minimum number of billing iterations.", "name": "minCycles", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Maximum number of billing iterations.", "name": "maxCycles", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanRecurringBillingPolicyInput", "possibleTypes": null }, { "description": "Represents a recurring selling plan delivery policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The specific anchor dates upon which the delivery interval calculations should be made.", "isDeprecated": false, "name": "anchors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanAnchor", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the selling plan delivery policy was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Number of days which represent a buffer period for orders to be included in a cycle.", "isDeprecated": false, "name": "cutoff", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the delivery policy is merchant or buyer-centric.\nBuyer-centric delivery policies state the time when the buyer will receive the goods.\nMerchant-centric delivery policies state the time when the fulfillment should be started.\nCurrently, only merchant-centric delivery policies are supported.\n", "isDeprecated": false, "name": "intent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanRecurringDeliveryPolicyIntent", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The delivery frequency, it can be either: day, week, month or year.", "isDeprecated": false, "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanInterval", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of intervals between deliveries.", "isDeprecated": false, "name": "intervalCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`.", "isDeprecated": false, "name": "preAnchorBehavior", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanRecurringDeliveryPolicyPreAnchorBehavior", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SellingPlanRecurringDeliveryPolicy", "possibleTypes": null }, { "description": "The input fields to create or update a recurring delivery policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The delivery frequency, it can be either: day, week, month or year.", "name": "interval", "type": { "kind": "ENUM", "name": "SellingPlanInterval", "ofType": null } }, { "defaultValue": null, "description": "The number of intervals between deliveries.", "name": "intervalCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The specific anchor dates upon which the delivery interval calculations should be made.", "name": "anchors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanAnchorInput", "ofType": null } } } }, { "defaultValue": null, "description": "A buffer period for orders to be included in a cycle.", "name": "cutoff", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Intention of this delivery policy, it can be either: delivery or fulfillment.", "name": "intent", "type": { "kind": "ENUM", "name": "SellingPlanRecurringDeliveryPolicyIntent", "ofType": null } }, { "defaultValue": null, "description": "The pre-anchor behavior. It can be either: asap or next.", "name": "preAnchorBehavior", "type": { "kind": "ENUM", "name": "SellingPlanRecurringDeliveryPolicyPreAnchorBehavior", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanRecurringDeliveryPolicyInput", "possibleTypes": null }, { "description": "Whether the delivery policy is merchant or buyer-centric.", "enumValues": [ { "deprecationReason": null, "description": "A merchant-centric delivery policy. Mark this delivery policy to define when the merchant should start fulfillment.\n", "isDeprecated": false, "name": "FULFILLMENT_BEGIN" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanRecurringDeliveryPolicyIntent", "possibleTypes": null }, { "description": "The fulfillment or delivery behaviors of the first fulfillment when the orderis placed before the anchor.", "enumValues": [ { "deprecationReason": null, "description": "The orders placed can be fulfilled or delivered immediately. The orders placed inside a cutoff can be fulfilled or delivered at the next anchor.\n", "isDeprecated": false, "name": "ASAP" }, { "deprecationReason": null, "description": "The orders placed can be fulfilled or delivered at the next anchor date.\nThe orders placed inside a cutoff will skip the next anchor and can be fulfilled or\ndelivered at the following anchor.\n", "isDeprecated": false, "name": "NEXT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanRecurringDeliveryPolicyPreAnchorBehavior", "possibleTypes": null }, { "description": "Represents a recurring selling plan pricing policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The price adjustment type.", "isDeprecated": false, "name": "adjustmentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanPricingPolicyAdjustmentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The price adjustment value.", "isDeprecated": false, "name": "adjustmentValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SellingPlanPricingPolicyAdjustmentValue", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Cycle after which this pricing policy applies.", "isDeprecated": false, "name": "afterCycle", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the recurring selling plan pricing policy was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SellingPlanPricingPolicyBase", "ofType": null } ], "kind": "OBJECT", "name": "SellingPlanRecurringPricingPolicy", "possibleTypes": null }, { "description": "The input fields required to create or update a recurring selling plan pricing policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ID of the pricing policy.", "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "Price adjustment type defined by the policy.", "name": "adjustmentType", "type": { "kind": "ENUM", "name": "SellingPlanPricingPolicyAdjustmentType", "ofType": null } }, { "defaultValue": null, "description": "Price adjustment value defined by the policy.", "name": "adjustmentValue", "type": { "kind": "INPUT_OBJECT", "name": "SellingPlanPricingPolicyValueInput", "ofType": null } }, { "defaultValue": null, "description": "Cycle after which the pricing policy applies.", "name": "afterCycle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SellingPlanRecurringPricingPolicyInput", "possibleTypes": null }, { "description": "When to capture the payment for the remaining amount due.", "enumValues": [ { "deprecationReason": null, "description": "When there's no remaining balance to be charged after checkout.", "isDeprecated": false, "name": "NO_REMAINING_BALANCE" }, { "deprecationReason": null, "description": "At an exact time defined by the remaining_balance_charge_exact_time field.", "isDeprecated": false, "name": "EXACT_TIME" }, { "deprecationReason": null, "description": "After the duration defined by the remaining_balance_charge_time_after_checkout field.", "isDeprecated": false, "name": "TIME_AFTER_CHECKOUT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanRemainingBalanceChargeTrigger", "possibleTypes": null }, { "description": "When to reserve inventory for a selling plan.", "enumValues": [ { "deprecationReason": null, "description": "Reserve inventory when order is fulfilled.", "isDeprecated": false, "name": "ON_FULFILLMENT" }, { "deprecationReason": null, "description": "Reserve inventory at time of sale.", "isDeprecated": false, "name": "ON_SALE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SellingPlanReserve", "possibleTypes": null }, { "description": "A server pixel stores configuration for streaming customer interactions to an EventBridge or PubSub endpoint.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current state of this server pixel.", "isDeprecated": false, "name": "status", "type": { "kind": "ENUM", "name": "ServerPixelStatus", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Address of the EventBridge or PubSub endpoint.", "isDeprecated": false, "name": "webhookEndpointAddress", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ServerPixel", "possibleTypes": null }, { "description": "Return type for `serverPixelCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The new server pixel.", "isDeprecated": false, "name": "serverPixel", "type": { "kind": "OBJECT", "name": "ServerPixel", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorsServerPixelUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ServerPixelCreatePayload", "possibleTypes": null }, { "description": "Return type for `serverPixelDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the server pixel that was deleted, if one was deleted.", "isDeprecated": false, "name": "deletedServerPixelId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorsServerPixelUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ServerPixelDeletePayload", "possibleTypes": null }, { "description": "The current state of a server pixel.", "enumValues": [ { "deprecationReason": null, "description": "This server pixel is connected: it will stream customer events to the endpoint if it is configured properly.", "isDeprecated": false, "name": "CONNECTED" }, { "deprecationReason": null, "description": "This server pixel is disconnected and unconfigured: it does not stream events to the endpoint and no endpoint address had been added to the server pixel.", "isDeprecated": false, "name": "DISCONNECTED_UNCONFIGURED" }, { "deprecationReason": null, "description": "This server pixel is disconnected: it does not stream events to the endpoint and an endpoint address has been added to the server pixel.", "isDeprecated": false, "name": "DISCONNECTED_CONFIGURED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ServerPixelStatus", "possibleTypes": null }, { "description": "The class of the discount for combining purposes.", "enumValues": [ { "deprecationReason": null, "description": "Combined as a shipping discount.", "isDeprecated": false, "name": "SHIPPING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShippingDiscountClass", "possibleTypes": null }, { "description": "Represents the shipping details that the customer chose for their order.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A reference to the carrier service that provided the rate.\nPresent when the rate was computed by a third-party carrier service.\n", "isDeprecated": false, "name": "carrierIdentifier", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A reference to the shipping method.", "isDeprecated": false, "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the shipping line is custom or not.", "isDeprecated": false, "name": "custom", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The general classification of the delivery method.", "isDeprecated": false, "name": "deliveryCategory", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The discounts that have been allocated to the shipping line.\n", "isDeprecated": false, "name": "discountAllocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAllocation", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `discountedPriceSet` instead.", "description": "The pre-tax shipping price with discounts applied.", "isDeprecated": true, "name": "discountedPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The pre-tax shipping price with discounts applied.", "isDeprecated": false, "name": "discountedPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": "Use `originalPriceSet` instead.", "description": "The pre-tax shipping price without any discounts applied.", "isDeprecated": true, "name": "originalPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The pre-tax shipping price without any discounts applied.", "isDeprecated": false, "name": "originalPriceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The phone number at the shipping address.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `originalPriceSet` instead.", "description": "Returns the price of the shipping line.", "isDeprecated": true, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The fulfillment service requested for the shipping method.\nPresent if the shipping method requires processing by a third party fulfillment service.\n", "isDeprecated": false, "name": "requestedFulfillmentService", "type": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users.", "isDeprecated": false, "name": "shippingRateHandle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Returns the rate source for the shipping line.", "isDeprecated": false, "name": "source", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The TaxLine objects connected to this shipping line.", "isDeprecated": false, "name": "taxLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TaxLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Returns the title of the shipping line.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingLine", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ShippingLines.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingLineEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ShippingLineEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingLineConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ShippingLine and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ShippingLineEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingLine", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingLineEdge", "possibleTypes": null }, { "description": "The input fields for specifying the shipping details for the order.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Price of the shipping rate.", "name": "price", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "A unique identifier for the shipping rate.", "name": "shippingRateHandle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Title of the shipping rate.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ShippingLineInput", "possibleTypes": null }, { "description": "A sale associated with a shipping charge.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of order action that the sale represents.", "isDeprecated": false, "name": "actionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleActionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the sale.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line type assocated with the sale.", "isDeprecated": false, "name": "lineType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleLineType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units either ordered or intended to be returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shipping line item for the associated sale. `shippingLine` is not available if the `SaleActionType` is a return.", "isDeprecated": false, "name": "shippingLine", "type": { "kind": "OBJECT", "name": "ShippingLine", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "All individual taxes associated with the sale.", "isDeprecated": false, "name": "taxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleTax", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total sale amount after taxes and discounts.", "isDeprecated": false, "name": "totalAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale after taxes.", "isDeprecated": false, "name": "totalDiscountAmountAfterTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale before taxes.", "isDeprecated": false, "name": "totalDiscountAmountBeforeTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the sale.", "isDeprecated": false, "name": "totalTaxAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Sale", "ofType": null } ], "kind": "OBJECT", "name": "ShippingLineSale", "possibleTypes": null }, { "description": "The shipping method for the delivery. Customers will see applicable shipping methods in the shipping section of checkout.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A unique code associated with the rate. For example: `expedited_mail`", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A description of the rate, which customers will see at checkout.\nFor example: `Local delivery`, `Free Express Worldwide`, `Includes tracking and insurance`.\n", "isDeprecated": false, "name": "label", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingMethod", "possibleTypes": null }, { "description": "Return type for `shippingPackageDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted shipping package.", "isDeprecated": false, "name": "deletedId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingPackageDeletePayload", "possibleTypes": null }, { "description": "Return type for `shippingPackageMakeDefault` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingPackageMakeDefaultPayload", "possibleTypes": null }, { "description": "Type of a shipping package.", "enumValues": [ { "deprecationReason": null, "description": "A shipping box.", "isDeprecated": false, "name": "BOX" }, { "deprecationReason": null, "description": "A flat rate packaging supplied by a carrier.", "isDeprecated": false, "name": "FLAT_RATE" }, { "deprecationReason": null, "description": "An envelope.", "isDeprecated": false, "name": "ENVELOPE" }, { "deprecationReason": null, "description": "A soft-pack, bubble-wrap or vinyl envelope.", "isDeprecated": false, "name": "SOFT_PACK" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShippingPackageType", "possibleTypes": null }, { "description": "Return type for `shippingPackageUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingPackageUpdatePayload", "possibleTypes": null }, { "description": "A shipping rate is an additional cost added to the cost of the products that were ordered.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Human-readable unique identifier for this shipping rate.", "isDeprecated": false, "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The cost associated with the shipping rate.", "isDeprecated": false, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the shipping rate.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingRate", "possibleTypes": null }, { "description": "Represents the shipping costs refunded on the Refund.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `amountSet` instead.", "description": "The monetary value of the shipping fees to be refunded.", "isDeprecated": true, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The monetary value of the shipping fees to be refunded in shop and presentment currencies.", "isDeprecated": false, "name": "amountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `maximumRefundableSet` instead.", "description": "The maximum amount of shipping fees currently refundable.", "isDeprecated": true, "name": "maximumRefundable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum amount of shipping fees currently refundable in shop and presentment currencies.", "isDeprecated": false, "name": "maximumRefundableSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `taxSet` instead.", "description": "The monetary value of the tax allocated to shipping fees to be refunded.", "isDeprecated": true, "name": "tax", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The monetary value of the tax allocated to shipping fees to be refunded in shop and presentment currencies.", "isDeprecated": false, "name": "taxSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShippingRefund", "possibleTypes": null }, { "description": "The input fields that are required to reimburse shipping costs.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The monetary value of the shipping fees to be reimbursed.", "name": "amount", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "defaultValue": null, "description": "Whether a full refund is provided.", "name": "fullRefund", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ShippingRefundInput", "possibleTypes": null }, { "description": "Represents a collection of general settings and information about the shop.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of the shop's active alert messages that appear in the Shopify admin.", "isDeprecated": false, "name": "alerts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopAlert", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the shop's product categories. Limit: 1000 product categories.", "isDeprecated": false, "name": "allProductCategories", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductCategory", "ofType": null } } } } }, { "args": [], "deprecationReason": "Not supported anymore.", "description": "The token required to query the shop's reports or dashboards.", "isDeprecated": true, "name": "analyticsToken", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The assigment status of the fulfillment orders that should be returned.\nIf `assignmentStatus` argument is not provided, then\nthe query will return all assigned fulfillment orders,\nexcept those that have the `CLOSED` status.\n", "name": "assignmentStatus", "type": { "kind": "ENUM", "name": "FulfillmentOrderAssignmentStatus", "ofType": null } }, { "defaultValue": null, "description": "Returns fulfillment orders only for certain locations, specified by a list of location IDs.", "name": "locationIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "FulfillmentOrderSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of fulfillment orders assigned to the shop locations owned by the app.\n\nAssigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations\nmanaged by\n[fulfillment services](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentService)\nthat are registered by the app.\nOne app (api_client) can host multiple fulfillment services on a shop.\nEach fulfillment service manages a dedicated location on a shop.\nAssigned fulfillment orders can have associated\n[fulfillment requests](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderRequestStatus),\nor might currently not be requested to be fulfilled.\n\nThe app must have `read_assigned_fulfillment_orders`\n[access scope](https://shopify.dev/docs/api/usage/access-scopes)\nto be able to retrieve fulfillment orders assigned to its locations.\n\nAll assigned fulfillment orders (except those with the `CLOSED` status) will be returned by default.\nPerform filtering with the `assignmentStatus` argument\nto receive only fulfillment orders that have been requested to be fulfilled.\n", "isDeprecated": false, "name": "assignedFulfillmentOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of sales channels not currently installed on the shop.", "isDeprecated": false, "name": "availableChannelApps", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's billing address information.", "isDeprecated": false, "name": "billingAddress", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopAddress", "ofType": null } } }, { "args": [], "deprecationReason": "Use `publicationCount` instead.", "description": "Exposes the number of channels.", "isDeprecated": true, "name": "channelCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "List of all channel definitions associated with a shop.", "isDeprecated": false, "name": "channelDefinitionsForInstalledChannels", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AvailableChannelDefinitionsByChannel", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.channels` instead.", "description": "List of the shop's active sales channels.", "isDeprecated": true, "name": "channels", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Specifies whether the shop supports checkouts via Checkout API.", "isDeprecated": false, "name": "checkoutApiSupported", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The handle of the collection.", "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Use `QueryRoot.collectionByHandle` instead.", "description": "Return a collection by its handle.", "isDeprecated": true, "name": "collectionByHandle", "type": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.collectionSavedSearches` instead.", "description": "List of the shop's collection saved searches.", "isDeprecated": true, "name": "collectionSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CollectionSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `collection_type`\n - `publishable_status`\n - `published_status`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.collections` instead.", "description": "List of the shop's collections.", "isDeprecated": true, "name": "collections", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The public-facing contact email address for the shop.\nCustomers will use this email to communicate with the shop owner.\n", "isDeprecated": false, "name": "contactEmail", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Countries that have been defined in shipping zones for the shop.", "isDeprecated": false, "name": "countriesInShippingZones", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CountriesInShippingZones", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The three letter code for the currency that the shop sells in.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "How currencies are displayed on your store.", "isDeprecated": false, "name": "currencyFormats", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CurrencyFormats", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The presentment currency settings for the shop excluding the shop's own currency.", "isDeprecated": false, "name": "currencySettings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CurrencySettingConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether customer accounts are required, optional, or disabled for the shop.", "isDeprecated": false, "name": "customerAccounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopCustomerAccountsSetting", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CustomerSavedSearchSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `name`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.customerSavedSearches` instead.", "description": "List of the shop's customer saved searches.", "isDeprecated": true, "name": "customerSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "deprecationReason": null, "description": "A list of tags that have been added to customer accounts.", "isDeprecated": false, "name": "customerTags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "CustomerSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `accepts_marketing`\n - `country`\n - `customer_date`\n - `email`\n - `last_abandoned_order_date`\n - `order_date`\n - `orders_count`\n - `phone`\n - `state`\n - `tag`\n - `tag_not`\n - `total_spent`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.customers` instead.", "description": "Customer accounts associated to the shop.", "isDeprecated": true, "name": "customers", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's meta description used in search engine results.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `domainsPaginated` instead.", "description": "The domains configured for the shop.", "isDeprecated": true, "name": "domains", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Domain", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.draftOrderSavedSearches` instead.", "description": "List of the shop's draft order saved searches.", "isDeprecated": true, "name": "draftOrderSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "deprecationReason": null, "description": "A list of tags that have been added to draft orders.", "isDeprecated": false, "name": "draftOrderTags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "DraftOrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `customer_id`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.draftOrders` instead.", "description": "List of saved draft orders on the shop.", "isDeprecated": true, "name": "draftOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DraftOrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop owner's email address.\nShopify will use this email address to communicate with the shop owner.\n", "isDeprecated": false, "name": "email", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The presentment currencies enabled for the shop.", "isDeprecated": false, "name": "enabledPresentmentCurrencies", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The set of features enabled for the shop.", "isDeprecated": false, "name": "features", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopFeatures", "ofType": null } } }, { "args": [ { "defaultValue": "false", "description": "Whether to include closed fulfillment orders.", "name": "includeClosed", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "FulfillmentOrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `assigned_location_id`\n - `status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.fulfillmentOrders` instead.", "description": "The paginated list of merchant-managed and third-party fulfillment orders.", "isDeprecated": true, "name": "fulfillmentOrders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentOrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "List of the shop's installed fulfillment services.", "isDeprecated": false, "name": "fulfillmentServices", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentService", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The shop's time zone as defined by the IANA.", "isDeprecated": false, "name": "ianaTimezone", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `created_at`\n - `id`\n - `sku`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.inventoryItems` instead.", "description": "List of the shop's inventory items.", "isDeprecated": true, "name": "inventoryItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "InventoryItemConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of pendings orders on the shop.\nLimited to a maximum of 10000.\n", "isDeprecated": false, "name": "limitedPendingOrderCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LimitedPendingOrderCount", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "NAME", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "LocationSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `active`\n - `address1`\n - `address2`\n - `city`\n - `country`\n - `legacy`\n - `name`\n - `province`\n - `zip`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "If true, also include the legacy locations of fulfillment services.", "name": "includeLegacy", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "false", "description": "If true, also include the locations that are deactivated.", "name": "includeInactive", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.locations` instead.", "description": "List of active locations of the shop.", "isDeprecated": true, "name": "locations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LocationConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "MarketingEventSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `app_id`\n - `description`\n - `started_at`\n - `type`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.marketingEvents` instead.", "description": "List of a shop's marketing events.", "isDeprecated": true, "name": "marketingEvents", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketingEventConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The approval signals for a shop to support onboarding to channel apps.", "isDeprecated": false, "name": "merchantApprovalSignals", "type": { "kind": "OBJECT", "name": "MerchantApprovalSignals", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The namespace for the metafield.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The key for the metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": null, "description": "Returns a metafield by namespace and key that belongs to the resource.", "isDeprecated": false, "name": "metafield", "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The metafield namespace to filter by.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "List of keys of metafields in the format `namespace.key`, will be returned in the same format.", "name": "keys", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "List of metafields that belong to the resource.", "isDeprecated": false, "name": "metafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's .myshopify.com domain name.", "isDeprecated": false, "name": "myshopifyDomain", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's settings related to navigation.", "isDeprecated": false, "name": "navigationSettings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "NavigationItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The prefix that appears before order numbers.", "isDeprecated": false, "name": "orderNumberFormatPrefix", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The suffix that appears after order numbers.", "isDeprecated": false, "name": "orderNumberFormatSuffix", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.orderSavedSearches` instead.", "description": "List of the shop's order saved searches.", "isDeprecated": true, "name": "orderSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": "ALPHABETICAL", "description": "Sort type.", "name": "sort", "type": { "kind": "ENUM", "name": "ShopTagSort", "ofType": null } } ], "deprecationReason": null, "description": "A list of tags that have been added to orders.", "isDeprecated": false, "name": "orderTags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "PROCESSED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "OrderSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `cart_token`\n - `channel`\n - `channel_id`\n - `chargeback_status`\n - `checkout_token`\n - `created_at`\n - `credit_card_last4`\n - `customer_id`\n - `delivery_method`\n - `discount_code`\n - `earliest_fulfill_by`\n - `email`\n - `financial_status`\n - `fraud_protection_level`\n - `fulfillment_location_id`\n - `fulfillment_status`\n - `gateway`\n - `location_id`\n - `name`\n - `payment_id`\n - `payment_provider_id`\n - `po_number`\n - `processed_at`\n - `reference_location_id`\n - `return_status`\n - `risk_level`\n - `sales_channel`\n - `sku`\n - `source_identifier`\n - `source_name`\n - `status`\n - `tag`\n - `tag_not`\n - `test`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.orders` instead.", "description": "A list of the shop's orders.", "isDeprecated": true, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's settings related to payments.", "isDeprecated": false, "name": "paymentSettings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentSettings", "ofType": null } } }, { "args": [], "deprecationReason": "Use `limitedPendingOrderCount` instead.", "description": "Number of pending orders on the shop.", "isDeprecated": true, "name": "pendingOrderCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's billing plan.", "isDeprecated": false, "name": "plan", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopPlan", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.priceRuleSavedSearches` instead.", "description": "List of the shop's price rule saved searches.", "isDeprecated": true, "name": "priceRuleSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "PriceRuleSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `combines_with`\n - `created_at`\n - `discount_type`\n - `ends_at`\n - `starts_at`\n - `status`\n - `times_used`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.priceRules` instead.", "description": "List of the shop’s price rules.", "isDeprecated": true, "name": "priceRules", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PriceRuleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The primary domain of the shop's online store.", "isDeprecated": false, "name": "primaryDomain", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Domain", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The namespace for the private metafield.", "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The key for the private metafield.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "Returns a private metafield by namespace and key that belongs to the resource.", "isDeprecated": true, "name": "privateMetafield", "type": { "kind": "OBJECT", "name": "PrivateMetafield", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the private metafields by namespace.", "name": "namespace", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "List of private metafields that belong to the resource.", "isDeprecated": true, "name": "privateMetafields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PrivateMetafieldConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "A unique string that identifies the product. Handles are automatically generated based on the product's title, and are always lowercase. Whitespace and special characters are replaced with a hyphen: `-`. If there are multiple consecutive whitespace or special characters, then they're replaced with a single hyphen. Whitespace or special characters at the beginning are removed. If a duplicate product title is used, then the handle is auto-incremented by one. For example, if you had two products called `Potion`, then their handles would be `potion` and `potion-1`. After a product has been created, changing the product title doesn't update the handle.", "name": "handle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "deprecationReason": "Use `QueryRoot.productByHandle` instead.", "description": "Return a product by its handle.", "isDeprecated": true, "name": "productByHandle", "type": { "kind": "OBJECT", "name": "Product", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CREATED_AT", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductImageSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The list of all images of all products for the shop.", "isDeprecated": false, "name": "productImages", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ImageConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.productSavedSearches` instead.", "description": "List of the shop's product saved searches.", "isDeprecated": true, "name": "productSavedSearches", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SavedSearchConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "deprecationReason": null, "description": "A list of tags that have been added to products.", "isDeprecated": false, "name": "productTags", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "deprecationReason": null, "description": "The list of types added to products.", "isDeprecated": false, "name": "productTypes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductVariantSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `available_quantity`\n - `barcode`\n - `collection`\n - `committed_quantity`\n - `delivery_profile_id`\n - `exclude_composite`\n - `exclude_variants_with_components`\n - `gift_card`\n - `incoming_quantity`\n - `inventory_quantity`\n - `location_id`\n - `managed`\n - `managed_by`\n - `on_hand_quantity`\n - `option1`\n - `option2`\n - `option3`\n - `product_id`\n - `product_status`\n - `product_type`\n - `publishable_status`\n - `published_status`\n - `requires_components`\n - `reserved_quantity`\n - `sku`\n - `tag`\n - `tag_not`\n - `taxable`\n - `title`\n - `updated_at`\n - `vendor`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.productVariants` instead.", "description": "List of the shop's product variants.", "isDeprecated": true, "name": "productVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "deprecationReason": null, "description": "The list of vendors added to products.", "isDeprecated": false, "name": "productVendors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "ID", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "ProductSortKeys", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `barcode`\n - `bundles`\n - `created_at`\n - `delivery_profile_id`\n - `error_feedback`\n - `gift_card`\n - `has_only_composites`\n - `has_only_default_variant`\n - `has_variant_with_components`\n - `id`\n - `inventory_total`\n - `is_price_reduced`\n - `out_of_stock_somewhere`\n - `price`\n - `product_configuration_owner`\n - `product_type`\n - `publishable_status`\n - `published_status`\n - `sku`\n - `status`\n - `tag`\n - `tag_not`\n - `title`\n - `updated_at`\n - `vendor`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch).\n", "name": "savedSearchId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": "Use `QueryRoot.products`.", "description": "List of the shop's products.", "isDeprecated": true, "name": "products", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of publications for the shop.", "isDeprecated": false, "name": "publicationCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's limits for specific resources. For example, the maximum number ofvariants allowed per product, or the maximum number of locations allowed.", "isDeprecated": false, "name": "resourceLimits", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopResourceLimits", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL of the rich text editor that can be used for mobile devices.", "isDeprecated": false, "name": "richTextEditorUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The search query to filter by.", "name": "query", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The search result types to filter by.", "name": "types", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SearchResultType", "ofType": null } } } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "Fetches a list of admin search results by a specified query.", "isDeprecated": false, "name": "search", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SearchResultConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of search filter options for the shop. These can be used to filter productvisibility for the shop.", "isDeprecated": false, "name": "searchFilters", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SearchFilterOptions", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the shop has outstanding setup steps.", "isDeprecated": false, "name": "setupRequired", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of countries that the shop ships to.", "isDeprecated": false, "name": "shipsToCountries", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The list of all legal policies associated with a shop.", "isDeprecated": false, "name": "shopPolicies", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null } } } } }, { "args": [], "deprecationReason": "Use `QueryRoot.shopifyPaymentsAccount` instead.", "description": "Shopify Payments account information, including balances and payouts.", "isDeprecated": true, "name": "shopifyPaymentsAccount", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsAccount", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The paginated list of the shop's staff members.", "isDeprecated": false, "name": "staffMembers", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StaffMemberConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The storefront access token of a private application. These are scoped per-application.", "isDeprecated": false, "name": "storefrontAccessTokens", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StorefrontAccessTokenConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use `url` instead.", "description": "The URL of the shop's storefront.", "isDeprecated": true, "name": "storefrontUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the shop charges taxes for shipping.", "isDeprecated": false, "name": "taxShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether applicable taxes are included in the shop's product prices.", "isDeprecated": false, "name": "taxesIncluded", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's time zone abbreviation.", "isDeprecated": false, "name": "timezoneAbbreviation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's time zone offset.", "isDeprecated": false, "name": "timezoneOffset", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's time zone offset expressed as a number of minutes.", "isDeprecated": false, "name": "timezoneOffsetMinutes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether transactional SMS sent by Shopify have been disabled for a shop.", "isDeprecated": false, "name": "transactionalSmsDisabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The shop's unit system for weights and measures.", "isDeprecated": false, "name": "unitSystem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "UnitSystem", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "The IDs of the uploaded images.", "name": "imageIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } } ], "deprecationReason": null, "description": "Fetches a list of images uploaded to the shop by their IDs.", "isDeprecated": false, "name": "uploadedImagesByIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The URL of the shop's online store.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shop's primary unit of weight for products and shipping.", "isDeprecated": false, "name": "weightUnit", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WeightUnit", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null }, { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Shop", "possibleTypes": null }, { "description": "The shop's billing address.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address. Typically the street address or PO Box number.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The second line of the address. Typically the number of the apartment, suite, or unit.\n", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the city, district, village, or town.\n", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the company or organization.", "isDeprecated": false, "name": "company", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the address coordinates are valid.", "isDeprecated": false, "name": "coordinatesValidated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the country.\n", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `countryCodeV2` instead.", "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", "isDeprecated": true, "name": "countryCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", "isDeprecated": false, "name": "countryCodeV2", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": "Always null in this context.", "description": "The first name.", "isDeprecated": true, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": "true", "description": "Whether to include the company in the formatted address.", "name": "withCompany", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A formatted version of the address, customized by the provided arguments.", "isDeprecated": false, "name": "formatted", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A comma-separated list of the values for city, province, and country.", "isDeprecated": false, "name": "formattedArea", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": "Always null in this context.", "description": "The last name.", "isDeprecated": true, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The latitude coordinate of the address.", "isDeprecated": false, "name": "latitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The longitude coordinate of the address.", "isDeprecated": false, "name": "longitude", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": "Always null in this context.", "description": "The full name, based on firstName and lastName.\n", "isDeprecated": true, "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A phone number associated with the address.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The region of the address, such as the province, state, or district.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the region.\n\nFor example, ON.\n", "isDeprecated": false, "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The zip or postal code of the address.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopAddress", "possibleTypes": null }, { "description": "An alert message that appears in the Shopify admin about a problem with a store setting, with an action to take. For example, you could show an alert to ask the merchant to enter their billing information to activate Shopify Plus.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The text for the button in the alert that links to related information. For example, _Add credit card_.\n", "isDeprecated": false, "name": "action", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopAlertAction", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A description of the alert and further information, such as whether the merchant will be charged.", "isDeprecated": false, "name": "description", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopAlert", "possibleTypes": null }, { "description": "An action associated to a shop alert, such as adding a credit card.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The text for the button in the alert. For example, _Add credit card_.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The target URL that the button links to.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopAlertAction", "possibleTypes": null }, { "description": "Billing preferences for the shop.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The currency the shop uses to pay for apps and services.", "isDeprecated": false, "name": "currency", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopBillingPreferences", "possibleTypes": null }, { "description": "Possible branding of a shop.\nBranding can be used to define the look of a shop including its styling and logo in the Shopify Admin.\n", "enumValues": [ { "deprecationReason": null, "description": "Shop has Shopify Gold branding.", "isDeprecated": false, "name": "SHOPIFY_GOLD" }, { "deprecationReason": null, "description": "Shop has Shopify Plus branding.", "isDeprecated": false, "name": "SHOPIFY_PLUS" }, { "deprecationReason": null, "description": "Shop has Rogers branding.", "isDeprecated": false, "name": "ROGERS" }, { "deprecationReason": null, "description": "Shop has Shopify branding.", "isDeprecated": false, "name": "SHOPIFY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopBranding", "possibleTypes": null }, { "description": "Represents the shop's customer account requirement preference.\n", "enumValues": [ { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "REQUIRED" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "OPTIONAL" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "DISABLED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopCustomerAccountsSetting", "possibleTypes": null }, { "description": "Represents the feature set available to the shop.\nMost fields specify whether a feature is enabled for a shop, and some fields return information\nrelated to specific features.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether a shop has access to Avalara AvaTax.", "isDeprecated": false, "name": "avalaraAvatax", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The branding of the shop, which influences its look and feel in the Shopify admin.", "isDeprecated": false, "name": "branding", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopBranding", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop's online store can have CAPTCHA protection.", "isDeprecated": false, "name": "captcha", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop's online store can have CAPTCHA protection for domains not managed by Shopify.", "isDeprecated": false, "name": "captchaExternalDomains", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Delivery profiles are now 100% enabled across Shopify.", "description": "Whether the delivery profiles functionality is enabled for this shop.", "isDeprecated": true, "name": "deliveryProfiles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop has access to the Google Analytics dynamic remarketing feature.", "isDeprecated": false, "name": "dynamicRemarketing", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop can be migrated to use Shopify subscriptions.", "isDeprecated": false, "name": "eligibleForSubscriptionMigration", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop is configured properly to sell subscriptions.", "isDeprecated": false, "name": "eligibleForSubscriptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop can create gift cards.", "isDeprecated": false, "name": "giftCards", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop displays Harmonized System codes on products. This is used for customs when shipping\ninternationally.\n", "isDeprecated": false, "name": "harmonizedSystemCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop can enable international domains.", "isDeprecated": false, "name": "internationalDomains", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop can enable international price overrides.", "isDeprecated": false, "name": "internationalPriceOverrides", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop can enable international price rules.", "isDeprecated": false, "name": "internationalPriceRules", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop has enabled a legacy subscription gateway to handle older subscriptions.", "isDeprecated": false, "name": "legacySubscriptionGatewayEnabled", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether to show the Live View metrics in the Shopify admin. Live view is hidden from merchants that are on a trial\nor don't have a storefront.\n", "isDeprecated": false, "name": "liveView", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "All shops support multi-location inventory. Use `QueryRoot.locations` to determine whether shop has more than one location.\n", "description": "Whether a shop has multi-location functionality.", "isDeprecated": true, "name": "multiLocation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop has access to the onboarding visual.", "isDeprecated": false, "name": "onboardingVisual", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop is configured to sell subscriptions with PayPal Express.", "isDeprecated": false, "name": "paypalExpressSubscriptionGatewayStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaypalExpressSubscriptionsGatewayStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop has access to all reporting features.", "isDeprecated": false, "name": "reports", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop has ever had subscription products.", "isDeprecated": false, "name": "sellsSubscriptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use Shop.plan.shopifyPlus instead.", "description": "Whether the shop has a Shopify Plus subscription.", "isDeprecated": true, "name": "shopifyPlus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether to show metrics in the Shopify admin. Metrics are hidden for new merchants until they become meaningful.\n", "isDeprecated": false, "name": "showMetrics", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop has an online store.", "isDeprecated": false, "name": "storefront", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a shop is using Shopify Balance.", "isDeprecated": false, "name": "usingShopifyBalance", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopFeatures", "possibleTypes": null }, { "description": "A locale that's been enabled on a shop.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The locale ISO code.", "isDeprecated": false, "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The market web presences that use the locale.", "isDeprecated": false, "name": "marketWebPresences", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MarketWebPresence", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The human-readable locale name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the locale is the default locale for the shop.", "isDeprecated": false, "name": "primary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the locale is visible to buyers.", "isDeprecated": false, "name": "published", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopLocale", "possibleTypes": null }, { "description": "Return type for `shopLocaleDisable` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "ISO code of the locale that was deleted.", "isDeprecated": false, "name": "locale", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopLocaleDisablePayload", "possibleTypes": null }, { "description": "Return type for `shopLocaleEnable` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "ISO code of the locale that was enabled.", "isDeprecated": false, "name": "shopLocale", "type": { "kind": "OBJECT", "name": "ShopLocale", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopLocaleEnablePayload", "possibleTypes": null }, { "description": "The input fields for a shop locale.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Whether the locale is published. Only published locales are visible to the buyer.", "name": "published", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The market web presences on which the locale should be enabled. Pass in an empty array to remove the locale across all market web presences.", "name": "marketWebPresenceIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ShopLocaleInput", "possibleTypes": null }, { "description": "Return type for `shopLocaleUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The locale that was updated.", "isDeprecated": false, "name": "shopLocale", "type": { "kind": "OBJECT", "name": "ShopLocale", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopLocaleUpdatePayload", "possibleTypes": null }, { "description": "The billing plan of the shop.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the shop's billing plan.", "isDeprecated": false, "name": "displayName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the shop is a partner development shop for testing purposes.", "isDeprecated": false, "name": "partnerDevelopment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the shop has a Shopify Plus subscription.", "isDeprecated": false, "name": "shopifyPlus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopPlan", "possibleTypes": null }, { "description": "Policy that a merchant has configured for their store, such as their refund or privacy policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The text of the policy. The maximum size is 512kb.", "isDeprecated": false, "name": "body", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filters translations locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "The translations associated with the resource.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The shop policy type.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopPolicyType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The public URL of the policy.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "HasPublishedTranslations", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopPolicy", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ShopPolicyUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is too big.", "isDeprecated": false, "name": "TOO_BIG" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopPolicyErrorCode", "possibleTypes": null }, { "description": "The input fields required to update a policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The shop policy type.", "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopPolicyType", "ofType": null } } }, { "defaultValue": null, "description": "Policy text, maximum size of 512kb.", "name": "body", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ShopPolicyInput", "possibleTypes": null }, { "description": "Available shop policy types.", "enumValues": [ { "deprecationReason": null, "description": "The refund policy.", "isDeprecated": false, "name": "REFUND_POLICY" }, { "deprecationReason": null, "description": "The shipping policy.", "isDeprecated": false, "name": "SHIPPING_POLICY" }, { "deprecationReason": null, "description": "The privacy policy.", "isDeprecated": false, "name": "PRIVACY_POLICY" }, { "deprecationReason": null, "description": "The terms of service.", "isDeprecated": false, "name": "TERMS_OF_SERVICE" }, { "deprecationReason": null, "description": "The terms of sale.", "isDeprecated": false, "name": "TERMS_OF_SALE" }, { "deprecationReason": null, "description": "The legal notice.", "isDeprecated": false, "name": "LEGAL_NOTICE" }, { "deprecationReason": null, "description": "The purchase options cancellation policy.", "isDeprecated": false, "name": "SUBSCRIPTION_POLICY" }, { "deprecationReason": null, "description": "The contact information.", "isDeprecated": false, "name": "CONTACT_INFORMATION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopPolicyType", "possibleTypes": null }, { "description": "Return type for `shopPolicyUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The shop policy that has been updated.", "isDeprecated": false, "name": "shopPolicy", "type": { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopPolicyUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopPolicyUpdatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of a shop policy mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ShopPolicyErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ShopPolicyUserError", "possibleTypes": null }, { "description": "Return type for `shopResourceFeedbackCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The shop feedback that's created.", "isDeprecated": false, "name": "feedback", "type": { "kind": "OBJECT", "name": "AppFeedback", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopResourceFeedbackCreateUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopResourceFeedbackCreatePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `ShopResourceFeedbackCreate`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "ShopResourceFeedbackCreateUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "ShopResourceFeedbackCreateUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `ShopResourceFeedbackCreateUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The feedback for a later version of the resource was already accepted.", "isDeprecated": false, "name": "OUTDATED_FEEDBACK" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value needs to be blank.", "isDeprecated": false, "name": "PRESENT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopResourceFeedbackCreateUserErrorCode", "possibleTypes": null }, { "description": "Resource limits of a shop.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Maximum number of locations allowed.", "isDeprecated": false, "name": "locationLimit", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Maximum number of product options allowed.", "isDeprecated": false, "name": "maxProductOptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of variants allowed per product.", "isDeprecated": false, "name": "maxProductVariants", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the shop has reached the limit of the number of URL redirects it can make for resources.", "isDeprecated": false, "name": "redirectLimitReached", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of variants allowed per shop. If the shop has unlimited SKUs, then the quantity used cannot be retrieved.", "isDeprecated": false, "name": "skuResourceLimits", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ResourceLimit", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopResourceLimits", "possibleTypes": null }, { "description": "Possible sort of tags.", "enumValues": [ { "deprecationReason": null, "description": "Alphabetical sort.", "isDeprecated": false, "name": "ALPHABETICAL" }, { "deprecationReason": null, "description": "Popularity sort.", "isDeprecated": false, "name": "POPULAR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopTagSort", "possibleTypes": null }, { "description": "A Shopify Function.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The API type of the Shopify Function.", "isDeprecated": false, "name": "apiType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The API version of the Shopify Function.", "isDeprecated": false, "name": "apiVersion", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The app that owns the Shopify Function.", "isDeprecated": false, "name": "app", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "App", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The App Bridge information for the Shopify Function.", "isDeprecated": false, "name": "appBridge", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FunctionsAppBridge", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The client ID of the app that owns the Shopify Function.", "isDeprecated": false, "name": "appKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the Shopify Function.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the Shopify Function.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The input query of the Shopify Function.", "isDeprecated": false, "name": "inputQuery", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the Shopify Function.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "If the Shopify Function uses the creation UI in the Admin.", "isDeprecated": false, "name": "useCreationUi", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyFunction", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ShopifyFunctions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyFunctionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ShopifyFunctionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyFunction", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyFunctionConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ShopifyFunction and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ShopifyFunctionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyFunction", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyFunctionEdge", "possibleTypes": null }, { "description": "Balance and payout information for a\n[Shopify Payments](https://help.shopify.com/manual/payments/shopify-payments/getting-paid-with-shopify-payments)\naccount. Balance includes all balances for the currencies supported by the shop.\nYou can also query for a list of payouts, where each payout includes the corresponding currencyCode field.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the Shopify Payments setup is completed.", "isDeprecated": false, "name": "activated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Current balances in all currencies for the account.", "isDeprecated": false, "name": "balance", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "All bank accounts configured for the Shopify Payments account.", "isDeprecated": false, "name": "bankAccounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsBankAccountConnection", "ofType": null } } }, { "args": [], "deprecationReason": "Use `chargeStatementDescriptors` instead.", "description": "The statement descriptor used for charges.\n\nThe statement descriptor appears on a customer's credit card or bank statement when they make a purchase.\n", "isDeprecated": true, "name": "chargeStatementDescriptor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The statement descriptors used for charges.\n\nThese descriptors appear on a customer's credit card or bank statement when they make a purchase.\n", "isDeprecated": false, "name": "chargeStatementDescriptors", "type": { "kind": "INTERFACE", "name": "ShopifyPaymentsChargeStatementDescriptor", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The Shopify Payments account country.", "isDeprecated": false, "name": "country", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The default payout currency for the Shopify Payments account.", "isDeprecated": false, "name": "defaultCurrency", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Supported filter parameters:\n - `id`\n - `initiated_at`\n - `status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", "name": "query", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "deprecationReason": null, "description": "All disputes related to the Shopify Payments account.", "isDeprecated": false, "name": "disputes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The fraud settings of the Shopify Payments account.", "isDeprecated": false, "name": "fraudSettings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsFraudSettings", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The notifications settings for the account.", "isDeprecated": false, "name": "notificationSettings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsNotificationSettings", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the Shopify Payments account can be onboarded.", "isDeprecated": false, "name": "onboardable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The payout schedule for the account.", "isDeprecated": false, "name": "payoutSchedule", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsPayoutSchedule", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The descriptor used for payouts.\n\nThe descriptor appears on a merchant's bank statement when they receive a payout.\n", "isDeprecated": false, "name": "payoutStatementDescriptor", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Filter the direction of the payout.", "name": "transactionType", "type": { "kind": "ENUM", "name": "ShopifyPaymentsPayoutTransactionType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "All current and previous payouts made between the account and the bank account.", "isDeprecated": false, "name": "payouts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsPayoutConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The permitted documents for identity verification.", "isDeprecated": false, "name": "permittedVerificationDocuments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsVerificationDocument", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The verifications necessary for this account.", "isDeprecated": false, "name": "verifications", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsVerification", "ofType": null } } } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsAccount", "possibleTypes": null }, { "description": "A bank account that can receive payouts.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The account number of the bank account.", "isDeprecated": false, "name": "accountNumber", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The last digits of the account number (the rest is redacted).", "isDeprecated": false, "name": "accountNumberLastDigits", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the bank.\n", "isDeprecated": false, "name": "bankName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The country of the bank.\n", "isDeprecated": false, "name": "country", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date that the bank account was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The currency of the bank account.\n", "isDeprecated": false, "name": "currency", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Filter the direction of the payout.", "name": "transactionType", "type": { "kind": "ENUM", "name": "ShopifyPaymentsPayoutTransactionType", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "All current and previous payouts made between the account and the bank account.", "isDeprecated": false, "name": "payouts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsPayoutConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The routing number of the bank account.", "isDeprecated": false, "name": "routingNumber", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the bank account.\n", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopifyPaymentsBankAccountStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsBankAccount", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ShopifyPaymentsBankAccounts.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsBankAccountEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ShopifyPaymentsBankAccountEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsBankAccount", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsBankAccountConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ShopifyPaymentsBankAccount and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ShopifyPaymentsBankAccountEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsBankAccount", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsBankAccountEdge", "possibleTypes": null }, { "description": "The bank account status.", "enumValues": [ { "deprecationReason": null, "description": "A bank account that hasn't had any activity and that's not validated.", "isDeprecated": false, "name": "NEW" }, { "deprecationReason": null, "description": "It was determined that the bank account exists.", "isDeprecated": false, "name": "VALIDATED" }, { "deprecationReason": null, "description": "Bank account validation was successful.", "isDeprecated": false, "name": "VERIFIED" }, { "deprecationReason": null, "description": "A payout to the bank account failed.", "isDeprecated": false, "name": "ERRORED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopifyPaymentsBankAccountStatus", "possibleTypes": null }, { "description": "The charge descriptors for a payments account.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The default charge statement descriptor.", "isDeprecated": false, "name": "default", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The prefix of the statement descriptor.", "isDeprecated": false, "name": "prefix", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "ShopifyPaymentsChargeStatementDescriptor", "possibleTypes": [ { "kind": "OBJECT", "name": "ShopifyPaymentsDefaultChargeStatementDescriptor", "ofType": null }, { "kind": "OBJECT", "name": "ShopifyPaymentsJpChargeStatementDescriptor", "ofType": null } ] }, { "description": "The charge descriptors for a payments account.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The default charge statement descriptor.", "isDeprecated": false, "name": "default", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The prefix of the statement descriptor.", "isDeprecated": false, "name": "prefix", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ShopifyPaymentsChargeStatementDescriptor", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsDefaultChargeStatementDescriptor", "possibleTypes": null }, { "description": "A dispute occurs when a buyer questions the legitimacy of a charge with their financial institution.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The total amount disputed by the cardholder.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The deadline for evidence submission.", "isDeprecated": false, "name": "evidenceDueBy", "type": { "kind": "SCALAR", "name": "Date", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date when evidence was sent. Returns null if evidence has not yet been sent.", "isDeprecated": false, "name": "evidenceSentOn", "type": { "kind": "SCALAR", "name": "Date", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date when this dispute was resolved. Returns null if the dispute is not yet resolved.", "isDeprecated": false, "name": "finalizedOn", "type": { "kind": "SCALAR", "name": "Date", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date when this dispute was initiated.", "isDeprecated": false, "name": "initiatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order that contains the charge that is under dispute.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The reason of the dispute.", "isDeprecated": false, "name": "reasonDetails", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeReasonDetails", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current state of the dispute.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DisputeStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Indicates if this dispute is still in the inquiry phase or has turned into a chargeback.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DisputeType", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsDispute", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ShopifyPaymentsDisputes.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ShopifyPaymentsDisputeEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsDispute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsDisputeConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ShopifyPaymentsDispute and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ShopifyPaymentsDisputeEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsDispute", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsDisputeEdge", "possibleTypes": null }, { "description": "The evidence associated with the dispute.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The activity logs associated with the dispute evidence.", "isDeprecated": false, "name": "accessActivityLog", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The billing address that is provided by the customer.", "isDeprecated": false, "name": "billingAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The cancellation policy disclosure associated with the dispute evidence.", "isDeprecated": false, "name": "cancellationPolicyDisclosure", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The cancellation policy file associated with the dispute evidence.", "isDeprecated": false, "name": "cancellationPolicyFile", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The cancellation rebuttal associated with the dispute evidence.", "isDeprecated": false, "name": "cancellationRebuttal", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer communication file associated with the dispute evidence.", "isDeprecated": false, "name": "customerCommunicationFile", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer's email address.", "isDeprecated": false, "name": "customerEmailAddress", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer's first name.", "isDeprecated": false, "name": "customerFirstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer's last name.", "isDeprecated": false, "name": "customerLastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer purchase ip for this dispute evidence.", "isDeprecated": false, "name": "customerPurchaseIp", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The dispute associated with the evidence.", "isDeprecated": false, "name": "dispute", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsDispute", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The file uploads associated with the dispute evidence.", "isDeprecated": false, "name": "disputeFileUploads", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The fulfillments associated with the dispute evidence.", "isDeprecated": false, "name": "fulfillments", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFulfillment", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product description for this dispute evidence.", "isDeprecated": false, "name": "productDescription", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The refund policy disclosure associated with the dispute evidence.", "isDeprecated": false, "name": "refundPolicyDisclosure", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The refund policy file associated with the dispute evidence.", "isDeprecated": false, "name": "refundPolicyFile", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The refund refusal explanation associated with dispute evidence.", "isDeprecated": false, "name": "refundRefusalExplanation", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The service documentation file associated with the dispute evidence.", "isDeprecated": false, "name": "serviceDocumentationFile", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The mailing address for shipping that is provided by the customer.", "isDeprecated": false, "name": "shippingAddress", "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shipping documentation file associated with the dispute evidence.", "isDeprecated": false, "name": "shippingDocumentationFile", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the dispute evidence is submitted.", "isDeprecated": false, "name": "submitted", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The uncategorized file associated with the dispute evidence.", "isDeprecated": false, "name": "uncategorizedFile", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The uncategorized text for the dispute evidence.", "isDeprecated": false, "name": "uncategorizedText", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsDisputeEvidence", "possibleTypes": null }, { "description": "The possible dispute evidence file types.", "enumValues": [ { "deprecationReason": null, "description": "Customer Communication File.", "isDeprecated": false, "name": "CUSTOMER_COMMUNICATION_FILE" }, { "deprecationReason": null, "description": "Refund Policy File.", "isDeprecated": false, "name": "REFUND_POLICY_FILE" }, { "deprecationReason": null, "description": "Cancellation Policy File.", "isDeprecated": false, "name": "CANCELLATION_POLICY_FILE" }, { "deprecationReason": null, "description": "Uncategorized File.", "isDeprecated": false, "name": "UNCATEGORIZED_FILE" }, { "deprecationReason": null, "description": "Shipping Documentation File.", "isDeprecated": false, "name": "SHIPPING_DOCUMENTATION_FILE" }, { "deprecationReason": null, "description": "Service Documentation File.", "isDeprecated": false, "name": "SERVICE_DOCUMENTATION_FILE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopifyPaymentsDisputeEvidenceFileType", "possibleTypes": null }, { "description": "The input fields required to update a dispute evidence object.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Customer email address.", "name": "customerEmailAddress", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Customer last name.", "name": "customerLastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Customer first name.", "name": "customerFirstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The shipping address associated with the dispute evidence.", "name": "shippingAddress", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, { "defaultValue": null, "description": "Uncategorized text.", "name": "uncategorizedText", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Activity logs.", "name": "accessActivityLog", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Cancellation policy disclosure.", "name": "cancellationPolicyDisclosure", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Cancellation rebuttal.", "name": "cancellationRebuttal", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Refund policy disclosure.", "name": "refundPolicyDisclosure", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Refund refusal explanation.", "name": "refundRefusalExplanation", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Cancellation policy file.", "name": "cancellationPolicyFile", "type": { "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeFileUploadUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "Customer communication file.", "name": "customerCommunicationFile", "type": { "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeFileUploadUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "Refund policy file.", "name": "refundPolicyFile", "type": { "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeFileUploadUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "Shipping documentation file.", "name": "shippingDocumentationFile", "type": { "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeFileUploadUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "Uncategorized file.", "name": "uncategorizedFile", "type": { "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeFileUploadUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "Service documentation file.", "name": "serviceDocumentationFile", "type": { "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeFileUploadUpdateInput", "ofType": null } }, { "defaultValue": "false", "description": "Whether to submit the evidence.", "name": "submitEvidence", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeEvidenceUpdateInput", "possibleTypes": null }, { "description": "The file upload associated with the dispute evidence.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of the file for the dispute evidence.", "isDeprecated": false, "name": "disputeEvidenceType", "type": { "kind": "ENUM", "name": "ShopifyPaymentsDisputeEvidenceFileType", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The file size.", "isDeprecated": false, "name": "fileSize", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The file type.", "isDeprecated": false, "name": "fileType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The original file name.", "isDeprecated": false, "name": "originalFileName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL for accessing the file.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFileUpload", "possibleTypes": null }, { "description": "The input fields required to update a dispute file upload object.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the file upload to be updated.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": "false", "description": "Whether to delete this file upload.", "name": "destroy", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "ShopifyPaymentsDisputeFileUploadUpdateInput", "possibleTypes": null }, { "description": "The fulfillment associated with dispute evidence.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The shipping carrier for this fulfillment.", "isDeprecated": false, "name": "shippingCarrier", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shipping date for this fulfillment.", "isDeprecated": false, "name": "shippingDate", "type": { "kind": "SCALAR", "name": "Date", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The shipping tracking number for this fulfillment.", "isDeprecated": false, "name": "shippingTrackingNumber", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsDisputeFulfillment", "possibleTypes": null }, { "description": "The reason for the dispute provided by the cardholder's bank.", "enumValues": [ { "deprecationReason": null, "description": "The cardholder claims that they didn’t authorize the payment.", "isDeprecated": false, "name": "FRAUDULENT" }, { "deprecationReason": null, "description": "The dispute is uncategorized, so you should contact the customer for additional details to find out why the payment was disputed.", "isDeprecated": false, "name": "GENERAL" }, { "deprecationReason": null, "description": "The customer doesn’t recognize the payment appearing on their card statement.", "isDeprecated": false, "name": "UNRECOGNIZED" }, { "deprecationReason": null, "description": "The customer claims they were charged multiple times for the same product or service.", "isDeprecated": false, "name": "DUPLICATE" }, { "deprecationReason": null, "description": "The customer claims that you continued to charge them after a subscription was canceled.", "isDeprecated": false, "name": "SUBSCRIPTION_CANCELLED" }, { "deprecationReason": null, "description": "The product or service was received but was defective, damaged, or not as described.", "isDeprecated": false, "name": "PRODUCT_UNACCEPTABLE" }, { "deprecationReason": null, "description": "The customer claims they did not receive the products or services purchased.", "isDeprecated": false, "name": "PRODUCT_NOT_RECEIVED" }, { "deprecationReason": null, "description": "The customer claims that the purchased product was returned or the transaction was otherwise canceled, but you haven't yet provided a refund or credit.", "isDeprecated": false, "name": "CREDIT_NOT_PROCESSED" }, { "deprecationReason": null, "description": "The customer account associated with the purchase is incorrect.", "isDeprecated": false, "name": "INCORRECT_ACCOUNT_DETAILS" }, { "deprecationReason": null, "description": "The customer's bank account has insufficient funds.", "isDeprecated": false, "name": "INSUFFICIENT_FUNDS" }, { "deprecationReason": null, "description": "The customer's bank can't process the charge.", "isDeprecated": false, "name": "BANK_CANNOT_PROCESS" }, { "deprecationReason": null, "description": "The customer's bank can't proceed with the debit since it hasn't been authorized.", "isDeprecated": false, "name": "DEBIT_NOT_AUTHORIZED" }, { "deprecationReason": null, "description": "The customer initiated the dispute. Contact the customer for additional details on why the payment was disputed.", "isDeprecated": false, "name": "CUSTOMER_INITIATED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopifyPaymentsDisputeReason", "possibleTypes": null }, { "description": "Details regarding a dispute reason.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The raw code provided by the payment network.", "isDeprecated": false, "name": "networkReasonCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The reason for the dispute provided by the cardholder's banks.", "isDeprecated": false, "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopifyPaymentsDisputeReason", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsDisputeReasonDetails", "possibleTypes": null }, { "description": "Presents all Shopify Payments information related to an extended authorization.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment.\n", "isDeprecated": false, "name": "extendedAuthorizationExpiresAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The time after which capture will incur an additional fee.\n", "isDeprecated": false, "name": "standardAuthorizationExpiresAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsExtendedAuthorization", "possibleTypes": null }, { "description": "The fraud settings of a payments account.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Decline a charge if there is an AVS failure.", "isDeprecated": false, "name": "declineChargeOnAvsFailure", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Decline a charge if there is an CVC failure.", "isDeprecated": false, "name": "declineChargeOnCvcFailure", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsFraudSettings", "possibleTypes": null }, { "description": "The charge descriptors for a Japanese payments account.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The default charge statement descriptor.", "isDeprecated": false, "name": "default", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The charge statement descriptor in kana.", "isDeprecated": false, "name": "kana", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The charge statement descriptor in kanji.", "isDeprecated": false, "name": "kanji", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The prefix of the statement descriptor.", "isDeprecated": false, "name": "prefix", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ShopifyPaymentsChargeStatementDescriptor", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsJpChargeStatementDescriptor", "possibleTypes": null }, { "description": "The notification settings for the account.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Receive email notifications when new payouts are sent or payouts fail.", "isDeprecated": false, "name": "payouts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsNotificationSettings", "possibleTypes": null }, { "description": "Payouts represent the movement of money between a merchant's Shopify\nPayments balance and their bank account.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The bank account for the payout.", "isDeprecated": false, "name": "bankAccount", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsBankAccount", "ofType": null } }, { "args": [], "deprecationReason": "Use `net` instead.", "description": "The total amount and currency of the payout.", "isDeprecated": true, "name": "gross", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The exact time when the payout was issued. The payout only contains\nbalance transactions that were available at this time.\n", "isDeprecated": false, "name": "issuedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount and currency of the payout.", "isDeprecated": false, "name": "net", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The transfer status of the payout.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopifyPaymentsPayoutStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The summary of the payout.", "isDeprecated": false, "name": "summary", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsPayoutSummary", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The direction of the payout.", "isDeprecated": false, "name": "transactionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopifyPaymentsPayoutTransactionType", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsPayout", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple ShopifyPaymentsPayouts.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsPayoutEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in ShopifyPaymentsPayoutEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsPayout", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsPayoutConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one ShopifyPaymentsPayout and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of ShopifyPaymentsPayoutEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsPayout", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsPayoutEdge", "possibleTypes": null }, { "description": "The interval at which payouts are sent to the connected bank account.", "enumValues": [ { "deprecationReason": null, "description": "Each business day.", "isDeprecated": false, "name": "DAILY" }, { "deprecationReason": null, "description": "Each week, on the day of week specified by weeklyAnchor.", "isDeprecated": false, "name": "WEEKLY" }, { "deprecationReason": null, "description": "Each month, on the day of month specified by monthlyAnchor.", "isDeprecated": false, "name": "MONTHLY" }, { "deprecationReason": null, "description": "Payouts will not be automatically made.", "isDeprecated": false, "name": "MANUAL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopifyPaymentsPayoutInterval", "possibleTypes": null }, { "description": "The payment schedule for a payments account.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The interval at which payouts are sent to the connected bank account.", "isDeprecated": false, "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopifyPaymentsPayoutInterval", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The day of the month funds will be paid out.\n\nThe value can be any day of the month from the 1st to the 31st.\nIf the payment interval is set to monthly, this value will be used.\nPayouts scheduled between 29-31st of the month are sent on the last day of shorter months.\n", "isDeprecated": false, "name": "monthlyAnchor", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The day of the week funds will be paid out.\n\nThe value can be any weekday from Monday to Friday.\nIf the payment interval is set to weekly, this value will be used.\n", "isDeprecated": false, "name": "weeklyAnchor", "type": { "kind": "ENUM", "name": "DayOfTheWeek", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsPayoutSchedule", "possibleTypes": null }, { "description": "The transfer status of the payout.", "enumValues": [ { "deprecationReason": null, "description": "The payout has been created and had transactions assigned to it, but\nit has not yet been submitted to the bank.\n", "isDeprecated": false, "name": "SCHEDULED" }, { "deprecationReason": null, "description": "The payout has been submitted to the bank.", "isDeprecated": false, "name": "IN_TRANSIT" }, { "deprecationReason": null, "description": "The payout has been successfully deposited into the bank.", "isDeprecated": false, "name": "PAID" }, { "deprecationReason": null, "description": "The payout has been declined by the bank.", "isDeprecated": false, "name": "FAILED" }, { "deprecationReason": null, "description": "The payout has been canceled by Shopify.", "isDeprecated": false, "name": "CANCELED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopifyPaymentsPayoutStatus", "possibleTypes": null }, { "description": "Breakdown of the total fees and gross of each of the different types of transactions associated\nwith the payout.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Total fees for all adjustments including disputes.", "isDeprecated": false, "name": "adjustmentsFee", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total gross amount for all adjustments including disputes.", "isDeprecated": false, "name": "adjustmentsGross", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total fees for all charges.", "isDeprecated": false, "name": "chargesFee", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total gross amount for all charges.", "isDeprecated": false, "name": "chargesGross", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total fees for all refunds.", "isDeprecated": false, "name": "refundsFee", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total gross amount for all refunds.", "isDeprecated": false, "name": "refundsFeeGross", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total fees for all reserved funds.", "isDeprecated": false, "name": "reservedFundsFee", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total gross amount for all reserved funds.", "isDeprecated": false, "name": "reservedFundsGross", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total fees for all retried payouts.", "isDeprecated": false, "name": "retriedPayoutsFee", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total gross amount for all retried payouts.", "isDeprecated": false, "name": "retriedPayoutsGross", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsPayoutSummary", "possibleTypes": null }, { "description": "The possible transaction types for a payout.", "enumValues": [ { "deprecationReason": null, "description": "The payout is a deposit.", "isDeprecated": false, "name": "DEPOSIT" }, { "deprecationReason": null, "description": "The payout is a withdrawal.", "isDeprecated": false, "name": "WITHDRAWAL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopifyPaymentsPayoutTransactionType", "possibleTypes": null }, { "description": "Presents all Shopify Payments specific information related to an order refund.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The acquirer reference number (ARN) code generated for Visa/Mastercard transactions.\n", "isDeprecated": false, "name": "acquirerReferenceNumber", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsRefundSet", "possibleTypes": null }, { "description": "Presents all Shopify Payments specific information related to an order transaction.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Contains all fields related to an extended authorization.\n", "isDeprecated": false, "name": "extendedAuthorizationSet", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsExtendedAuthorization", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Contains all fields related to a refund.\n", "isDeprecated": false, "name": "refundSet", "type": { "kind": "OBJECT", "name": "ShopifyPaymentsRefundSet", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsTransactionSet", "possibleTypes": null }, { "description": "Each subject (individual) of an account has a verification object giving\n information about the verification state.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the verification.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopifyPaymentsVerificationStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subject/individual who has to be verified.", "isDeprecated": false, "name": "subject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShopifyPaymentsVerificationSubject", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "ShopifyPaymentsVerification", "possibleTypes": null }, { "description": "A document which can be used to verify an individual.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "True if the back side of the document is required.", "isDeprecated": false, "name": "backRequired", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "True if the front side of the document is required.", "isDeprecated": false, "name": "frontRequired", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The type of the document which can be used for verification.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ShopifyPaymentsVerificationDocumentType", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsVerificationDocument", "possibleTypes": null }, { "description": "The types of possible verification documents.", "enumValues": [ { "deprecationReason": null, "description": "The subject's driver's license.", "isDeprecated": false, "name": "DRIVERS_LICENSE" }, { "deprecationReason": null, "description": "A government's identification document of the subject.", "isDeprecated": false, "name": "GOVERNMENT_IDENTIFICATION" }, { "deprecationReason": null, "description": "The subject's passport.", "isDeprecated": false, "name": "PASSPORT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopifyPaymentsVerificationDocumentType", "possibleTypes": null }, { "description": "The status of a verification.", "enumValues": [ { "deprecationReason": null, "description": "The verification has been verified.", "isDeprecated": false, "name": "VERIFIED" }, { "deprecationReason": null, "description": "The verification has not yet been verified.", "isDeprecated": false, "name": "UNVERIFIED" }, { "deprecationReason": null, "description": "The verification request has been submitted but a response has not yet been given.", "isDeprecated": false, "name": "PENDING" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "ShopifyPaymentsVerificationStatus", "possibleTypes": null }, { "description": "The verification subject represents an individual that has to be verified.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The family name of the individual to verify.", "isDeprecated": false, "name": "familyName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The given name of the individual to verify.", "isDeprecated": false, "name": "givenName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "ShopifyPaymentsVerificationSubject", "possibleTypes": null }, { "description": "A response to a ShopifyQL query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of parse errors, if parsing fails.", "isDeprecated": false, "name": "parseErrors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ParseError", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The result in a tabular format with schema and row data.\n To be used as a raw 2-dimensional response of the query.\n It's always present even if query has a `VISUALIZE` keyword.", "isDeprecated": false, "name": "tableData", "type": { "kind": "OBJECT", "name": "TableData", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "ShopifyqlResponse", "possibleTypes": [ { "kind": "OBJECT", "name": "PolarisVizResponse", "ofType": null }, { "kind": "OBJECT", "name": "TableResponse", "ofType": null } ] }, { "description": "Represents the data about a staff member's Shopify account. Merchants can use staff member data to get more information about the staff members in their store.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the staff member is active.", "isDeprecated": false, "name": "active", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": "DEFAULT", "description": "The default image returned if the staff member has no avatar.", "name": "fallback", "type": { "kind": "ENUM", "name": "StaffMemberDefaultImage", "ofType": null } } ], "deprecationReason": null, "description": "The image used as the staff member's avatar in the Shopify admin.", "isDeprecated": false, "name": "avatar", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member's email address.", "isDeprecated": false, "name": "email", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the staff member's account exists.", "isDeprecated": false, "name": "exists", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member's first name.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member's initials, if available.", "isDeprecated": false, "name": "initials", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "Whether the staff member is the shop owner.", "isDeprecated": false, "name": "isShopOwner", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member's last name.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The staff member's preferred locale. Locale values use the format `language` or `language-COUNTRY`, where `language` is a two-letter language code, and `COUNTRY` is a two-letter country code. For example: `en` or `en-US`", "isDeprecated": false, "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member's full name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The staff member's phone number.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The data used to customize the Shopify admin experience for the staff member.", "isDeprecated": false, "name": "privateData", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StaffMemberPrivateData", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "StaffMember", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple StaffMembers.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StaffMemberEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in StaffMemberEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StaffMemberConnection", "possibleTypes": null }, { "description": "Represents the fallback avatar image for a staff member. This is used only if the staff member has no avatar image.", "enumValues": [ { "deprecationReason": null, "description": "Returns a default avatar image for the staff member.", "isDeprecated": false, "name": "DEFAULT" }, { "deprecationReason": null, "description": "Returns a transparent avatar image for the staff member.", "isDeprecated": false, "name": "TRANSPARENT" }, { "deprecationReason": null, "description": "Returns a URL that returns a 404 error if the image is not present.", "isDeprecated": false, "name": "NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "StaffMemberDefaultImage", "possibleTypes": null }, { "description": "An auto-generated type which holds one StaffMember and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of StaffMemberEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StaffMemberEdge", "possibleTypes": null }, { "description": "Represents access permissions for a staff member.", "enumValues": [ { "deprecationReason": null, "description": "The staff member can manage and install apps and channels.", "isDeprecated": false, "name": "APPLICATIONS" }, { "deprecationReason": null, "description": "The staff member can manage and install sales channels.", "isDeprecated": false, "name": "CHANNELS" }, { "deprecationReason": null, "description": "The staff member can view, create, update, and delete customers, and respond to customer messages in the Shopify Messaging API.", "isDeprecated": false, "name": "CUSTOMERS" }, { "deprecationReason": null, "description": "The staff member can view the Shopify Home page, which includes sales information and other shop data.", "isDeprecated": false, "name": "DASHBOARD" }, { "deprecationReason": null, "description": "The staff member can view, buy, and manage domains.", "isDeprecated": false, "name": "DOMAINS" }, { "deprecationReason": null, "description": "The staff member can create, update, and delete draft orders.", "isDeprecated": false, "name": "DRAFT_ORDERS" }, { "deprecationReason": null, "description": "The staff member can update orders.", "isDeprecated": false, "name": "EDIT_ORDERS" }, { "deprecationReason": "Use the list of the staff member's explicit permissions returned in the `StaffMember.permissions.userPermissions` field instead of `full` permission.", "description": "The staff has the same permissions as the [store owner](https://shopify.dev/en/manual/your-account/staff-accounts/staff-permissions#store-owner-permissions) with some exceptions, such as modifying the account billing or deleting staff accounts.", "isDeprecated": true, "name": "FULL" }, { "deprecationReason": null, "description": "The staff member can view, create, issue, and export gift cards to a CSV file.", "isDeprecated": false, "name": "GIFT_CARDS" }, { "deprecationReason": null, "description": "The staff member can view and modify links and navigation menus.", "isDeprecated": false, "name": "LINKS" }, { "deprecationReason": null, "description": "The staff member can create, update, and delete locations where inventory is stocked or managed.", "isDeprecated": false, "name": "LOCATIONS" }, { "deprecationReason": null, "description": "The staff member can view and create discount codes and automatic discounts, and export discounts to a CSV file.", "isDeprecated": false, "name": "MARKETING" }, { "deprecationReason": null, "description": "The staff member can view, create, and automate marketing campaigns.", "isDeprecated": false, "name": "MARKETING_SECTION" }, { "deprecationReason": null, "description": "The staff member can view, create, update, delete, and cancel orders, and receive order notifications. The staff member can still create draft orders without this permission.", "isDeprecated": false, "name": "ORDERS" }, { "deprecationReason": null, "description": "The staff member can view the Overview and Live view pages,\n which include sales information, and other shop and sales channels data.", "isDeprecated": false, "name": "OVERVIEWS" }, { "deprecationReason": null, "description": "The staff member can view, create, update, publish, and delete blog posts and pages.", "isDeprecated": false, "name": "PAGES" }, { "deprecationReason": null, "description": "The staff member can pay for an order by using a vaulted card.", "isDeprecated": false, "name": "PAY_ORDERS_BY_VAULTED_CARD" }, { "deprecationReason": null, "description": "The staff member can view the preferences and configuration of a shop.", "isDeprecated": false, "name": "PREFERENCES" }, { "deprecationReason": null, "description": "The staff member can view, create, import, and update products, collections, and inventory.", "isDeprecated": false, "name": "PRODUCTS" }, { "deprecationReason": null, "description": "The staff member can view and create all reports, which includes sales information and other shop data.", "isDeprecated": false, "name": "REPORTS" }, { "deprecationReason": null, "description": "The staff member can view, update, and publish themes.", "isDeprecated": false, "name": "THEMES" }, { "deprecationReason": "Unused.", "description": "The staff member can view and create translations.", "isDeprecated": true, "name": "TRANSLATIONS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "StaffMemberPermission", "possibleTypes": null }, { "description": "Represents the data used to customize the Shopify admin experience for a logged-in staff member.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The URL to the staff member's account settings page.", "isDeprecated": false, "name": "accountSettingsUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the staff member was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": "Use StaffMember.permissions.userPermissions instead", "description": "Access permissions for the staff member.", "isDeprecated": true, "name": "permissions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "StaffMemberPermission", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StaffMemberPrivateData", "possibleTypes": null }, { "description": "An image to be uploaded.\n\nDeprecated in favor of\n[StagedUploadInput](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadInput),\nwhich is used by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The image resource.", "name": "resource", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "StagedUploadTargetGenerateUploadResource", "ofType": null } } }, { "defaultValue": null, "description": "The image filename.", "name": "filename", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The image MIME type.", "name": "mimeType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": "PUT", "description": "HTTP method to be used by the staged upload.", "name": "httpMethod", "type": { "kind": "ENUM", "name": "StagedUploadHttpMethodType", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "StageImageInput", "possibleTypes": null }, { "description": "Information about a staged upload target, which should be used to send a request to upload\nthe file.\n\nFor more information on the upload process, refer to\n[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Parameters needed to authenticate a request to upload the file.", "isDeprecated": false, "name": "parameters", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StagedUploadParameter", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The URL to be passed as `originalSource` in\n[CreateMediaInput](https://shopify.dev/api/admin-graphql/latest/input-objects/CreateMediaInput)\nand [FileCreateInput](https://shopify.dev/api/admin-graphql/2022-04/input-objects/FileCreateInput)\nfor the [productCreateMedia](https://shopify.dev/api/admin-graphql/2022-04/mutations/productCreateMedia)\nand [fileCreate](https://shopify.dev/api/admin-graphql/2022-04/mutations/fileCreate)\nmutations.\n", "isDeprecated": false, "name": "resourceUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL to use when sending an request to upload the file. Should be used in conjunction with\nthe parameters field.\n", "isDeprecated": false, "name": "url", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StagedMediaUploadTarget", "possibleTypes": null }, { "description": "The possible HTTP methods that can be used when sending a request to upload a file using information from a\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget).\n", "enumValues": [ { "deprecationReason": null, "description": "The POST HTTP method.", "isDeprecated": false, "name": "POST" }, { "deprecationReason": null, "description": "The PUT HTTP method.", "isDeprecated": false, "name": "PUT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "StagedUploadHttpMethodType", "possibleTypes": null }, { "description": "The input fields for generating staged upload targets.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The file's intended Shopify resource type.", "name": "resource", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "StagedUploadTargetGenerateUploadResource", "ofType": null } } }, { "defaultValue": null, "description": "The file's name and extension.", "name": "filename", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The file's MIME type.", "name": "mimeType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": "PUT", "description": "The HTTP method to be used when sending a request to upload the file using the returned staged\nupload target.\n", "name": "httpMethod", "type": { "kind": "ENUM", "name": "StagedUploadHttpMethodType", "ofType": null } }, { "defaultValue": null, "description": "The size of the file to upload, in bytes. This is required when the request's resource property is set to\n[VIDEO](https://shopify.dev/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#value-video)\nor [MODEL_3D](https://shopify.dev/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#value-model3d).\n", "name": "fileSize", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "StagedUploadInput", "possibleTypes": null }, { "description": "The parameters required to authenticate a file upload request using a\n[StagedMediaUploadTarget's url field](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-stagedmediauploadtarget-url).\n\nFor more information on the upload process, refer to\n[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The parameter's name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The parameter's value.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StagedUploadParameter", "possibleTypes": null }, { "description": "Information about the staged target.\n\nDeprecated in favor of\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget),\nwhich is returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The parameters of an image to be uploaded.", "isDeprecated": false, "name": "parameters", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ImageUploadParameter", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The image URL.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StagedUploadTarget", "possibleTypes": null }, { "description": "The required fields and parameters to generate the URL upload an\"\nasset to Shopify.\n\nDeprecated in favor of\n[StagedUploadInput](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadInput),\nwhich is used by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The resource type being uploaded.", "name": "resource", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "StagedUploadTargetGenerateUploadResource", "ofType": null } } }, { "defaultValue": null, "description": "The filename of the asset being uploaded.", "name": "filename", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The MIME type of the asset being uploaded.", "name": "mimeType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": "PUT", "description": "The HTTP method to be used by the staged upload.", "name": "httpMethod", "type": { "kind": "ENUM", "name": "StagedUploadHttpMethodType", "ofType": null } }, { "defaultValue": null, "description": "The size of the file to upload, in bytes.", "name": "fileSize", "type": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "StagedUploadTargetGenerateInput", "possibleTypes": null }, { "description": "Return type for `stagedUploadTargetGenerate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The signed parameters that can be used to upload the asset.", "isDeprecated": false, "name": "parameters", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MutationsStagedUploadTargetGenerateUploadParameter", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The signed URL where the asset can be uploaded.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StagedUploadTargetGeneratePayload", "possibleTypes": null }, { "description": "The resource type to receive.", "enumValues": [ { "deprecationReason": null, "description": "An image associated with a collection.\n\nFor example, after uploading an image, you can use the\n[collectionUpdate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/collectionUpdate)\nto add the image to a collection.\n", "isDeprecated": false, "name": "COLLECTION_IMAGE" }, { "deprecationReason": null, "description": "Represents any file other than HTML.\n\nFor example, after uploading the file, you can add the file to the\n[Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).\n", "isDeprecated": false, "name": "FILE" }, { "deprecationReason": null, "description": "An image.\n\nFor example, after uploading an image, you can add the image to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia)\nor to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).\n", "isDeprecated": false, "name": "IMAGE" }, { "deprecationReason": null, "description": "A Shopify hosted 3d model.\n\nFor example, after uploading the 3d model, you can add the 3d model to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia).\n", "isDeprecated": false, "name": "MODEL_3D" }, { "deprecationReason": null, "description": "An image that's associated with a product.\n\nFor example, after uploading the image, you can add the image to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia).\n", "isDeprecated": false, "name": "PRODUCT_IMAGE" }, { "deprecationReason": null, "description": "An image.\n\nFor example, after uploading the image, you can add the image to the\n[Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).\n", "isDeprecated": false, "name": "SHOP_IMAGE" }, { "deprecationReason": null, "description": "A Shopify-hosted video.\n\nFor example, after uploading the video, you can add the video to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia)\nor to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).\n", "isDeprecated": false, "name": "VIDEO" }, { "deprecationReason": null, "description": "Represents bulk mutation variables.\n\nFor example, bulk mutation variables can be used for bulk operations using the\n[bulkOperationRunMutation mutation](https://shopify.dev/api/admin-graphql/latest/mutations/bulkOperationRunMutation).\n", "isDeprecated": false, "name": "BULK_MUTATION_VARIABLES" }, { "deprecationReason": null, "description": "Represents a label associated with a return.\n\nFor example, once uploaded, this resource can be used to [create a\nReverseDelivery](https://shopify.dev/api/admin-graphql/unstable/mutations/reverseDeliveryCreateWithShipping).\n", "isDeprecated": false, "name": "RETURN_LABEL" }, { "deprecationReason": null, "description": "Represents a redirect CSV file.\n\nExample usage: This resource can be used for creating a\n[UrlRedirectImport](https://shopify.dev/api/admin-graphql/2022-04/objects/UrlRedirectImport)\nobject for use in the\n[urlRedirectImportCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportCreate).\n", "isDeprecated": false, "name": "URL_REDIRECT_IMPORT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "StagedUploadTargetGenerateUploadResource", "possibleTypes": null }, { "description": "Return type for `stagedUploadTargetsGenerate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The staged upload targets that were generated.", "isDeprecated": false, "name": "urls", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StagedUploadTarget", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StagedUploadTargetsGeneratePayload", "possibleTypes": null }, { "description": "Return type for `stagedUploadsCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The staged upload targets that were generated.", "isDeprecated": false, "name": "stagedTargets", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StagedMediaUploadTarget", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StagedUploadsCreatePayload", "possibleTypes": null }, { "description": "Return type for `standardMetafieldDefinitionEnable` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The metafield definition that was created.", "isDeprecated": false, "name": "createdDefinition", "type": { "kind": "OBJECT", "name": "MetafieldDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StandardMetafieldDefinitionEnableUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StandardMetafieldDefinitionEnablePayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `StandardMetafieldDefinitionEnable`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "StandardMetafieldDefinitionEnableUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "StandardMetafieldDefinitionEnableUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `StandardMetafieldDefinitionEnableUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is already taken.", "isDeprecated": false, "name": "TAKEN" }, { "deprecationReason": null, "description": "The standard metafield definition template was not found.", "isDeprecated": false, "name": "TEMPLATE_NOT_FOUND" }, { "deprecationReason": null, "description": "The maximum number of definitions per owner type has been exceeded.", "isDeprecated": false, "name": "LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "The namespace and key is already in use for a set of your metafields.", "isDeprecated": false, "name": "UNSTRUCTURED_ALREADY_EXISTS" }, { "deprecationReason": null, "description": "The definition type is not eligible to be used as collection condition.", "isDeprecated": false, "name": "TYPE_NOT_ALLOWED_FOR_CONDITIONS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "StandardMetafieldDefinitionEnableUserErrorCode", "possibleTypes": null }, { "description": "Standard metafield definition templates provide preset configurations to create metafield definitions.\nEach template has a specific namespace and key that we've reserved to have specific meanings for common use cases.\n\nRefer to the [list of standard metafield definitions](https://shopify.dev/apps/metafields/definitions/standard-definitions).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The description of the standard metafield definition.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The key owned by the definition after the definition has been activated.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The human-readable name for the standard metafield definition.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The namespace owned by the definition after the definition has been activated.", "isDeprecated": false, "name": "namespace", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of resource types that the standard metafield definition can be applied to.", "isDeprecated": false, "name": "ownerTypes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldOwnerType", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The associated [metafield definition type](https://shopify.dev/apps/metafields/definitions/types) that the metafield stores.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The configured validations for the standard metafield definition.", "isDeprecated": false, "name": "validations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldDefinitionValidation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Whether metafields for the definition are by default visible using the Storefront API.\n", "isDeprecated": false, "name": "visibleToStorefrontApi", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplate", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple StandardMetafieldDefinitionTemplates.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplateEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in StandardMetafieldDefinitionTemplateEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplate", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplateConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one StandardMetafieldDefinitionTemplate and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of StandardMetafieldDefinitionTemplateEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplate", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StandardMetafieldDefinitionTemplateEdge", "possibleTypes": null }, { "description": "Return type for `standardMetaobjectDefinitionEnable` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The metaobject definition that was enabled using the standard template.", "isDeprecated": false, "name": "metaobjectDefinition", "type": { "kind": "OBJECT", "name": "MetaobjectDefinition", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetaobjectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StandardMetaobjectDefinitionEnablePayload", "possibleTypes": null }, { "description": "Represents the details of a specific type of product within the [Shopify product taxonomy](https://help.shopify.com/txt/product_taxonomy/en.txt).", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The product taxonomy node associated with the standardized product type.", "isDeprecated": false, "name": "productTaxonomyNode", "type": { "kind": "OBJECT", "name": "ProductTaxonomyNode", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StandardizedProductType", "possibleTypes": null }, { "description": "Provides the fields and values to use when adding a standard product type to a product. The [Shopify product taxonomy](https://help.shopify.com/txt/product_taxonomy/en.txt) contains the full list of available values.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the node in the Shopify taxonomy that represents the product type.", "name": "productTaxonomyNodeId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "StandardizedProductTypeInput", "possibleTypes": null }, { "description": "A token that's used to delegate unauthenticated access scopes to clients that need to access\nthe unauthenticated Storefront API. An app can have a maximum of 100 active storefront access\ntokens for each shop.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "List of permissions associated with the token.", "isDeprecated": false, "name": "accessScopes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AccessScope", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The issued public access token.", "isDeprecated": false, "name": "accessToken", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the public access token was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "An arbitrary title for each token determined by the developer, used for reference purposes.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the storefront access token was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "StorefrontAccessToken", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple StorefrontAccessTokens.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StorefrontAccessTokenEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in StorefrontAccessTokenEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StorefrontAccessToken", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StorefrontAccessTokenConnection", "possibleTypes": null }, { "description": "Return type for `storefrontAccessTokenCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The user's shop.", "isDeprecated": false, "name": "shop", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The storefront access token.", "isDeprecated": false, "name": "storefrontAccessToken", "type": { "kind": "OBJECT", "name": "StorefrontAccessToken", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StorefrontAccessTokenCreatePayload", "possibleTypes": null }, { "description": "The input fields to delete a storefront access token.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the storefront access token to delete.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "StorefrontAccessTokenDeleteInput", "possibleTypes": null }, { "description": "Return type for `storefrontAccessTokenDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted storefront access token.", "isDeprecated": false, "name": "deletedStorefrontAccessTokenId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StorefrontAccessTokenDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one StorefrontAccessToken and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of StorefrontAccessTokenEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StorefrontAccessToken", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StorefrontAccessTokenEdge", "possibleTypes": null }, { "description": "The input fields for a storefront access token.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A title for the storefront access token.", "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "StorefrontAccessTokenInput", "possibleTypes": null }, { "description": "Represents a unique identifier in the Storefront API. A `StorefrontID` value can be used wherever an ID is expected in the Storefront API.\n\nExample value: `\"Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzEwMDc5Nzg1MTAw\"`.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "StorefrontID", "possibleTypes": null }, { "description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "String", "possibleTypes": null }, { "description": "An auto-generated type for paginating through a list of Strings.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StringConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one String and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of StringEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "StringEdge", "possibleTypes": null }, { "description": "Represents an applied code discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The redeem code of the discount that applies on the subscription.", "isDeprecated": false, "name": "redeemCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The reason that the discount on the subscription draft is rejected.", "isDeprecated": false, "name": "rejectionReason", "type": { "kind": "ENUM", "name": "SubscriptionDiscountRejectionReason", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionAppliedCodeDiscount", "possibleTypes": null }, { "description": "The input fields for mapping a subscription line to a discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The new subscription line.", "name": "line", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionLineInput", "ofType": null } } }, { "defaultValue": null, "description": "The discount to be added to the subscription line.", "name": "discounts", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionAtomicManualDiscountInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionAtomicLineInput", "possibleTypes": null }, { "description": "The input fields for mapping a subscription line to a discount.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title associated with the subscription discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Percentage or fixed amount value of the discount.", "name": "value", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountValueInput", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times the subscription discount will be applied on orders.", "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionAtomicManualDiscountInput", "possibleTypes": null }, { "description": "A record of an execution of the subscription billing process. Billing attempts use\nidempotency keys to avoid duplicate order creation. A successful billing attempt\nwill create an order.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date and time when the billing attempt was completed.", "isDeprecated": false, "name": "completedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time when the billing attempt was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A code corresponding to a payment error during processing.", "isDeprecated": false, "name": "errorCode", "type": { "kind": "ENUM", "name": "SubscriptionBillingAttemptErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A message describing a payment error during processing.", "isDeprecated": false, "name": "errorMessage", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A unique key generated by the client to avoid duplicate payments.", "isDeprecated": false, "name": "idempotencyKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.\n", "isDeprecated": false, "name": "nextActionUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The result of this billing attempt if completed successfully.", "isDeprecated": false, "name": "order", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time used to calculate fulfillment intervals for a billing attempt that\nsuccessfully completed after the current anchor date. To prevent fulfillment from being\npushed to the next anchor date, this field can override the billing attempt date.\n", "isDeprecated": false, "name": "originTime", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the billing attempt is still processing.", "isDeprecated": false, "name": "ready", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subscription contract.", "isDeprecated": false, "name": "subscriptionContract", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "SubscriptionBillingAttempt", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SubscriptionBillingAttempts.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingAttemptEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SubscriptionBillingAttemptEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingAttempt", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingAttemptConnection", "possibleTypes": null }, { "description": "Return type for `subscriptionBillingAttemptCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The subscription billing attempt.", "isDeprecated": false, "name": "subscriptionBillingAttempt", "type": { "kind": "OBJECT", "name": "SubscriptionBillingAttempt", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BillingAttemptUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingAttemptCreatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one SubscriptionBillingAttempt and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SubscriptionBillingAttemptEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingAttempt", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingAttemptEdge", "possibleTypes": null }, { "description": "The possible error codes associated with making billing attempts. The error codes supplement the\n`error_message` to provide consistent results and help with dunning management.\n", "enumValues": [ { "deprecationReason": null, "description": "Payment method was not found.\n", "isDeprecated": false, "name": "PAYMENT_METHOD_NOT_FOUND" }, { "deprecationReason": null, "description": "Payment provider is not enabled.\n", "isDeprecated": false, "name": "PAYMENT_PROVIDER_IS_NOT_ENABLED" }, { "deprecationReason": null, "description": "Payment method is invalid. Please update or create a new payment method.\n", "isDeprecated": false, "name": "INVALID_PAYMENT_METHOD" }, { "deprecationReason": null, "description": "There was an unexpected error during the billing attempt.\n", "isDeprecated": false, "name": "UNEXPECTED_ERROR" }, { "deprecationReason": null, "description": "Payment method is expired.\n", "isDeprecated": false, "name": "EXPIRED_PAYMENT_METHOD" }, { "deprecationReason": null, "description": "Payment method was declined by processor.\n", "isDeprecated": false, "name": "PAYMENT_METHOD_DECLINED" }, { "deprecationReason": null, "description": "There was an error during the authentication.\n", "isDeprecated": false, "name": "AUTHENTICATION_ERROR" }, { "deprecationReason": null, "description": "Gateway is in test mode and attempted to bill a live payment method.\n", "isDeprecated": false, "name": "TEST_MODE" }, { "deprecationReason": null, "description": "Payment method was canceled by buyer.", "isDeprecated": false, "name": "BUYER_CANCELED_PAYMENT_METHOD" }, { "deprecationReason": null, "description": "Customer was not found.", "isDeprecated": false, "name": "CUSTOMER_NOT_FOUND" }, { "deprecationReason": null, "description": "Customer is invalid.", "isDeprecated": false, "name": "CUSTOMER_INVALID" }, { "deprecationReason": null, "description": "The shipping address is either missing or invalid.", "isDeprecated": false, "name": "INVALID_SHIPPING_ADDRESS" }, { "deprecationReason": null, "description": "The billing agreement ID or the transaction ID for the customer's payment method is invalid.", "isDeprecated": false, "name": "INVALID_CUSTOMER_BILLING_AGREEMENT" }, { "deprecationReason": null, "description": "A payment has already been made for this invoice.", "isDeprecated": false, "name": "INVOICE_ALREADY_PAID" }, { "deprecationReason": null, "description": "Payment method cannot be used with the current payment gateway test mode configuration.", "isDeprecated": false, "name": "PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG" }, { "deprecationReason": null, "description": "The amount is too small.", "isDeprecated": false, "name": "AMOUNT_TOO_SMALL" }, { "deprecationReason": null, "description": "No inventory location found or enabled.", "isDeprecated": false, "name": "INVENTORY_ALLOCATIONS_NOT_FOUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionBillingAttemptErrorCode", "possibleTypes": null }, { "description": "The input fields required to complete a subscription billing attempt.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "A unique key generated by the client to avoid duplicate payments. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).", "name": "idempotencyKey", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The date and time used to calculate fulfillment intervals for a billing attempt that\nsuccessfully completed after the current anchor date. To prevent fulfillment from being\npushed to the next anchor date, this field can override the billing attempt date.\n", "name": "originTime", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "Select the specific billing cycle to be billed.\nDefault to bill the current billing cycle if not specified.\n", "name": "billingCycleSelector", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleSelector", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionBillingAttemptInput", "possibleTypes": null }, { "description": "A subscription billing cycle.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The date on which the billing attempt is expected to be made.", "isDeprecated": false, "name": "billingAttemptExpectedDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of billing attempts associated with the billing cycle.", "isDeprecated": false, "name": "billingAttempts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingAttemptConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The end date of the billing cycle.", "isDeprecated": false, "name": "cycleEndAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The index of the billing cycle.", "isDeprecated": false, "name": "cycleIndex", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The start date of the billing cycle.", "isDeprecated": false, "name": "cycleStartAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether this billing cycle was edited.", "isDeprecated": false, "name": "edited", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The active edited contract for the billing cycle.", "isDeprecated": false, "name": "editedContract", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycleEditedContract", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether this billing cycle was skipped.", "isDeprecated": false, "name": "skipped", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The subscription contract that the billing cycle belongs to.", "isDeprecated": false, "name": "sourceContract", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The status of the billing cycle.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionBillingCycleBillingCycleStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycle", "possibleTypes": null }, { "description": "The possible status values of a subscription billing cycle.", "enumValues": [ { "deprecationReason": null, "description": "The billing cycle is billed.", "isDeprecated": false, "name": "BILLED" }, { "deprecationReason": null, "description": "The billing cycle hasn't been billed.", "isDeprecated": false, "name": "UNBILLED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionBillingCycleBillingCycleStatus", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SubscriptionBillingCycles.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycleEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SubscriptionBillingCycleEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycle", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycleConnection", "possibleTypes": null }, { "description": "Return type for `subscriptionBillingCycleContractDraftCommit` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The committed Subscription Billing Cycle Edited Contract object.", "isDeprecated": false, "name": "contract", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycleEditedContract", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycleContractDraftCommitPayload", "possibleTypes": null }, { "description": "Return type for `subscriptionBillingCycleContractDraftConcatenate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The Subscription Draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycleContractDraftConcatenatePayload", "possibleTypes": null }, { "description": "Return type for `subscriptionBillingCycleContractEdit` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The draft subscription contract object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycleContractEditPayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one SubscriptionBillingCycle and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SubscriptionBillingCycleEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycle", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycleEdge", "possibleTypes": null }, { "description": "Return type for `subscriptionBillingCycleEditDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of updated billing cycles.", "isDeprecated": false, "name": "billingCycles", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycle", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycleUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycleEditDeletePayload", "possibleTypes": null }, { "description": "Represents a subscription contract with billing cycles.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The subscription app that the subscription contract is registered to.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL of the subscription contract page on the subscription app.", "isDeprecated": false, "name": "appAdminUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CYCLE_INDEX", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "SubscriptionBillingCyclesSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The billing cycles that the edited contract belongs to.", "isDeprecated": false, "name": "billingCycles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the subscription contract was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The currency that's used for the subscription contract.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the custom attributes to be added to the generated orders.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The customer to whom the subscription contract belongs.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [ { "defaultValue": "false", "description": "Whether to show the customer's revoked payment method.", "name": "showRevoked", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The customer payment method that's used for the subscription contract.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery method for each billing of the subscription contract.", "isDeprecated": false, "name": "deliveryMethod", "type": { "kind": "UNION", "name": "SubscriptionDeliveryMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery price for each billing of the subscription contract.", "isDeprecated": false, "name": "deliveryPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription discounts associated with the subscription contract.", "isDeprecated": false, "name": "discounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionManualDiscountConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of lines associated with the subscription contract.", "isDeprecated": false, "name": "lineCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription lines associated with the subscription contract.", "isDeprecated": false, "name": "lines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLineConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The note field that will be applied to the generated orders.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the subscription contract's orders.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the subscription contract was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "SubscriptionContractBase", "ofType": null } ], "kind": "OBJECT", "name": "SubscriptionBillingCycleEditedContract", "possibleTypes": null }, { "description": "Return type for `subscriptionBillingCycleEditsDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of updated billing cycles.", "isDeprecated": false, "name": "billingCycles", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycle", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycleUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycleEditsDeletePayload", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `SubscriptionBillingCycleUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "Can't find the billing cycle.", "isDeprecated": false, "name": "CYCLE_NOT_FOUND" }, { "deprecationReason": null, "description": "There's no contract or schedule edit associated with the targeted billing cycle(s).", "isDeprecated": false, "name": "NO_CYCLE_EDITS" }, { "deprecationReason": null, "description": "The index selector is invalid.", "isDeprecated": false, "name": "INVALID_CYCLE_INDEX" }, { "deprecationReason": null, "description": "The date selector is invalid.", "isDeprecated": false, "name": "INVALID_DATE" }, { "deprecationReason": null, "description": "Billing cycle schedule edit input provided is empty. Must take in parameters to modify schedule.", "isDeprecated": false, "name": "EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT" }, { "deprecationReason": null, "description": "Billing date cannot be set on skipped billing cycle.", "isDeprecated": false, "name": "BILLING_DATE_SET_ON_SKIPPED" }, { "deprecationReason": null, "description": "Billing date of a cycle cannot be set to a value outside of its billing date range.", "isDeprecated": false, "name": "OUT_OF_BOUNDS" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select upcoming billing cycle past limit.", "isDeprecated": false, "name": "UPCOMING_CYCLE_LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select billing cycle outside of index range.", "isDeprecated": false, "name": "CYCLE_INDEX_OUT_OF_RANGE" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select billing cycle outside of start date range.", "isDeprecated": false, "name": "CYCLE_START_DATE_OUT_OF_RANGE" }, { "deprecationReason": null, "description": "Billing cycle has incomplete billing attempts in progress.", "isDeprecated": false, "name": "INCOMPLETE_BILLING_ATTEMPTS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionBillingCycleErrorCode", "possibleTypes": null }, { "description": "The input fields for specifying the subscription contract and selecting the associated billing cycle.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the subscription contract associated with the billing cycle.", "name": "contractId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "Selects the billing cycle by date or index.", "name": "selector", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleSelector", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleInput", "possibleTypes": null }, { "description": "The input fields for parameters to modify the schedule of a specific billing cycle.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Sets the skip status for the billing cycle.", "name": "skip", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Sets the expected billing date for the billing cycle.", "name": "billingDate", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The reason for editing.", "name": "reason", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionBillingCycleScheduleEditInputScheduleEditReason", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleScheduleEditInput", "possibleTypes": null }, { "description": "The input fields for possible reasons for editing the billing cycle's schedule.", "enumValues": [ { "deprecationReason": null, "description": "Buyer initiated the schedule edit.", "isDeprecated": false, "name": "BUYER_INITIATED" }, { "deprecationReason": null, "description": "Merchant initiated the schedule edit.", "isDeprecated": false, "name": "MERCHANT_INITIATED" }, { "deprecationReason": null, "description": "Developer initiated the schedule edit.", "isDeprecated": false, "name": "DEV_INITIATED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionBillingCycleScheduleEditInputScheduleEditReason", "possibleTypes": null }, { "description": "Return type for `subscriptionBillingCycleScheduleEdit` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated billing cycle.", "isDeprecated": false, "name": "billingCycle", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycle", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycleUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingCycleScheduleEditPayload", "possibleTypes": null }, { "description": "The input fields to select SubscriptionBillingCycle by either date or index.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Returns a billing cycle by index.", "name": "index", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns a billing cycle by date.", "name": "date", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCycleSelector", "possibleTypes": null }, { "description": "The possible errors for a subscription billing cycle.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "SubscriptionBillingCycleErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "SubscriptionBillingCycleUserError", "possibleTypes": null }, { "description": "The input fields to select a subset of subscription billing cycles within a date range.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The start date and time for the range.", "name": "startDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "defaultValue": null, "description": "The end date and time for the range.", "name": "endDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCyclesDateRangeSelector", "possibleTypes": null }, { "description": "The input fields to select a subset of subscription billing cycles within an index range.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The start index for the range.", "name": "startIndex", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The end index for the range.", "name": "endIndex", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionBillingCyclesIndexRangeSelector", "possibleTypes": null }, { "description": "The set of valid sort keys for the SubscriptionBillingCycles query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `cycle_index` value.", "isDeprecated": false, "name": "CYCLE_INDEX" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionBillingCyclesSortKeys", "possibleTypes": null }, { "description": "Select subscription billing cycles to be targeted.", "enumValues": [ { "deprecationReason": null, "description": "Target all future subscription billing cycles.", "isDeprecated": false, "name": "ALL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionBillingCyclesTargetSelection", "possibleTypes": null }, { "description": "Represents a Subscription Billing Policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Specific anchor dates upon which the billing interval calculations should be made.", "isDeprecated": false, "name": "anchors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanAnchor", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The kind of interval that is associated with this schedule (e.g. Monthly, Weekly, etc).", "isDeprecated": false, "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanInterval", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of billing intervals between invoices.", "isDeprecated": false, "name": "intervalCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Maximum amount of cycles after which the subscription ends.", "isDeprecated": false, "name": "maxCycles", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Minimum amount of cycles required in the subscription.", "isDeprecated": false, "name": "minCycles", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionBillingPolicy", "possibleTypes": null }, { "description": "The input fields for a Subscription Billing Policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The kind of interval that is associated with this schedule (e.g. Monthly, Weekly, etc).", "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanInterval", "ofType": null } } }, { "defaultValue": null, "description": "The number of billing intervals between invoices.", "name": "intervalCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "Minimum amount of cycles required in the subscription.", "name": "minCycles", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Maximum amount of cycles required in the subscription.", "name": "maxCycles", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": "[]", "description": "Specific anchor dates upon which the billing interval calculations should be made.", "name": "anchors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanAnchorInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionBillingPolicyInput", "possibleTypes": null }, { "description": "Represents a Subscription Contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The subscription app that the subscription contract is registered to.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL of the subscription contract page on the subscription app.", "isDeprecated": false, "name": "appAdminUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of billing attempts associated with the subscription contract.", "isDeprecated": false, "name": "billingAttempts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingAttemptConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The billing policy associated with the subscription contract.", "isDeprecated": false, "name": "billingPolicy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingPolicy", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the subscription contract was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The currency that's used for the subscription contract.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the custom attributes to be added to the generated orders.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The customer to whom the subscription contract belongs.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [ { "defaultValue": "false", "description": "Whether to show the customer's revoked payment method.", "name": "showRevoked", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The customer payment method that's used for the subscription contract.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery method for each billing of the subscription contract.", "isDeprecated": false, "name": "deliveryMethod", "type": { "kind": "UNION", "name": "SubscriptionDeliveryMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery policy associated with the subscription contract.", "isDeprecated": false, "name": "deliveryPolicy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDeliveryPolicy", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The delivery price for each billing of the subscription contract.", "isDeprecated": false, "name": "deliveryPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription discounts associated with the subscription contract.", "isDeprecated": false, "name": "discounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionManualDiscountConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current status of the last payment.", "isDeprecated": false, "name": "lastPaymentStatus", "type": { "kind": "ENUM", "name": "SubscriptionContractLastPaymentStatus", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of lines associated with the subscription contract.", "isDeprecated": false, "name": "lineCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription lines associated with the subscription contract.", "isDeprecated": false, "name": "lines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLineConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The next billing date for the subscription contract.", "isDeprecated": false, "name": "nextBillingDate", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The note field that will be applied to the generated orders.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the subscription contract's orders.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The order from which this contract originated.", "isDeprecated": false, "name": "originOrder", "type": { "kind": "OBJECT", "name": "Order", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The revision id of the contract.", "isDeprecated": false, "name": "revisionId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The current status of the subscription contract.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionContractSubscriptionStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the subscription contract was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "SubscriptionContractBase", "ofType": null } ], "kind": "OBJECT", "name": "SubscriptionContract", "possibleTypes": null }, { "description": "The input fields required to create a Subscription Contract.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the customer to associate with the subscription contract.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The next billing date for the subscription contract.", "name": "nextBillingDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "defaultValue": null, "description": "The currency used for the subscription contract.", "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "defaultValue": null, "description": "The attributes used as input for the Subscription Draft.", "name": "contract", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionDraftInput", "ofType": null } } }, { "defaultValue": null, "description": "A list of new Subscription Lines.", "name": "lines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionAtomicLineInput", "ofType": null } } } } }, { "defaultValue": "[]", "description": "A list of discount redeem codes to apply to the subscription contract.", "name": "discountCodes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionContractAtomicCreateInput", "possibleTypes": null }, { "description": "Return type for `subscriptionContractAtomicCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The new Subscription Contract object.", "isDeprecated": false, "name": "contract", "type": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionContractAtomicCreatePayload", "possibleTypes": null }, { "description": "Represents subscription contract common fields.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The subscription app that the subscription contract is registered to.", "isDeprecated": false, "name": "app", "type": { "kind": "OBJECT", "name": "App", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The URL of the subscription contract page on the subscription app.", "isDeprecated": false, "name": "appAdminUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The currency that's used for the subscription contract.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the custom attributes to be added to the generated orders.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The customer to whom the subscription contract belongs.", "isDeprecated": false, "name": "customer", "type": { "kind": "OBJECT", "name": "Customer", "ofType": null } }, { "args": [ { "defaultValue": "false", "description": "Whether to show the customer's revoked payment method.", "name": "showRevoked", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The customer payment method that's used for the subscription contract.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery method for each billing of the subscription contract.", "isDeprecated": false, "name": "deliveryMethod", "type": { "kind": "UNION", "name": "SubscriptionDeliveryMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery price for each billing of the subscription contract.", "isDeprecated": false, "name": "deliveryPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription discounts associated with the subscription contract.", "isDeprecated": false, "name": "discounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionManualDiscountConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of lines associated with the subscription contract.", "isDeprecated": false, "name": "lineCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription lines associated with the subscription contract.", "isDeprecated": false, "name": "lines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLineConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The note field that will be applied to the generated orders.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "A list of the subscription contract's orders.", "isDeprecated": false, "name": "orders", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the subscription contract was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "INTERFACE", "name": "SubscriptionContractBase", "possibleTypes": [ { "kind": "OBJECT", "name": "SubscriptionBillingCycleEditedContract", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } ] }, { "description": "An auto-generated type for paginating through multiple SubscriptionContracts.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContractEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SubscriptionContractEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionContractConnection", "possibleTypes": null }, { "description": "The input fields required to create a Subscription Contract.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the customer to associate with the subscription contract.", "name": "customerId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The next billing date for the subscription contract.", "name": "nextBillingDate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "defaultValue": null, "description": "The currency used for the subscription contract.", "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "defaultValue": null, "description": "The attributes used as input for the Subscription Draft.", "name": "contract", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionDraftInput", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionContractCreateInput", "possibleTypes": null }, { "description": "Return type for `subscriptionContractCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The Subscription Contract object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionContractCreatePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one SubscriptionContract and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SubscriptionContractEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionContractEdge", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `SubscriptionContractUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionContractErrorCode", "possibleTypes": null }, { "description": "The possible status values of the last payment on a subscription contract.", "enumValues": [ { "deprecationReason": null, "description": "Successful subscription billing attempt.", "isDeprecated": false, "name": "SUCCEEDED" }, { "deprecationReason": null, "description": "Failed subscription billing attempt.", "isDeprecated": false, "name": "FAILED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionContractLastPaymentStatus", "possibleTypes": null }, { "description": "The input fields required to create a Subscription Contract.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the product variant the subscription line refers to.", "name": "productVariantId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The price of the product.", "name": "currentPrice", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionContractProductChangeInput", "possibleTypes": null }, { "description": "Return type for `subscriptionContractProductChange` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The new Subscription Contract object.", "isDeprecated": false, "name": "contract", "type": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The updated Subscription Line.", "isDeprecated": false, "name": "lineUpdated", "type": { "kind": "OBJECT", "name": "SubscriptionLine", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionContractProductChangePayload", "possibleTypes": null }, { "description": "Return type for `subscriptionContractSetNextBillingDate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated Subscription Contract object.", "isDeprecated": false, "name": "contract", "type": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionContractUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionContractSetNextBillingDatePayload", "possibleTypes": null }, { "description": "The possible status values of a subscription.", "enumValues": [ { "deprecationReason": null, "description": "The contract is active and continuing per its policies.", "isDeprecated": false, "name": "ACTIVE" }, { "deprecationReason": null, "description": "The contract is temporarily paused and is expected to resume in the future.", "isDeprecated": false, "name": "PAUSED" }, { "deprecationReason": null, "description": "The contract was ended by an unplanned customer action.", "isDeprecated": false, "name": "CANCELLED" }, { "deprecationReason": null, "description": "The contract has ended per the expected circumstances. All billing and deliverycycles of the subscriptions were executed.", "isDeprecated": false, "name": "EXPIRED" }, { "deprecationReason": null, "description": "The contract ended because billing failed and no further billing attempts are expected.", "isDeprecated": false, "name": "FAILED" }, { "deprecationReason": null, "description": "The contract has expired due to inactivity.", "isDeprecated": false, "name": "STALE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionContractSubscriptionStatus", "possibleTypes": null }, { "description": "Return type for `subscriptionContractUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The Subscription Contract object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionContractUpdatePayload", "possibleTypes": null }, { "description": "Represents a Subscription Contract error.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "SubscriptionContractErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "SubscriptionContractUserError", "possibleTypes": null }, { "description": "Represents a Subscription Line Pricing Cycle Adjustment.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Price adjustment type.", "isDeprecated": false, "name": "adjustmentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanPricingPolicyAdjustmentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Price adjustment value.", "isDeprecated": false, "name": "adjustmentValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SellingPlanPricingPolicyAdjustmentValue", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of cycles required before this pricing policy applies.", "isDeprecated": false, "name": "afterCycle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The computed price after the adjustments applied.", "isDeprecated": false, "name": "computedPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionCyclePriceAdjustment", "possibleTypes": null }, { "description": "Describes the delivery method to use to get the physical goods to the customer.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SubscriptionDeliveryMethod", "possibleTypes": [ { "kind": "OBJECT", "name": "SubscriptionDeliveryMethodLocalDelivery", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionDeliveryMethodPickup", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionDeliveryMethodShipping", "ofType": null } ] }, { "description": "Specifies delivery method fields for a subscription draft.\nThis is an input union: one, and only one, field can be provided.\nThe field provided will determine which delivery method is to be used.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The input fields for the shipping delivery method.", "name": "shipping", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodShippingInput", "ofType": null } }, { "defaultValue": null, "description": "The input fields for the local delivery method.", "name": "localDelivery", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodLocalDeliveryInput", "ofType": null } }, { "defaultValue": null, "description": "The input fields for the pickup delivery method.", "name": "pickup", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodPickupInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodInput", "possibleTypes": null }, { "description": "A local delivery method, which includes a mailing address and a local delivery option.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The address to deliver to.", "isDeprecated": false, "name": "address", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionMailingAddress", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The details of the local delivery method to use.", "isDeprecated": false, "name": "localDeliveryOption", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDeliveryMethodLocalDeliveryOption", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryMethodLocalDelivery", "possibleTypes": null }, { "description": "The input fields for a local delivery method.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The address to deliver to.", "name": "address", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, { "defaultValue": null, "description": "The details of the local delivery method to use.", "name": "localDeliveryOption", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodLocalDeliveryOptionInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodLocalDeliveryInput", "possibleTypes": null }, { "description": "The selected delivery option on a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A custom reference to the delivery method for use with automations.", "isDeprecated": false, "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The details displayed to the customer to describe the local delivery option.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery instructions that the customer can provide to the merchant.", "isDeprecated": false, "name": "instructions", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The phone number that the customer provided to the merchant.\nFormatted using E.164 standard. For example, `+16135551111`.\n", "isDeprecated": false, "name": "phone", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The presentment title of the local delivery option.", "isDeprecated": false, "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the local delivery option.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryMethodLocalDeliveryOption", "possibleTypes": null }, { "description": "The input fields for local delivery option.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title of the local delivery option.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The presentment title of the local delivery option.", "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The details displayed to the customer to describe the local delivery option.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A custom reference to the delivery method for use with automations.", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The phone number that the customer must provide to the merchant.\nFormatted using E.164 standard. For example, `+16135551111`.\n", "name": "phone", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The delivery instructions that the customer can provide to the merchant.", "name": "instructions", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodLocalDeliveryOptionInput", "possibleTypes": null }, { "description": "A delivery method with a pickup option.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The details of the pickup delivery method to use.", "isDeprecated": false, "name": "pickupOption", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDeliveryMethodPickupOption", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryMethodPickup", "possibleTypes": null }, { "description": "The input fields for a pickup delivery method.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The details of the pickup method to use.", "name": "pickupOption", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodPickupOptionInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodPickupInput", "possibleTypes": null }, { "description": "Represents the selected pickup option on a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A custom reference to the delivery method for use with automations.", "isDeprecated": false, "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The details displayed to the customer to describe the pickup option.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The location where the customer will pickup the merchandise.", "isDeprecated": false, "name": "location", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The presentment title of the pickup option.", "isDeprecated": false, "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the pickup option.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryMethodPickupOption", "possibleTypes": null }, { "description": "The input fields for pickup option.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title of the pickup option.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The presentment title of the pickup option.", "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The details displayed to the customer to describe the pickup option.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A custom reference to the delivery method for use with automations.", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The ID of the pickup location.", "name": "locationId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodPickupOptionInput", "possibleTypes": null }, { "description": "Represents a shipping delivery method: a mailing address and a shipping option.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The address to ship to.", "isDeprecated": false, "name": "address", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionMailingAddress", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The details of the shipping method to use.", "isDeprecated": false, "name": "shippingOption", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDeliveryMethodShippingOption", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryMethodShipping", "possibleTypes": null }, { "description": "Specifies shipping delivery method fields.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The address to ship to.", "name": "address", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, { "defaultValue": null, "description": "The details of the shipping method to use.", "name": "shippingOption", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodShippingOptionInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodShippingInput", "possibleTypes": null }, { "description": "Represents the selected shipping option on a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "This field has never been implemented.", "description": "The carrier service that is providing this shipping option.\nThis field isn't currently supported and returns null.\n", "isDeprecated": true, "name": "carrierService", "type": { "kind": "OBJECT", "name": "DeliveryCarrierService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The code of the shipping option.", "isDeprecated": false, "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The description of the shipping option.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The presentment title of the shipping option.", "isDeprecated": false, "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the shipping option.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryMethodShippingOption", "possibleTypes": null }, { "description": "The input fields for shipping option.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title of the shipping option.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The presentment title of the shipping option.", "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The description of the shipping option.", "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The code of the shipping option.", "name": "code", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The carrier service ID of the shipping option.", "name": "carrierServiceId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodShippingOptionInput", "possibleTypes": null }, { "description": "The delivery option for a subscription contract.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SubscriptionDeliveryOption", "possibleTypes": [ { "kind": "OBJECT", "name": "SubscriptionLocalDeliveryOption", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionPickupOption", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionShippingOption", "ofType": null } ] }, { "description": "The result of the query to fetch delivery options for the subscription contract.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SubscriptionDeliveryOptionResult", "possibleTypes": [ { "kind": "OBJECT", "name": "SubscriptionDeliveryOptionResultFailure", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionDeliveryOptionResultSuccess", "ofType": null } ] }, { "description": "A failure to find the available delivery options for a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The reason for the failure.", "isDeprecated": false, "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryOptionResultFailure", "possibleTypes": null }, { "description": "The delivery option for a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The available delivery options.", "isDeprecated": false, "name": "deliveryOptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SubscriptionDeliveryOption", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryOptionResultSuccess", "possibleTypes": null }, { "description": "Represents a Subscription Delivery Policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The specific anchor dates upon which the delivery interval calculations should be made.", "isDeprecated": false, "name": "anchors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SellingPlanAnchor", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The kind of interval that is associated with this schedule (e.g. Monthly, Weekly, etc).", "isDeprecated": false, "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanInterval", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of delivery intervals between deliveries.", "isDeprecated": false, "name": "intervalCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDeliveryPolicy", "possibleTypes": null }, { "description": "The input fields for a Subscription Delivery Policy.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The kind of interval that is associated with this schedule (e.g. Monthly, Weekly, etc).", "name": "interval", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanInterval", "ofType": null } } }, { "defaultValue": null, "description": "The number of billing intervals between invoices.", "name": "intervalCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": "[]", "description": "The specific anchor dates upon which the delivery interval calculations should be made.", "name": "anchors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanAnchorInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryPolicyInput", "possibleTypes": null }, { "description": "Subscription draft discount types.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SubscriptionDiscount", "possibleTypes": [ { "kind": "OBJECT", "name": "SubscriptionAppliedCodeDiscount", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionManualDiscount", "ofType": null } ] }, { "description": "Represents what a particular discount reduces from a line price.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Allocation amount.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Discount that created the allocation.", "isDeprecated": false, "name": "discount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SubscriptionDiscount", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDiscountAllocation", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SubscriptionDiscounts.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDiscountEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SubscriptionDiscountEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SubscriptionDiscount", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDiscountConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one SubscriptionDiscount and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SubscriptionDiscountEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SubscriptionDiscount", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDiscountEdge", "possibleTypes": null }, { "description": "Represents the subscription lines the discount applies on.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Specify whether the subscription discount will apply on all subscription lines.", "isDeprecated": false, "name": "all", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription lines associated with the subscription discount.", "isDeprecated": false, "name": "lines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLineConnection", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDiscountEntitledLines", "possibleTypes": null }, { "description": "The value of the discount and how it will be applied.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The fixed amount value of the discount.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the amount is applied per item.", "isDeprecated": false, "name": "appliesOnEachItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDiscountFixedAmountValue", "possibleTypes": null }, { "description": "The percentage value of the discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The percentage value of the discount.", "isDeprecated": false, "name": "percentage", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDiscountPercentageValue", "possibleTypes": null }, { "description": "The reason a discount on a subscription draft was rejected.", "enumValues": [ { "deprecationReason": null, "description": "Discount code is not found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "Discount does not apply to any of the given line items.", "isDeprecated": false, "name": "NO_ENTITLED_LINE_ITEMS" }, { "deprecationReason": null, "description": "Quantity of items does not qualify for the discount.", "isDeprecated": false, "name": "QUANTITY_NOT_IN_RANGE" }, { "deprecationReason": null, "description": "Purchase amount of items does not qualify for the discount.", "isDeprecated": false, "name": "PURCHASE_NOT_IN_RANGE" }, { "deprecationReason": null, "description": "Given customer does not qualify for the discount.", "isDeprecated": false, "name": "CUSTOMER_NOT_ELIGIBLE" }, { "deprecationReason": null, "description": "Discount usage limit has been reached.", "isDeprecated": false, "name": "USAGE_LIMIT_REACHED" }, { "deprecationReason": null, "description": "Customer usage limit has been reached.", "isDeprecated": false, "name": "CUSTOMER_USAGE_LIMIT_REACHED" }, { "deprecationReason": null, "description": "Discount is inactive.", "isDeprecated": false, "name": "CURRENTLY_INACTIVE" }, { "deprecationReason": null, "description": "No applicable shipping lines.", "isDeprecated": false, "name": "NO_ENTITLED_SHIPPING_LINES" }, { "deprecationReason": null, "description": "Purchase type does not qualify for the discount.", "isDeprecated": false, "name": "INCOMPATIBLE_PURCHASE_TYPE" }, { "deprecationReason": null, "description": "Internal error during discount code validation.", "isDeprecated": false, "name": "INTERNAL_ERROR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionDiscountRejectionReason", "possibleTypes": null }, { "description": "The value of the discount and how it will be applied.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SubscriptionDiscountValue", "possibleTypes": [ { "kind": "OBJECT", "name": "SubscriptionDiscountFixedAmountValue", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionDiscountPercentageValue", "ofType": null } ] }, { "description": "Represents a Subscription Draft.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The billing cycle that the subscription contract will be associated with.", "isDeprecated": false, "name": "billingCycle", "type": { "kind": "OBJECT", "name": "SubscriptionBillingCycle", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The billing policy for the subscription contract.", "isDeprecated": false, "name": "billingPolicy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingPolicy", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": "CYCLE_INDEX", "description": "Sort the underlying list by the given key.", "name": "sortKey", "type": { "kind": "ENUM", "name": "SubscriptionBillingCyclesSortKeys", "ofType": null } } ], "deprecationReason": null, "description": "The billing cycles of the contracts that will be concatenated to the subscription contract.", "isDeprecated": false, "name": "concatenatedBillingCycles", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBillingCycleConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The currency used for the subscription contract.", "isDeprecated": false, "name": "currencyCode", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of the custom attributes to be added to the generated orders.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The customer to whom the subscription contract belongs.", "isDeprecated": false, "name": "customer", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Customer", "ofType": null } } }, { "args": [ { "defaultValue": "false", "description": "Whether to show the customer's revoked payment method.", "name": "showRevoked", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The customer payment method used for the subscription contract.", "isDeprecated": false, "name": "customerPaymentMethod", "type": { "kind": "OBJECT", "name": "CustomerPaymentMethod", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery method for each billing of the subscription contract.", "isDeprecated": false, "name": "deliveryMethod", "type": { "kind": "UNION", "name": "SubscriptionDeliveryMethod", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The address to deliver the subscription contract to.", "name": "deliveryAddress", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } } ], "deprecationReason": null, "description": "The available delivery options for a given delivery address. Returns `null` for pending requests.\n", "isDeprecated": false, "name": "deliveryOptions", "type": { "kind": "UNION", "name": "SubscriptionDeliveryOptionResult", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The delivery policy for the subscription contract.", "isDeprecated": false, "name": "deliveryPolicy", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDeliveryPolicy", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The delivery price for each billing the subscription contract.", "isDeprecated": false, "name": "deliveryPrice", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription discounts which will be associated with the subscription contract.", "isDeprecated": false, "name": "discounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDiscountConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription discounts to be added to the subscription contract.", "isDeprecated": false, "name": "discountsAdded", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDiscountConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription discounts to be removed from the subscription contract.", "isDeprecated": false, "name": "discountsRemoved", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDiscountConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription discounts to be updated on the subscription contract.", "isDeprecated": false, "name": "discountsUpdated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDiscountConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription lines which will be associated with the subscription contract.", "isDeprecated": false, "name": "lines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLineConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription lines to be added to the subscription contract.", "isDeprecated": false, "name": "linesAdded", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLineConnection", "ofType": null } } }, { "args": [ { "defaultValue": null, "description": "Returns up to the first `n` elements from the list.", "name": "first", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come after the specified cursor.", "name": "after", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Returns up to the last `n` elements from the list.", "name": "last", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Returns the elements that come before the specified cursor.", "name": "before", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": "false", "description": "Reverse the order of the underlying list.", "name": "reverse", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": "The list of subscription lines to be removed from the subscription contract.", "isDeprecated": false, "name": "linesRemoved", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLineConnection", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The next billing date for the subscription contract.", "isDeprecated": false, "name": "nextBillingDate", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The note field that will be applied to the generated orders.", "isDeprecated": false, "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The original subscription contract.", "isDeprecated": false, "name": "originalContract", "type": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } }, { "args": [ { "defaultValue": null, "description": "The address to delivery the subscription contract to.", "name": "deliveryAddress", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } } ], "deprecationReason": "Use `deliveryOptions` instead.", "description": "Available Shipping Options for a given delivery address. Returns NULL for pending requests.\n", "isDeprecated": true, "name": "shippingOptions", "type": { "kind": "UNION", "name": "SubscriptionShippingOptionResult", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The current status of the subscription contract.", "isDeprecated": false, "name": "status", "type": { "kind": "ENUM", "name": "SubscriptionContractSubscriptionStatus", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "SubscriptionDraft", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftCommit` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated Subscription Contract object.", "isDeprecated": false, "name": "contract", "type": { "kind": "OBJECT", "name": "SubscriptionContract", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftCommitPayload", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftDiscountAdd` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The added Subscription Discount.", "isDeprecated": false, "name": "discountAdded", "type": { "kind": "OBJECT", "name": "SubscriptionManualDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The Subscription Contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftDiscountAddPayload", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftDiscountCodeApply` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The added subscription discount.", "isDeprecated": false, "name": "appliedDiscount", "type": { "kind": "OBJECT", "name": "SubscriptionAppliedCodeDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The subscription contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftDiscountCodeApplyPayload", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftDiscountRemove` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The removed subscription draft discount.", "isDeprecated": false, "name": "discountRemoved", "type": { "kind": "UNION", "name": "SubscriptionDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The subscription contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftDiscountRemovePayload", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftDiscountUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated Subscription Discount.", "isDeprecated": false, "name": "discountUpdated", "type": { "kind": "OBJECT", "name": "SubscriptionManualDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The Subscription Contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftDiscountUpdatePayload", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `SubscriptionDraftUserError`.", "enumValues": [ { "deprecationReason": null, "description": "This line has already been removed.", "isDeprecated": false, "name": "ALREADY_REMOVED" }, { "deprecationReason": null, "description": "Input value is not present.", "isDeprecated": false, "name": "PRESENCE" }, { "deprecationReason": null, "description": "Subscription draft has been already committed.", "isDeprecated": false, "name": "COMMITTED" }, { "deprecationReason": null, "description": "Value is not in range.", "isDeprecated": false, "name": "NOT_IN_RANGE" }, { "deprecationReason": null, "description": "The value is not an integer.", "isDeprecated": false, "name": "NOT_AN_INTEGER" }, { "deprecationReason": null, "description": "The maximum number of cycles must be greater than the minimum.", "isDeprecated": false, "name": "SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES" }, { "deprecationReason": null, "description": "The delivery policy interval must be a multiple of the billing policy interval.", "isDeprecated": false, "name": "DELIVERY_MUST_BE_MULTIPLE_OF_BILLING" }, { "deprecationReason": null, "description": "Next billing date is invalid.", "isDeprecated": false, "name": "INVALID_BILLING_DATE" }, { "deprecationReason": null, "description": "Note length is too long.", "isDeprecated": false, "name": "INVALID_NOTE_LENGTH" }, { "deprecationReason": null, "description": "Must have at least one line.", "isDeprecated": false, "name": "INVALID_LINES" }, { "deprecationReason": null, "description": "Discount must have at least one entitled line.", "isDeprecated": false, "name": "NO_ENTITLED_LINES" }, { "deprecationReason": null, "description": "The customer doesn't exist.", "isDeprecated": false, "name": "CUSTOMER_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "The payment method customer must be the same as the contract customer.", "isDeprecated": false, "name": "CUSTOMER_MISMATCH" }, { "deprecationReason": null, "description": "The delivery method can't be blank if any lines require shipping.", "isDeprecated": false, "name": "DELIVERY_METHOD_REQUIRED" }, { "deprecationReason": null, "description": "The local delivery options must be set for local delivery.", "isDeprecated": false, "name": "MISSING_LOCAL_DELIVERY_OPTIONS" }, { "deprecationReason": null, "description": "The after cycle attribute must be unique between cycle discounts.", "isDeprecated": false, "name": "CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLE" }, { "deprecationReason": null, "description": "The adjustment value must the same type as the adjustment type.", "isDeprecated": false, "name": "INVALID_ADJUSTMENT_TYPE" }, { "deprecationReason": null, "description": "The adjustment value must be either fixed_value or percentage.", "isDeprecated": false, "name": "INVALID_ADJUSTMENT_VALUE" }, { "deprecationReason": null, "description": "Another operation updated the contract concurrently as the commit was in progress.", "isDeprecated": false, "name": "STALE_CONTRACT" }, { "deprecationReason": null, "description": "Currency is not enabled.", "isDeprecated": false, "name": "CURRENCY_NOT_ENABLED" }, { "deprecationReason": null, "description": "Cannot update a subscription contract with a future contract or schedule edit.", "isDeprecated": false, "name": "HAS_FUTURE_EDITS" }, { "deprecationReason": null, "description": "Cannot commit a billing cycle contract draft with this mutation. Please use SubscriptionBillingCycleContractDraftCommit.", "isDeprecated": false, "name": "BILLING_CYCLE_PRESENT" }, { "deprecationReason": null, "description": "Cannot commit a contract draft with this mutation. Please use SubscriptionDraftCommit.", "isDeprecated": false, "name": "BILLING_CYCLE_ABSENT" }, { "deprecationReason": null, "description": "Delivery policy cannot be updated for billing cycle contract drafts.", "isDeprecated": false, "name": "BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALID" }, { "deprecationReason": null, "description": "Billing policy cannot be updated for billing cycle contract drafts.", "isDeprecated": false, "name": "BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALID" }, { "deprecationReason": null, "description": "Contract draft must be a billing cycle contract draft for contract concatenation.", "isDeprecated": false, "name": "CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIRED" }, { "deprecationReason": null, "description": "Concatenated contracts cannot contain duplicate subscription contracts.", "isDeprecated": false, "name": "DUPLICATE_CONCATENATED_CONTRACTS" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select upcoming billing cycle past limit.", "isDeprecated": false, "name": "UPCOMING_CYCLE_LIMIT_EXCEEDED" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select billing cycle outside of index range.", "isDeprecated": false, "name": "CYCLE_INDEX_OUT_OF_RANGE" }, { "deprecationReason": null, "description": "Billing cycle selector cannot select billing cycle outside of start date range.", "isDeprecated": false, "name": "CYCLE_START_DATE_OUT_OF_RANGE" }, { "deprecationReason": null, "description": "Billing cycle selector requires exactly one of index or date to be provided.", "isDeprecated": false, "name": "CYCLE_SELECTOR_VALIDATE_ONE_OF" }, { "deprecationReason": null, "description": "Maximum number of concatenated contracts on a billing cycle contract draft exceeded.", "isDeprecated": false, "name": "EXCEEDED_MAX_CONCATENATED_CONTRACTS" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value should be greater than the minimum allowed value.", "isDeprecated": false, "name": "GREATER_THAN" }, { "deprecationReason": null, "description": "The input value should be greater than or equal to the minimum value allowed.", "isDeprecated": false, "name": "GREATER_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value should be less than the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN" }, { "deprecationReason": null, "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "name": "LESS_THAN_OR_EQUAL_TO" }, { "deprecationReason": null, "description": "The input value is too long.", "isDeprecated": false, "name": "TOO_LONG" }, { "deprecationReason": null, "description": "The input value is too short.", "isDeprecated": false, "name": "TOO_SHORT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SubscriptionDraftErrorCode", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftFreeShippingDiscountAdd` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The added subscription free shipping discount.", "isDeprecated": false, "name": "discountAdded", "type": { "kind": "OBJECT", "name": "SubscriptionManualDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The subscription contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftFreeShippingDiscountAddPayload", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftFreeShippingDiscountUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The updated Subscription Discount.", "isDeprecated": false, "name": "discountUpdated", "type": { "kind": "OBJECT", "name": "SubscriptionManualDiscount", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The Subscription Contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftFreeShippingDiscountUpdatePayload", "possibleTypes": null }, { "description": "The input fields required to create a Subscription Draft.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The current status of the subscription contract.", "name": "status", "type": { "kind": "ENUM", "name": "SubscriptionContractSubscriptionStatus", "ofType": null } }, { "defaultValue": null, "description": "The ID of the payment method to be used for the subscription contract.", "name": "paymentMethodId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The next billing date for the subscription contract.", "name": "nextBillingDate", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "The billing policy for the subscription contract.", "name": "billingPolicy", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionBillingPolicyInput", "ofType": null } }, { "defaultValue": null, "description": "The delivery policy for the subscription contract.", "name": "deliveryPolicy", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryPolicyInput", "ofType": null } }, { "defaultValue": null, "description": "The shipping price for each renewal the subscription contract.", "name": "deliveryPrice", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, { "defaultValue": null, "description": "The delivery method for the subscription contract.", "name": "deliveryMethod", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionDeliveryMethodInput", "ofType": null } }, { "defaultValue": null, "description": "The note field that will be applied to the generated orders.", "name": "note", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "A list of the custom attributes added to the subscription contract.", "name": "customAttributes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionDraftInput", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftLineAdd` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The Subscription Contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The added Subscription Line.", "isDeprecated": false, "name": "lineAdded", "type": { "kind": "OBJECT", "name": "SubscriptionLine", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftLineAddPayload", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftLineRemove` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of updated subscription discounts impacted by the removed line.", "isDeprecated": false, "name": "discountsUpdated", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionManualDiscount", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The Subscription Contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The removed Subscription Line.", "isDeprecated": false, "name": "lineRemoved", "type": { "kind": "OBJECT", "name": "SubscriptionLine", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftLineRemovePayload", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftLineUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The Subscription Contract draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The updated Subscription Line.", "isDeprecated": false, "name": "lineUpdated", "type": { "kind": "OBJECT", "name": "SubscriptionLine", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftLineUpdatePayload", "possibleTypes": null }, { "description": "Return type for `subscriptionDraftUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The Subscription Draft object.", "isDeprecated": false, "name": "draft", "type": { "kind": "OBJECT", "name": "SubscriptionDraft", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDraftUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionDraftUpdatePayload", "possibleTypes": null }, { "description": "Represents a Subscription Draft error.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "SubscriptionDraftErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "SubscriptionDraftUserError", "possibleTypes": null }, { "description": "The input fields for a subscription free shipping discount on a contract.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title associated with the subscription free shipping discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times the subscription free shipping discount will be applied on orders.", "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionFreeShippingDiscountInput", "possibleTypes": null }, { "description": "Represents a Subscription Line.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The price per unit for the subscription line in the contract's currency.", "isDeprecated": false, "name": "currentPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "List of custom attributes associated to the line item.", "isDeprecated": false, "name": "customAttributes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Discount allocations.", "isDeprecated": false, "name": "discountAllocations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDiscountAllocation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Total line price including all discounts.", "isDeprecated": false, "name": "lineDiscountedPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Describe the price changes of the line over time.", "isDeprecated": false, "name": "pricingPolicy", "type": { "kind": "OBJECT", "name": "SubscriptionPricingPolicy", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The product ID associated with the subscription line.", "isDeprecated": false, "name": "productId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The quantity of the unit selected for the subscription line.", "isDeprecated": false, "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether physical shipping is required for the variant.", "isDeprecated": false, "name": "requiresShipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The selling plan ID associated to the line.\n\nIndicates which selling plan was used to create this\ncontract line initially. The selling plan ID is also used to\nfind the associated delivery profile.\n\nThe subscription contract, subscription line, or selling plan might have\nchanged. As a result, the selling plan's attributes might not\nmatch the information on the contract.\n", "isDeprecated": false, "name": "sellingPlanId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The selling plan name associated to the line. This name describes\nthe order line items created from this subscription line\nfor both merchants and customers.\n\nThe value can be different from the selling plan's name, because both\nthe selling plan's name and the subscription line's selling_plan_name\nattribute can be updated independently.\n", "isDeprecated": false, "name": "sellingPlanName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Variant SKU number of the item associated with the subscription line.", "isDeprecated": false, "name": "sku", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the variant is taxable.", "isDeprecated": false, "name": "taxable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Product title of the item associated with the subscription line.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The product variant ID associated with the subscription line.", "isDeprecated": false, "name": "variantId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The image associated with the line item's variant or product.", "isDeprecated": false, "name": "variantImage", "type": { "kind": "OBJECT", "name": "Image", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Product variant title of the item associated with the subscription line.", "isDeprecated": false, "name": "variantTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionLine", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SubscriptionLines.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLineEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SubscriptionLineEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLine", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionLineConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one SubscriptionLine and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SubscriptionLineEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionLine", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionLineEdge", "possibleTypes": null }, { "description": "The input fields required to add a new subscription line to a contract.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the product variant the subscription line refers to.", "name": "productVariantId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The quantity of the product.", "name": "quantity", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The price of the product.", "name": "currentPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } }, { "defaultValue": null, "description": "The custom attributes for this subscription line.", "name": "customAttributes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } } }, { "defaultValue": null, "description": "The selling plan for the subscription line.", "name": "sellingPlanId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The selling plan name for the subscription line.\n\nDefaults to using the selling plan's current name when not specified.\n", "name": "sellingPlanName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Describes expected price changes of the subscription line over time.", "name": "pricingPolicy", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionPricingPolicyInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionLineInput", "possibleTypes": null }, { "description": "The input fields required to update a subscription line on a contract.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the product variant the subscription line refers to.", "name": "productVariantId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The quantity of the product.", "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "The selling plan for the subscription line.", "name": "sellingPlanId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "defaultValue": null, "description": "The selling plan name for the subscription line.", "name": "sellingPlanName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The price of the product.", "name": "currentPrice", "type": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, { "defaultValue": null, "description": "The custom attributes for this subscription line.", "name": "customAttributes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } } }, { "defaultValue": null, "description": "Describes expected price changes of the subscription line over time.", "name": "pricingPolicy", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionPricingPolicyInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionLineUpdateInput", "possibleTypes": null }, { "description": "A local delivery option for a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The code of the local delivery option.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the local delivery option.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether a phone number is required for the local delivery option.", "isDeprecated": false, "name": "phoneRequired", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The presentment title of the local delivery option.", "isDeprecated": false, "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The price of the local delivery option.", "isDeprecated": false, "name": "price", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the local delivery option.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionLocalDeliveryOption", "possibleTypes": null }, { "description": "Represents a Mailing Address on a Subscription.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The first line of the address. Typically the street address or PO Box number.", "isDeprecated": false, "name": "address1", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The second line of the address. Typically the number of the apartment, suite, or unit.", "isDeprecated": false, "name": "address2", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the city, district, village, or town.", "isDeprecated": false, "name": "city", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the customer's company or organization.", "isDeprecated": false, "name": "company", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the country.", "isDeprecated": false, "name": "country", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", "isDeprecated": false, "name": "countryCode", "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The first name of the customer.", "isDeprecated": false, "name": "firstName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The last name of the customer.", "isDeprecated": false, "name": "lastName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The full name of the customer, based on firstName and lastName.", "isDeprecated": false, "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A unique phone number for the customer. Formatted using E.164 standard. For example, _+16135551111_.", "isDeprecated": false, "name": "phone", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The region of the address, such as the province, state, or district.", "isDeprecated": false, "name": "province", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The two-letter code for the region.\n\nFor example, ON.\n", "isDeprecated": false, "name": "provinceCode", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The zip or postal code of the address.", "isDeprecated": false, "name": "zip", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionMailingAddress", "possibleTypes": null }, { "description": "Custom subscription discount.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Entitled line items used to apply the subscription discount on.", "isDeprecated": false, "name": "entitledLines", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionDiscountEntitledLines", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The maximum number of times the subscription discount will be applied on orders.", "isDeprecated": false, "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The reason that the discount on the subscription draft is rejected.", "isDeprecated": false, "name": "rejectionReason", "type": { "kind": "ENUM", "name": "SubscriptionDiscountRejectionReason", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Type of line the discount applies on.", "isDeprecated": false, "name": "targetType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountTargetType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The title associated with the subscription discount.", "isDeprecated": false, "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type of the subscription discount.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of times the discount was applied.", "isDeprecated": false, "name": "usageCount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The value of the subscription discount.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "SubscriptionDiscountValue", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionManualDiscount", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple SubscriptionManualDiscounts.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionManualDiscountEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in SubscriptionManualDiscountEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionManualDiscount", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionManualDiscountConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one SubscriptionManualDiscount and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of SubscriptionManualDiscountEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionManualDiscount", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionManualDiscountEdge", "possibleTypes": null }, { "description": "The input fields for the subscription lines the discount applies on.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specify whether the subscription discount will apply on all subscription lines.", "name": "all", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "The ID of the lines to add to or remove from the subscription discount.", "name": "lines", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountLinesInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountEntitledLinesInput", "possibleTypes": null }, { "description": "The input fields for the fixed amount value of the discount and distribution on the lines.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Fixed amount value.", "name": "amount", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "Whether the amount is intended per line item or once per subscription.", "name": "appliesOnEachItem", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountFixedAmountInput", "possibleTypes": null }, { "description": "The input fields for a subscription discount on a contract.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The title associated with the subscription discount.", "name": "title", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "Percentage or fixed amount value of the discount.", "name": "value", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountValueInput", "ofType": null } }, { "defaultValue": null, "description": "The maximum number of times the subscription discount will be applied on orders.", "name": "recurringCycleLimit", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Entitled line items used to apply the subscription discount on.", "name": "entitledLines", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountEntitledLinesInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountInput", "possibleTypes": null }, { "description": "The input fields for line items that the discount refers to.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The ID of the lines to add to the subscription discount.", "name": "add", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, { "defaultValue": null, "description": "The ID of the lines to remove from the subscription discount.", "name": "remove", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountLinesInput", "possibleTypes": null }, { "description": "The input fields for the discount value and its distribution.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The percentage value of the discount. Value must be between 0 - 100.", "name": "percentage", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "Fixed amount input in the currency defined by the subscription.", "name": "fixedAmount", "type": { "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountFixedAmountInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionManualDiscountValueInput", "possibleTypes": null }, { "description": "A pickup option to deliver a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The code of the pickup option.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the pickup option.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The pickup location.", "isDeprecated": false, "name": "location", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Location", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether a phone number is required for the pickup option.", "isDeprecated": false, "name": "phoneRequired", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The estimated amount of time it takes for the pickup to be ready. For example, \"Usually ready in 24 hours\".).", "isDeprecated": false, "name": "pickupTime", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The presentment title of the pickup option.", "isDeprecated": false, "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The price of the pickup option.", "isDeprecated": false, "name": "price", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the pickup option.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionPickupOption", "possibleTypes": null }, { "description": "Represents a Subscription Line Pricing Policy.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The base price per unit for the subscription line in the contract's currency.", "isDeprecated": false, "name": "basePrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The adjustments per cycle for the subscription line.", "isDeprecated": false, "name": "cycleDiscounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionCyclePriceAdjustment", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionPricingPolicy", "possibleTypes": null }, { "description": "The input fields for an array containing all pricing changes for each billing cycle.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The cycle after which the pricing policy applies.", "name": "afterCycle", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "defaultValue": null, "description": "The price adjustment type.", "name": "adjustmentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SellingPlanPricingPolicyAdjustmentType", "ofType": null } } }, { "defaultValue": null, "description": "The price adjustment value.", "name": "adjustmentValue", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SellingPlanPricingPolicyValueInput", "ofType": null } } }, { "defaultValue": null, "description": "The computed price after the adjustments are applied.", "name": "computedPrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionPricingPolicyCycleDiscountsInput", "possibleTypes": null }, { "description": "The input fields for expected price changes of the subscription line over time.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The base price per unit for the subscription line in the contract's currency.", "name": "basePrice", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } }, { "defaultValue": null, "description": "An array containing all pricing changes for each billing cycle.", "name": "cycleDiscounts", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionPricingPolicyCycleDiscountsInput", "ofType": null } } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "SubscriptionPricingPolicyInput", "possibleTypes": null }, { "description": "A shipping option to deliver a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "This field has never been implemented.", "description": "The carrier service that is providing this shipping option.\nThis field isn't currently supported and returns null.\n", "isDeprecated": true, "name": "carrierService", "type": { "kind": "OBJECT", "name": "DeliveryCarrierService", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The code of the shipping option.", "isDeprecated": false, "name": "code", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The description of the shipping option.", "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "If a phone number is required for the shipping option.", "isDeprecated": false, "name": "phoneRequired", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The presentment title of the shipping option.", "isDeprecated": false, "name": "presentmentTitle", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The price of the shipping option.", "isDeprecated": false, "name": "price", "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The title of the shipping option.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionShippingOption", "possibleTypes": null }, { "description": "The result of the query to fetch shipping options for the subscription contract.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "SubscriptionShippingOptionResult", "possibleTypes": [ { "kind": "OBJECT", "name": "SubscriptionShippingOptionResultFailure", "ofType": null }, { "kind": "OBJECT", "name": "SubscriptionShippingOptionResultSuccess", "ofType": null } ] }, { "description": "Failure determining available shipping options for delivery of a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Failure reason.", "isDeprecated": false, "name": "message", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionShippingOptionResultFailure", "possibleTypes": null }, { "description": "A shipping option for delivery of a subscription contract.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Available shipping options.", "isDeprecated": false, "name": "shippingOptions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionShippingOption", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SubscriptionShippingOptionResultSuccess", "possibleTypes": null }, { "description": "A suggested transaction. Suggested transaction are usually used in the context of refunds\nand exchanges.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The masked account number associated with the payment method.", "isDeprecated": false, "name": "accountNumber", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": "Use `amountSet` instead.", "description": "The amount of the transaction.", "isDeprecated": true, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount and currency of the suggested order transaction in shop and presentment currencies.", "isDeprecated": false, "name": "amountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The human-readable payment gateway name suggested to process the transaction.", "isDeprecated": false, "name": "formattedGateway", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The suggested payment gateway used to process the transaction.", "isDeprecated": false, "name": "gateway", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Specifies the kind of the suggested order transaction.", "isDeprecated": false, "name": "kind", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SuggestedOrderTransactionKind", "ofType": null } } }, { "args": [], "deprecationReason": "Use `maximumRefundableSet` instead.", "description": "Specifies the available amount to refund on the gateway. Only available within SuggestedRefund.", "isDeprecated": true, "name": "maximumRefundable", "type": { "kind": "SCALAR", "name": "Money", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Specifies the available amount to refund on the gateway in shop and presentment currencies. Only available within SuggestedRefund.", "isDeprecated": false, "name": "maximumRefundableSet", "type": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The associated parent transaction, for example the authorization of a capture.", "isDeprecated": false, "name": "parentTransaction", "type": { "kind": "OBJECT", "name": "OrderTransaction", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SuggestedOrderTransaction", "possibleTypes": null }, { "description": "Specifies the kind of the suggested order transaction.", "enumValues": [ { "deprecationReason": null, "description": "A suggested refund transaction for an order.", "isDeprecated": false, "name": "SUGGESTED_REFUND" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "SuggestedOrderTransactionKind", "possibleTypes": null }, { "description": "Represents a refund suggested by Shopify based on the items being reimbursed. You can then use the suggested refund object to generate an actual refund.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": "Use `amountSet` instead.", "description": "The total monetary value to be refunded.", "isDeprecated": true, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total monetary value to be refunded in shop and presentment currencies.", "isDeprecated": false, "name": "amountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of all the discounted prices of the line items being refunded.", "isDeprecated": false, "name": "discountedSubtotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `maximumRefundableSet` instead.", "description": "The total monetary value available to refund.", "isDeprecated": true, "name": "maximumRefundable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total monetary value available to refund in shop and presentment currencies.", "isDeprecated": false, "name": "maximumRefundableSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of duties to be refunded from the order.", "isDeprecated": false, "name": "refundDuties", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundDuty", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of line items to be refunded, along with restock instructions.", "isDeprecated": false, "name": "refundLineItems", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundLineItem", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The shipping costs to be refunded from the order.", "isDeprecated": false, "name": "shipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingRefund", "ofType": null } } }, { "args": [], "deprecationReason": "Use `subtotalSet` instead.", "description": "The sum of all the prices of the line items being refunded.", "isDeprecated": true, "name": "subtotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of all the prices of the line items being refunded in shop and presentment currencies.", "isDeprecated": false, "name": "subtotalSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of suggested order transactions.", "isDeprecated": false, "name": "suggestedTransactions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SuggestedOrderTransaction", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total cart discount amount that was applied to all line items in this refund.", "isDeprecated": false, "name": "totalCartDiscountAmountSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.", "isDeprecated": false, "name": "totalDutiesSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of the taxes being refunded from the order in shop and presentment currencies. The value must be positive.", "isDeprecated": false, "name": "totalTaxSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": "Use `totalTaxSet` instead.", "description": "The sum of the taxes being refunded from the order. The value must be positive.", "isDeprecated": true, "name": "totalTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SuggestedRefund", "possibleTypes": null }, { "description": "Represents a return refund suggested by Shopify based on the items being reimbursed. You can then use the suggested refund object to generate an actual refund for the return.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The total monetary value to be refunded in shop and presentment currencies.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of all the discounted prices of the line items being refunded.", "isDeprecated": false, "name": "discountedSubtotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total monetary value available to refund in shop and presentment currencies.", "isDeprecated": false, "name": "maximumRefundable", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of duties to be refunded from the order.", "isDeprecated": false, "name": "refundDuties", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RefundDuty", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The shipping costs to be refunded from the order.", "isDeprecated": false, "name": "shipping", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingRefund", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of all the prices of the line items being refunded in shop and presentment currencies.", "isDeprecated": false, "name": "subtotal", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of suggested order transactions.", "isDeprecated": false, "name": "suggestedTransactions", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SuggestedOrderTransaction", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total cart discount amount that was applied to all line items in this refund.", "isDeprecated": false, "name": "totalCartDiscountAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.", "isDeprecated": false, "name": "totalDuties", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The sum of the taxes being refunded in shop and presentment currencies. The value must be positive.", "isDeprecated": false, "name": "totalTax", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "SuggestedReturnRefund", "possibleTypes": null }, { "description": "The result in a tabular format with schema information and formatted and unformatted row data.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The data table columns.", "isDeprecated": false, "name": "columns", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TableDataColumn", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The formatted data values.", "isDeprecated": false, "name": "rowData", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } } } }, { "args": [], "deprecationReason": null, "description": "The unformatted data values.", "isDeprecated": false, "name": "unformattedData", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "JSON", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TableData", "possibleTypes": null }, { "description": "A nested array representation of the data. An index in an array represents a row number.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "For comparison columns, indicates the column to compare to.", "isDeprecated": false, "name": "comparedTo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The data type of the column value.", "isDeprecated": false, "name": "dataType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The display name of the column in the data model.", "isDeprecated": false, "name": "displayName", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the column in the data model.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TableDataColumn", "possibleTypes": null }, { "description": "The default table response structure for a ShopifyQL query.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of parse errors, if parsing fails.", "isDeprecated": false, "name": "parseErrors", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ParseError", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The result in a tabular format with schema and row data.", "isDeprecated": false, "name": "tableData", "type": { "kind": "OBJECT", "name": "TableData", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ShopifyqlResponse", "ofType": null } ], "kind": "OBJECT", "name": "TableResponse", "possibleTypes": null }, { "description": "Return type for `tagsAdd` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The object that was updated.", "isDeprecated": false, "name": "node", "type": { "kind": "INTERFACE", "name": "Node", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TagsAddPayload", "possibleTypes": null }, { "description": "Return type for `tagsRemove` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The object that was updated.", "isDeprecated": false, "name": "node", "type": { "kind": "INTERFACE", "name": "Node", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TagsRemovePayload", "possibleTypes": null }, { "description": "Available customer tax exemptions.", "enumValues": [ { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid STATUS_CARD_EXEMPTION in Canada.", "isDeprecated": false, "name": "CA_STATUS_CARD_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in British Columbia.", "isDeprecated": false, "name": "CA_BC_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Manitoba.", "isDeprecated": false, "name": "CA_MB_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Saskatchewan.", "isDeprecated": false, "name": "CA_SK_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid DIPLOMAT_EXEMPTION in Canada.", "isDeprecated": false, "name": "CA_DIPLOMAT_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in British Columbia.", "isDeprecated": false, "name": "CA_BC_COMMERCIAL_FISHERY_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Manitoba.", "isDeprecated": false, "name": "CA_MB_COMMERCIAL_FISHERY_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Nova Scotia.", "isDeprecated": false, "name": "CA_NS_COMMERCIAL_FISHERY_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Prince Edward Island.", "isDeprecated": false, "name": "CA_PE_COMMERCIAL_FISHERY_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Saskatchewan.", "isDeprecated": false, "name": "CA_SK_COMMERCIAL_FISHERY_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in British Columbia.", "isDeprecated": false, "name": "CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in Saskatchewan.", "isDeprecated": false, "name": "CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in British Columbia.", "isDeprecated": false, "name": "CA_BC_SUB_CONTRACTOR_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in Saskatchewan.", "isDeprecated": false, "name": "CA_SK_SUB_CONTRACTOR_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in British Columbia.", "isDeprecated": false, "name": "CA_BC_CONTRACTOR_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in Saskatchewan.", "isDeprecated": false, "name": "CA_SK_CONTRACTOR_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid PURCHASE_EXEMPTION in Ontario.", "isDeprecated": false, "name": "CA_ON_PURCHASE_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Manitoba.", "isDeprecated": false, "name": "CA_MB_FARMER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Nova Scotia.", "isDeprecated": false, "name": "CA_NS_FARMER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Saskatchewan.", "isDeprecated": false, "name": "CA_SK_FARMER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from VAT for purchases within the EU that is shipping from outside of customer's country.", "isDeprecated": false, "name": "EU_REVERSE_CHARGE_EXEMPTION_RULE" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alabama.", "isDeprecated": false, "name": "US_AL_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alaska.", "isDeprecated": false, "name": "US_AK_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arizona.", "isDeprecated": false, "name": "US_AZ_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arkansas.", "isDeprecated": false, "name": "US_AR_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in California.", "isDeprecated": false, "name": "US_CA_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Colorado.", "isDeprecated": false, "name": "US_CO_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Connecticut.", "isDeprecated": false, "name": "US_CT_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Delaware.", "isDeprecated": false, "name": "US_DE_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Florida.", "isDeprecated": false, "name": "US_FL_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Georgia.", "isDeprecated": false, "name": "US_GA_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Hawaii.", "isDeprecated": false, "name": "US_HI_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Idaho.", "isDeprecated": false, "name": "US_ID_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Illinois.", "isDeprecated": false, "name": "US_IL_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Indiana.", "isDeprecated": false, "name": "US_IN_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Iowa.", "isDeprecated": false, "name": "US_IA_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kansas.", "isDeprecated": false, "name": "US_KS_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kentucky.", "isDeprecated": false, "name": "US_KY_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Louisiana.", "isDeprecated": false, "name": "US_LA_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maine.", "isDeprecated": false, "name": "US_ME_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maryland.", "isDeprecated": false, "name": "US_MD_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Massachusetts.", "isDeprecated": false, "name": "US_MA_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Michigan.", "isDeprecated": false, "name": "US_MI_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Minnesota.", "isDeprecated": false, "name": "US_MN_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Mississippi.", "isDeprecated": false, "name": "US_MS_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Missouri.", "isDeprecated": false, "name": "US_MO_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Montana.", "isDeprecated": false, "name": "US_MT_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nebraska.", "isDeprecated": false, "name": "US_NE_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nevada.", "isDeprecated": false, "name": "US_NV_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Hampshire.", "isDeprecated": false, "name": "US_NH_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Jersey.", "isDeprecated": false, "name": "US_NJ_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Mexico.", "isDeprecated": false, "name": "US_NM_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New York.", "isDeprecated": false, "name": "US_NY_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Carolina.", "isDeprecated": false, "name": "US_NC_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Dakota.", "isDeprecated": false, "name": "US_ND_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Ohio.", "isDeprecated": false, "name": "US_OH_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oklahoma.", "isDeprecated": false, "name": "US_OK_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oregon.", "isDeprecated": false, "name": "US_OR_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Pennsylvania.", "isDeprecated": false, "name": "US_PA_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Rhode Island.", "isDeprecated": false, "name": "US_RI_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Carolina.", "isDeprecated": false, "name": "US_SC_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Dakota.", "isDeprecated": false, "name": "US_SD_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Tennessee.", "isDeprecated": false, "name": "US_TN_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Texas.", "isDeprecated": false, "name": "US_TX_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Utah.", "isDeprecated": false, "name": "US_UT_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Vermont.", "isDeprecated": false, "name": "US_VT_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Virginia.", "isDeprecated": false, "name": "US_VA_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington.", "isDeprecated": false, "name": "US_WA_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in West Virginia.", "isDeprecated": false, "name": "US_WV_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wisconsin.", "isDeprecated": false, "name": "US_WI_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wyoming.", "isDeprecated": false, "name": "US_WY_RESELLER_EXEMPTION" }, { "deprecationReason": null, "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington DC.", "isDeprecated": false, "name": "US_DC_RESELLER_EXEMPTION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "TaxExemption", "possibleTypes": null }, { "description": "Represents a single tax applied to the associated line item.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.", "isDeprecated": false, "name": "channelLiable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "args": [], "deprecationReason": "Use `priceSet` instead.", "description": "The amount of tax, in shop currency, after discounts and before returns.", "isDeprecated": true, "name": "price", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The amount of tax, in shop and presentment currencies, after discounts and before returns.", "isDeprecated": false, "name": "priceSet", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The proportion of the line item price that the tax represents as a decimal.", "isDeprecated": false, "name": "rate", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The proportion of the line item price that the tax represents as a percentage.", "isDeprecated": false, "name": "ratePercentage", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The name of the tax.", "isDeprecated": false, "name": "title", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TaxLine", "possibleTypes": null }, { "description": "A TenderTransaction represents a transaction with financial impact on a shop's balance sheet. A tender transaction always\nrepresents actual money movement between a buyer and a shop. TenderTransactions can be used instead of OrderTransactions\nfor reconciling a shop's cash flow. A TenderTransaction is immutable once created.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The amount and currency of the tender transaction.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Information about the payment method used for the transaction.", "isDeprecated": false, "name": "paymentMethod", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Date and time when the transaction was processed.", "isDeprecated": false, "name": "processedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The remote gateway reference associated with the tender transaction.", "isDeprecated": false, "name": "remoteReference", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the transaction is a test transaction.", "isDeprecated": false, "name": "test", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Information about the payment instrument used for the transaction.", "isDeprecated": false, "name": "transactionDetails", "type": { "kind": "UNION", "name": "TenderTransactionDetails", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The staff member who performed the transaction.", "isDeprecated": false, "name": "user", "type": { "kind": "OBJECT", "name": "StaffMember", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "TenderTransaction", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple TenderTransactions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TenderTransactionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in TenderTransactionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TenderTransaction", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TenderTransactionConnection", "possibleTypes": null }, { "description": "Information about the credit card used for this transaction.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of the company that issued the customer's credit card. Example: `Visa`.", "isDeprecated": false, "name": "creditCardCompany", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The customer's credit card number, with all digits except the last 4 redacted. Example: `•••• •••• •••• 1234`", "isDeprecated": false, "name": "creditCardNumber", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TenderTransactionCreditCardDetails", "possibleTypes": null }, { "description": "Information about the payment instrument used for this transaction.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "TenderTransactionDetails", "possibleTypes": [ { "kind": "OBJECT", "name": "TenderTransactionCreditCardDetails", "ofType": null } ] }, { "description": "An auto-generated type which holds one TenderTransaction and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of TenderTransactionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TenderTransaction", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TenderTransactionEdge", "possibleTypes": null }, { "description": "A sale associated with a tip.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The type of order action that the sale represents.", "isDeprecated": false, "name": "actionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleActionType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The unique ID for the sale.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line item for the associated sale.", "isDeprecated": false, "name": "lineItem", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "LineItem", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The line type assocated with the sale.", "isDeprecated": false, "name": "lineType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SaleLineType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The number of units either ordered or intended to be returned.", "isDeprecated": false, "name": "quantity", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "All individual taxes associated with the sale.", "isDeprecated": false, "name": "taxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SaleTax", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The total sale amount after taxes and discounts.", "isDeprecated": false, "name": "totalAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale after taxes.", "isDeprecated": false, "name": "totalDiscountAmountAfterTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total discounts allocated to the sale before taxes.", "isDeprecated": false, "name": "totalDiscountAmountBeforeTaxes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The total amount of taxes for the sale.", "isDeprecated": false, "name": "totalTaxAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyBag", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Sale", "ofType": null } ], "kind": "OBJECT", "name": "TipSale", "possibleTypes": null }, { "description": "Transaction fee related to an order transaction.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Amount of the fee.", "isDeprecated": false, "name": "amount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Flat rate charge for a transaction.", "isDeprecated": false, "name": "flatFee", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the credit card flat fee.", "isDeprecated": false, "name": "flatFeeName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Percentage charge.", "isDeprecated": false, "name": "rate", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the credit card rate.", "isDeprecated": false, "name": "rateName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Tax amount charged on the fee.", "isDeprecated": false, "name": "taxAmount", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Name of the type of fee.", "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "TransactionFee", "possibleTypes": null }, { "description": "Translatable content of a resource's field.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Hash digest representation of the content value.", "isDeprecated": false, "name": "digest", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The resource field that is being translated.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Locale of the content.", "isDeprecated": false, "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Content value.", "isDeprecated": false, "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TranslatableContent", "possibleTypes": null }, { "description": "A resource that has translatable fields.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "GID of the resource.", "isDeprecated": false, "name": "resourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Translatable content.", "isDeprecated": false, "name": "translatableContent", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslatableContent", "ofType": null } } } } }, { "args": [ { "defaultValue": null, "description": "Filters translations by locale.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Filters by outdated translations.", "name": "outdated", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "Filters translations by market ID. Use this argument to retrieve content specific to a market.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "deprecationReason": null, "description": "Translatable content translations.", "isDeprecated": false, "name": "translations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TranslatableResource", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple TranslatableResources.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslatableResourceEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in TranslatableResourceEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslatableResource", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TranslatableResourceConnection", "possibleTypes": null }, { "description": "An auto-generated type which holds one TranslatableResource and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of TranslatableResourceEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslatableResource", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TranslatableResourceEdge", "possibleTypes": null }, { "description": "Specifies the type of resources that are translatable.", "enumValues": [ { "deprecationReason": null, "description": "A product collection. Translatable fields: `title`, `body_html`, `meta_title`, `meta_description`.", "isDeprecated": false, "name": "COLLECTION" }, { "deprecationReason": null, "description": "The delivery method definition. For example, \"Standard\", or \"Expedited\".\n Translatable fields: `name`.", "isDeprecated": false, "name": "DELIVERY_METHOD_DEFINITION" }, { "deprecationReason": null, "description": "An email template. Translatable fields: `title`, `body_html`.", "isDeprecated": false, "name": "EMAIL_TEMPLATE" }, { "deprecationReason": null, "description": "A link to direct users. Translatable fields: `title`.", "isDeprecated": false, "name": "LINK" }, { "deprecationReason": null, "description": "A Metafield. Translatable fields: `value`.", "isDeprecated": false, "name": "METAFIELD" }, { "deprecationReason": null, "description": "A Metaobject. Translatable fields are determined by the Metaobject type.", "isDeprecated": false, "name": "METAOBJECT" }, { "deprecationReason": null, "description": "An online store article. Translatable fields: `title`, `body_html`, `summary_html`, `meta_title`, `meta_description`.", "isDeprecated": false, "name": "ONLINE_STORE_ARTICLE" }, { "deprecationReason": null, "description": "An online store blog. Translatable fields: `title`, `meta_title`, `meta_description`.", "isDeprecated": false, "name": "ONLINE_STORE_BLOG" }, { "deprecationReason": null, "description": "A category of links. Translatable fields: `title`.", "isDeprecated": false, "name": "ONLINE_STORE_MENU" }, { "deprecationReason": null, "description": "An online store page. Translatable fields: `title`, `body_html`, `meta_title`, `meta_description`.", "isDeprecated": false, "name": "ONLINE_STORE_PAGE" }, { "deprecationReason": null, "description": "An online store theme. Translatable fields: `dynamic keys based on theme data`.", "isDeprecated": false, "name": "ONLINE_STORE_THEME" }, { "deprecationReason": null, "description": "A packing slip template. Translatable fields: `body`.", "isDeprecated": false, "name": "PACKING_SLIP_TEMPLATE" }, { "deprecationReason": null, "description": "A payment gateway. Translatable fields: `name`.", "isDeprecated": false, "name": "PAYMENT_GATEWAY" }, { "deprecationReason": null, "description": "An online store product. Translatable fields: `title`, `body_html`, `meta_title`, `meta_description`.", "isDeprecated": false, "name": "PRODUCT" }, { "deprecationReason": null, "description": "An online store custom product property name. For example, \"Size\", \"Color\", or \"Material\".\n Translatable fields: `name`.", "isDeprecated": false, "name": "PRODUCT_OPTION" }, { "deprecationReason": null, "description": "An online store product variant. Translatable fields: `title`, `option1`, `option2`, `option3`. The field `title` has been deprecated.", "isDeprecated": false, "name": "PRODUCT_VARIANT" }, { "deprecationReason": null, "description": "A selling plan. Translatable fields:`name`, `option1`, `option2`, `option3`, `description`.", "isDeprecated": false, "name": "SELLING_PLAN" }, { "deprecationReason": null, "description": "A selling plan group. Translatable fields: `name`, `option1`, `option2`, `option3`.", "isDeprecated": false, "name": "SELLING_PLAN_GROUP" }, { "deprecationReason": null, "description": "A shop. Translatable fields: `meta_title`, `meta_description`.", "isDeprecated": false, "name": "SHOP" }, { "deprecationReason": null, "description": "A shop policy. Translatable fields: `body`.", "isDeprecated": false, "name": "SHOP_POLICY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "TranslatableResourceType", "possibleTypes": null }, { "description": "Translation of a field of a resource.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "On the resource that this translation belongs to, the reference to the value being translated.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "ISO code of the translation locale.", "isDeprecated": false, "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The market that the translation is specific to. Null value means the translation is available in all markets.", "isDeprecated": false, "name": "market", "type": { "kind": "OBJECT", "name": "Market", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the original content has changed since this translation was updated.", "isDeprecated": false, "name": "outdated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the translation was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Translation value.", "isDeprecated": false, "name": "value", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Translation", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `TranslationUserError`.", "enumValues": [ { "deprecationReason": null, "description": "The input value is blank.", "isDeprecated": false, "name": "BLANK" }, { "deprecationReason": null, "description": "The input value is invalid.", "isDeprecated": false, "name": "INVALID" }, { "deprecationReason": null, "description": "Resource does not exist.", "isDeprecated": false, "name": "RESOURCE_NOT_FOUND" }, { "deprecationReason": null, "description": "Resource is not translatable.", "isDeprecated": false, "name": "RESOURCE_NOT_TRANSLATABLE" }, { "deprecationReason": null, "description": "Too many translation keys for the resource.", "isDeprecated": false, "name": "TOO_MANY_KEYS_FOR_RESOURCE" }, { "deprecationReason": null, "description": "Translation key is invalid.", "isDeprecated": false, "name": "INVALID_KEY_FOR_MODEL" }, { "deprecationReason": null, "description": "Translation value is invalid.", "isDeprecated": false, "name": "FAILS_RESOURCE_VALIDATION" }, { "deprecationReason": null, "description": "Translatable content is invalid.", "isDeprecated": false, "name": "INVALID_TRANSLATABLE_CONTENT" }, { "deprecationReason": null, "description": "Market localizable content is invalid.", "isDeprecated": false, "name": "INVALID_MARKET_LOCALIZABLE_CONTENT" }, { "deprecationReason": null, "description": "Locale is invalid for the shop.", "isDeprecated": false, "name": "INVALID_LOCALE_FOR_SHOP" }, { "deprecationReason": null, "description": "Locale language code is invalid.", "isDeprecated": false, "name": "INVALID_CODE" }, { "deprecationReason": null, "description": "Locale code format is invalid.", "isDeprecated": false, "name": "INVALID_FORMAT" }, { "deprecationReason": null, "description": "The shop isn't allowed to operate on market custom content.", "isDeprecated": false, "name": "MARKET_CUSTOM_CONTENT_NOT_ALLOWED" }, { "deprecationReason": null, "description": "The market corresponding to the `marketId` argument doesn't exist.", "isDeprecated": false, "name": "MARKET_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "The market override locale creation failed.", "isDeprecated": false, "name": "MARKET_LOCALE_CREATION_FAILED" }, { "deprecationReason": null, "description": "The specified resource can't be customized for a market.", "isDeprecated": false, "name": "RESOURCE_NOT_MARKET_CUSTOMIZABLE" }, { "deprecationReason": null, "description": "The locale is missing on the market corresponding to the `marketId` argument.", "isDeprecated": false, "name": "INVALID_LOCALE_FOR_MARKET" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "TranslationErrorCode", "possibleTypes": null }, { "description": "The input fields and values for creating or updating a translation.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "ISO code of the locale being translated into.", "name": "locale", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "On the resource that this translation belongs to, the reference to the value being translated.", "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The value of the translation.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "Hash digest representation of the content being translated.", "name": "translatableContentDigest", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The ID of the market that the translation is specific to. Not specifying this field means that the translation will be available in all markets.", "name": "marketId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "TranslationInput", "possibleTypes": null }, { "description": "Represents an error that happens during the execution of a translation mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "TranslationErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "TranslationUserError", "possibleTypes": null }, { "description": "Return type for `translationsRegister` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The translations that were created or updated.", "isDeprecated": false, "name": "translations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TranslationsRegisterPayload", "possibleTypes": null }, { "description": "Return type for `translationsRemove` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The translations that were deleted.", "isDeprecated": false, "name": "translations", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Translation", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TranslationUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TranslationsRemovePayload", "possibleTypes": null }, { "description": "Represents a typed custom attribute.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Key or name of the attribute.", "isDeprecated": false, "name": "key", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Value of the attribute.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "TypedAttribute", "possibleTypes": null }, { "description": "Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\n\nFor example, `\"https://johns-apparel.myshopify.com\"` is a valid URL. It includes a scheme (`https`) and a host\n(`johns-apparel.myshopify.com`).\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "URL", "possibleTypes": null }, { "description": "Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The name of the UTM campaign.", "name": "campaign", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The name of the website or application where the referral link exists.", "name": "source", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "defaultValue": null, "description": "The UTM campaign medium.", "name": "medium", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "UTMInput", "possibleTypes": null }, { "description": "Represents a set of UTM parameters.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The name of a marketing campaign.", "isDeprecated": false, "name": "campaign", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Identifies specific content in a marketing campaign. Used to differentiate between similar content or links in a marketing campaign to determine which is the most effective.", "isDeprecated": false, "name": "content", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The medium of a marketing campaign, such as a banner or email newsletter.", "isDeprecated": false, "name": "medium", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The source of traffic to the merchant's store, such as Google or an email newsletter.", "isDeprecated": false, "name": "source", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Paid search terms used by a marketing campaign.", "isDeprecated": false, "name": "term", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UTMParameters", "possibleTypes": null }, { "description": "Systems of weights and measures.", "enumValues": [ { "deprecationReason": null, "description": "Imperial system of weights and measures.", "isDeprecated": false, "name": "IMPERIAL_SYSTEM" }, { "deprecationReason": null, "description": "Metric system of weights and measures.", "isDeprecated": false, "name": "METRIC_SYSTEM" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "UnitSystem", "possibleTypes": null }, { "description": "An unsigned 64-bit integer. Represents whole numeric values between 0 and 2^64 - 1 encoded as a string of base-10 digits.\n\nExample value: `\"50\"`.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "UnsignedInt64", "possibleTypes": null }, { "description": "The input fields required to update a media object.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "Specifies the media to update.", "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "defaultValue": null, "description": "The source from which to update the media preview image. May be an external URL or staged upload URL.", "name": "previewImageSource", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The alt text associated to the media.", "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "UpdateMediaInput", "possibleTypes": null }, { "description": "The URL redirect for the online store.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the URL redirect.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The old path to be redirected from. When the user visits this path, they will be redirected to the target location.", "isDeprecated": false, "name": "path", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The target location where the user will be redirected to.", "isDeprecated": false, "name": "target", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "UrlRedirect", "possibleTypes": null }, { "description": "Return type for `urlRedirectBulkDeleteAll` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job removing the redirects.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectBulkDeleteAllPayload", "possibleTypes": null }, { "description": "Return type for `urlRedirectBulkDeleteByIds` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job removing the redirects.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteByIdsUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectBulkDeleteByIdsPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `UrlRedirectBulkDeleteByIds`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "UrlRedirectBulkDeleteByIdsUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "UrlRedirectBulkDeleteByIdsUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `UrlRedirectBulkDeleteByIdsUserError`.", "enumValues": [ { "deprecationReason": null, "description": "You must pass one or more [`URLRedirect`](\n https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect\n ) object IDs.", "isDeprecated": false, "name": "IDS_EMPTY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "UrlRedirectBulkDeleteByIdsUserErrorCode", "possibleTypes": null }, { "description": "Return type for `urlRedirectBulkDeleteBySavedSearch` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job removing the redirects.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySavedSearchUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySavedSearchPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `UrlRedirectBulkDeleteBySavedSearch`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "UrlRedirectBulkDeleteBySavedSearchUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySavedSearchUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `UrlRedirectBulkDeleteBySavedSearchUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Saved search not found.", "isDeprecated": false, "name": "SAVED_SEARCH_NOT_FOUND" }, { "deprecationReason": null, "description": "The saved search's query cannot match all entries or be empty.", "isDeprecated": false, "name": "INVALID_SAVED_SEARCH_QUERY" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "UrlRedirectBulkDeleteBySavedSearchUserErrorCode", "possibleTypes": null }, { "description": "Return type for `urlRedirectBulkDeleteBySearch` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job removing the redirects.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySearchUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySearchPayload", "possibleTypes": null }, { "description": "An error that occurs during the execution of `UrlRedirectBulkDeleteBySearch`.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "UrlRedirectBulkDeleteBySearchUserErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "UrlRedirectBulkDeleteBySearchUserError", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `UrlRedirectBulkDeleteBySearchUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Invalid search string.", "isDeprecated": false, "name": "INVALID_SEARCH_ARGUMENT" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "UrlRedirectBulkDeleteBySearchUserErrorCode", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple UrlRedirects.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in UrlRedirectEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirect", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectConnection", "possibleTypes": null }, { "description": "Return type for `urlRedirectCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created redirect.", "isDeprecated": false, "name": "urlRedirect", "type": { "kind": "OBJECT", "name": "UrlRedirect", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectCreatePayload", "possibleTypes": null }, { "description": "Return type for `urlRedirectDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted redirect.", "isDeprecated": false, "name": "deletedUrlRedirectId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one UrlRedirect and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of UrlRedirectEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirect", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectEdge", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `UrlRedirectUserError`.", "enumValues": [ { "deprecationReason": null, "description": "Redirect does not exist.", "isDeprecated": false, "name": "DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "Redirect could not be created.", "isDeprecated": false, "name": "CREATE_FAILED" }, { "deprecationReason": null, "description": "Redirect could not be updated.", "isDeprecated": false, "name": "UPDATE_FAILED" }, { "deprecationReason": null, "description": "Redirect could not be deleted.", "isDeprecated": false, "name": "DELETE_FAILED" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "UrlRedirectErrorCode", "possibleTypes": null }, { "description": "A request to import a [`URLRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object\ninto the Online Store channel. Apps can use this to query the state of an `UrlRedirectImport` request.\n\nFor more information, see [`url-redirect`](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect)s.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The number of rows in the file.", "isDeprecated": false, "name": "count", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of redirects created from the import.", "isDeprecated": false, "name": "createdCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The number of redirects that failed to be imported.", "isDeprecated": false, "name": "failedCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Whether the import is finished.", "isDeprecated": false, "name": "finished", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the import finished.", "isDeprecated": false, "name": "finishedAt", "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The ID of the `UrlRedirectImport` object.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A list of up to three previews of the URL redirects to be imported.", "isDeprecated": false, "name": "previewRedirects", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectImportPreview", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The number of redirects updated during the import.", "isDeprecated": false, "name": "updatedCount", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "UrlRedirectImport", "possibleTypes": null }, { "description": "Return type for `urlRedirectImportCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The created `URLRedirectImport` object.", "isDeprecated": false, "name": "urlRedirectImport", "type": { "kind": "OBJECT", "name": "UrlRedirectImport", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectImportUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectImportCreatePayload", "possibleTypes": null }, { "description": "Possible error codes that can be returned by `UrlRedirectImportUserError`.", "enumValues": [ { "deprecationReason": "This error code is never returned", "description": "CSV file does not exist at given URL.", "isDeprecated": true, "name": "FILE_DOES_NOT_EXIST" }, { "deprecationReason": null, "description": "URL redirect import not found.", "isDeprecated": false, "name": "NOT_FOUND" }, { "deprecationReason": null, "description": "The import has already completed.", "isDeprecated": false, "name": "ALREADY_IMPORTED" }, { "deprecationReason": null, "description": "The import is already in progress.", "isDeprecated": false, "name": "IN_PROGRESS" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "UrlRedirectImportErrorCode", "possibleTypes": null }, { "description": "A preview of a URL redirect import row.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The old path to be redirected from. When the user visits this path, they will be redirected to the target location.", "isDeprecated": false, "name": "path", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The target location where the user will be redirected to.", "isDeprecated": false, "name": "target", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectImportPreview", "possibleTypes": null }, { "description": "Return type for `urlRedirectImportSubmit` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The asynchronous job importing the redirects.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectImportUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectImportSubmitPayload", "possibleTypes": null }, { "description": "Represents an error that happens during execution of a redirect import mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "UrlRedirectImportErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "UrlRedirectImportUserError", "possibleTypes": null }, { "description": "The input fields to create or update a URL redirect.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The old path to be redirected from. When the user visits this path, they will be redirected to the target location.", "name": "path", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "defaultValue": null, "description": "The target location where the user will be redirected to.", "name": "target", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "UrlRedirectInput", "possibleTypes": null }, { "description": "The set of valid sort keys for the UrlRedirect query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" }, { "deprecationReason": null, "description": "Sort by the `path` value.", "isDeprecated": false, "name": "PATH" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "UrlRedirectSortKeys", "possibleTypes": null }, { "description": "Return type for `urlRedirectUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Returns the updated URL redirect.", "isDeprecated": false, "name": "urlRedirect", "type": { "kind": "OBJECT", "name": "UrlRedirect", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UrlRedirectUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "UrlRedirectUpdatePayload", "possibleTypes": null }, { "description": "Represents an error that happens during execution of a redirect mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The error code.", "isDeprecated": false, "name": "code", "type": { "kind": "ENUM", "name": "UrlRedirectErrorCode", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "UrlRedirectUserError", "possibleTypes": null }, { "description": "Represents an error in the input of a mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The path to the input field that caused the error.", "isDeprecated": false, "name": "field", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": "The error message.", "isDeprecated": false, "name": "message", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "kind": "OBJECT", "name": "UserError", "possibleTypes": null }, { "description": "Time between UTC time and a location's observed time, in the format `\"+HH:MM\"` or `\"-HH:MM\"`.\n\nExample value: `\"-07:00\"`.\n", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "SCALAR", "name": "UtcOffset", "possibleTypes": null }, { "description": "Represents a credit card payment instrument.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The billing address of the card.", "isDeprecated": false, "name": "billingAddress", "type": { "kind": "OBJECT", "name": "CustomerCreditCardBillingAddress", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The brand for the card.", "isDeprecated": false, "name": "brand", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Whether the card has been expired.", "isDeprecated": false, "name": "expired", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The expiry month of the card.", "isDeprecated": false, "name": "expiryMonth", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The expiry year of the card.", "isDeprecated": false, "name": "expiryYear", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The last four digits for the card.", "isDeprecated": false, "name": "lastDigits", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The name of the card holder.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "VaultCreditCard", "possibleTypes": null }, { "description": "Represents a paypal billing agreement payment instrument.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "Whether the paypal billing agreement is inactive.", "isDeprecated": false, "name": "inactive", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The paypal account name.", "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The paypal account email address.", "isDeprecated": false, "name": "paypalAccountEmail", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "VaultPaypalBillingAgreement", "possibleTypes": null }, { "description": "Representation of 3d vectors and points. It can represent\neither the coordinates of a point in space, a direction, or\nsize. Presented as an object with three floating-point values.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The x coordinate of Vector3.", "isDeprecated": false, "name": "x", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The y coordinate of Vector3.", "isDeprecated": false, "name": "y", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The z coordinate of Vector3.", "isDeprecated": false, "name": "z", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Vector3", "possibleTypes": null }, { "description": "Represents a Shopify hosted video.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A word or phrase to share the nature or contents of a media.", "isDeprecated": false, "name": "alt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.\n", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The video's duration in milliseconds. This value is `null` unless the video's status field is\n[READY](https://shopify.dev/api/admin-graphql/latest/enums/MediaStatus#value-ready).\n", "isDeprecated": false, "name": "duration", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "Any errors that have occurred on the file.", "isDeprecated": false, "name": "fileErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FileError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The status of the file.", "isDeprecated": false, "name": "fileStatus", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "FileStatus", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The video's filename.", "isDeprecated": false, "name": "filename", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The media content type.", "isDeprecated": false, "name": "mediaContentType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "Any errors which have occurred on the media.", "isDeprecated": false, "name": "mediaErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The warnings attached to the media.", "isDeprecated": false, "name": "mediaWarnings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaWarning", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The video's original source. This value is `null` unless the video's status field is\n[READY](https://shopify.dev/api/admin-graphql/latest/enums/MediaStatus#value-ready).\n", "isDeprecated": false, "name": "originalSource", "type": { "kind": "OBJECT", "name": "VideoSource", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The preview image for the media.", "isDeprecated": false, "name": "preview", "type": { "kind": "OBJECT", "name": "MediaPreviewImage", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The video's sources. This value is empty unless the video's status field is\n[READY](https://shopify.dev/api/admin-graphql/latest/enums/MediaStatus#value-ready).\n", "isDeprecated": false, "name": "sources", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoSource", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Current status of the media.", "isDeprecated": false, "name": "status", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaStatus", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "File", "ofType": null }, { "kind": "INTERFACE", "name": "Media", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "Video", "possibleTypes": null }, { "description": "Represents a source for a Shopify hosted video.\n\nTypes of sources include the original video, lower resolution versions of the original video,\nand an m3u8 playlist file.\n\nOnly [videos](https://shopify.dev/api/admin-graphql/latest/objects/video) with a status field\nof [READY](https://shopify.dev/api/admin-graphql/latest/enums/MediaStatus#value-ready) have sources.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The video source's file size in bytes.", "isDeprecated": false, "name": "fileSize", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The video source's file format extension.", "isDeprecated": false, "name": "format", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The video source's height.", "isDeprecated": false, "name": "height", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The video source's MIME type.", "isDeprecated": false, "name": "mimeType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The video source's URL.", "isDeprecated": false, "name": "url", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The video source's width.", "isDeprecated": false, "name": "width", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "VideoSource", "possibleTypes": null }, { "description": "A type of visualization.", "enumValues": [ { "deprecationReason": null, "description": "Line Chart.", "isDeprecated": false, "name": "LINE" }, { "deprecationReason": null, "description": "Bar Chart.", "isDeprecated": false, "name": "BAR" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "VisualizationType", "possibleTypes": null }, { "description": "A web pixel settings.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The settings JSON object for the web pixel.", "isDeprecated": false, "name": "settings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "JSON", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "WebPixel", "possibleTypes": null }, { "description": "Return type for `webPixelCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorsWebPixelUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The created web pixel settings.", "isDeprecated": false, "name": "webPixel", "type": { "kind": "OBJECT", "name": "WebPixel", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebPixelCreatePayload", "possibleTypes": null }, { "description": "Return type for `webPixelDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the web pixel settings that was deleted.", "isDeprecated": false, "name": "deletedWebPixelId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorsWebPixelUserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebPixelDeletePayload", "possibleTypes": null }, { "description": "The input fields to use to update a web pixel.", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The web pixel settings in JSON format.", "name": "settings", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "JSON", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "WebPixelInput", "possibleTypes": null }, { "description": "Return type for `webPixelUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ErrorsWebPixelUserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The updated web pixel settings.", "isDeprecated": false, "name": "webPixel", "type": { "kind": "OBJECT", "name": "WebPixel", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebPixelUpdatePayload", "possibleTypes": null }, { "description": "An Amazon EventBridge partner event source to which webhook subscriptions publish events.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ARN of this EventBridge partner event source.", "isDeprecated": false, "name": "arn", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ARN", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebhookEventBridgeEndpoint", "possibleTypes": null }, { "description": "An HTTPS endpoint to which webhook subscriptions send POST requests.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The URL to which the webhooks events are sent.", "isDeprecated": false, "name": "callbackUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebhookHttpEndpoint", "possibleTypes": null }, { "description": "A Google Cloud Pub/Sub topic to which webhook subscriptions publish events.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The Google Cloud Pub/Sub project ID.", "isDeprecated": false, "name": "pubSubProject", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The Google Cloud Pub/Sub topic ID.", "isDeprecated": false, "name": "pubSubTopic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebhookPubSubEndpoint", "possibleTypes": null }, { "description": "A webhook subscription is a persisted data object created by an app using the REST Admin API or GraphQL Admin API.\nIt describes the topic that the app wants to receive, and a destination where Shopify should send webhooks of the specified topic.\nWhen an event for a given topic occurs, the webhook subscription sends a relevant payload to the destination.\nLearn more about the [webhooks system](https://shopify.dev/apps/webhooks).\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The Admin API version that Shopify uses to serialize webhook events. This value is inherited from the app that created the webhook subscription.", "isDeprecated": false, "name": "apiVersion", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ApiVersion", "ofType": null } } }, { "args": [], "deprecationReason": "Use `endpoint` instead.", "description": "The destination URI to which the webhook subscription will send a message when an event occurs.", "isDeprecated": true, "name": "callbackUrl", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the webhook subscription was created.", "isDeprecated": false, "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The endpoint to which the webhook subscription will send events.", "isDeprecated": false, "name": "endpoint", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "WebhookSubscriptionEndpoint", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The format in which the webhook subscription should send the data.", "isDeprecated": false, "name": "format", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WebhookSubscriptionFormat", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "A globally-unique ID.", "isDeprecated": false, "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "An optional array of top-level resource fields that should be serialized and sent in the webhook message. If null, then all fields will be sent.", "isDeprecated": false, "name": "includeFields", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The ID of the corresponding resource in the REST Admin API.", "isDeprecated": false, "name": "legacyResourceId", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "UnsignedInt64", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The list of namespaces for any metafields that should be included in the webhook subscription.", "isDeprecated": false, "name": "metafieldNamespaces", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": "Metafields created using a reserved namespace are private by default. See our guide for\n[migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).\n", "description": "The list of namespaces for private metafields that should be included in the webhook subscription.", "isDeprecated": true, "name": "privateMetafieldNamespaces", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The type of event that triggers the webhook. The topic determines when the webhook subscription sends a webhook, as well as what class of data object that webhook contains.", "isDeprecated": false, "name": "topic", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WebhookSubscriptionTopic", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The date and time when the webhook subscription was updated.", "isDeprecated": false, "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } } } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "LegacyInteroperability", "ofType": null }, { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "kind": "OBJECT", "name": "WebhookSubscription", "possibleTypes": null }, { "description": "An auto-generated type for paginating through multiple WebhookSubscriptions.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A list of edges.", "isDeprecated": false, "name": "edges", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WebhookSubscriptionEdge", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "A list of the nodes contained in WebhookSubscriptionEdge.", "isDeprecated": false, "name": "nodes", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "Information to aid in pagination.", "isDeprecated": false, "name": "pageInfo", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebhookSubscriptionConnection", "possibleTypes": null }, { "description": "Return type for `webhookSubscriptionCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The webhook subscription that was created.", "isDeprecated": false, "name": "webhookSubscription", "type": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebhookSubscriptionCreatePayload", "possibleTypes": null }, { "description": "Return type for `webhookSubscriptionDelete` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The ID of the deleted webhook subscription.", "isDeprecated": false, "name": "deletedWebhookSubscriptionId", "type": { "kind": "SCALAR", "name": "ID", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebhookSubscriptionDeletePayload", "possibleTypes": null }, { "description": "An auto-generated type which holds one WebhookSubscription and a cursor during pagination.\n", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A cursor for use in pagination.", "isDeprecated": false, "name": "cursor", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The item at the end of WebhookSubscriptionEdge.", "isDeprecated": false, "name": "node", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebhookSubscriptionEdge", "possibleTypes": null }, { "description": "An endpoint to which webhook subscriptions send webhooks events.", "enumValues": null, "fields": null, "inputFields": null, "interfaces": null, "kind": "UNION", "name": "WebhookSubscriptionEndpoint", "possibleTypes": [ { "kind": "OBJECT", "name": "WebhookEventBridgeEndpoint", "ofType": null }, { "kind": "OBJECT", "name": "WebhookHttpEndpoint", "ofType": null }, { "kind": "OBJECT", "name": "WebhookPubSubEndpoint", "ofType": null } ] }, { "description": "The supported formats for webhook subscriptions.", "enumValues": [ { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "JSON" }, { "deprecationReason": null, "description": null, "isDeprecated": false, "name": "XML" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "WebhookSubscriptionFormat", "possibleTypes": null }, { "description": "The input fields for a webhook subscription.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "URL where the webhook subscription should send the POST request when the event occurs.", "name": "callbackUrl", "type": { "kind": "SCALAR", "name": "URL", "ofType": null } }, { "defaultValue": null, "description": "The format in which the webhook subscription should send the data.", "name": "format", "type": { "kind": "ENUM", "name": "WebhookSubscriptionFormat", "ofType": null } }, { "defaultValue": null, "description": "The list of fields to be included in the webhook subscription.", "name": "includeFields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "defaultValue": null, "description": "The list of namespaces for any metafields that should be included in the webhook subscription.", "name": "metafieldNamespaces", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "WebhookSubscriptionInput", "possibleTypes": null }, { "description": "The set of valid sort keys for the WebhookSubscription query.", "enumValues": [ { "deprecationReason": null, "description": "Sort by the `created_at` value.", "isDeprecated": false, "name": "CREATED_AT" }, { "deprecationReason": null, "description": "Sort by the `id` value.", "isDeprecated": false, "name": "ID" }, { "deprecationReason": null, "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", "isDeprecated": false, "name": "RELEVANCE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "WebhookSubscriptionSortKeys", "possibleTypes": null }, { "description": "The supported topics for webhook subscriptions. You can use webhook subscriptions to receive\nnotifications about particular events in a shop.\n\nYou don't create webhook subscriptions to\n[mandatory webhooks](https://shopify.dev/apps/webhooks/configuration/mandatory-webhooks).\nInstead, you configure mandatory webhooks in your Partner Dashboard as part of your app setup.\n", "enumValues": [ { "deprecationReason": null, "description": "The webhook topic for `app/uninstalled` events. Occurs whenever a shop has uninstalled the app.", "isDeprecated": false, "name": "APP_UNINSTALLED" }, { "deprecationReason": null, "description": "The webhook topic for `carts/create` events. Occurs when a cart is created in the online store. Other types of carts aren't supported. For example, the webhook doesn't support carts that are created in a custom storefront. Requires the `read_orders` scope.", "isDeprecated": false, "name": "CARTS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `carts/update` events. Occurs when a cart is updated in the online store. Other types of carts aren't supported. For example, the webhook doesn't support carts that are updated in a custom storefront. Requires the `read_orders` scope.", "isDeprecated": false, "name": "CARTS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `channels/delete` events. Occurs whenever a channel is deleted. Requires the `read_publications` scope.", "isDeprecated": false, "name": "CHANNELS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `checkouts/create` events. Occurs whenever a checkout is created. Requires the `read_orders` scope.", "isDeprecated": false, "name": "CHECKOUTS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `checkouts/delete` events. Occurs whenever a checkout is deleted. Requires the `read_orders` scope.", "isDeprecated": false, "name": "CHECKOUTS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `checkouts/update` events. Occurs whenever a checkout is updated. Requires the `read_orders` scope.", "isDeprecated": false, "name": "CHECKOUTS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `customer_payment_methods/create` events. Occurs whenever a customer payment method is created. Requires the `read_customer_payment_methods` scope.", "isDeprecated": false, "name": "CUSTOMER_PAYMENT_METHODS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `customer_payment_methods/update` events. Occurs whenever a customer payment method is updated. Requires the `read_customer_payment_methods` scope.", "isDeprecated": false, "name": "CUSTOMER_PAYMENT_METHODS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `customer_payment_methods/revoke` events. Occurs whenever a customer payment method is revoked. Requires the `read_customer_payment_methods` scope.", "isDeprecated": false, "name": "CUSTOMER_PAYMENT_METHODS_REVOKE" }, { "deprecationReason": null, "description": "The webhook topic for `collection_listings/add` events. Occurs whenever a collection listing is added. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "COLLECTION_LISTINGS_ADD" }, { "deprecationReason": null, "description": "The webhook topic for `collection_listings/remove` events. Occurs whenever a collection listing is removed. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "COLLECTION_LISTINGS_REMOVE" }, { "deprecationReason": null, "description": "The webhook topic for `collection_listings/update` events. Occurs whenever a collection listing is updated. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "COLLECTION_LISTINGS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `collection_publications/create` events. Occurs whenever a collection publication listing is created. Requires the `read_publications` scope.", "isDeprecated": false, "name": "COLLECTION_PUBLICATIONS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `collection_publications/delete` events. Occurs whenever a collection publication listing is deleted. Requires the `read_publications` scope.", "isDeprecated": false, "name": "COLLECTION_PUBLICATIONS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `collection_publications/update` events. Occurs whenever a collection publication listing is updated. Requires the `read_publications` scope.", "isDeprecated": false, "name": "COLLECTION_PUBLICATIONS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `collections/create` events. Occurs whenever a collection is created. Requires the `read_products` scope.", "isDeprecated": false, "name": "COLLECTIONS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `collections/delete` events. Occurs whenever a collection is deleted. Requires the `read_products` scope.", "isDeprecated": false, "name": "COLLECTIONS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `collections/update` events. Occurs whenever a collection is updated, including whenever products are added or removed from the collection. Occurs once if multiple products are added or removed from a collection at the same time. Requires the `read_products` scope.", "isDeprecated": false, "name": "COLLECTIONS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `customer_groups/create` events. Occurs whenever a customer saved search is created. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMER_GROUPS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `customer_groups/delete` events. Occurs whenever a customer saved search is deleted. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMER_GROUPS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `customer_groups/update` events. Occurs whenever a customer saved search is updated. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMER_GROUPS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `customers/create` events. Occurs whenever a customer is created. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMERS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `customers/delete` events. Occurs whenever a customer is deleted. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMERS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `customers/disable` events. Occurs whenever a customer account is disabled. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMERS_DISABLE" }, { "deprecationReason": null, "description": "The webhook topic for `customers/enable` events. Occurs whenever a customer account is enabled. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMERS_ENABLE" }, { "deprecationReason": null, "description": "The webhook topic for `customers/update` events. Occurs whenever a customer is updated. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMERS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `customers_marketing_consent/update` events. Occurs whenever a customer's SMS marketing consent is updated. Requires the `read_customers` scope.", "isDeprecated": false, "name": "CUSTOMERS_MARKETING_CONSENT_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `disputes/create` events. Occurs whenever a dispute is created. Requires the `read_shopify_payments_disputes` scope.", "isDeprecated": false, "name": "DISPUTES_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `disputes/update` events. Occurs whenever a dispute is updated. Requires the `read_shopify_payments_disputes` scope.", "isDeprecated": false, "name": "DISPUTES_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `draft_orders/create` events. Occurs whenever a draft order is created. Requires the `read_draft_orders` scope.", "isDeprecated": false, "name": "DRAFT_ORDERS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `draft_orders/delete` events. Occurs whenever a draft order is deleted. Requires the `read_draft_orders` scope.", "isDeprecated": false, "name": "DRAFT_ORDERS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `draft_orders/update` events. Occurs whenever a draft order is updated. Requires the `read_draft_orders` scope.", "isDeprecated": false, "name": "DRAFT_ORDERS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_events/create` events. Occurs whenever a fulfillment event is created. Requires the `read_fulfillments` scope.", "isDeprecated": false, "name": "FULFILLMENT_EVENTS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_events/delete` events. Occurs whenever a fulfillment event is deleted. Requires the `read_fulfillments` scope.", "isDeprecated": false, "name": "FULFILLMENT_EVENTS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillments/create` events. Occurs whenever a fulfillment is created. Requires at least one of the following scopes: read_fulfillments, read_marketplace_orders.", "isDeprecated": false, "name": "FULFILLMENTS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillments/update` events. Occurs whenever a fulfillment is updated. Requires at least one of the following scopes: read_fulfillments, read_marketplace_orders.", "isDeprecated": false, "name": "FULFILLMENTS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `attributed_sessions/first` events. Occurs whenever an order with a \"first\" attributed session is attributed. Requires the `read_marketing_events` scope.", "isDeprecated": false, "name": "ATTRIBUTED_SESSIONS_FIRST" }, { "deprecationReason": null, "description": "The webhook topic for `attributed_sessions/last` events. Occurs whenever an order with a \"last\" attributed session is attributed. Requires the `read_marketing_events` scope.", "isDeprecated": false, "name": "ATTRIBUTED_SESSIONS_LAST" }, { "deprecationReason": null, "description": "The webhook topic for `order_transactions/create` events. Occurs when a order transaction is created or when it's status is updated. Only occurs for transactions with a status of success, failure or error. Requires at least one of the following scopes: read_orders, read_marketplace_orders, read_buyer_membership_orders.", "isDeprecated": false, "name": "ORDER_TRANSACTIONS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `orders/cancelled` events. Occurs whenever an order is cancelled. Requires at least one of the following scopes: read_orders, read_marketplace_orders, read_buyer_membership_orders.", "isDeprecated": false, "name": "ORDERS_CANCELLED" }, { "deprecationReason": null, "description": "The webhook topic for `orders/create` events. Occurs whenever an order is created. Requires at least one of the following scopes: read_orders, read_marketplace_orders.", "isDeprecated": false, "name": "ORDERS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `orders/delete` events. Occurs whenever an order is deleted. Requires the `read_orders` scope.", "isDeprecated": false, "name": "ORDERS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `orders/edited` events. Occurs whenever an order is edited. Requires at least one of the following scopes: read_orders, read_marketplace_orders, read_buyer_membership_orders.", "isDeprecated": false, "name": "ORDERS_EDITED" }, { "deprecationReason": null, "description": "The webhook topic for `orders/fulfilled` events. Occurs whenever an order is fulfilled. Requires at least one of the following scopes: read_orders, read_marketplace_orders.", "isDeprecated": false, "name": "ORDERS_FULFILLED" }, { "deprecationReason": null, "description": "The webhook topic for `orders/paid` events. Occurs whenever an order is paid. Requires at least one of the following scopes: read_orders, read_marketplace_orders.", "isDeprecated": false, "name": "ORDERS_PAID" }, { "deprecationReason": null, "description": "The webhook topic for `orders/partially_fulfilled` events. Occurs whenever an order is partially fulfilled. Requires at least one of the following scopes: read_orders, read_marketplace_orders.", "isDeprecated": false, "name": "ORDERS_PARTIALLY_FULFILLED" }, { "deprecationReason": null, "description": "The webhook topic for `orders/updated` events. Occurs whenever an order is updated. Requires at least one of the following scopes: read_orders, read_marketplace_orders, read_buyer_membership_orders.", "isDeprecated": false, "name": "ORDERS_UPDATED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/moved` events. Occurs whenever the location which is assigned to fulfill one or more fulfillment order line items is changed.\n\n* `original_fulfillment_order` - The final state of the original fulfillment order.\n* `moved_fulfillment_order` - The fulfillment order which now contains the re-assigned line items.\n* `source_location` - The original location which was assigned to fulfill the line items (available as of the `2023-04` API version).\n* `destination_location_id` - The ID of the location which is now responsible for fulfilling the line items.\n\n**Note:** The [assignedLocation](https://shopify.dev/docs/api/admin-graphql/latest/objects/fulfillmentorder#field-fulfillmentorder-assignedlocation)\nof the `original_fulfillment_order` might be changed by the move operation.\nIf you need to determine the originally assigned location, then you should refer to the `source_location`.\n\n[Learn more about moving line items](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentOrderMove).\n Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_MOVED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/hold_released` events. Occurs whenever a fulfillment order hold is released. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_HOLD_RELEASED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/scheduled_fulfillment_order_ready` events. Occurs whenever a fulfillment order which was scheduled becomes due. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_SCHEDULED_FULFILLMENT_ORDER_READY" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/order_routing_complete` events. Occurs when an order has finished being routed and it's fulfillment orders assigned to a fulfillment service's location. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_ORDER_ROUTING_COMPLETE" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/cancelled` events. Occurs when a fulfillment order is cancelled. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_CANCELLED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/fulfillment_service_failed_to_complete` events. Occurs when a fulfillment service intends to close an in_progress fulfillment order. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_FULFILLMENT_SERVICE_FAILED_TO_COMPLETE" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/fulfillment_request_rejected` events. Occurs when a 3PL rejects a fulfillment request that was sent by a merchant. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_FULFILLMENT_REQUEST_REJECTED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/cancellation_request_submitted` events. Occurs when a merchant requests a fulfillment request to be cancelled after that request was approved by a 3PL. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_CANCELLATION_REQUEST_SUBMITTED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/cancellation_request_accepted` events. Occurs when a 3PL accepts a fulfillment cancellation request, received from a merchant. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_CANCELLATION_REQUEST_ACCEPTED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/cancellation_request_rejected` events. Occurs when a 3PL rejects a fulfillment cancellation request, received from a merchant. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_CANCELLATION_REQUEST_REJECTED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/fulfillment_request_submitted` events. Occurs when a merchant submits a fulfillment request to a 3PL. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_FULFILLMENT_REQUEST_SUBMITTED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/fulfillment_request_accepted` events. Occurs when a fulfillment service accepts a request to fulfill a fulfillment order. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_FULFILLMENT_REQUEST_ACCEPTED" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/line_items_prepared_for_local_delivery` events. Occurs whenever a fulfillment order's line items are prepared for local delivery. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_LINE_ITEMS_PREPARED_FOR_LOCAL_DELIVERY" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/placed_on_hold` events. Occurs when a fulfillment order is placed on hold. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_PLACED_ON_HOLD" }, { "deprecationReason": null, "description": "The webhook topic for `product_listings/add` events. Occurs whenever an active product is listed on a channel. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "PRODUCT_LISTINGS_ADD" }, { "deprecationReason": null, "description": "The webhook topic for `product_listings/remove` events. Occurs whenever a product listing is removed from the channel. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "PRODUCT_LISTINGS_REMOVE" }, { "deprecationReason": null, "description": "The webhook topic for `product_listings/update` events. Occurs whenever a product publication is updated. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "PRODUCT_LISTINGS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `scheduled_product_listings/add` events. Occurs whenever a product is scheduled to be published. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "SCHEDULED_PRODUCT_LISTINGS_ADD" }, { "deprecationReason": null, "description": "The webhook topic for `scheduled_product_listings/update` events. Occurs whenever a product's scheduled availability date changes. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "SCHEDULED_PRODUCT_LISTINGS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `scheduled_product_listings/remove` events. Occurs whenever a product is no longer scheduled to be published. Requires the `read_product_listings` scope.", "isDeprecated": false, "name": "SCHEDULED_PRODUCT_LISTINGS_REMOVE" }, { "deprecationReason": null, "description": "The webhook topic for `product_publications/create` events. Occurs whenever a product publication for an active product is created, or whenever an existing product publication is published. Requires the `read_publications` scope.", "isDeprecated": false, "name": "PRODUCT_PUBLICATIONS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `product_publications/delete` events. Occurs whenever a product publication for an active product is removed, or whenever an existing product publication is unpublished. Requires the `read_publications` scope.", "isDeprecated": false, "name": "PRODUCT_PUBLICATIONS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `product_publications/update` events. Occurs whenever a product publication is updated. Requires the `read_publications` scope.", "isDeprecated": false, "name": "PRODUCT_PUBLICATIONS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `products/create` events. Occurs whenever a product is created. Requires the `read_products` scope.", "isDeprecated": false, "name": "PRODUCTS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `products/delete` events. Occurs whenever a product is deleted. Requires the `read_products` scope.", "isDeprecated": false, "name": "PRODUCTS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `products/update` events. Occurs whenever a product is updated, or whenever a product is ordered, or whenever a variant is added, removed, or updated. Requires the `read_products` scope.", "isDeprecated": false, "name": "PRODUCTS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `refunds/create` events. Occurs whenever a new refund is created without errors on an order, independent from the movement of money. Requires at least one of the following scopes: read_orders, read_marketplace_orders, read_buyer_membership_orders.", "isDeprecated": false, "name": "REFUNDS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `segments/create` events. Occurs whenever a segment is created. Requires the `read_customers` scope.", "isDeprecated": false, "name": "SEGMENTS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `segments/delete` events. Occurs whenever a segment is deleted. Requires the `read_customers` scope.", "isDeprecated": false, "name": "SEGMENTS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `segments/update` events. Occurs whenever a segment is updated. Requires the `read_customers` scope.", "isDeprecated": false, "name": "SEGMENTS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `shipping_addresses/create` events. Occurs whenever a shipping address is created. Requires the `read_shipping` scope.", "isDeprecated": false, "name": "SHIPPING_ADDRESSES_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `shipping_addresses/update` events. Occurs whenever a shipping address is updated. Requires the `read_shipping` scope.", "isDeprecated": false, "name": "SHIPPING_ADDRESSES_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `shop/update` events. Occurs whenever a shop is updated.", "isDeprecated": false, "name": "SHOP_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `tax_services/create` events. Occurs whenever a tax service is created. Requires the `read_taxes` scope.", "isDeprecated": false, "name": "TAX_SERVICES_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `tax_services/update` events. Occurs whenver a tax service is updated. Requires the `read_taxes` scope.", "isDeprecated": false, "name": "TAX_SERVICES_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `themes/create` events. Occurs whenever a theme is created. Does not occur when theme files are created. Requires the `read_themes` scope.", "isDeprecated": false, "name": "THEMES_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `themes/delete` events. Occurs whenever a theme is deleted. Does not occur when theme files are deleted. Requires the `read_themes` scope.", "isDeprecated": false, "name": "THEMES_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `themes/publish` events. Occurs whenever a theme with the main or mobile (deprecated) role is published. Requires the `read_themes` scope.", "isDeprecated": false, "name": "THEMES_PUBLISH" }, { "deprecationReason": null, "description": "The webhook topic for `themes/update` events. Occurs whenever a theme is updated. Does not occur when theme files are updated. Requires the `read_themes` scope.", "isDeprecated": false, "name": "THEMES_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `variants/in_stock` events. Occurs whenever a variant becomes in stock. Requires the `read_products` scope.", "isDeprecated": false, "name": "VARIANTS_IN_STOCK" }, { "deprecationReason": null, "description": "The webhook topic for `variants/out_of_stock` events. Occurs whenever a variant becomes out of stock. Requires the `read_products` scope.", "isDeprecated": false, "name": "VARIANTS_OUT_OF_STOCK" }, { "deprecationReason": null, "description": "The webhook topic for `inventory_levels/connect` events. Occurs whenever an inventory level is connected. Requires the `read_inventory` scope.", "isDeprecated": false, "name": "INVENTORY_LEVELS_CONNECT" }, { "deprecationReason": null, "description": "The webhook topic for `inventory_levels/update` events. Occurs whenever an inventory level is updated. Requires the `read_inventory` scope.", "isDeprecated": false, "name": "INVENTORY_LEVELS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `inventory_levels/disconnect` events. Occurs whenever an inventory level is disconnected. Requires the `read_inventory` scope.", "isDeprecated": false, "name": "INVENTORY_LEVELS_DISCONNECT" }, { "deprecationReason": null, "description": "The webhook topic for `inventory_items/create` events. Occurs whenever an inventory item is created. Requires the `read_inventory` scope.", "isDeprecated": false, "name": "INVENTORY_ITEMS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `inventory_items/update` events. Occurs whenever an inventory item is updated. Requires the `read_inventory` scope.", "isDeprecated": false, "name": "INVENTORY_ITEMS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `inventory_items/delete` events. Occurs whenever an inventory item is deleted. Requires the `read_inventory` scope.", "isDeprecated": false, "name": "INVENTORY_ITEMS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `locations/activate` events. Occurs whenever a deactivated location is re-activated. Requires the `read_locations` scope.", "isDeprecated": false, "name": "LOCATIONS_ACTIVATE" }, { "deprecationReason": null, "description": "The webhook topic for `locations/deactivate` events. Occurs whenever a location is deactivated. Requires the `read_locations` scope.", "isDeprecated": false, "name": "LOCATIONS_DEACTIVATE" }, { "deprecationReason": null, "description": "The webhook topic for `locations/create` events. Occurs whenever a location is created. Requires the `read_locations` scope.", "isDeprecated": false, "name": "LOCATIONS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `locations/update` events. Occurs whenever a location is updated. Requires the `read_locations` scope.", "isDeprecated": false, "name": "LOCATIONS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `locations/delete` events. Occurs whenever a location is deleted. Requires the `read_locations` scope.", "isDeprecated": false, "name": "LOCATIONS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `tender_transactions/create` events. Occurs when a tender transaction is created. Requires the `read_orders` scope.", "isDeprecated": false, "name": "TENDER_TRANSACTIONS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `app_purchases_one_time/update` events. Occurs whenever a one-time app charge is updated.", "isDeprecated": false, "name": "APP_PURCHASES_ONE_TIME_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `app_subscriptions/approaching_capped_amount` events. Occurs when the balance used on an app subscription crosses 90% of the capped amount.", "isDeprecated": false, "name": "APP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT" }, { "deprecationReason": null, "description": "The webhook topic for `app_subscriptions/update` events. Occurs whenever an app subscription is updated.", "isDeprecated": false, "name": "APP_SUBSCRIPTIONS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `locales/create` events. Occurs whenever a shop locale is created Requires the `read_locales` scope.", "isDeprecated": false, "name": "LOCALES_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `locales/update` events. Occurs whenever a shop locale is updated, such as published or unpublished Requires the `read_locales` scope.", "isDeprecated": false, "name": "LOCALES_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `domains/create` events. Occurs whenever a domain is created.", "isDeprecated": false, "name": "DOMAINS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `domains/update` events. Occurs whenever a domain is updated.", "isDeprecated": false, "name": "DOMAINS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `domains/destroy` events. Occurs whenever a domain is destroyed.", "isDeprecated": false, "name": "DOMAINS_DESTROY" }, { "deprecationReason": null, "description": "The webhook topic for `subscription_contracts/create` events. Occurs whenever a subscription contract is created. Requires the `read_own_subscription_contracts` scope.", "isDeprecated": false, "name": "SUBSCRIPTION_CONTRACTS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `subscription_contracts/update` events. Occurs whenever a subscription contract is updated. Requires the `read_own_subscription_contracts` scope.", "isDeprecated": false, "name": "SUBSCRIPTION_CONTRACTS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `subscription_billing_cycle_edits/create` events. Occurs whenever a subscription contract billing cycle is edited. Requires the `read_own_subscription_contracts` scope.", "isDeprecated": false, "name": "SUBSCRIPTION_BILLING_CYCLE_EDITS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `subscription_billing_cycle_edits/update` events. Occurs whenever a subscription contract billing cycle edit is updated. Requires the `read_own_subscription_contracts` scope.", "isDeprecated": false, "name": "SUBSCRIPTION_BILLING_CYCLE_EDITS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `subscription_billing_cycle_edits/delete` events. Occurs whenever a subscription contract billing cycle edit is deleted. Requires the `read_own_subscription_contracts` scope.", "isDeprecated": false, "name": "SUBSCRIPTION_BILLING_CYCLE_EDITS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `profiles/create` events. Occurs whenever a delivery profile is created Requires the `read_shipping` scope.", "isDeprecated": false, "name": "PROFILES_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `profiles/update` events. Occurs whenever a delivery profile is updated Requires the `read_shipping` scope.", "isDeprecated": false, "name": "PROFILES_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `profiles/delete` events. Occurs whenever a delivery profile is deleted Requires the `read_shipping` scope.", "isDeprecated": false, "name": "PROFILES_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `subscription_billing_attempts/success` events. Occurs whenever a subscription billing attempt succeeds. Requires the `read_own_subscription_contracts` scope.", "isDeprecated": false, "name": "SUBSCRIPTION_BILLING_ATTEMPTS_SUCCESS" }, { "deprecationReason": null, "description": "The webhook topic for `subscription_billing_attempts/failure` events. Occurs whenever a subscription billing attempt fails. Requires the `read_own_subscription_contracts` scope.", "isDeprecated": false, "name": "SUBSCRIPTION_BILLING_ATTEMPTS_FAILURE" }, { "deprecationReason": null, "description": "The webhook topic for `subscription_billing_attempts/challenged` events. Occurs when the financial instutition challenges the subscripttion billing attempt charge as per 3D Secure. Requires the `read_own_subscription_contracts` scope.", "isDeprecated": false, "name": "SUBSCRIPTION_BILLING_ATTEMPTS_CHALLENGED" }, { "deprecationReason": null, "description": "The webhook topic for `returns/cancel` events. Occurs whenever a return is canceled. Requires at least one of the following scopes: read_orders, read_marketplace_orders, read_returns, read_marketplace_returns, read_buyer_membership_orders.", "isDeprecated": false, "name": "RETURNS_CANCEL" }, { "deprecationReason": null, "description": "The webhook topic for `returns/close` events. Occurs whenever a return is closed. Requires at least one of the following scopes: read_orders, read_marketplace_orders, read_returns, read_marketplace_returns, read_buyer_membership_orders.", "isDeprecated": false, "name": "RETURNS_CLOSE" }, { "deprecationReason": null, "description": "The webhook topic for `returns/reopen` events. Occurs whenever a closed return is reopened. Requires at least one of the following scopes: read_orders, read_marketplace_orders, read_returns, read_marketplace_returns, read_buyer_membership_orders.", "isDeprecated": false, "name": "RETURNS_REOPEN" }, { "deprecationReason": null, "description": "The webhook topic for `returns/request` events. Occurs whenever a return is requested. This means `Return.status` is `REQUESTED`. Requires at least one of the following scopes: read_returns, read_marketplace_returns, read_buyer_membership_orders.", "isDeprecated": false, "name": "RETURNS_REQUEST" }, { "deprecationReason": null, "description": "The webhook topic for `returns/approve` events. Occurs whenever a return is approved. This means `Return.status` is `OPEN`. Requires at least one of the following scopes: read_returns, read_marketplace_returns, read_buyer_membership_orders.", "isDeprecated": false, "name": "RETURNS_APPROVE" }, { "deprecationReason": null, "description": "The webhook topic for `returns/decline` events. Occurs whenever a return is declined. This means `Return.status` is `DECLINED`. Requires at least one of the following scopes: read_returns, read_marketplace_returns, read_buyer_membership_orders.", "isDeprecated": false, "name": "RETURNS_DECLINE" }, { "deprecationReason": null, "description": "The webhook topic for `reverse_deliveries/attach_deliverable` events. Occurs whenever a deliverable is attached to a reverse delivery.\nThis occurs when a reverse delivery is created or updated with delivery metadata.\nMetadata includes the delivery method, label, and tracking information associated with a reverse delivery.\n Requires at least one of the following scopes: read_returns, read_marketplace_returns.", "isDeprecated": false, "name": "REVERSE_DELIVERIES_ATTACH_DELIVERABLE" }, { "deprecationReason": null, "description": "The webhook topic for `reverse_fulfillment_orders/dispose` events. Occurs whenever a disposition is made on a reverse fulfillment order.\nThis includes dispositions made on reverse deliveries that are associated with the reverse fulfillment order.\n Requires at least one of the following scopes: read_returns, read_marketplace_returns.", "isDeprecated": false, "name": "REVERSE_FULFILLMENT_ORDERS_DISPOSE" }, { "deprecationReason": null, "description": "The webhook topic for `payment_terms/create` events. Occurs whenever payment terms are created. Requires the `read_payment_terms` scope.", "isDeprecated": false, "name": "PAYMENT_TERMS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `payment_terms/delete` events. Occurs whenever payment terms are deleted. Requires the `read_payment_terms` scope.", "isDeprecated": false, "name": "PAYMENT_TERMS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `payment_terms/update` events. Occurs whenever payment terms are updated. Requires the `read_payment_terms` scope.", "isDeprecated": false, "name": "PAYMENT_TERMS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `payment_schedules/due` events. Occurs whenever payment schedules are due. Requires the `read_payment_terms` scope.", "isDeprecated": false, "name": "PAYMENT_SCHEDULES_DUE" }, { "deprecationReason": null, "description": "The webhook topic for `selling_plan_groups/create` events. Notifies when a SellingPlanGroup is created. Requires the `read_products` scope.", "isDeprecated": false, "name": "SELLING_PLAN_GROUPS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `selling_plan_groups/update` events. Notifies when a SellingPlanGroup is updated. Requires the `read_products` scope.", "isDeprecated": false, "name": "SELLING_PLAN_GROUPS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `selling_plan_groups/delete` events. Notifies when a SellingPlanGroup is deleted. Requires the `read_products` scope.", "isDeprecated": false, "name": "SELLING_PLAN_GROUPS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `bulk_operations/finish` events. Notifies when a Bulk Operation finishes.", "isDeprecated": false, "name": "BULK_OPERATIONS_FINISH" }, { "deprecationReason": null, "description": "The webhook topic for `markets/create` events. Occurs when a new market is created. Requires the `read_markets` scope.", "isDeprecated": false, "name": "MARKETS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `markets/update` events. Occurs when a market is updated. Requires the `read_markets` scope.", "isDeprecated": false, "name": "MARKETS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `markets/delete` events. Occurs when a market is deleted. Requires the `read_markets` scope.", "isDeprecated": false, "name": "MARKETS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/rescheduled` events. Triggers when a fulfillment order is rescheduled Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_RESCHEDULED" }, { "deprecationReason": null, "description": "The webhook topic for `audit_events/admin_api_activity` events. Triggers for each auditable Admin API request. This topic is limited to one active subscription per Plus store and requires the use of Google Cloud Pub/Sub or AWS EventBridge. Requires the `read_audit_events` scope.", "isDeprecated": false, "name": "AUDIT_EVENTS_ADMIN_API_ACTIVITY" }, { "deprecationReason": null, "description": "The webhook topic for `fulfillment_orders/line_items_prepared_for_pickup` events. Triggers when one or more of the line items for a fulfillment order are prepared for pickup Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.", "isDeprecated": false, "name": "FULFILLMENT_ORDERS_LINE_ITEMS_PREPARED_FOR_PICKUP" }, { "deprecationReason": null, "description": "The webhook topic for `companies/create` events. Occurs whenever a company is created. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANIES_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `companies/update` events. Occurs whenever a company is updated. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANIES_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `companies/delete` events. Occurs whenever a company is deleted. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANIES_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `company_locations/create` events. Occurs whenever a company location is created. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANY_LOCATIONS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `company_locations/update` events. Occurs whenever a company location is updated. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANY_LOCATIONS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `company_locations/delete` events. Occurs whenever a company location is deleted. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANY_LOCATIONS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `company_contacts/create` events. Occurs whenever a company contact is created. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANY_CONTACTS_CREATE" }, { "deprecationReason": null, "description": "The webhook topic for `company_contacts/update` events. Occurs whenever a company contact is updated. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANY_CONTACTS_UPDATE" }, { "deprecationReason": null, "description": "The webhook topic for `company_contacts/delete` events. Occurs whenever a company contact is deleted. Requires the `read_customers` scope.", "isDeprecated": false, "name": "COMPANY_CONTACTS_DELETE" }, { "deprecationReason": null, "description": "The webhook topic for `customers/merge` events. Triggers when two customers are merged Requires the `read_customer_merge` scope.", "isDeprecated": false, "name": "CUSTOMERS_MERGE" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "WebhookSubscriptionTopic", "possibleTypes": null }, { "description": "Return type for `webhookSubscriptionUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "The webhook subscription that was updated.", "isDeprecated": false, "name": "webhookSubscription", "type": { "kind": "OBJECT", "name": "WebhookSubscription", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "WebhookSubscriptionUpdatePayload", "possibleTypes": null }, { "description": "A weight, which includes a numeric value and a unit of measurement.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The unit of measurement for `value`.", "isDeprecated": false, "name": "unit", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WeightUnit", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "The weight value using the unit system specified with `unit`.", "isDeprecated": false, "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "Weight", "possibleTypes": null }, { "description": "The input fields for the weight unit and value inputs.\n", "enumValues": null, "fields": null, "inputFields": [ { "defaultValue": null, "description": "The weight value using the unit system specified with `weight_unit`.", "name": "value", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } } }, { "defaultValue": null, "description": "Unit of measurement for `value`.", "name": "unit", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WeightUnit", "ofType": null } } } ], "interfaces": null, "kind": "INPUT_OBJECT", "name": "WeightInput", "possibleTypes": null }, { "description": "Units of measurement for weight.", "enumValues": [ { "deprecationReason": null, "description": "1 kilogram equals 1000 grams.", "isDeprecated": false, "name": "KILOGRAMS" }, { "deprecationReason": null, "description": "Metric system unit of mass.", "isDeprecated": false, "name": "GRAMS" }, { "deprecationReason": null, "description": "1 pound equals 16 ounces.", "isDeprecated": false, "name": "POUNDS" }, { "deprecationReason": null, "description": "Imperial system unit of mass.", "isDeprecated": false, "name": "OUNCES" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "WeightUnit", "possibleTypes": null }, { "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.", "enumValues": null, "fields": [ { "args": [ { "defaultValue": "false", "description": null, "name": "includeDeprecated", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "args", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isRepeatable", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "locations", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "__DirectiveLocation", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": "Use `locations`.", "description": null, "isDeprecated": true, "name": "onField", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `locations`.", "description": null, "isDeprecated": true, "name": "onFragment", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": "Use `locations`.", "description": null, "isDeprecated": true, "name": "onOperation", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "__Directive", "possibleTypes": null }, { "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", "enumValues": [ { "deprecationReason": null, "description": "Location adjacent to a query operation.", "isDeprecated": false, "name": "QUERY" }, { "deprecationReason": null, "description": "Location adjacent to a mutation operation.", "isDeprecated": false, "name": "MUTATION" }, { "deprecationReason": null, "description": "Location adjacent to a subscription operation.", "isDeprecated": false, "name": "SUBSCRIPTION" }, { "deprecationReason": null, "description": "Location adjacent to a field.", "isDeprecated": false, "name": "FIELD" }, { "deprecationReason": null, "description": "Location adjacent to a fragment definition.", "isDeprecated": false, "name": "FRAGMENT_DEFINITION" }, { "deprecationReason": null, "description": "Location adjacent to a fragment spread.", "isDeprecated": false, "name": "FRAGMENT_SPREAD" }, { "deprecationReason": null, "description": "Location adjacent to an inline fragment.", "isDeprecated": false, "name": "INLINE_FRAGMENT" }, { "deprecationReason": null, "description": "Location adjacent to a schema definition.", "isDeprecated": false, "name": "SCHEMA" }, { "deprecationReason": null, "description": "Location adjacent to a scalar definition.", "isDeprecated": false, "name": "SCALAR" }, { "deprecationReason": null, "description": "Location adjacent to an object type definition.", "isDeprecated": false, "name": "OBJECT" }, { "deprecationReason": null, "description": "Location adjacent to a field definition.", "isDeprecated": false, "name": "FIELD_DEFINITION" }, { "deprecationReason": null, "description": "Location adjacent to an argument definition.", "isDeprecated": false, "name": "ARGUMENT_DEFINITION" }, { "deprecationReason": null, "description": "Location adjacent to an interface definition.", "isDeprecated": false, "name": "INTERFACE" }, { "deprecationReason": null, "description": "Location adjacent to a union definition.", "isDeprecated": false, "name": "UNION" }, { "deprecationReason": null, "description": "Location adjacent to an enum definition.", "isDeprecated": false, "name": "ENUM" }, { "deprecationReason": null, "description": "Location adjacent to an enum value definition.", "isDeprecated": false, "name": "ENUM_VALUE" }, { "deprecationReason": null, "description": "Location adjacent to an input object type definition.", "isDeprecated": false, "name": "INPUT_OBJECT" }, { "deprecationReason": null, "description": "Location adjacent to an input object field definition.", "isDeprecated": false, "name": "INPUT_FIELD_DEFINITION" }, { "deprecationReason": null, "description": "Location adjacent to a variable definition.", "isDeprecated": false, "name": "VARIABLE_DEFINITION" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "__DirectiveLocation", "possibleTypes": null }, { "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.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "deprecationReason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isDeprecated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isPrivatelyDocumented", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "__EnumValue", "possibleTypes": null }, { "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.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "accessRestricted", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "accessRestrictedReason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": "false", "description": null, "name": "includeDeprecated", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "args", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "deprecationReason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isDeprecated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isPrivatelyDocumented", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isProtected", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "protectedContent", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "protectedSubject", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "requiredAccess", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "__Field", "possibleTypes": null }, { "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.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "A GraphQL-formatted string representing the default value for this input value.", "isDeprecated": false, "name": "defaultValue", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "deprecationReason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "gidTypes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isDeprecated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "name", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "type", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "__InputValue", "possibleTypes": null }, { "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.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A list of all directives supported by this server.", "isDeprecated": false, "name": "directives", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Directive", "ofType": null } } } } }, { "args": [], "deprecationReason": null, "description": "If this server supports mutation, the type that mutation operations will be rooted at.", "isDeprecated": false, "name": "mutationType", "type": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The type that query operations will be rooted at.", "isDeprecated": false, "name": "queryType", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": "If this server support subscription, the type that subscription operations will be rooted at.", "isDeprecated": false, "name": "subscriptionType", "type": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "A list of all types supported by this server.", "isDeprecated": false, "name": "types", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "__Schema", "possibleTypes": null }, { "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 and description, 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.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "accessRestricted", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "accessRestrictedReason", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "componentName", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "description", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [ { "defaultValue": "false", "description": null, "name": "includeDeprecated", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "enumValues", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__EnumValue", "ofType": null } } } }, { "args": [ { "defaultValue": "false", "description": null, "name": "includeDeprecated", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "fields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Field", "ofType": null } } } }, { "args": [ { "defaultValue": "false", "description": null, "name": "includeDeprecated", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } ], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "inputFields", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "interfaces", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isOneOf", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isPrivatelyDocumented", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "isProtected", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "kind", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "__TypeKind", "ofType": null } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "name", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "ofType", "type": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "possibleTypes", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "protectedSubject", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "requiredAccess", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, "name": "specifiedByURL", "type": { "kind": "SCALAR", "name": "String", "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "__Type", "possibleTypes": null }, { "description": "An enum describing what kind of type a given `__Type` is.", "enumValues": [ { "deprecationReason": null, "description": "Indicates this type is a scalar.", "isDeprecated": false, "name": "SCALAR" }, { "deprecationReason": null, "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", "isDeprecated": false, "name": "OBJECT" }, { "deprecationReason": null, "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", "isDeprecated": false, "name": "INTERFACE" }, { "deprecationReason": null, "description": "Indicates this type is a union. `possibleTypes` is a valid field.", "isDeprecated": false, "name": "UNION" }, { "deprecationReason": null, "description": "Indicates this type is an enum. `enumValues` is a valid field.", "isDeprecated": false, "name": "ENUM" }, { "deprecationReason": null, "description": "Indicates this type is an input object. `inputFields` is a valid field.", "isDeprecated": false, "name": "INPUT_OBJECT" }, { "deprecationReason": null, "description": "Indicates this type is a list. `ofType` is a valid field.", "isDeprecated": false, "name": "LIST" }, { "deprecationReason": null, "description": "Indicates this type is a non-null. `ofType` is a valid field.", "isDeprecated": false, "name": "NON_NULL" } ], "fields": null, "inputFields": null, "interfaces": null, "kind": "ENUM", "name": "__TypeKind", "possibleTypes": null }, { "description": "Return type for `deliveryProfileCreate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The delivery profile that was created.", "isDeprecated": false, "name": "profile", "type": { "kind": "OBJECT", "name": "DeliveryProfile", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "deliveryProfileCreatePayload", "possibleTypes": null }, { "description": "Return type for `deliveryProfileRemove` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The delivery profile deletion job triggered by the mutation.", "isDeprecated": false, "name": "job", "type": { "kind": "OBJECT", "name": "Job", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "deliveryProfileRemovePayload", "possibleTypes": null }, { "description": "Return type for `deliveryProfileUpdate` mutation.", "enumValues": null, "fields": [ { "args": [], "deprecationReason": null, "description": "The delivery profile that was updated.", "isDeprecated": false, "name": "profile", "type": { "kind": "OBJECT", "name": "DeliveryProfile", "ofType": null } }, { "args": [], "deprecationReason": null, "description": "The list of errors that occurred from executing the mutation.", "isDeprecated": false, "name": "userErrors", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", "name": "deliveryProfileUpdatePayload", "possibleTypes": null } ] } }, "extensions": { "cost": { "actualQueryCost": 59, "requestedQueryCost": 59, "throttleStatus": { "currentlyAvailable": 941, "maximumAvailable": 1000.0, "restoreRate": 50.0 } } } }