Skip to main content

Shopify Connector

Shopify Shopify is a multinational e-commerce company. They offer a subscription-based software that allows anyone to set up an online store and sell their products. This component allows you to manage the products and customers connected to your Shopify account.

API Documentation

This component was built using the Shopify GraphQL Admin API Reference.

Connections

Admin API Access Token

Authenticate requests to Shopify using an access token.

An admin API access token can be used for testing purposes during integration development.

Personal access tokens are recommended for testing only. For production integrations, use OAuth 2.0 to allow users to authenticate with their own credentials.

Prerequisites

  • A Shopify store (for testing purposes)

Setup Steps

To generate an admin API access token:

  1. Log in to the Shopify admin dashboard.
  2. Navigate to Settings > Apps and sales channels.
  3. Click Develop apps for your store.
  4. If prompted, click Allow custom app development.
  5. Click Create an app and provide a name for the app.
  6. Click Configure Admin API scopes and select the required scopes for the integration.
  7. Click Save.
  8. Navigate to the API credentials tab.
  9. Under Admin API access token, click Install app to generate the token.
  10. Copy the Admin API access token value.

The token will have a format similar to shpat_00000000000000000000000000000000.

Refer to Shopify's Admin API access token documentation for more information.

Configure the Connection

  • Enter the Admin API access token into the connection configuration.
  • Enter the Host (the Shopify domain, e.g., YOUR-SHOPIFY-DOMAIN.myshopify.com).
  • Optionally configure the API Version (defaults to latest version).
Production Use

Admin API access tokens are tied to custom apps and recommended for testing only. For production integrations, OAuth 2.0 authentication provides a better user experience and allows users to authenticate with their own credentials.

InputCommentsDefault
Admin API Access TokenGenerate from the 'API credentials' tab of a private Shopify app. Learn more at Shopify Admin API.
HostThe domain of your Shopify store without https:// (e.g., my-store.myshopify.com)YOUR-SHOPIFY-DOMAIN.myshopify.com
API VersionShopify API version to use. See Shopify API versioning for available versions.2024-10

OAuth 2.0

Authenticate requests to Shopify using values obtained from the Developer Console. Allows for using a single domain input instead of entering separate authorization URL's.

The Shopify component authenticates requests through OAuth 2.0.

Shopify uses OAuth 2.0 for app authentication. This connection type simplifies configuration by using a single Shop Name input to automatically construct the authorization and token URLs.

Prerequisites

Setup Steps

To create an OAuth 2.0 app for Shopify:

  1. Log in to the Shopify Partner Dashboard.
  2. Click Apps in the left sidebar.
  3. Click Create app.
  4. Select Create app manually and provide an app name.
  5. Navigate to the Configuration section of the created app.
  6. Under App URL, enter a valid URL (this is required but can be a placeholder).
  7. Under Allowed redirection URL(s), enter: https://oauth2.integrations.acme.com/callback
  8. Click Save.
  9. Scroll to the Client credentials section.
  10. Copy the Client ID (labeled as API key in Shopify).
  11. Copy the Client secret (labeled as API secret key in Shopify).

Refer to Shopify's OAuth documentation for detailed information on OAuth app creation.

Configure the Connection

  • Enter the API Key (Client ID) from the Shopify app into the Client ID field.
  • Enter the API Secret (Client Secret) from the Shopify app into the Client Secret field.
  • Enter the Shop Name (the Shopify domain without .myshopify.com, e.g., example-store).
  • Configure Scopes based on the required permissions.
    • Default scopes include: read_customers read_draft_orders read_fulfillments read_inventory read_orders read_products read_locations write_customers write_draft_orders write_fulfillments write_inventory write_orders write_products write_locations
    • Refer to Shopify's access scopes documentation for a complete list of available scopes.
  • Optionally configure the API Version (defaults to latest version).

Save the integration to connect and authenticate to Shopify.

Shop Name Format

The Shop Name should be the subdomain portion of the Shopify store URL. For example, if the store URL is example-store.myshopify.com, enter example-store as the Shop Name.

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
Shop NameThe Shopify shop name (e.g., for my-store.myshopify.com, enter my-store)
ScopesSpace-separated list of scopes for user permissions. See Shopify access scopes for all available scopes.read_customers read_draft_orders read_fulfillments read_inventory read_orders read_products read_locations write_customers write_draft_orders write_fulfillments write_inventory write_orders write_products write_locations
API KeyAPI Key from your Shopify app. Obtain by creating an app at Shopify Partners.
API SecretAPI Secret from your Shopify app. Obtain by creating an app at Shopify Partners.
API VersionShopify API version to use. See Shopify API versioning for available versions.2024-10

OAuth 2.0 (Deprecated)

Authenticate requests to Shopify using values obtained from the Developer Console.

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
Authorize URLThe OAuth 2.0 Authorization URL for Shopifyhttps://YOUR-SHOPIFY-DOMAIN.myshopify.com/admin/oauth/authorize
Token URLThe OAuth 2.0 Token URL for Shopifyhttps://YOUR-SHOPIFY-DOMAIN.myshopify.com/admin/oauth/access_token
ScopesSpace-separated list of scopes for user permissions. See Shopify access scopes for all available scopes.read_customers read_draft_orders read_fulfillments read_inventory read_orders read_products read_locations write_customers write_draft_orders write_fulfillments write_inventory write_orders write_products write_locations
API KeyAPI Key from your Shopify app. Obtain by creating an app at Shopify Partners.
API SecretAPI Secret from your Shopify app. Obtain by creating an app at Shopify Partners.
HostThe domain of your Shopify store without https:// (e.g., my-store.myshopify.com)YOUR-SHOPIFY-DOMAIN.myshopify.com
API VersionShopify API version to use. See Shopify API versioning for available versions.2024-10

Triggers

Event Topic Webhook

Receive event notifications from Shopify. Automatically creates and manages webhook subscriptions for selected event topics when the instance is deployed, and removes the subscription when the instance is deleted.

InputCommentsDefault
Connection
Secret KeyThe Shopify app's client secret, viewable from the Partner Dashboard.
Webhook TopicThe topic for the webhook. This is the event that will trigger the webhook.

Event Topic Webhook (Deprecated)

Set event based webhooks and get notified when these event types are created, updated, or deleted. This version of the trigger is being deprecated. Please replace trigger with Event Topic Webhook.

InputCommentsDefault
Secret KeyThe Shopify app's client secret, viewable from the Partner Dashboard
ConnectionThe Shopify connection to use.
Event Topic NameEvent that triggers the webhook.

New and Updated Customers

Checks for new and updated customers on a configured schedule. Returns all customers on first run.

InputCommentsDefault
Connection

New and Updated Orders

Checks for new and updated orders on a configured schedule. Returns all orders on first run.

InputCommentsDefault
Connection

New and Updated Products

Checks for new and updated products on a configured schedule. Returns all products on first run.

InputCommentsDefault
Connection

Webhook

Receive and validate webhook requests from Shopify for webhooks you configure.

InputCommentsDefault
Secret KeyThe Shopify app's client secret, viewable from the Partner Dashboard

Actions

Cancel Order

Cancel an existing order.

InputCommentsDefault
Connection
Order IDProvide the unique ID of the order.
ReasonThe reason for the cancellation.
RefundWhether to refund the amount paid by the customer.false
RestockWhether to restock the inventory committed to the order.false
Notify CustomerWhether the customer should be notified of the cancellation.false
Staff NoteA staff-facing note about the order cancellation. This is not visible to the customer.

Close Order

Closes a completed order.

InputCommentsDefault
Connection
Order IDProvide the unique ID of the order.

Complete Draft Order

Mark a draft order as complete.

InputCommentsDefault
Connection
Draft Order IdProvide a value for the unique ID of the draft order.

Connect Inventory Item To Location

Connect an existing Inventory Item to an existing Location.

InputCommentsDefault
Connection
Location IDThe ID of the location that the inventory level belongs to.
Inventory Item IdProvide a unique ID of a Inventory Item.

Count Collections

Count all available collections.

InputCommentsDefault
Connection

Count Customers

Retrieve a count of all the customers connected to your platform.

InputCommentsDefault
Connection

Count Draft Orders

Returns a count of all draft orders. Note: This action currently utilizes an unstable version of the Shopify Admin GraphQL API and is subject to change.

InputCommentsDefault
Connection

Count Location

Count the number of locations enabled on your platform.

InputCommentsDefault
Connection

Count Orders

Returns a count of all orders.

InputCommentsDefault
Connection

Count Product Images

Count all product images connected to your platform.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.

Count Products

Count all Products in your account.

InputCommentsDefault
ConnectionThe Shopify connection to use.

Count Variants

Count all product variants.

InputCommentsDefault
Connection

Create Account Activation URL

Create an account activation URL for an existing customer.

InputCommentsDefault
Connection
CustomerProvide a value for the unique ID of the customer.

Create Customer

Create a new customer.

InputCommentsDefault
ConnectionThe Shopify connection to use.
First NameThe first name of the customer.
Last NameThe last name of the customer.
EmailThe email address of the customer.
PhoneThe phone number of the customer in E.164 format.
NotesAdditional notes about the customer.
Verified EmailWhen true, emails will be sent to the customer.false
Address ListProvide a JSON array containing address objects
ValuesKey-value pairs for creating or updating a record. Specify any property key and value.
Currency FormatThe currency format code.
TagsTags for the product. Each list item is a tag string.
Tax ExemptWhen true, the customer is tax exempt.false
MetafieldsJSON array containing metadata objects.

Create Draft Orders

Create a new draft order.

InputCommentsDefault
Connection
CustomerProvide a value for the unique ID of the customer.
Line itemsProvide a JSON array containing line item objects.
Use Customer AddressThis flag determines if the order will use the customers default address.true
NoteProvide a value for the note on the draft order.
Tax ExemptWhether or not taxes are exempt for the draft order.false
TagsProvide a list of tags for the draft order.
Additional FieldsAdditional fields that might not be covered by the standard inputs. This is a JSON object.

Create Fulfillment Service

Create a fulfillment service.

InputCommentsDefault
Connection
Fulfillment Service NameThe name of the fulfillment service.
Callback URLThe callback URL that the fulfillment service has registered for request.
Inventory ManagementWhether the fulfillment services tracks product inventory and provides updates to Shopify.false
Tracking SupportWhether the fulfillment service supports tracking numbers for packages.false

Create Order

Create a new order.

InputCommentsDefault
Connection
Order DataJSON data to be sent as the Order payload.

Create Product

Create a new product.

InputCommentsDefault
Connection
TitleProvide a string value for the title of the product.
Description HTMLProvide an HTML string for the description of the product.
Product TypeProvide a value for the type of product.
VendorProvide a value for the vendor of the product.
Product StatusSpecify the status of the product.
Image URLProvide a URL for the image of the product.
Image Alt TextProvide the alt text for the image of the product.
TagsProvide a list of tags for the product.
Additional FieldsAdditional fields that might not be covered by the standard inputs. This is a JSON object.

Create Product Image

Create a new image on an existing product.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.
Image URLProvide the URL of the image.
Image Alt TextProvide the alt text for the image.

Create Variant

Create a new variant of the provided product.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.
VariantProvide a JSON object containing the variant data.

Create Webhook

Creates a webhook for the desired topic in your Shopify store.

InputCommentsDefault
ConnectionThe Shopify connection to use.
Webhook TopicThe event topic for the webhook. See Shopify webhook topics for all available topics.
Post URLThe URL where the newly created webhook will post to. Used to configure your Shopify trigger.
Webhook FormatThe format for the webhook response.json

Delete Collection

Delete a collection by ID.

InputCommentsDefault
Connection
Collection IDProvide a unique ID of a collection.

Delete Customer

Delete an existing customer.

InputCommentsDefault
Connection
CustomerProvide a value for the unique ID of the customer.

Delete Draft Order

Delete the information and metadata of a Draft Order.

InputCommentsDefault
Connection
Draft Order IdProvide a value for the unique ID of the draft order.

Delete Fulfillment Service

Deletes an existing fulfillment service.

InputCommentsDefault
Connection
Fulfillment Service IDProvide the unique ID of the fulfillment service.

Delete Instance Webhooks

Delete all webhooks related to this instance.

InputCommentsDefault
ConnectionThe Shopify connection to use.

Delete Inventory Levels

Delete the information and metadata of an Inventory Level.

InputCommentsDefault
Connection
Inventory Level IdProvide a unique ID of an Inventory Level.

Delete Metafield

Delete a resource metafield. Note: This action currently utilizes an unstable version of the Shopify Admin GraphQL API and is subject to change.

InputCommentsDefault
Connection
KeyProvide the key of the metafield to delete.
Owner IDProvide the owner ID of the metafield to delete.
NamespaceProvide the namespace of the metafield to delete.

Delete Order

Delete an existing order by Id.

InputCommentsDefault
Connection
Order IDProvide the unique ID of the order.

Delete Product

Delete an existing product.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.

Delete Product Image

Delete the information and metadata of a product image connected to your platform.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.
Image IDProvide a unique ID of a product image.

Delete Variant

Delete an existing variant by Id.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.
Variant IDProvide a unique ID of a variant.

Delete Webhook

Delete a webhook by ID.

InputCommentsDefault
ConnectionThe Shopify connection to use.
Webhook IDThe ID of an existing webhook.

Get Collection

Get a collection by Id.

InputCommentsDefault
Connection
Collection IDProvide a unique ID of a collection.

Get Customer

Get a customers information and metadata by Id.

InputCommentsDefault
CustomerThe unique ID of the customer.
ConnectionThe Shopify connection to use.

Get Draft Order

Get the information and metadata of a Draft Order.

InputCommentsDefault
Connection
Draft Order IdProvide a value for the unique ID of the draft order.

Get Fulfillment

Get the information and metadata of a fulfillment enabled on your platform.

InputCommentsDefault
Connection
Fulfillment IdProvide a unique ID of a fulfillment.

Get Fulfillment Order

Retrieve a specific fulfillment order.

InputCommentsDefault
ConnectionThe Shopify connection to use.
Fulfillment Order IDProvide a unique ID of a fulfillment order

Get Fulfillment Service

Retrieve a fulfillment service enabled on your platform by its ID.

InputCommentsDefault
Connection
Fulfillment Service IDProvide the unique ID of the fulfillment service.

Get Inventory Item

Get the information and metadata of an Inventory Item enabled on your platform.

InputCommentsDefault
Inventory Item IdProvide a unique ID of a Inventory Item.
Connection

Get Inventory Levels

Get the information and metadata of an Inventory Level.

InputCommentsDefault
Connection
Inventory Level IdProvide a unique ID of an Inventory Level.

Get Location

Get the information and metadata of a location enabled on your platform.

InputCommentsDefault
Connection
Location IDThe ID of the location that the inventory level belongs to.

Get Order

Get the information and metadata about an order.

InputCommentsDefault
Connection
Order IDProvide the unique ID of the order.

Get Order (Deprecated)

Get the information and metadata about an order. This version of the action is being deprecated. Please replace action with Get Order.

InputCommentsDefault
Order IDThe unique ID of the order.
ConnectionThe Shopify connection to use.

Get Product

Get the information and metadata of a product by Id.

InputCommentsDefault
Product IDThe unique ID of the product.
ConnectionThe Shopify connection to use.

Get Product Image

Get the information and metadata of a product image connected to your platform.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.
Image IDProvide a unique ID of a product image. Use only the ID number.

Get Shop Configuration

Retrieve the shop's current configuration.

InputCommentsDefault
ConnectionThe Shopify connection to use.

Get Variant

Get the information or metadata of a variant by Id.

InputCommentsDefault
Connection
Variant IDProvide a unique ID of a variant.

List Collections

List all collections enabled on your platform.

InputCommentsDefault
Connection
LimitProvide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 250. To get more than 250 results, turn the 'Fetch All' toggle ON.50
Fetch AllAPI is limited to 250 records per page max, turn this ON to get all data from all pages. When turned ON, the 'Limit' and 'Page Offset Cursor' inputs are ignored.false
Page Offset CursorProvide a cursor to offset the results. This is used to get the next page of results.

List Currencies

List all currencies enabled on your platform.

InputCommentsDefault
Connection
LimitProvide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 250. To get more than 250 results, turn the 'Fetch All' toggle ON.50
Fetch AllAPI is limited to 250 records per page max, turn this ON to get all data from all pages. When turned ON, the 'Limit' and 'Page Offset Cursor' inputs are ignored.false
Page Offset CursorProvide a cursor to offset the results. This is used to get the next page of results.

List Customers

List all customers connected to your platform.

InputCommentsDefault
Get All DataWhen true, fetches all data from all pages (API is limited to 250 records per page max). The limit input will be ignored when enabled.false
LimitMaximum number of results to return (1-250). Default is 50. To retrieve more than 250 results, enable the 'Get All Data' option.50
Page Offset TokenCursor for pagination to retrieve a specific page of results.
ConnectionThe Shopify connection to use.

List Draft Orders

List all draft orders.

InputCommentsDefault
Get All DataWhen true, fetches all data from all pages (API is limited to 250 records per page max). The limit input will be ignored when enabled.false
LimitMaximum number of results to return (1-250). Default is 50. To retrieve more than 250 results, enable the 'Get All Data' option.50
Page Offset TokenCursor for pagination to retrieve a specific page of results.
ConnectionThe Shopify connection to use.

List Fulfillment Orders

Retrieves a list of fulfillment orders for a specific order.

InputCommentsDefault
ConnectionThe Shopify connection to use.
Order IDThe unique ID of the order.

List Fulfillments

List all fulfillments enabled on your platform.

InputCommentsDefault
Order IDThe unique ID of the order.
Get All DataWhen true, fetches all data from all pages (API is limited to 250 records per page max). The limit input will be ignored when enabled.false
LimitMaximum number of results to return (1-250). Default is 50. To retrieve more than 250 results, enable the 'Get All Data' option.50
Page Offset TokenCursor for pagination to retrieve a specific page of results.
ConnectionThe Shopify connection to use.

List Fulfillment Services

List all fulfillment services enabled on your platform.

InputCommentsDefault
Connection

List Inventory Items

List all Inventory Items enabled on your platform.

InputCommentsDefault
Connection
QueryThe query to filter the inventory items.
Fetch AllAPI is limited to 250 records per page max, turn this ON to get all data from all pages. When turned ON, the 'Limit' and 'Page Offset Cursor' inputs are ignored.false
LimitProvide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 250. To get more than 250 results, turn the 'Fetch All' toggle ON.50
Page Offset CursorProvide a cursor to offset the results. This is used to get the next page of results.

List Inventory Levels At Location

List all Inventory Levels.

InputCommentsDefault
Connection
Location IDThe ID of the location that the inventory level belongs to.
Fetch AllAPI is limited to 250 records per page max, turn this ON to get all data from all pages. When turned ON, the 'Limit' and 'Page Offset Cursor' inputs are ignored.false
LimitProvide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 250. To get more than 250 results, turn the 'Fetch All' toggle ON.50
Page Offset CursorProvide a cursor to offset the results. This is used to get the next page of results.

List Locations

List all locations enabled on your platform.

InputCommentsDefault
Connection
LimitProvide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 250. To get more than 250 results, turn the 'Fetch All' toggle ON.50
Fetch AllAPI is limited to 250 records per page max, turn this ON to get all data from all pages. When turned ON, the 'Limit' and 'Page Offset Cursor' inputs are ignored.false
Page Offset CursorProvide a cursor to offset the results. This is used to get the next page of results.

List Metafields

List resource metafields. Note: This action currently utilizes an unstable version of the Shopify Admin GraphQL API and is subject to change.

InputCommentsDefault
Connection
ResourceProvide a unique ID of a resource.
LimitProvide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 250. To get more than 250 results, turn the 'Fetch All' toggle ON.50
Fetch AllAPI is limited to 250 records per page max, turn this ON to get all data from all pages. When turned ON, the 'Limit' and 'Page Offset Cursor' inputs are ignored.false
Page Offset CursorProvide a cursor to offset the results. This is used to get the next page of results.

List Orders

List all orders.

InputCommentsDefault
Connection
QueryThe query to filter the orders.
Fetch AllAPI is limited to 250 records per page max, turn this ON to get all data from all pages. When turned ON, the 'Limit' and 'Page Offset Cursor' inputs are ignored.false
LimitProvide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 250. To get more than 250 results, turn the 'Fetch All' toggle ON.50
Page Offset CursorProvide a cursor to offset the results. This is used to get the next page of results.

List Orders (Deprecated)

List all orders. This version of the action is being deprecated. Please replace action with List Orders.

InputCommentsDefault
ConnectionThe Shopify connection to use.
Get All DataWhen true, fetches all data from all pages (API is limited to 250 records per page max). The limit input will be ignored when enabled.false
Page Offset TokenCursor for pagination to retrieve a specific page of results.
LimitMaximum number of results to return (1-250). Default is 50. To retrieve more than 250 results, enable the 'Get All Data' option.50
Attribution App IDShow orders attributed to a certain app, specified by the app ID.
Created At MaxShow orders created at or before date. ISO 8601 format like 2021-10-01 or 2021-10-01T00:00:00-04:00 for exact time.
Created At MinShow orders created at or after this date. Use ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss-HH:mm).
FieldsRetrieve only certain fields, specified by a comma-separated list of fields names.
Financial StatusFilter orders by their financial status.
Fulfillment StatusFilter orders by their fulfillment status.
IdsRetrieve only orders specified by a comma-separated list of order IDs.
Processed At MaxShow orders imported at or before date. ISO 8601 format like 2021-10-01 or 2021-10-01T00:00:00-04:00 for exact time.
Processed At MinShow orders imported at or after date. ISO 8601 format like 2021-10-01 or 2021-10-01T00:00:00-04:00 for exact time.
Since IdShow orders after the specified ID.
StatusFilter orders by their status.
Updated At MaxShow orders last updated at or before date. ISO 8601 format like 2021-10-01 or 2021-10-01T00:00:00-04:00 for exact time.
Updated At MinShow orders last updated at or after date. ISO 8601 format like 2021-10-01 or 2021-10-01T00:00:00-04:00 for exact time.

List Product Images

List all product images connected to your platform.

InputCommentsDefault
Product IDThe unique ID of the product.
ConnectionThe Shopify connection to use.

List Products

List all products connected to your platform.

InputCommentsDefault
LimitMaximum number of results to return (1-250). Default is 50. To retrieve more than 250 results, enable the 'Get All Data' option.50
Get All DataWhen true, fetches all data from all pages (API is limited to 250 records per page max). The limit input will be ignored when enabled.false
Page Offset TokenCursor for pagination to retrieve a specific page of results.
ConnectionThe Shopify connection to use.

List Variants

List all variants connected to the provided product.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.
Fetch AllAPI is limited to 250 records per page max, turn this ON to get all data from all pages. When turned ON, the 'Limit' and 'Page Offset Cursor' inputs are ignored.false
LimitProvide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 250. To get more than 250 results, turn the 'Fetch All' toggle ON.50
Page Offset CursorProvide a cursor to offset the results. This is used to get the next page of results.

List Webhooks

List all webhooks or webhooks for this instance.

InputCommentsDefault
ConnectionThe Shopify connection to use.
Show only instance webhooksShow only webhooks that point to this instancetrue

Raw Request

Send raw GraphQL request to Shopify.

InputCommentsDefault
ConnectionThe Shopify connection to use.
API VersionShopify versions its API. See Shopify API release notes for a list of available versions.2024-10
Query or MutationGraphQL query or mutation. See Shopify's GraphQL API documentation for examples. Ex: { shop { name } }
VariablesVariables to pass to the query or mutation.
Variables ObjectVariables to pass to the query or mutation.

Raw Request (Deprecated)

Send raw HTTP request to Shopify. This version of the action uses REST and is being deprecated. Please replace action with the Raw Request utilizing GraphQL.

InputCommentsDefault
ConnectionThe Shopify connection to use.
URLInput the path only (/users/current.json), The base URL is already included (https://YOUR-DOMAIN.myshopify.com/admin/api/API-VERSION). For example, to connect to https://YOUR-DOMAIN.myshopify.com/admin/api/API-VERSION/users/current.json, only /users/current.json is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false
API VersionShopify versions its API. See Shopify API release notes for a list of available versions.2024-10
Return HeadersWhen true, response headers will be included in the output object.false

Set Metafield

Set a resource metafield. Note: This action currently utilizes an unstable version of the Shopify Admin GraphQL API and is subject to change.

InputCommentsDefault
Connection
KeyProvide a key for the metafield.
ValueProvide a value for the metafield.
Owner IDProvide a unique ID of the owner of the metafield.
TypeProvide a type for the metafield. Required when there is no corresponding definition for the given namespace, key, and owner resource type.
NamespaceProvide a namespace for the metafield.

Update Customer

Update the information and metadata of an existing customer by Id.

InputCommentsDefault
Connection
CustomerProvide a value for the unique ID of the customer.
First NameProvide a string value for the first name
Last NameProvide a string value for the last name of the customer.
EmailProvide a string value for the email of the customer.
Address ListProvide a JSON array containing address objects.
PhoneProvide a value for the phone number of the customer.
NotesProvide a value for a note on the customer.
TagsFor each list item, provide a string you would like to tag the product with.
Tax ExemptDetermines if the customer is tax exempt.
MetafieldsProvide a JSON array containing metadata objects.
Additional FieldsAdditional fields that might not be covered by the standard inputs. This is a JSON object.

Update Fulfillment Service

Modify an existing fulfillment service.

InputCommentsDefault
Connection
Fulfillment Service IDProvide the unique ID of the fulfillment service.
Fulfillment Service NameThe name of the fulfillment service.
Callback URLThe callback URL that the fulfillment service has registered for request.
Inventory ManagementWhether the fulfillment services tracks product inventory and provides updates to Shopify.
Tracking SupportWhether the fulfillment service supports tracking numbers for packages.

Update Inventory Item

Update the information and metadata of an Inventory Item enabled on your platform.

InputCommentsDefault
Connection
Inventory Item IdProvide a unique ID of a Inventory Item.
SKUThe SKU (stock keeping unit) of the inventory item.
CostUnit cost associated with the inventory item, the currency is the shop's default currency.
TrackedWhether the inventory item is tracked.

Update Product

Update the information and metadata of an existing product by Id.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.
TitleProvide a string value for the title of the product.
Description HTMLProvide an HTML string for the description of the product.
Product TypeProvide a value for the type of product.
VendorProvide a value for the vendor of the product.
Product StatusSpecify the status of the product.
Image URLProvide a URL for the image of the product.
Image Alt TextProvide the alt text for the image of the product.
TagsFor each list item, provide a string you would like to tag the product with.
Additional FieldsAdditional fields that might not be covered by the standard inputs. This is a JSON object.

Update Variant

Update the information and metadata of an existing product variant by Id.

InputCommentsDefault
Connection
Product IDProvide a value for the product Id.
Update VariantProvide a JSON object containing the variant data to update.