@syncify/codegen
Version:
Shopify GraphQL codegen handling for the sane developer.
1,548 lines (1,547 loc) • 8.89 MB
JSON
{
"__schema": {
"queryType": {
"name": "QueryRoot",
"kind": "OBJECT"
},
"mutationType": {
"name": "Mutation",
"kind": "OBJECT"
},
"subscriptionType": null,
"types": [
{
"kind": "SCALAR",
"name": "ARN",
"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).",
"isOneOf": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "AbandonedCheckout",
"description": "A checkout that was abandoned by the customer.",
"isOneOf": null,
"fields": [
{
"name": "abandonedCheckoutUrl",
"description": "The URL for the buyer to recover their checkout.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "URL",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "billingAddress",
"description": "The billing address provided by the buyer.\nNull if the user did not provide a billing address.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "MailingAddress",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "completedAt",
"description": "The date and time when the buyer completed the checkout.\nNull if the checkout has not been completed.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "createdAt",
"description": "The date and time when the checkout was created.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "customAttributes",
"description": "A list of extra information that has been added to the checkout.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Attribute",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "customer",
"description": "The customer who created this checkout.\nMay be null if the checkout was created from a draft order or via an app.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "Customer",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "defaultCursor",
"description": "A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "discountCodes",
"description": "The discount codes entered by the buyer at checkout.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "A globally-unique ID.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lineItems",
"description": "A list of the line items in this checkout.",
"args": [
{
"name": "after",
"description": "The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "before",
"description": "The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "first",
"description": "The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "last",
"description": "The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "reverse",
"description": "Reverse the order of the underlying list.",
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false",
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItemConnection",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lineItemsQuantity",
"description": "The number of products in the checkout.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": true,
"deprecationReason": "Use [AbandonedCheckoutLineItem.quantity](https://shopify.dev/api/admin-graphql/unstable/objects/AbandonedCheckoutLineItem#field-quantity) instead."
},
{
"name": "name",
"description": "Unique merchant-facing identifier for the checkout.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "note",
"description": "A merchant-facing note added to the checkout. Not visible to the buyer.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "shippingAddress",
"description": "The shipping address to where the line items will be shipped.\nNull if the user did not provide a shipping address.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "MailingAddress",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "subtotalPriceSet",
"description": "The sum of all items in the checkout, including discounts but excluding shipping, taxes and tips.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "taxLines",
"description": "Individual taxes charged on the checkout.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "TaxLine",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "taxesIncluded",
"description": "Whether taxes are included in line item and shipping line prices.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "totalDiscountSet",
"description": "The total amount of discounts to be applied.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "totalDutiesSet",
"description": "The total duties applied to the checkout.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "totalLineItemsPriceSet",
"description": "The sum of the prices of all line items in the checkout.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "totalPriceSet",
"description": "The sum of all items in the checkout, including discounts, shipping, taxes, and tips.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "totalTaxSet",
"description": "The total tax applied to the checkout.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "updatedAt",
"description": "The date and time when the checkout was most recently updated.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Navigable",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Node",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "AbandonedCheckoutConnection",
"description": "An auto-generated type for paginating through multiple AbandonedCheckouts.",
"isOneOf": null,
"fields": [
{
"name": "edges",
"description": "The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "AbandonedCheckoutEdge",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "nodes",
"description": "A list of nodes that are contained in AbandonedCheckoutEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "AbandonedCheckout",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pageInfo",
"description": "An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "PageInfo",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "AbandonedCheckoutEdge",
"description": "An auto-generated type which holds one AbandonedCheckout and a cursor during pagination.",
"isOneOf": null,
"fields": [
{
"name": "cursor",
"description": "The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "node",
"description": "The item at the end of AbandonedCheckoutEdge.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "AbandonedCheckout",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItem",
"description": "A single line item in an abandoned checkout.",
"isOneOf": null,
"fields": [
{
"name": "components",
"description": "A list of line item components for this line item.",
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItemComponent",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "customAttributes",
"description": "A list of extra information that has been added to the line item.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Attribute",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "discountAllocations",
"description": "Discount allocations that have been applied on the line item.",
"args": [
{
"name": "after",
"description": "The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "before",
"description": "The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "first",
"description": "The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "last",
"description": "The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "reverse",
"description": "Reverse the order of the underlying list.",
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false",
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "DiscountAllocationConnection",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "discountedTotalPriceSet",
"description": "Final total price for the entire quantity of this line item, including discounts.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "discountedTotalPriceWithCodeDiscount",
"description": "The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "discountedUnitPriceSet",
"description": "The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "discountedUnitPriceWithCodeDiscount",
"description": "The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "A globally-unique ID.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "image",
"description": "The image associated with the line item's variant or product.\nNULL if the line item has no product, or if neither the variant nor the product have an image.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "Image",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "originalTotalPriceSet",
"description": "Original total price for the entire quantity of this line item, before discounts.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "originalUnitPriceSet",
"description": "Original price for a single unit of this line item, before discounts.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "MoneyBag",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "product",
"description": "Product for this line item.\nNULL for custom line items and products that were deleted after checkout began.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "Product",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "quantity",
"description": "The quantity of the line item.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "sku",
"description": "SKU for the inventory item associated with the variant, if any.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "title",
"description": "Title of the line item. Defaults to the product's title.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "variant",
"description": "Product variant for this line item.\nNULL for custom line items and variants that were deleted after checkout began.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "ProductVariant",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "variantTitle",
"description": "Title of the variant for this line item.\nNULL for custom line items and products that don't have distinct variants.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Node",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItemComponent",
"description": "The list of line item components that belong to a line item.",
"isOneOf": null,
"fields": [
{
"name": "id",
"description": "A globally-unique ID.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "image",
"description": "The variant image associated with the line item component.\nNULL if the variant associated doesn't have an image.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "Image",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "quantity",
"description": "The quantity of the line item component.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "title",
"description": "Title of the line item component.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "variantTitle",
"description": "The name of the variant.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItemConnection",
"description": "An auto-generated type for paginating through multiple AbandonedCheckoutLineItems.",
"isOneOf": null,
"fields": [
{
"name": "edges",
"description": "The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItemEdge",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "nodes",
"description": "A list of nodes that are contained in AbandonedCheckoutLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItem",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pageInfo",
"description": "An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "PageInfo",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItemEdge",
"description": "An auto-generated type which holds one AbandonedCheckoutLineItem and a cursor during pagination.",
"isOneOf": null,
"fields": [
{
"name": "cursor",
"description": "The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "node",
"description": "The item at the end of AbandonedCheckoutLineItemEdge.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "AbandonedCheckoutLineItem",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "AbandonedCheckoutSortKeys",
"description": "The set of valid sort keys for the AbandonedCheckout query.",
"isOneOf": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "CHECKOUT_ID",
"description": "Sort by the `checkout_id` value.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "CREATED_AT",
"description": "Sort by the `created_at` value.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "CUSTOMER_NAME",
"description": "Sort by the `customer_name` value.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ID",
"description": "Sort by the `id` value.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "RELEVANCE",
"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.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "TOTAL_PRICE",
"description": "Sort by the `total_price` value.",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Abandonment",
"description": "A browse, cart, or checkout that was abandoned by a customer.",
"isOneOf": null,
"fields": [
{
"name": "abandonedCheckoutPayload",
"description": "The abandonment payload for the abandoned checkout.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "AbandonedCheckout",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "abandonmentType",
"description": "The abandonment type.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "AbandonmentAbandonmentType",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "app",
"description": "The app associated with an abandoned checkout.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "App",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "cartUrl",
"description": "Permalink to the cart page.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "URL",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "createdAt",
"description": "The date and time when the abandonment was created.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "customer",
"description": "The customer who abandoned this event.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Customer",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "customerHasNoDraftOrderSinceAbandonment",
"description": "Whether the customer has a draft order since this abandonment has been abandoned.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "customerHasNoOrderSinceAbandonment",
"description": "Whether the customer has completed an order since this checkout has been abandoned.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "daysSinceLastAbandonmentEmail",
"description": "The number of days since the last abandonment email was sent to the customer.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "emailSentAt",
"description": "When the email was sent, if that's the case.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "emailState",
"description": "The email state (e.g., sent or not sent).",
"args": [],
"type": {
"kind": "ENUM",
"name": "AbandonmentEmailState",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "hoursSinceLastAbandonedCheckout",
"description": "The number of hours since the customer has last abandoned a checkout.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "A globally-unique ID.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "inventoryAvailable",
"description": "Whether the products in abandonment are available.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isFromCustomStorefront",
"description": "Whether the abandonment event comes from a custom storefront channel.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isFromOnlineStore",
"description": "Whether the abandonment event comes from the Online Store sales channel.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isFromShopApp",
"description": "Whether the abandonment event comes from the Shop app sales channel.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isFromShopPay",
"description": "Whether the abandonment event comes from Shop Pay.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isMostSignificantAbandonment",
"description": "Whether the customer didn't complete another most significant step since this abandonment.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lastBrowseAbandonmentDate",
"description": "The date for the latest browse abandonment.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lastCartAbandonmentDate",
"description": "The date for the latest cart abandonment.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lastCheckoutAbandonmentDate",
"description": "The date for the latest checkout abandonment.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mostRecentStep",
"description": "The most recent step type.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "AbandonmentAbandonmentType",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "productsAddedToCart",
"description": "The products added to the cart during the customer abandoned visit.",
"args": [
{
"name": "after",
"description": "The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).",