Shopify

Use cases and templates: Shopify integration for AI agents

Use Shopify to manage products, orders, customers, inventory, and fulfillments. The reference below covers location and collection lookups as well as store mutations.

OAuth scopes

Sim requests these scopes when someone connects a Shopify account. For a self-hosted deployment, register your own app with the provider using the settings below. See Integrations and OAuth for setup.

SettingValue
Redirect URI<NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/shopify
Environment variablesSHOPIFY_CLIENT_ID, SHOPIFY_CLIENT_SECRET
ScopeDescription
write_productsRead and manage Shopify products
write_ordersRead and manage Shopify orders
write_customersRead and manage Shopify customers
write_inventoryRead and manage Shopify inventory levels
read_locationsView store locations
write_merchant_managed_fulfillment_ordersRead and fulfill orders assigned to merchant-managed locations

Use the block

Manage Shopify products and variants, orders, customers, inventory, collections, and merchant-managed fulfillment using Admin GraphQL API 2026-10. Discover fulfillment orders, ship selected items, update tracking, and check cancellation jobs. Continue list and nested results with the returned cursors. Product activation does not publish to sales channels. Orders normally cover the last 60 days; older orders and protected customer fields require Shopify approval and access. Expanded list details are optional and use smaller pages to stay within query-cost limits. Expanded order-update responses are opt-in and require product, protected-address, and fulfillment access.

Actions

Shopify Create Product

Create a new product in your Shopify store

Input

ParameterTypeRequiredDescription
handlestringNoURL-friendly product handle
seojsonNoSEOInput object with title and description
categorystringNoProduct taxonomy category GID
templateSuffixstringNoTheme template suffix
metafieldsarrayNoMetafieldInput array: namespace, key, type, value, or id
collectionsToJoinarrayNoCollection GIDs to add the product to
requiresSellingPlanbooleanNoWhether a selling plan is required to purchase the product
productOptionsarrayNoOptionCreateInput array with name and values: [{name: "Size", values: [{name: "Small"}]}]
mediaarrayNoCreateMediaInput array with originalSource, mediaContentType, and optional alt
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
titlestringYesProduct title
descriptionHtmlstringNoProduct description (HTML)
vendorstringNoProduct vendor/brand
productTypestringNoProduct type/category
tagsarrayNoProduct tags
statusstringNoProduct status (ACTIVE, DRAFT, ARCHIVED, UNLISTED)

Output

ParameterTypeDescription
productobjectThe created product
↳ templateSuffixstringTheme template suffix
↳ requiresSellingPlanbooleanWhether purchasing requires a selling plan
↳ categoryobjectProduct taxonomy category
↳ idstringTaxonomy category GID
↳ fullNamestringCategory path
↳ idstringUnique product identifier (GID)
↳ titlestringProduct title
↳ handlestringURL-friendly product identifier
↳ seoobjectSearch engine listing
↳ titlestringSEO title
↳ descriptionstringSEO description
↳ onlineStoreUrlstringOnline store URL, null when not published
↳ optionsarrayProduct options
↳ idstringOption GID
↳ namestringOption name
↳ positionnumberOption position
↳ valuesarrayOption values
↳ descriptionHtmlstringProduct description in HTML format
↳ vendorstringProduct vendor or manufacturer
↳ productTypestringProduct type classification
↳ tagsarrayProduct tags for categorization
↳ statusstringProduct status (ACTIVE, DRAFT, ARCHIVED, UNLISTED)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ variantsobjectProduct variants page; use Get Product with variantsAfter for subsequent pages
↳ pageInfoobjectVariant pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of variant edges
↳ nodeobjectVariant node
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
↳ imagesobjectProduct images page; use Get Product with imagesAfter for subsequent pages
↳ pageInfoobjectImage pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of image edges
↳ nodeobjectImage node
↳ idstringUnique image identifier (GID)
↳ urlstringImage URL
↳ altTextstringAlternative text for accessibility

Shopify Get Product

Get a single product by ID from your Shopify store

Input

ParameterTypeRequiredDescription
variantsFirstnumberNoMaximum variants in this page (default 50, max 100)
variantsAfterstringNoCursor from variants.pageInfo.endCursor for the next page
imagesFirstnumberNoMaximum images in this page (default 20, max 100)
imagesAfterstringNoCursor from images.pageInfo.endCursor for the next page
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
productIdstringYesProduct ID (gid://shopify/Product/123456789)

Output

ParameterTypeDescription
productobjectThe product details
↳ templateSuffixstringTheme template suffix
↳ requiresSellingPlanbooleanWhether purchasing requires a selling plan
↳ categoryobjectProduct taxonomy category
↳ idstringTaxonomy category GID
↳ fullNamestringCategory path
↳ idstringUnique product identifier (GID)
↳ titlestringProduct title
↳ handlestringURL-friendly product identifier
↳ seoobjectSearch engine listing
↳ titlestringSEO title
↳ descriptionstringSEO description
↳ onlineStoreUrlstringOnline store URL, null when not published
↳ optionsarrayProduct options
↳ idstringOption GID
↳ namestringOption name
↳ positionnumberOption position
↳ valuesarrayOption values
↳ descriptionHtmlstringProduct description in HTML format
↳ vendorstringProduct vendor or manufacturer
↳ productTypestringProduct type classification
↳ tagsarrayProduct tags for categorization
↳ statusstringProduct status (ACTIVE, DRAFT, ARCHIVED, UNLISTED)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ variantsobjectProduct variants page; use Get Product with variantsAfter for subsequent pages
↳ pageInfoobjectVariant pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of variant edges
↳ nodeobjectVariant node
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
↳ imagesobjectProduct images page; use Get Product with imagesAfter for subsequent pages
↳ pageInfoobjectImage pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of image edges
↳ nodeobjectImage node
↳ idstringUnique image identifier (GID)
↳ urlstringImage URL
↳ altTextstringAlternative text for accessibility

Shopify List Products

List products from your Shopify store with optional filtering

Input

ParameterTypeRequiredDescription
includeDetailsbooleanNoInclude expanded nested details; uses a smaller page limit to stay within Shopify query costs
reversebooleanNoReverse the result sort order (default false)
sortKeystringNoSort results by CREATED_AT, ID, INVENTORY_TOTAL, PRODUCT_TYPE, PUBLISHED_AT, RELEVANCE, TITLE, UPDATED_AT, VENDOR (default Shopify ordering)
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
afterstringNoCursor from pageInfo.endCursor to retrieve the next page
firstnumberNoNumber of products to return (default: 50, max: 250; with includeDetails: default/max 20)
querystringNoSearch query to filter products (e.g., "title:shirt" or "vendor:Nike" or "status:active")

Output

ParameterTypeDescription
productsarrayList of products
↳ templateSuffixstringTheme template suffix
↳ requiresSellingPlanbooleanWhether purchasing requires a selling plan
↳ categoryobjectProduct taxonomy category
↳ idstringTaxonomy category GID
↳ fullNamestringCategory path
↳ idstringUnique product identifier (GID)
↳ titlestringProduct title
↳ handlestringURL-friendly product identifier
↳ seoobjectSearch engine listing
↳ titlestringSEO title
↳ descriptionstringSEO description
↳ onlineStoreUrlstringOnline store URL, null when not published
↳ optionsarrayProduct options
↳ idstringOption GID
↳ namestringOption name
↳ positionnumberOption position
↳ valuesarrayOption values
↳ descriptionHtmlstringProduct description in HTML format
↳ vendorstringProduct vendor or manufacturer
↳ productTypestringProduct type classification
↳ tagsarrayProduct tags for categorization
↳ statusstringProduct status (ACTIVE, DRAFT, ARCHIVED, UNLISTED)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ variantsobjectProduct variants page; use Get Product with variantsAfter for subsequent pages
↳ pageInfoobjectVariant pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of variant edges
↳ nodeobjectVariant node
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
↳ imagesobjectProduct images page; use Get Product with imagesAfter for subsequent pages
↳ pageInfoobjectImage pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of image edges
↳ nodeobjectImage node
↳ idstringUnique image identifier (GID)
↳ urlstringImage URL
↳ altTextstringAlternative text for accessibility
pageInfoobjectPagination information
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page

Shopify Update Product

Update an existing product in your Shopify store

Input

ParameterTypeRequiredDescription
handlestringNoURL-friendly product handle
seojsonNoSEOInput object with title and description
categorystringNoProduct taxonomy category GID
templateSuffixstringNoTheme template suffix
metafieldsarrayNoMetafieldInput array: namespace, key, type, value, or id
collectionsToJoinarrayNoCollection GIDs to add the product to
requiresSellingPlanbooleanNoWhether a selling plan is required to purchase the product
collectionsToLeavearrayNoCollection GIDs to remove the product from
redirectNewHandlebooleanNoCreate a redirect when changing the handle
mediaarrayNoCreateMediaInput array with originalSource, mediaContentType, and optional alt
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
productIdstringYesProduct ID to update (gid://shopify/Product/123456789)
titlestringNoNew product title
descriptionHtmlstringNoNew product description (HTML)
vendorstringNoNew product vendor/brand
productTypestringNoNew product type/category
tagsarrayNoNew product tags
statusstringNoNew product status (ACTIVE, DRAFT, ARCHIVED, UNLISTED)

Output

ParameterTypeDescription
productobjectThe updated product
↳ templateSuffixstringTheme template suffix
↳ requiresSellingPlanbooleanWhether purchasing requires a selling plan
↳ categoryobjectProduct taxonomy category
↳ idstringTaxonomy category GID
↳ fullNamestringCategory path
↳ idstringUnique product identifier (GID)
↳ titlestringProduct title
↳ handlestringURL-friendly product identifier
↳ seoobjectSearch engine listing
↳ titlestringSEO title
↳ descriptionstringSEO description
↳ onlineStoreUrlstringOnline store URL, null when not published
↳ optionsarrayProduct options
↳ idstringOption GID
↳ namestringOption name
↳ positionnumberOption position
↳ valuesarrayOption values
↳ descriptionHtmlstringProduct description in HTML format
↳ vendorstringProduct vendor or manufacturer
↳ productTypestringProduct type classification
↳ tagsarrayProduct tags for categorization
↳ statusstringProduct status (ACTIVE, DRAFT, ARCHIVED, UNLISTED)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ variantsobjectProduct variants page; use Get Product with variantsAfter for subsequent pages
↳ pageInfoobjectVariant pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of variant edges
↳ nodeobjectVariant node
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
↳ imagesobjectProduct images page; use Get Product with imagesAfter for subsequent pages
↳ pageInfoobjectImage pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of image edges
↳ nodeobjectImage node
↳ idstringUnique image identifier (GID)
↳ urlstringImage URL
↳ altTextstringAlternative text for accessibility

Shopify Delete Product

Delete a product from your Shopify store

Input

ParameterTypeRequiredDescription
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
productIdstringYesProduct ID to delete (gid://shopify/Product/123456789)

Output

ParameterTypeDescription
deletedIdstringThe ID of the deleted product

Shopify Get Order

Get a single order by ID from your Shopify store

Input

ParameterTypeRequiredDescription
lineItemsFirstnumberNoMaximum lineItems in this page (default 50, max 50)
lineItemsAfterstringNoCursor from lineItems.pageInfo.endCursor for the next page
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
orderIdstringYesOrder ID (gid://shopify/Order/123456789)

Output

ParameterTypeDescription
orderobjectThe order details
↳ poNumberstringPurchase order number
↳ customAttributesarrayOrder attributes
↳ keystringAttribute key
↳ valuestringAttribute value
↳ idstringUnique order identifier (GID)
↳ namestringOrder name (e.g., #1001)
↳ emailstringCustomer email for the order
↳ phonestringCustomer phone for the order
↳ createdAtstringOrder creation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ cancelledAtstringCancellation timestamp (ISO 8601)
↳ closedAtstringClosure timestamp (ISO 8601)
↳ displayFinancialStatusstringFinancial status (PENDING, AUTHORIZED, PARTIALLY_PAID, PAID, PARTIALLY_REFUNDED, REFUNDED, VOIDED)
↳ displayFulfillmentStatusstringFulfillment status (UNFULFILLED, PARTIALLY_FULFILLED, FULFILLED, RESTOCKED, PENDING_FULFILLMENT, OPEN, IN_PROGRESS, ON_HOLD, SCHEDULED)
↳ totalPriceSetobjectTotal order price
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ subtotalPriceSetobjectOrder subtotal (before shipping and taxes)
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ totalTaxSetobjectTotal tax amount
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ totalShippingPriceSetobjectTotal shipping price
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ notestringOrder note
↳ tagsarrayOrder tags
↳ customerobjectCustomer who placed the order
↳ idstringUnique customer identifier (GID)
↳ emailstringCustomer email address
↳ firstNamestringCustomer first name
↳ lastNamestringCustomer last name
↳ phonestringCustomer phone number
↳ lineItemsobjectOrder line items page; use Get Order with lineItemsAfter for subsequent pages
↳ pageInfoobjectLine item pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of line item edges
↳ nodeobjectLine item node
↳ idstringUnique line item identifier (GID)
↳ titlestringProduct title
↳ quantitynumberQuantity ordered
↳ variantobjectAssociated product variant
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
↳ originalTotalSetobjectOriginal total price before discounts
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ discountedTotalSetobjectTotal price after discounts
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ shippingAddressobjectShipping address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ billingAddressobjectBilling address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ fulfillmentsarrayOrder fulfillments
↳ idstringUnique fulfillment identifier (GID)
↳ statusstringFulfillment status (pending, open, success, cancelled, error, failure)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ trackingInfoarrayTracking information for shipments
↳ companystringShipping carrier name
↳ numberstringTracking number
↳ urlstringTracking URL

Shopify List Orders

List orders from your Shopify store with optional filtering

Input

ParameterTypeRequiredDescription
includeDetailsbooleanNoInclude expanded nested details; uses a smaller page limit to stay within Shopify query costs
reversebooleanNoReverse the result sort order (default false)
sortKeystringNoSort results by CREATED_AT, CURRENT_TOTAL_PRICE, CUSTOMER_NAME, DESTINATION, FINANCIAL_STATUS, FULFILLMENT_STATUS, ID, ORDER_NUMBER, PO_NUMBER, PROCESSED_AT, RELEVANCE, TOTAL_ITEMS_QUANTITY, TOTAL_PRICE, UPDATED_AT (default Shopify ordering)
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
afterstringNoCursor from pageInfo.endCursor to retrieve the next page
firstnumberNoNumber of orders to return (default: 50, max: 250; with includeDetails: default/max 10)
statusstringNoFilter by order status (open, closed, cancelled, any)
querystringNoSearch query to filter orders (e.g., "financial_status:paid" or "fulfillment_status:unfulfilled" or "email:customer@example.com")

Output

ParameterTypeDescription
ordersarrayList of orders
↳ poNumberstringPurchase order number
↳ customAttributesarrayOrder attributes
↳ keystringAttribute key
↳ valuestringAttribute value
↳ idstringUnique order identifier (GID)
↳ namestringOrder name (e.g., #1001)
↳ emailstringCustomer email for the order
↳ phonestringCustomer phone for the order
↳ createdAtstringOrder creation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ cancelledAtstringCancellation timestamp (ISO 8601)
↳ closedAtstringClosure timestamp (ISO 8601)
↳ displayFinancialStatusstringFinancial status (PENDING, AUTHORIZED, PARTIALLY_PAID, PAID, PARTIALLY_REFUNDED, REFUNDED, VOIDED)
↳ displayFulfillmentStatusstringFulfillment status (UNFULFILLED, PARTIALLY_FULFILLED, FULFILLED, RESTOCKED, PENDING_FULFILLMENT, OPEN, IN_PROGRESS, ON_HOLD, SCHEDULED)
↳ totalPriceSetobjectTotal order price
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ subtotalPriceSetobjectOrder subtotal (before shipping and taxes)
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ totalTaxSetobjectTotal tax amount
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ totalShippingPriceSetobjectTotal shipping price
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ notestringOrder note
↳ tagsarrayOrder tags
↳ customerobjectCustomer who placed the order
↳ idstringUnique customer identifier (GID)
↳ emailstringCustomer email address
↳ firstNamestringCustomer first name
↳ lastNamestringCustomer last name
↳ phonestringCustomer phone number
↳ lineItemsobjectOrder line items page; use Get Order with lineItemsAfter for subsequent pages
↳ pageInfoobjectLine item pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of line item edges
↳ nodeobjectLine item node
↳ idstringUnique line item identifier (GID)
↳ titlestringProduct title
↳ quantitynumberQuantity ordered
↳ variantobjectAssociated product variant
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
↳ originalTotalSetobjectOriginal total price before discounts
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ discountedTotalSetobjectTotal price after discounts
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ shippingAddressobjectShipping address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ billingAddressobjectBilling address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ fulfillmentsarrayOrder fulfillments
↳ idstringUnique fulfillment identifier (GID)
↳ statusstringFulfillment status (pending, open, success, cancelled, error, failure)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ trackingInfoarrayTracking information for shipments
↳ companystringShipping carrier name
↳ numberstringTracking number
↳ urlstringTracking URL
pageInfoobjectPagination information
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page

Shopify Update Order

Update an existing order in your Shopify store (note, tags, email)

Input

ParameterTypeRequiredDescription
phonestringNoCustomer phone number for the order
shippingAddressjsonNoMailingAddressInput object with firstName, lastName, address1, address2, city, provinceCode, countryCode, zip, and phone
customAttributesarrayNoOrder attributes as an array of {key, value} objects
metafieldsarrayNoMetafieldInput array: namespace, key, type, value, or id
poNumberstringNoPurchase order number
includeDetailsbooleanNoInclude product variants, addresses, and fulfillments; requires read_products, protected-address access, and a scope accepted by Fulfillment
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
orderIdstringYesOrder ID to update (gid://shopify/Order/123456789)
notestringNoNew order note
tagsarrayNoNew order tags
emailstringNoNew customer email for the order

Output

ParameterTypeDescription
orderobjectThe updated order
↳ poNumberstringPurchase order number
↳ customAttributesarrayOrder attributes
↳ keystringAttribute key
↳ valuestringAttribute value
↳ idstringUnique order identifier (GID)
↳ namestringOrder name (e.g., #1001)
↳ emailstringCustomer email for the order
↳ phonestringCustomer phone for the order
↳ createdAtstringOrder creation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ cancelledAtstringCancellation timestamp (ISO 8601)
↳ closedAtstringClosure timestamp (ISO 8601)
↳ displayFinancialStatusstringFinancial status (PENDING, AUTHORIZED, PARTIALLY_PAID, PAID, PARTIALLY_REFUNDED, REFUNDED, VOIDED)
↳ displayFulfillmentStatusstringFulfillment status (UNFULFILLED, PARTIALLY_FULFILLED, FULFILLED, RESTOCKED, PENDING_FULFILLMENT, OPEN, IN_PROGRESS, ON_HOLD, SCHEDULED)
↳ totalPriceSetobjectTotal order price
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ subtotalPriceSetobjectOrder subtotal (before shipping and taxes)
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ totalTaxSetobjectTotal tax amount
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ totalShippingPriceSetobjectTotal shipping price
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ notestringOrder note
↳ tagsarrayOrder tags
↳ customerobjectCustomer who placed the order
↳ idstringUnique customer identifier (GID)
↳ emailstringCustomer email address
↳ firstNamestringCustomer first name
↳ lastNamestringCustomer last name
↳ phonestringCustomer phone number
↳ lineItemsobjectOrder line items page; use Get Order with lineItemsAfter for subsequent pages
↳ pageInfoobjectLine item pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayArray of line item edges
↳ nodeobjectLine item node
↳ idstringUnique line item identifier (GID)
↳ titlestringProduct title
↳ quantitynumberQuantity ordered
↳ variantobjectAssociated product variant
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
↳ originalTotalSetobjectOriginal total price before discounts
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ discountedTotalSetobjectTotal price after discounts
↳ shopMoneyobjectAmount in shop currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ presentmentMoneyobjectAmount in presentment currency
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ shippingAddressobjectShipping address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ billingAddressobjectBilling address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ fulfillmentsarrayOrder fulfillments
↳ idstringUnique fulfillment identifier (GID)
↳ statusstringFulfillment status (pending, open, success, cancelled, error, failure)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ trackingInfoarrayTracking information for shipments
↳ companystringShipping carrier name
↳ numberstringTracking number
↳ urlstringTracking URL

Shopify Cancel Order

Cancel an order in your Shopify store

Input

ParameterTypeRequiredDescription
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
orderIdstringYesOrder ID to cancel (gid://shopify/Order/123456789)
reasonstringYesCancellation reason (CUSTOMER, DECLINED, FRAUD, INVENTORY, STAFF, OTHER)
notifyCustomerbooleanNoWhether to notify the customer about the cancellation
restockbooleanYesWhether to restock the inventory committed to the order
refundMethodjsonNoOptional refund method object, for example {"originalPaymentMethodsRefund": true}
staffNotestringNoA note about the cancellation for staff reference

Output

ParameterTypeDescription
jobResultobjectCancellation outcome; pass its ID to Get Job until done, then inspect status and errors
↳ idstringCancellation result GID; pass to Get Job
↳ donebooleanWhether the request has finished processing; inspect status and errors for the outcome
↳ statusstringCurrent cancellation status
↳ errorsarrayAsynchronous cancellation errors
↳ fieldarrayInput field path
↳ messagestringError message
↳ codestringCancellation error code
↳ orderobjectAssociated order
↳ idstringOrder GID
↳ cancelledAtstringCancellation timestamp, null until cancelled
jobobjectLegacy job progress; use jobResult to verify cancellation outcome
↳ idstringJob ID
↳ donebooleanWhether processing ran; this alone does not prove cancellation succeeded
orderobjectThe cancellation result
↳ idstringJob identifier for the cancellation
↳ cancelledbooleanWhether the cancellation completed
↳ messagestringStatus message

Shopify Create Customer

Create a new customer in your Shopify store

Input

ParameterTypeRequiredDescription
localestringNoCustomer locale, such as en
taxExemptbooleanNoWhether the customer is exempt from taxes
metafieldsarrayNoMetafieldInput array: namespace, key, type, value, or id
emailMarketingConsentjsonNoCustomerEmailMarketingConsentInput with marketingState, marketingOptInLevel, consentUpdatedAt
smsMarketingConsentjsonNoCustomerSmsMarketingConsentInput with marketingState, marketingOptInLevel, consentUpdatedAt
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
emailstringNoCustomer email address
firstNamestringNoCustomer first name
lastNamestringNoCustomer last name
phonestringNoCustomer phone number
notestringNoNote about the customer
tagsarrayNoCustomer tags
addressesarrayNoCustomer addresses

Output

ParameterTypeDescription
customerobjectThe created customer
↳ emailMarketingConsentobjectEmail marketing consent
↳ marketingStatestringConsent state
↳ marketingOptInLevelstringOpt-in level
↳ consentUpdatedAtstringConsent update timestamp
↳ smsMarketingConsentobjectSMS marketing consent
↳ marketingStatestringConsent state
↳ marketingOptInLevelstringOpt-in level
↳ consentUpdatedAtstringConsent update timestamp
↳ idstringUnique customer identifier (GID)
↳ emailstringCustomer email address
↳ firstNamestringCustomer first name
↳ lastNamestringCustomer last name
↳ phonestringCustomer phone number
↳ createdAtstringAccount creation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ notestringInternal notes about the customer
↳ tagsarrayCustomer tags for categorization
↳ numberOfOrdersstringLifetime order count as an unsigned integer string
↳ localestringCustomer locale
↳ taxExemptbooleanWhether the customer is tax exempt
↳ amountSpentobjectTotal amount spent by customer
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ defaultAddressobjectCustomer default address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ addressesarrayCustomer addresses
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number

Shopify Get Customer

Get a single customer by ID from your Shopify store

Input

ParameterTypeRequiredDescription
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
customerIdstringYesCustomer ID (gid://shopify/Customer/123456789)

Output

ParameterTypeDescription
customerobjectThe customer details
↳ emailMarketingConsentobjectEmail marketing consent
↳ marketingStatestringConsent state
↳ marketingOptInLevelstringOpt-in level
↳ consentUpdatedAtstringConsent update timestamp
↳ smsMarketingConsentobjectSMS marketing consent
↳ marketingStatestringConsent state
↳ marketingOptInLevelstringOpt-in level
↳ consentUpdatedAtstringConsent update timestamp
↳ idstringUnique customer identifier (GID)
↳ emailstringCustomer email address
↳ firstNamestringCustomer first name
↳ lastNamestringCustomer last name
↳ phonestringCustomer phone number
↳ createdAtstringAccount creation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ notestringInternal notes about the customer
↳ tagsarrayCustomer tags for categorization
↳ numberOfOrdersstringLifetime order count as an unsigned integer string
↳ localestringCustomer locale
↳ taxExemptbooleanWhether the customer is tax exempt
↳ amountSpentobjectTotal amount spent by customer
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ defaultAddressobjectCustomer default address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ addressesarrayCustomer addresses
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number

Shopify List Customers

List customers from your Shopify store with optional filtering

Input

ParameterTypeRequiredDescription
reversebooleanNoReverse the result sort order (default false)
sortKeystringNoSort results by CREATED_AT, ID, LOCATION, NAME, RELEVANCE, UPDATED_AT (default Shopify ordering)
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
afterstringNoCursor from pageInfo.endCursor to retrieve the next page
firstnumberNoNumber of customers to return (default: 50, max: 250)
querystringNoSearch query to filter customers (e.g., "first_name:John" or "last_name:Smith" or "email:*@gmail.com" or "tag:vip")

Output

ParameterTypeDescription
customersarrayList of customers
↳ emailMarketingConsentobjectEmail marketing consent
↳ marketingStatestringConsent state
↳ marketingOptInLevelstringOpt-in level
↳ consentUpdatedAtstringConsent update timestamp
↳ smsMarketingConsentobjectSMS marketing consent
↳ marketingStatestringConsent state
↳ marketingOptInLevelstringOpt-in level
↳ consentUpdatedAtstringConsent update timestamp
↳ idstringUnique customer identifier (GID)
↳ emailstringCustomer email address
↳ firstNamestringCustomer first name
↳ lastNamestringCustomer last name
↳ phonestringCustomer phone number
↳ createdAtstringAccount creation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ notestringInternal notes about the customer
↳ tagsarrayCustomer tags for categorization
↳ numberOfOrdersstringLifetime order count as an unsigned integer string
↳ localestringCustomer locale
↳ taxExemptbooleanWhether the customer is tax exempt
↳ amountSpentobjectTotal amount spent by customer
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ defaultAddressobjectCustomer default address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
pageInfoobjectPagination information
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page

Shopify Update Customer

Update an existing customer in your Shopify store

Input

ParameterTypeRequiredDescription
addressesarrayNoMailingAddressInput array; replacing addresses is deprecated by Shopify
localestringNoCustomer locale, such as en
taxExemptbooleanNoWhether the customer is exempt from taxes
metafieldsarrayNoMetafieldInput array: namespace, key, type, value, or id
emailMarketingConsentjsonNoCustomerEmailMarketingConsentInput with marketingState, marketingOptInLevel, consentUpdatedAt
smsMarketingConsentjsonNoCustomerSmsMarketingConsentInput with marketingState, marketingOptInLevel, consentUpdatedAt
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
customerIdstringYesCustomer ID to update (gid://shopify/Customer/123456789)
emailstringNoNew customer email address
firstNamestringNoNew customer first name
lastNamestringNoNew customer last name
phonestringNoNew customer phone number
notestringNoNew note about the customer
tagsarrayNoNew customer tags

Output

ParameterTypeDescription
customerobjectThe updated customer
↳ emailMarketingConsentobjectEmail marketing consent
↳ marketingStatestringConsent state
↳ marketingOptInLevelstringOpt-in level
↳ consentUpdatedAtstringConsent update timestamp
↳ smsMarketingConsentobjectSMS marketing consent
↳ marketingStatestringConsent state
↳ marketingOptInLevelstringOpt-in level
↳ consentUpdatedAtstringConsent update timestamp
↳ idstringUnique customer identifier (GID)
↳ emailstringCustomer email address
↳ firstNamestringCustomer first name
↳ lastNamestringCustomer last name
↳ phonestringCustomer phone number
↳ createdAtstringAccount creation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ notestringInternal notes about the customer
↳ tagsarrayCustomer tags for categorization
↳ numberOfOrdersstringLifetime order count as an unsigned integer string
↳ localestringCustomer locale
↳ taxExemptbooleanWhether the customer is tax exempt
↳ amountSpentobjectTotal amount spent by customer
↳ amountstringDecimal money amount
↳ currencyCodestringCurrency code (ISO 4217)
↳ defaultAddressobjectCustomer default address
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
↳ addressesarrayCustomer addresses
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number

Shopify Delete Customer

Delete a customer from your Shopify store

Input

ParameterTypeRequiredDescription
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
customerIdstringYesCustomer ID to delete (gid://shopify/Customer/123456789)

Output

ParameterTypeDescription
deletedIdstringThe ID of the deleted customer

Shopify List Inventory Items

List inventory items from your Shopify store. Use this to find inventory item IDs by SKU.

Input

ParameterTypeRequiredDescription
reversebooleanNoReverse the result sort order (default false)
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
afterstringNoCursor from pageInfo.endCursor to retrieve the next page
firstnumberNoNumber of inventory items to return (default: 50, max: 250)
querystringNoSearch query to filter inventory items (e.g., "sku:ABC123")

Output

ParameterTypeDescription
inventoryItemsarrayList of inventory items with their IDs, SKUs, and stock levels
↳ idstringUnique inventory item identifier (GID)
↳ skustringStock keeping unit
↳ trackedbooleanWhether inventory is tracked
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ variantobjectAssociated product variant
↳ idstringVariant identifier (GID)
↳ titlestringVariant title
↳ productobjectAssociated product
↳ idstringProduct identifier (GID)
↳ titlestringProduct title
↳ inventoryLevelsPageInfoobjectPagination for location summary; use Get Inventory Level for subsequent pages
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ inventoryLevelsarrayInventory levels at different locations
↳ idstringInventory level identifier (GID)
↳ availablenumberAvailable quantity
↳ onHandnumberOn-hand quantity
↳ locationobjectLocation for this inventory level
↳ idstringLocation identifier (GID)
↳ namestringLocation name
pageInfoobjectPagination information
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page

Shopify Get Inventory Level

Get inventory level for a product variant at a specific location

Input

ParameterTypeRequiredDescription
firstnumberNoLocations per page when locationId is omitted (default 50, max 250)
afterstringNoCursor from inventoryLevel.pageInfo.endCursor
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
inventoryItemIdstringYesInventory item ID (gid://shopify/InventoryItem/123456789)
locationIdstringNoLocation ID to filter by (optional)

Output

ParameterTypeDescription
inventoryLevelobjectThe inventory level details
↳ pageInfoobjectLocation pagination when no locationId is supplied
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ idstringInventory item identifier (GID)
↳ skustringStock keeping unit
↳ trackedbooleanWhether inventory is tracked
↳ levelsarrayInventory levels at different locations
↳ idstringInventory level identifier (GID)
↳ availablenumberAvailable quantity
↳ onHandnumberOn-hand quantity
↳ committednumberCommitted quantity
↳ incomingnumberIncoming quantity
↳ reservednumberReserved quantity
↳ locationobjectLocation for this inventory level
↳ idstringLocation identifier (GID)
↳ namestringLocation name

Shopify Adjust Inventory

Adjust inventory quantity for a product variant at a specific location

Input

ParameterTypeRequiredDescription
idempotencyKeystringNoUnique key for this adjustment; reuse the same key when retrying the same change
reasonstringNoInventory reason, e.g. correction, received, damaged, or promotion (default correction)
namestringNoInventory quantity to adjust: available or on_hand (default available)
referenceDocumentUristringNoURI identifying the source document for this adjustment
changeFromQuantitynumberNoExpected current quantity; prevents applying an adjustment to stale stock
ledgerDocumentUristringNoLedger entry URI; required when adjusting on_hand
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
inventoryItemIdstringYesInventory item ID (gid://shopify/InventoryItem/123456789)
locationIdstringYesLocation ID (gid://shopify/Location/123456789)
deltanumberYesAmount to adjust (positive to increase, negative to decrease)

Output

ParameterTypeDescription
inventoryLevelobjectThe inventory adjustment result
↳ adjustmentGroupobjectInventory adjustment group details
↳ createdAtstringAdjustment timestamp (ISO 8601)
↳ reasonstringAdjustment reason
↳ referenceDocumentUristringSource document URI
↳ changesarrayInventory changes applied
↳ namestringQuantity name (e.g., available)
↳ deltanumberQuantity change amount
↳ quantityAfterChangenumberQuantity after adjustment, when available
↳ itemobjectInventory item
↳ idstringInventory item identifier (GID)
↳ skustringStock keeping unit
↳ locationobjectLocation of the adjustment
↳ idstringLocation identifier (GID)
↳ namestringLocation name

Shopify List Locations

List inventory locations from your Shopify store. Use this to find location IDs needed for inventory operations.

Input

ParameterTypeRequiredDescription
reversebooleanNoReverse the result sort order (default false)
sortKeystringNoSort results by ID, NAME, RELEVANCE (default Shopify ordering)
querystringNoShopify location search query, e.g. name:Warehouse
includeLegacybooleanNoInclude legacy fulfillment-service locations (default false)
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
afterstringNoCursor from pageInfo.endCursor to retrieve the next page
firstnumberNoNumber of locations to return (default: 50, max: 250)
includeInactivebooleanNoWhether to include deactivated locations (default: false)

Output

ParameterTypeDescription
locationsarrayList of locations with their IDs, names, and addresses
↳ idstringUnique location identifier (GID)
↳ namestringLocation name
↳ isActivebooleanWhether the location is active
↳ fulfillsOnlineOrdersbooleanWhether the location fulfills online orders
↳ addressobjectLocation address
↳ address1stringStreet address line 1
↳ address2stringStreet address line 2
↳ citystringCity
↳ provincestringProvince or state name
↳ provinceCodestringProvince or state code
↳ countrystringCountry name
↳ countryCodestringCountry code (ISO 3166-1 alpha-2)
↳ zipstringPostal or ZIP code
↳ phonestringPhone number
pageInfoobjectPagination information
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page

Shopify Create Fulfillment

Create a fulfillment to mark order items as shipped. Requires a fulfillment order ID (use List Fulfillment Orders to find it).

Input

ParameterTypeRequiredDescription
fulfillmentOrderLineItemsarrayNoPartial fulfillment items as [{id: "gid://shopify/FulfillmentOrderLineItem/123", quantity: 1}]; omit to fulfill all remaining items
messagestringNoMessage associated with the fulfillment
originAddressjsonNoFulfillmentOriginAddressInput with address1, address2, city, countryCode, provinceCode, zip
trackingNumbersarrayNoMultiple tracking numbers as a JSON string array
trackingUrlsarrayNoMultiple tracking URLs as a JSON string array
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
fulfillmentOrderIdstringYesThe fulfillment order ID (e.g., gid://shopify/FulfillmentOrder/123456789)
trackingNumberstringNoTracking number for the shipment
trackingCompanystringNoShipping carrier name (e.g., UPS, FedEx, USPS, DHL)
trackingUrlstringNoURL to track the shipment
notifyCustomerbooleanNoWhether to send a shipping confirmation email to the customer (default: true)

Output

ParameterTypeDescription
fulfillmentobjectThe created fulfillment with tracking info and fulfilled items
↳ lineItemsPageInfoobjectFulfillment item pagination; use Get Fulfillment for subsequent pages
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ idstringUnique fulfillment identifier (GID)
↳ statusstringFulfillment status (pending, open, success, cancelled, error, failure)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ trackingInfoarrayTracking information for shipments
↳ companystringShipping carrier name
↳ numberstringTracking number
↳ urlstringTracking URL
↳ fulfillmentLineItemsarrayFulfilled line items
↳ idstringFulfillment line item identifier (GID)
↳ quantitynumberQuantity fulfilled
↳ lineItemobjectAssociated order line item
↳ titlestringProduct title

Shopify List Collections

List product collections from your Shopify store. Filter by title, type (custom/smart), or handle.

Input

ParameterTypeRequiredDescription
reversebooleanNoReverse the result sort order (default false)
sortKeystringNoSort results by ID, RELEVANCE, TITLE, UPDATED_AT (default Shopify ordering)
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
afterstringNoCursor from pageInfo.endCursor to retrieve the next page
firstnumberNoNumber of collections to return (default: 50, max: 250)
querystringNoSearch query to filter collections (e.g., "title:Summer" or "collection_type:smart")

Output

ParameterTypeDescription
collectionsarrayList of collections with their IDs, titles, and product counts
↳ idstringUnique collection identifier (GID)
↳ titlestringCollection title
↳ handlestringURL-friendly collection identifier
↳ descriptionstringPlain text description
↳ descriptionHtmlstringHTML-formatted description
↳ productsCountnumberNumber of products in the collection
↳ sortOrderstringProduct sort order in the collection
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ imageobjectCollection image
↳ idstringUnique image identifier (GID)
↳ urlstringImage URL
↳ altTextstringAlternative text for accessibility
pageInfoobjectPagination information
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page

Shopify List Fulfillment Orders

Find fulfillment order IDs and remaining items for an order at merchant-managed locations

Input

ParameterTypeRequiredDescription
shopDomainstringNoShop domain supplied by the connected credential (store.myshopify.com)
orderIdstringYesOrder GID to retrieve fulfillment orders for
firstnumberNoResults per page (default 20, max 20)
afterstringNoCursor from pageInfo.endCursor to continue

Output

ParameterTypeDescription
fulfillmentOrdersarrayFulfillment orders visible to the connected app
↳ idstringFulfillment order GID to pass to Create Fulfillment
↳ orderIdstringAssociated order GID
↳ statusstringFulfillment order status
↳ requestStatusstringFulfillment request status
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp
↳ fulfillAtstringEarliest fulfillment timestamp
↳ fulfillBystringFulfillment deadline
↳ assignedLocationobjectAssigned fulfillment location
↳ namestringAssigned location name
↳ locationobjectCurrent location
↳ idstringLocation GID
↳ namestringLocation name
↳ supportedActionsarrayActions permitted for this fulfillment order
↳ actionstringPermitted action
↳ externalUrlstringExternal fulfillment URL when applicable
↳ lineItemsobjectFulfillment order item page; use Get Fulfillment Order to continue
↳ pageInfoobjectLine item pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayFulfillment order item edges
↳ nodeobjectFulfillment order line item
↳ idstringFulfillment order line item GID for partial fulfillment
↳ totalQuantitynumberTotal quantity assigned
↳ remainingQuantitynumberQuantity still to fulfill
↳ inventoryItemIdstringInventory item GID
↳ productTitlestringProduct title
↳ variantTitlestringVariant title
↳ skustringSKU
↳ lineItemobjectOriginal order line item
↳ idstringOrder line item GID
pageInfoobjectFulfillment order pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page

Shopify Get Fulfillment Order

Read a fulfillment order and one page of line items for partial fulfillment

Input

ParameterTypeRequiredDescription
shopDomainstringNoShop domain supplied by the connected credential (store.myshopify.com)
fulfillmentOrderIdstringYesFulfillment order GID
firstnumberNoResults per page (default 50, max 250)
afterstringNoCursor from pageInfo.endCursor to continue

Output

ParameterTypeDescription
fulfillmentOrderobjectFulfillment order with remaining quantities and item pagination
↳ idstringFulfillment order GID to pass to Create Fulfillment
↳ orderIdstringAssociated order GID
↳ statusstringFulfillment order status
↳ requestStatusstringFulfillment request status
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp
↳ fulfillAtstringEarliest fulfillment timestamp
↳ fulfillBystringFulfillment deadline
↳ assignedLocationobjectAssigned fulfillment location
↳ namestringAssigned location name
↳ locationobjectCurrent location
↳ idstringLocation GID
↳ namestringLocation name
↳ supportedActionsarrayActions permitted for this fulfillment order
↳ actionstringPermitted action
↳ externalUrlstringExternal fulfillment URL when applicable
↳ lineItemsobjectFulfillment order item page; use Get Fulfillment Order to continue
↳ pageInfoobjectLine item pagination
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ edgesarrayFulfillment order item edges
↳ nodeobjectFulfillment order line item
↳ idstringFulfillment order line item GID for partial fulfillment
↳ totalQuantitynumberTotal quantity assigned
↳ remainingQuantitynumberQuantity still to fulfill
↳ inventoryItemIdstringInventory item GID
↳ productTitlestringProduct title
↳ variantTitlestringVariant title
↳ skustringSKU
↳ lineItemobjectOriginal order line item
↳ idstringOrder line item GID

Shopify Get Job

Read Shopify job progress or the outcome and errors of an order cancellation

Input

ParameterTypeRequiredDescription
shopDomainstringNoShop domain supplied by the connected credential (store.myshopify.com)
jobIdstringYesjobResult.id (OrderCancelJobResult GID) for cancellation outcome, or a legacy Job GID

Output

ParameterTypeDescription
jobResultobjectCancellation outcome when using an OrderCancelJobResult ID
↳ idstringCancellation result GID; pass to Get Job
↳ donebooleanWhether the request has finished processing; inspect status and errors for the outcome
↳ statusstringCurrent cancellation status
↳ errorsarrayAsynchronous cancellation errors
↳ fieldarrayInput field path
↳ messagestringError message
↳ codestringCancellation error code
↳ orderobjectAssociated order
↳ idstringOrder GID
↳ cancelledAtstringCancellation timestamp, null until cancelled
jobobjectAsynchronous job status
↳ idstringJob GID
↳ donebooleanWhether processing ran; inspect cancellation result for success

Shopify Create Product Variants

Create product variants with pricing, options, inventory attributes, and metafields

Input

ParameterTypeRequiredDescription
shopDomainstringNoShop domain supplied by the connected credential (store.myshopify.com)
productIdstringYesProduct GID
variantsarrayYesProductVariantsBulkInput array (1-250): optionValues for creation, price, compareAtPrice, inventoryItem, taxable, inventoryPolicy, metafields
strategystringNoDEFAULT, REMOVE_STANDALONE_VARIANT, or PRESERVE_STANDALONE_VARIANT
mediaarrayNoCreateMediaInput array with originalSource, mediaContentType, and alt

Output

ParameterTypeDescription
productVariantsarrayVariants successfully created or updated
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
userErrorsarrayValidation errors, including partial update failures
↳ fieldarrayInput field path
↳ messagestringValidation error

Shopify Update Product Variants

Update product variants with pricing, options, inventory attributes, and metafields

Input

ParameterTypeRequiredDescription
shopDomainstringNoShop domain supplied by the connected credential (store.myshopify.com)
productIdstringYesProduct GID
variantsarrayYesProductVariantsBulkInput array (1-250): id for updates, price, compareAtPrice, inventoryItem, optionValues, taxable, inventoryPolicy, metafields
allowPartialUpdatesbooleanNoAllow valid variants to update even if other variants fail
mediaarrayNoCreateMediaInput array with originalSource, mediaContentType, and alt

Output

ParameterTypeDescription
productVariantsarrayVariants successfully created or updated
↳ idstringUnique variant identifier (GID)
↳ titlestringVariant title
↳ pricestringVariant price
↳ barcodestringVariant barcode
↳ taxablebooleanWhether the variant is taxable
↳ inventoryPolicystringInventory policy (DENY or CONTINUE)
↳ inventoryItemobjectInventory item for stock operations
↳ idstringInventory item GID
↳ skustringSKU
↳ trackedbooleanWhether stock is tracked
↳ selectedOptionsarraySelected product options
↳ namestringOption name
↳ valuestringSelected value
↳ compareAtPricestringCompare at price
↳ skustringStock keeping unit
↳ inventoryQuantitynumberAvailable inventory quantity
userErrorsarrayValidation errors, including partial update failures
↳ fieldarrayInput field path
↳ messagestringValidation error

Shopify Get Fulfillment

Read shipment tracking and one page of fulfilled line items

Input

ParameterTypeRequiredDescription
shopDomainstringNoShop domain supplied by the connected credential (store.myshopify.com)
fulfillmentIdstringYesFulfillment GID
firstnumberNoResults per page (default 50, max 250)
afterstringNoCursor from pageInfo.endCursor to continue

Output

ParameterTypeDescription
fulfillmentobjectShipment tracking and line item page
↳ lineItemsPageInfoobjectFulfillment item pagination; use Get Fulfillment for subsequent pages
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ idstringUnique fulfillment identifier (GID)
↳ statusstringFulfillment status (pending, open, success, cancelled, error, failure)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ trackingInfoarrayTracking information for shipments
↳ companystringShipping carrier name
↳ numberstringTracking number
↳ urlstringTracking URL
↳ fulfillmentLineItemsarrayFulfilled line items
↳ idstringFulfillment line item identifier (GID)
↳ quantitynumberQuantity fulfilled
↳ lineItemobjectAssociated order line item
↳ titlestringProduct title

Shopify Update Fulfillment Tracking

Update tracking numbers, URLs, or carrier for an existing fulfillment

Input

ParameterTypeRequiredDescription
shopDomainstringNoShop domain supplied by the connected credential (store.myshopify.com)
fulfillmentIdstringYesFulfillment GID
trackingInfojsonYesFulfillmentTrackingInput object: company, number, url, or numbers and urls arrays
notifyCustomerbooleanNoSend the customer an updated shipment notification

Output

ParameterTypeDescription
fulfillmentobjectUpdated shipment tracking and line item page
↳ lineItemsPageInfoobjectFulfillment item pagination; use Get Fulfillment for subsequent pages
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ idstringUnique fulfillment identifier (GID)
↳ statusstringFulfillment status (pending, open, success, cancelled, error, failure)
↳ createdAtstringCreation timestamp (ISO 8601)
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ trackingInfoarrayTracking information for shipments
↳ companystringShipping carrier name
↳ numberstringTracking number
↳ urlstringTracking URL
↳ fulfillmentLineItemsarrayFulfilled line items
↳ idstringFulfillment line item identifier (GID)
↳ quantitynumberQuantity fulfilled
↳ lineItemobjectAssociated order line item
↳ titlestringProduct title

Shopify Get Collection

Get a specific collection by ID, including its products. Use this to retrieve products within a collection.

Input

ParameterTypeRequiredDescription
productsAfterstringNoCursor from products.pageInfo.endCursor for the next page
shopDomainstringNoYour Shopify store domain (e.g., mystore.myshopify.com)
collectionIdstringYesThe collection ID (e.g., gid://shopify/Collection/123456789)
productsFirstnumberNoNumber of products to return from this collection (default: 50, max: 250)

Output

ParameterTypeDescription
collectionobjectThe collection details including its products
↳ idstringUnique collection identifier (GID)
↳ titlestringCollection title
↳ handlestringURL-friendly collection identifier
↳ descriptionstringPlain text description
↳ descriptionHtmlstringHTML-formatted description
↳ productsCountnumberNumber of products in the collection
↳ sortOrderstringProduct sort order in the collection
↳ updatedAtstringLast modification timestamp (ISO 8601)
↳ imageobjectCollection image
↳ idstringUnique image identifier (GID)
↳ urlstringImage URL
↳ altTextstringAlternative text for accessibility
↳ productsPageInfoobjectPagination for collection products; use productsAfter
↳ startCursorstringCursor at the start of this page
↳ endCursorstringCursor to pass as after for the next page
↳ hasNextPagebooleanWhether there are more results after this page
↳ hasPreviousPagebooleanWhether there are results before this page
↳ productsarrayProducts in the collection
↳ idstringUnique product identifier (GID)
↳ titlestringProduct title
↳ handlestringURL-friendly product identifier
↳ statusstringProduct status (ACTIVE, DRAFT, ARCHIVED, UNLISTED)
↳ vendorstringProduct vendor
↳ productTypestringProduct type classification
↳ totalInventorynumberTotal inventory across all variants
↳ featuredImageobjectFeatured product image
↳ urlstringFeatured image URL
↳ altTextstringAlternative text for accessibility