Shopify

Learn how to use Shopify with Composio

Overview

SLUG: SHOPIFY

Description

Shopify is an e-commerce platform enabling merchants to create online stores, manage products, and process payments with themes, apps, and integrated marketing tools

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to read_products,write_products,read_orders,write_orders
subdomain
stringRequired
subdomain
stringRequired
generic_api_key
stringRequired

Connecting to Shopify

Create an auth config

Use the dashboard to create an auth config for the Shopify toolkit. This allows you to connect multiple Shopify accounts to Composio for agents to use.

1

Select App

Navigate to Shopify.

2

Configure Auth Config Settings

Select among the supported auth schemes of and configure them here.

3

Create and Get auth config ID

Click “Create Shopify Auth Config”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database. This ID will be used to create connections to the toolkit for a given user.

Connect Your Account

Using OAuth2

1from composio import Composio
2
3# Replace these with your actual values
4shopify_auth_config_id = "ac_YOUR_SHOPIFY_CONFIG_ID" # Auth config ID created above
5user_id = "0000-0000-0000" # UUID from database/application
6
7composio = Composio()
8
9
10def authenticate_toolkit(user_id: str, auth_config_id: str):
11 connection_request = composio.connected_accounts.initiate(
12 user_id=user_id,
13 auth_config_id=auth_config_id,
14 )
15
16 print(
17 f"Visit this URL to authenticate Shopify: {connection_request.redirect_url}"
18 )
19
20 # This will wait for the auth flow to be completed
21 connection_request.wait_for_connection(timeout=15)
22 return connection_request.id
23
24
25connection_id = authenticate_toolkit(user_id, shopify_auth_config_id)
26
27# You can also verify the connection status using:
28connected_account = composio.connected_accounts.get(connection_id)
29print(f"Connected account: {connected_account}")

Using API Key

1from composio import Composio
2
3# Replace these with your actual values
4shopify_auth_config_id = "ac_YOUR_SHOPIFY_CONFIG_ID" # Auth config ID created above
5user_id = "0000-0000-0000" # UUID from database/app
6
7composio = Composio()
8
9def authenticate_toolkit(user_id: str, auth_config_id: str):
10 # Replace this with a method to retrieve an API key from the user.
11 # Or supply your own.
12 user_api_key = input("[!] Enter API key")
13
14 connection_request = composio.connected_accounts.initiate(
15 user_id=user_id,
16 auth_config_id=auth_config_id,
17 config={"auth_scheme": "API_KEY", "val": {"generic_api_key": user_api_key}}
18 )
19
20 # API Key authentication is immediate - no redirect needed
21 print(f"Successfully connected Shopify for user {user_id}")
22 print(f"Connection status: {connection_request.status}")
23
24 return connection_request.id
25
26
27connection_id = authenticate_toolkit(user_id, shopify_auth_config_id)
28
29# You can verify the connection using:
30connected_account = composio.connected_accounts.get(connection_id)
31print(f"Connected account: {connected_account}")

Tools

Executing tools

To prototype you can execute some tools to see the responses and working on the Shopify toolkit’s playground

For code examples, see the Tool calling guide and Provider examples.

Tool List

Tool Name: Add product to custom collection

Description

Adds a product to an existing *custom collection*, optionally specifying its `position` if the collection is manually sorted.

Action Parameters

collection_id
integerRequired
position
product_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Add product to custom collection

Description

Tool to add a product to a custom collection by creating a collect resource. Use when you need to link a product to a custom collection. Note: Can only add products to custom collections, not smart collections.

Action Parameters

collection_id
integerRequired
product_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Adjust inventory level

Description

Tool to adjust the inventory level of an inventory item at a single location. Use when you need to increase or decrease stock quantities at a specific location.

Action Parameters

available_adjustment
integerRequired
inventory_item_id
integerRequired
location_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Apply fulfillment hold

Description

Applies a fulfillment hold to an open fulfillment order, halting all fulfillment work. Use when you need to pause fulfillment due to payment issues, fraud concerns, address problems, or inventory shortages. The fulfillment order status will change to on_hold, preventing any fulfillment work from proceeding until the hold is released.

Action Parameters

fulfillment_order_id
stringRequired
notify_merchant
reason
stringRequired
reason_notes

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Approves a comment

Description

Tool to approve a comment and publish it to the blog. Use when you need to approve pending comments.

Action Parameters

comment_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Bulk create products via GraphQL

Description

Creates many products (20-50+) in one asynchronous Shopify bulk mutation job. Uses stagedUploadsCreate for JSONL upload, then bulkOperationRunMutation with productCreate, polling until completion and returning per-row success/errors.

Action Parameters

max_poll_attempts
Defaults to 60
poll_interval_seconds
Defaults to 5
products
arrayRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Calculate a refund

Description

Tool to calculate refund transactions based on line items and shipping for a Shopify order. Use when you need to determine the refund amount before creating an actual refund. The response includes suggested_refund transactions that must be changed to 'refund' kind before submission.

Action Parameters

currency
order_id
stringRequired
refund_line_items
shipping

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Cancel a Fulfillment Order

Description

Tool to cancel a fulfillment order in Shopify. Use when you need to mark a fulfillment order as cancelled. Note that this cancels the order within Shopify but does not communicate the cancellation to the fulfillment service.

Action Parameters

fulfillment_order_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Cancel an order

Description

Cancels a Shopify order and optionally restocks items and sends email notifications. Use when canceling an order that has not yet been paid or fulfilled. Orders cannot be cancelled if payment status is already paid or if the order has existing fulfillments.

Action Parameters

amount
currency
email
order_id
integerRequired
reason
refund
restock

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Cancel a fulfillment

Description

Tool to cancel an existing fulfillment by ID. Use when a fulfillment needs to be cancelled and line items reverted to unfulfilled state. This action is irreversible.

Action Parameters

fulfillment_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Cancel fulfillment order

Description

Cancels a fulfillment order and creates a replacement order for remaining items. Use when you need to cancel an existing fulfillment order. The original order will be marked as closed, and a new open fulfillment order will be created for any remaining unfulfilled items.

Action Parameters

fulfillment_order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Cancel Order

Description

Tool to cancel an existing order in Shopify. Use when you need to cancel an order and optionally refund and restock items.

Action Parameters

amount
currency
email
order_id
stringRequired
reason
restock

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Close an order

Description

Closes an open Shopify order. Use when all line items have been fulfilled or canceled and all financial transactions are complete.

Action Parameters

order_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Close Order

Description

Closes an open order that has been fulfilled. Use when all line items have been fulfilled and all financial transactions are complete.

Action Parameters

order_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Complete a draft order

Description

Tool to complete a draft order in Shopify and transition it to an actual order. Use when you need to finalize a draft order, reserve inventory, and create a corresponding order. When completing with payment_pending=true, the payment gateway is set to Manual.

Action Parameters

draft_order_id
integerRequired
payment_pending

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count articles in blog

Description

Retrieves a count of all articles from a blog. Use when you need to know how many articles exist in a specific blog, optionally filtered by creation, publication, or update dates and publication status.

Action Parameters

blog_id
stringRequired
created_at_max
created_at_min
published_at_max
published_at_min
published_status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count fulfillments for order

Description

Retrieves a count of fulfillments associated with a specific order. Use when you need to determine how many fulfillments exist for an order, optionally filtered by creation or update dates.

Action Parameters

created_at_max
created_at_min
order_id
stringRequired
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count locations

Description

Retrieves the total count of locations in a Shopify store. Use when you need to determine how many physical or virtual locations are configured.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count blog metafields

Description

Retrieves a count of metafields attached to a blog. Use when you need to know how many metafields are associated with a specific blog resource.

Action Parameters

blog_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count orders

Description

Retrieves the count of orders in a Shopify store. Use when you need to know how many orders exist, optionally filtered by status, dates, financial status, fulfillment status, or attribution app. Note: Only the last 60 days' worth of orders are accessible by default unless the app has been granted the read_all_orders scope.

Action Parameters

attribution_app_id
created_at_max
created_at_min
financial_status
fulfillment_status
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count price rules

Description

Retrieves a count of all price rules. Use when you need to determine how many price rules (discount campaigns) are configured in the store.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count product images

Description

Retrieves the total count of images for a Shopify product, useful for inventory management or display logic; the provided `product_id` must exist in the store.

Action Parameters

product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count product variants

Description

Retrieves the total count of variants for a Shopify product. Use when you need to know how many variants exist for a specific product.

Action Parameters

product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count script tags

Description

Retrieves a count of all script tags. Use when you need to know how many script tags are configured, optionally filtered by URL.

Action Parameters

src

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count webhooks

Description

Retrieves a count of existing webhook subscriptions. Use when you need to know how many webhooks are configured, optionally filtered by address or topic.

Action Parameters

address
topic

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a metafield

Description

Tool to create a metafield for any Shopify resource. Use when you need to attach custom metadata to products, customers, orders, collections, or other supported resources.

Action Parameters

description
key
stringRequired
namespace
stringRequired
resource
stringRequired
resource_id
stringRequired
type
stringRequired
value
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a new blog

Description

Tool to create a new blog in Shopify. Use when you need to add a blog to the store for publishing articles and content. The title field is mandatory.

Action Parameters

commentable
handle
metafields
template_suffix
title
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a new draft order

Description

Tool to create a draft order in Shopify. Use when you need to create orders in draft state using product variant line items or custom line items. Draft orders are useful for creating orders on behalf of customers, generating invoices, or reserving inventory.

Action Parameters

applied_discount
billing_address
currency
customer_id
email
line_items
arrayRequired
note
note_attributes
shipping_address
shipping_line
tags
tax_exempt
use_customer_default_address

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a new page

Description

Tool to create a static web page in Shopify. Use when you need to add long-term static content like About Us, Contact, or Privacy Policy pages. The title and body_html fields are required.

Action Parameters

author
body_html
stringRequired
handle
metafields
published
published_at
template_suffix
title
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create A New Product Image

Description

Tool to create a new product image for a Shopify product. Use when you need to add an image to a product by providing either an image URL or base64-encoded image data. Products can have up to 250 images in PNG, GIF, or JPG formats.

Action Parameters

image
objectRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a new product variant

Description

Tool to create a new product variant for an existing product. Use when adding a new variant with specific option values (like size, color). Each product can have up to 3 options and 100 variants maximum.

Action Parameters

product_id
stringRequired
variant
objectRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create A New Webhook

Description

Tool to create a new webhook subscription by specifying both an address and a topic. Use when you need to set up notifications for specific events in a Shopify store. Both address and topic are mandatory parameters.

Action Parameters

address
stringRequired
fields
format
metafield_namespaces
topic
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Article

Description

Tool to create an article for a blog in Shopify. Use when you need to add blog content to a specific blog. The title field is mandatory - requests without titles return a 422 error.

Action Parameters

author
blog_id
stringRequired
body_html
image
metafields
published
published_at
summary_html
tags
title
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Comment for Article

Description

Tool to create a comment for an article in Shopify. Use when you need to add reader comments to blog articles. Requires 'content' access scope and protected customer data access.

Action Parameters

article_id
integerRequired
author
stringRequired
blog_id
integerRequired
body
stringRequired
email
stringRequired
ip

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Country

Description

Tool to create a country with tax configuration for the Shopify store. Use when you need to add a new country to the store's shipping or tax settings. Note: As of API version 2020-10, the tax field is deprecated.

Action Parameters

code
stringRequired
tax

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Country

Description

Tool to create a country with tax rate configuration in Shopify. Use when you need to add a new country to the store's tax settings.

Action Parameters

code
stringRequired
tax

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a custom collection

Description

Tool to create a new custom collection in Shopify. Use when you need to manually curate and group products for easier store browsing. Custom collections require a title and support optional fields like description, image, publication settings, and sort order.

Action Parameters

body_html
collects
handle
image
metafields
published
published_scope
sort_order
template_suffix
title
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Customer

Description

Tool to create a new customer in Shopify. Use when you need to add a new customer record to the store.

Action Parameters

addresses
email
stringRequired
first_name
last_name
note
password
password_confirmation
phone
send_email_invite
send_email_welcome
Defaults to True
tags
verified_email

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Generate Customer Account Activation URL

Description

Tool to generate an account activation URL for a customer whose account is not yet enabled. Use when importing customers in bulk and need to send activation emails. The URL is for one-time use and expires after 30 days. Generating a new URL invalidates any previously generated URL for the same customer.

Action Parameters

customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create customer address

Description

Tool to create a new address for a customer. Use when you need to add an address to an existing customer's address list.

Action Parameters

address
objectRequired
customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Fulfillment

Description

Tool to create a fulfillment for one or many fulfillment orders. Use when you need to fulfill line items in orders assigned to a merchant-managed location or third-party fulfillment service.

Action Parameters

line_items_by_fulfillment_order
arrayRequired
message
notify_customer
origin_address
tracking_info

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Fulfillment Event

Description

Tool to create a fulfillment event for tracking shipment status updates. Use when you need to update the tracking status of an order's fulfillment.

Action Parameters

address1
city
country
fulfillment_id
integerRequired
happened_at
latitude
longitude
message
order_id
integerRequired
province
status
stringRequired
zip

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Hold Fulfillment Order

Description

Tool to hold fulfillment of a Shopify fulfillment order. Use when you need to halt fulfillment work due to payment issues, fraud risk, address problems, or inventory shortages.

Action Parameters

fulfillment_hold
objectRequired
fulfillment_order_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Gift Card

Description

Tool to create a gift card for a Shopify store. Use when you need to issue a new gift card with a specified value. Requires write_gift_cards access scope. Gift card codes can only be retrieved at creation time.

Action Parameters

gift_card
objectRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Adjust inventory levels

Description

Tool to adjust the inventory level of an inventory item at a single location. Use when you need to increase or decrease stock quantities at a specific location.

Action Parameters

available_adjustment
integerRequired
inventory_item_id
integerRequired
location_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Connect inventory item to location

Description

Tool to connect an inventory item to a location by creating an inventory level. Use when you need to make an inventory item available at a specific location.

Action Parameters

inventory_item_id
integerRequired
location_id
integerRequired
relocate_if_necessary
boolean

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Set inventory level

Description

Tool to set inventory level for an item at a location. Use when you need to establish or update inventory quantity for a specific item at a designated location. If the location isn't already connected, the connection occurs automatically.

Action Parameters

available
integerRequired
disconnect_if_necessary
inventory_item_id
integerRequired
location_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create blog metafield

Description

Tool to create a metafield for a blog resource. Use when you need to attach additional information to Shopify blog resources.

Action Parameters

blog_id
stringRequired
description
key
stringRequired
namespace
stringRequired
type
stringRequired
value
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create metafield

Description

Tool to create a new metafield for a resource. Use when you need to attach additional information to Shopify resources like shops, products, customers, or collections.

Action Parameters

description
key
stringRequired
namespace
stringRequired
type
stringRequired
value
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create an order

Description

Tool to create a new order in Shopify without payment processing. Use when programmatically generating orders with line items, customer information, and addresses.

Action Parameters

billing_address
currency
customer
discount_codes
email
financial_status
fulfillment_status
inventory_behaviour
Defaults to bypass
line_items
arrayRequired
note
phone
send_fulfillment_receipt
send_receipt
shipping_address
shipping_lines
tags
total_tax
transactions

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create order risk

Description

Creates an order risk for an order in Shopify. Use when documenting fraud detection findings or assessing order risk levels. Note: This resource is deprecated as of version 2024-04; GraphQL Order Risk Assessment API is recommended.

Action Parameters

cause_cancel
display
message
order_id
stringRequired
recommendation
score
source

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create order refund

Description

Tool to create a refund for a Shopify order. Use the calculate endpoint to generate accurate transaction data before creating the refund. Requires order_id and transaction details including parent_id, amount, kind, and gateway. Note: For multi-currency orders, the currency property is required when amount is provided. Rate limited to 5 refunds per minute on development/trial stores.

Action Parameters

currency
discrepancy_reason
note
notify
order_id
stringRequired
refund_line_items
shipping
transactions
arrayRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Calculate order refund

Description

Tool to calculate refund transactions for a Shopify order before creating an actual refund. Use when you need to determine accurate refund amounts, taxes, and transaction details. Returns suggested transactions with kind='suggested_refund' which must be changed to kind='refund' to create an actual refund.

Action Parameters

currency
order_id
stringRequired
refund_line_items
shipping

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Price Rule

Description

Tool to create a price rule for applying discounts to orders. Use when you need to create a new discount that can be applied via discount codes at checkout.

Action Parameters

allocation_limit
allocation_method
stringRequired
customer_segment_prerequisite_ids
customer_selection
stringRequired
ends_at
entitled_collection_ids
entitled_country_ids
entitled_product_ids
entitled_variant_ids
once_per_customer
prerequisite_collection_ids
prerequisite_customer_ids
prerequisite_product_ids
prerequisite_quantity_range
prerequisite_shipping_price_range
prerequisite_subtotal_range
prerequisite_to_entitlement_quantity_ratio
prerequisite_variant_ids
starts_at
stringRequired
target_selection
stringRequired
target_type
stringRequired
title
stringRequired
usage_limit
value
stringRequired
value_type
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Discount Codes Batch

Description

Tool to create a discount code creation job for batch processing. Use when you need to asynchronously create up to 100 discount codes for a price rule in a single request.

Action Parameters

discount_codes
arrayRequired
price_rule_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Discount Code

Description

Tool to create a discount code for an existing price rule. Use when you need to generate a new discount code that customers can use at checkout.

Action Parameters

code
stringRequired
price_rule_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a product

Description

Creates a new product in a Shopify store; a product title is generally required.

Action Parameters

body_html
string
product_type
string
title
string
variants
array
vendor
string

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Product Image

Description

Tool to create a new product image for a given product. Use when you need to add an image to a product by providing the image source URL or attachment.

Action Parameters

image
objectRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create product metafield

Description

Creates a new metafield for a specific Shopify product.

Action Parameters

description
key
stringRequired
namespace
stringRequired
product_id
stringRequired
type
stringDefaults to single_line_text_field
value
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Redirect

Description

Tool to create a URL redirect in Shopify. Use when you need to redirect an old path to a new location. When a full URL is provided as the path, it will be saved as an absolute path without the domain.

Action Parameters

path
stringRequired
target
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a refund

Description

Creates a refund for a Shopify order. Use when you need to refund line items, shipping, or process refund transactions. For multi-currency orders, the currency field is required when specifying amounts.

Action Parameters

currency
discrepancy_reason
note
notify
order_id
integerRequired
refund_line_items
shipping
transactions

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Resource Feedback

Description

Tool to create shop resource feedback to notify merchants about required actions for app setup. Use when you need to inform merchants about setup steps or confirm successful configuration. Replaces previous feedback automatically.

Action Parameters

feedback_generated_at
stringRequired
messages
state
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Discount Code

Description

Tool to create a discount code for an existing price rule. Use when you need to generate a new discount code that customers can use at checkout.

Action Parameters

code
stringRequired
price_rule_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Creates A Fulfillment Event

Description

Tool to create a fulfillment event for tracking shipment status updates. Use when you need to update customers on delivery progress through the order status page.

Action Parameters

address1
city
country
fulfillment_id
integerRequired
happened_at
latitude
longitude
message
order_id
integerRequired
province
status
stringRequired
zip

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Gift Card

Description

Tool to create a new gift card in Shopify. Use when you need to issue a gift card with a specified initial value.

Action Parameters

code
customer_id
initial_value
stringRequired
note
template_suffix

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Marketing Event

Description

Tool to create a marketing event in Shopify to track promotional actions. Use when you need to track marketing campaigns targeting customers across various channels.

Action Parameters

budget
budget_type
currency
description
event_type
stringRequired
marketing_channel
stringRequired
paid
referring_domain
scheduled_to_end_at
started_at
stringRequired
utm_campaign
stringRequired
utm_medium
stringRequired
utm_source
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a new product

Description

Tool to create a new product in Shopify. Use when you need to add a new product to the store with details like title, description, variants, options, and images.

Action Parameters

body_html
images
metafields
options
product_type
published
status
tags
template_suffix
title
stringRequired
variants
vendor

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Price Rule

Description

Tool to create a price rule that defines discount logic for Shopify. Use when you need to set up discount rules for products or shipping.

Action Parameters

allocation_limit
allocation_method
stringRequired
customer_segment_prerequisite_ids
customer_selection
stringRequired
ends_at
entitled_collection_ids
entitled_country_ids
entitled_product_ids
entitled_variant_ids
once_per_customer
prerequisite_collection_ids
prerequisite_customer_ids
prerequisite_product_ids
prerequisite_quantity_range
prerequisite_shipping_price_range
prerequisite_subtotal_range
prerequisite_to_entitlement_purchase
prerequisite_to_entitlement_quantity_ratio
prerequisite_variant_ids
starts_at
stringRequired
target_selection
stringRequired
target_type
stringRequired
title
stringRequired
usage_limit
value
stringRequired
value_type
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Creates a Redirect

Description

Tool to create a URL redirect in Shopify. Use when you need to redirect an old path to a new location. When a full URL is provided as the path value, it will be saved as an absolute path without the domain.

Action Parameters

path
stringRequired
target
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Script Tag

Description

Tool to create a new script tag in Shopify. Use when you need to load remote JavaScript code into the storefront or order status page. The src parameter must be a valid HTTPS URL.

Action Parameters

cache
display_scope
event
stringRequired
src
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Marketing Event Engagements

Description

Tool to create engagement data for a marketing event in Shopify. Use when tracking customer interactions like views, clicks, and ad spend on marketing events before customers reach the website.

Action Parameters

engagements
arrayRequired
marketing_event_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create smart collection

Description

Tool to create a new smart collection in Shopify using specified rules. Use when you need to create a collection that automatically adds products based on conditions.

Action Parameters

body_html
disjunctive
handle
image
published
published_scope
rules
arrayRequired
sort_order
template_suffix
title
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Smart Collection

Description

Tool to create a new smart collection with automated product rules. Use when you need to create dynamic collections that automatically include products matching specific criteria (e.g., by vendor, price range, tags). Requires write_products scope.

Action Parameters

body_html
disjunctive
image
published
rules
arrayRequired
sort_order
template_suffix
title
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create or Update Theme Asset

Description

Tool to create or update an asset for a theme. Use when you need to add a new file or modify an existing file in a Shopify theme, such as templates, stylesheets, images, or scripts. Only one of value, attachment, src, or source_key should be provided per request.

Action Parameters

attachment
key
stringRequired
source_key
src
theme_id
stringRequired
value

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Storefront Access Token

Description

Tool to create a new storefront access token for unauthenticated Storefront API access. Use when you need to generate a public access token for the Shopify Storefront API. Maximum 100 active tokens per shop allowed.

Action Parameters

title
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Theme

Description

Tool to create a theme in Shopify by providing the public URL of a ZIP file. Use when you need to create a new theme from a ZIP file. A newly created theme defaults to unpublished status unless explicitly set to 'main'.

Action Parameters

name
stringRequired
role
src

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create transaction for order

Description

Creates a transaction for an order to process payment operations. Use when you need to authorize, capture, refund, void, or complete a sale for an order. For multi-currency orders, the currency field is required when creating refund and capture transactions.

Action Parameters

amount
authorization
currency
gateway
kind
stringRequired
order_id
stringRequired
parent_id
source_name
test

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create Webhook

Description

Tool to create a new webhook subscription in Shopify. Use when you need to set up notifications for specific events in a shop. Both address and topic parameters are mandatory; requests missing either will return a 422 error.

Action Parameters

address
stringRequired
fields
format
metafield_namespaces
topic
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a metafield by its ID

Description

Deletes a metafield by its ID from any Shopify resource. Use when you need to permanently remove a metafield from products, customers, orders, or other resources.

Action Parameters

metafield_id
stringRequired
resource
stringRequired
resource_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete an Article

Description

Deletes an article from a blog permanently. Use when you need to remove an article from a specific blog. This action is irreversible.

Action Parameters

article_id
stringRequired
blog_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete Article

Description

Tool to delete an article from a blog in Shopify. Use when you need to permanently remove blog content. This action is irreversible.

Action Parameters

article_id
stringRequired
blog_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete article from blog

Description

Tool to permanently delete an article from a blog in Shopify. Use when you need to remove blog content. This action is irreversible.

Action Parameters

article_id
stringRequired
blog_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove product from collection

Description

Removes a product from a collection by deleting the collect relationship. Use when you need to disconnect a specific product from a custom collection.

Action Parameters

collect_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete country

Description

Deletes a country from the shop's tax configuration. Use when you need to remove a country from the store's settings. Note: This REST API is deprecated and will be unsupported after July 1, 2025.

Action Parameters

country_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete custom collection

Description

Permanently deletes a custom collection from a Shopify store using its `collection_id`; this action is irreversible and requires a valid, existing `collection_id`.

Action Parameters

collection_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete customer address

Description

Removes an address from a customer's address list. Cannot delete the customer's default address - to delete a default address, first assign a different address as the default.

Action Parameters

address_id
stringRequired
customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete customer

Description

Deletes a customer from the Shopify store. Use when you need to permanently remove a customer who has no existing orders. Cannot delete customers with existing orders.

Action Parameters

customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete discount code

Description

Deletes a discount code from a price rule. Use when you need to remove a specific discount code associated with a price rule.

Action Parameters

discount_code_id
stringRequired
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete fulfillment event

Description

Tool to delete a fulfillment event from an order's fulfillment. Use when you need to remove a tracking event from a fulfillment. Note: This endpoint is deprecated; consider migrating to GraphQL Admin API.

Action Parameters

event_id
stringRequired
fulfillment_id
stringRequired
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete fulfillment service

Description

Tool to remove an existing fulfillment service from a Shopify store. Use when you need to permanently delete a fulfillment service.

Action Parameters

fulfillment_service_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete inventory levels

Description

Deletes an inventory level of an inventory item at a location. Deleting an inventory level removes that item from the specified location. Every inventory item must have at least one inventory level.

Action Parameters

inventory_item_id
stringRequired
location_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete metafield by ID

Description

Tool to delete a metafield by its ID. Use when you need to remove a metafield from any resource type without needing to specify the parent resource.

Action Parameters

metafield_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete an order

Description

Permanently deletes a specific order from a Shopify store using its unique order ID; this action is irreversible and requires write_orders access scope.

Action Parameters

order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete order risk

Description

Deletes an order risk for an order. Use when removing fraud risk assessments from orders. Note: Cannot delete risks created by other applications.

Action Parameters

order_id
stringRequired
risk_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a page

Description

Tool to delete a page from a Shopify store permanently. Use when you need to remove an existing page; this operation is irreversible and requires content access scope.

Action Parameters

page_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete price rule

Description

Deletes an existing price rule from the Shopify store. Use when you need to remove a specific price rule by its ID.

Action Parameters

price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a product

Description

Deletes a specific, existing product from a Shopify store using its unique product ID; this action is irreversible.

Action Parameters

id
string

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete product image

Description

Deletes a specific image from a product in Shopify, requiring the `product_id` of an existing product and the `image_id` of an image currently associated with that product.

Action Parameters

image_id
stringRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete product metafield

Description

Deletes a specific metafield from a Shopify product using the product ID and metafield ID.

Action Parameters

metafield_id
stringRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a redirect

Description

Deletes a URL redirect from the Shopify store. Use this when you need to remove an existing redirect by its unique identifier.

Action Parameters

redirect_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete redirect

Description

Tool to delete a URL redirect from Shopify store. Use when you need to permanently remove a redirect configuration.

Action Parameters

redirect_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a custom collection

Description

Tool to permanently delete a custom collection from a Shopify store. Use when you need to remove a custom collection that is no longer needed. This operation is irreversible and requires the 'write_products' access scope.

Action Parameters

custom_collection_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a customer

Description

Deletes a customer from the Shopify store. Use when you need to permanently remove a customer who has no existing orders. Cannot delete customers with existing orders.

Action Parameters

customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a discount code

Description

Tool to delete a discount code from a price rule. Use when you need to remove a specific discount code associated with a price rule.

Action Parameters

discount_code_id
stringRequired
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a marketing event

Description

Tool to delete a marketing event from Shopify. Use when you need to remove an existing marketing event from the system.

Action Parameters

marketing_event_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete theme asset

Description

Tool to delete an asset from a Shopify theme. Use when you need to remove a specific asset file (such as CSS, JavaScript, images, or template files) from a theme by providing the theme ID and asset key. Note that required theme assets like layout/theme.liquid cannot be deleted and will result in an error.

Action Parameters

asset_key
stringRequired
theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a product

Description

Tool to delete a product from a Shopify store. Use when you need to permanently remove a product. This action is irreversible and requires the write_products scope.

Action Parameters

product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete Script Tag

Description

Deletes a script tag from the store using its unique script tag ID. Use when you need to remove a previously installed script tag.

Action Parameters

script_tag_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete Script Tag

Description

Tool to delete a script tag from Shopify. Use when you need to remove an existing script tag from the store.

Action Parameters

script_tag_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete smart collection

Description

Permanently removes a smart collection from a Shopify store using its `smart_collection_id`; this action is irreversible and requires a valid, existing smart collection ID.

Action Parameters

smart_collection_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete Storefront Access Token

Description

Tool to delete an existing storefront access token from a Shopify store. Use when you need to permanently revoke access for a storefront access token. This operation is irreversible.

Action Parameters

storefront_access_token_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete theme

Description

Tool to delete a theme from the store. Use when you need to remove a theme. Note that a theme cannot be deleted while it is uploading, updating, or if it is the last published theme.

Action Parameters

theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete theme asset

Description

Deletes an asset from a theme. Use when you need to remove a specific asset file from a Shopify theme by providing the theme ID and asset key. Note that required theme assets like layout/theme.liquid cannot be deleted and will result in a 403 error.

Action Parameters

asset_key
stringRequired
theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete webhook subscription

Description

Tool to delete a webhook subscription from Shopify. Use when you need to remove an existing webhook. Only the app that registered the webhook can delete it; attempting to delete another app's webhook will return a 404 error.

Action Parameters

webhook_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete fulfillment event

Description

Deletes a fulfillment event from an order's fulfillment. Use this when you need to remove a tracking event from a fulfillment. Note: This endpoint is deprecated.

Action Parameters

event_id
stringRequired
fulfillment_id
stringRequired
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete blog metafield

Description

Deletes a metafield from a blog resource by its unique identifier. Use when you need to permanently remove a specific metafield attached to a blog.

Action Parameters

blog_id
stringRequired
metafield_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete order risk

Description

Deletes an order risk from an order. Only the application that created the risk can delete it - you cannot delete risks created by other applications.

Action Parameters

order_id
stringRequired
risk_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete Script Tag

Description

Tool to delete a script tag from Shopify. Use when you need to permanently remove a script tag from the store.

Action Parameters

script_tag_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove webhook

Description

Tool to remove an existing webhook subscription from Shopify. Use when you need to delete a webhook that is no longer needed. Only the app that registered the webhook can delete it.

Action Parameters

webhook_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Disable Gift Card

Description

Tool to permanently disable a gift card. Use when you need to irreversibly deactivate a gift card. This action cannot be undone.

Action Parameters

gift_card_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Disable a Gift Card

Description

Tool to disable a gift card in Shopify. Use when you need to permanently deactivate a gift card. WARNING: This operation is irreversible and the gift card cannot be re-enabled once disabled.

Action Parameters

gift_card_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get a list of access scopes

Description

Retrieves a list of access scopes associated with the access token. Use when you need to view the permissions that merchants have granted during app installation.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get All Customers

Description

Retrieves customer records from a Shopify store, with options for filtering, selecting specific fields, and paginating through the results.

Action Parameters

created_at_max
string
created_at_min
string
fields
string
ids
array
limit
integerDefaults to 50
since_id
string
updated_at_max
string
updated_at_min
string

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Application Charges

Description

Tool to retrieve a list of application charges for the app installation. Use when you need to view billing charges created for the application.

Action Parameters

fields
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get application credits

Description

Tool to retrieve all application credits for a shop. Use when you need to view credits issued to merchants that can be used towards future app purchases.

Action Parameters

fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Article

Description

Tool to retrieve a single article from a specified blog. Use when you need to access detailed information about a specific blog article.

Action Parameters

article_id
stringRequired
blog_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Batch Discount Codes

Description

Tool to retrieve discount codes from a batch creation job. Use when you need to check which codes were successfully created and which encountered errors during a bulk discount code creation process.

Action Parameters

batch_id
stringRequired
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get blog article tags

Description

Tool to retrieve a list of all article tags from a specific blog. Use when you need to get all unique tags that have been applied to articles in a particular blog, optionally sorted by popularity.

Action Parameters

blog_id
stringRequired
limit
popular

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get carrier services

Description

Tool to retrieve a list of carrier services for a Shopify store. Use when you need to view all active shipping carrier services configured in the shop.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get checkouts count

Description

Retrieves a count of abandoned checkouts from the past 90 days. Use when you need to know how many checkouts are abandoned, optionally filtered by date ranges or status.

Action Parameters

created_at_max
created_at_min
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get collect by ID

Description

Retrieves a specific collect by its ID. Use when you need to get details about a specific product-collection relationship.

Action Parameters

collect_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get collection by ID

Description

Retrieves a specific Shopify collection by its `collection_id`, optionally filtering returned data to specified `fields`.

Action Parameters

collection_id
stringRequired
fields
string

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get collects

Description

Retrieves a list of collects from a Shopify store, where a collect links a product to a custom collection.

Action Parameters

fields
string
limit
integerDefaults to 50
since_id
integer

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get collects count

Description

Retrieves a count of collects (product-collection relationships). Use when you need to know the total number of collects, optionally filtered by collection_id or product_id.

Action Parameters

collection_id
product_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get count of all price rules

Description

Retrieves a count of all price rules. Use when you need to determine how many price rules (discount campaigns) are configured in the store.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get count of comments

Description

Retrieves a count of comments. Use when you need to know how many comments exist, optionally filtered by article, blog, status, or date ranges.

Action Parameters

article_id
blog_id
created_at_max
created_at_min
published_at_max
published_at_min
published_status
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Countries

Description

Tool to retrieve a list of countries configured in the Shopify store with tax rates and provinces. Use when you need to get countries and their tax configuration for the store.

Action Parameters

fields
string
since_id
string

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get countries count

Description

Retrieves the count of countries configured in a Shopify store. Use when you need to determine how many countries are available in the store's tax and shipping settings.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get country by ID

Description

Tool to retrieve a specific country by its ID. Use when you need to get tax rates and province information for a country where the shop sells products.

Action Parameters

country_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get provinces for country

Description

Tool to retrieve a list of provinces for a specified country. Use when you need to get province information, tax rates, and shipping zones for a specific country.

Action Parameters

country_id
stringRequired
fields
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get provinces count for country

Description

Tool to retrieve a count of provinces for a country. Use when you need to determine how many provinces/states are configured for a specific country in the Shopify store.

Action Parameters

country_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get province by ID

Description

Tool to retrieve a single province for a country. Use when you need to get detailed information about a specific sub-region including tax information.

Action Parameters

country_id
stringRequired
fields
province_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get country

Description

Tool to retrieve a specific country by its ID from Shopify. Use when you need to get tax information, country details, and province-level tax rates for a particular country.

Action Parameters

country_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Currencies

Description

Tool to retrieve a list of currencies enabled on a Shopify store. Use when you need to get the currencies that are available for multi-currency transactions on the shop.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get custom collection by ID

Description

Retrieves a single custom collection by ID. Use when you need to fetch detailed information about a specific custom collection.

Action Parameters

custom_collection_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get custom collection by ID

Description

Tool to retrieve a single custom collection by its unique ID from Shopify. Use when you need to fetch detailed information about a specific custom collection.

Action Parameters

custom_collection_id
stringRequired
fields
string

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get custom collections

Description

Retrieves a list of custom collections from a Shopify store, optionally filtered by IDs, product ID, or handle.

Action Parameters

handle
string
ids
string
limit
integerDefaults to 50
product_id
integer

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get custom collections count

Description

Retrieves the total number of custom collections in a Shopify store.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Customer

Description

Retrieves detailed information for a specific customer from a Shopify store, provided their valid and existing `customer_id`.

Action Parameters

customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Customer Address

Description

Tool to retrieve details of a single customer address from Shopify. Use when you need to get complete information about a specific address for a customer, including address lines, city, province, country, postal code, and phone number.

Action Parameters

address_id
stringRequired
customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get customer orders

Description

Retrieves all orders for a specific, existing customer in Shopify using their unique customer ID.

Action Parameters

customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get customers count

Description

Retrieves a count of all customers. Use when you need to know the total number of customers, optionally filtered by creation or update dates.

Action Parameters

created_at_max
created_at_min
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Customer Addresses

Description

Tool to retrieve a list of all addresses for a specific customer. Use when you need to get all address information for a customer, including address lines, city, province, country, postal code, and phone number. Note: As of version 2019-10, this endpoint implements pagination via links provided in the response header.

Action Parameters

customer_id
stringRequired
limit

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Discount Code

Description

Retrieves a single discount code for a price rule. Use when you need to get details about a specific discount code including its usage count and timestamps.

Action Parameters

discount_code_id
stringRequired
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get discount codes count

Description

Retrieves a count of discount codes for a shop. Use when you need to know how many discount codes exist, optionally filtered by usage statistics.

Action Parameters

times_used
times_used_max
times_used_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Discount Code Location

Description

Tool to retrieve the location of a discount code by code name. Use when you need to find the URL endpoint for a specific discount code resource. The discount code's location is returned in the Location header as a 303 redirect.

Action Parameters

code
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get events list

Description

Tool to retrieve a list of events from Shopify store resources. Events are generated when certain actions are completed, such as creation of articles, order fulfillments, or product additions. Use when tracking activity on store resources. Note: Pagination is implemented using links in response headers (not page parameters).

Action Parameters

created_at_max
created_at_min
fields
filter
limit
since_id
verb

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get events count

Description

Retrieves a count of events in a Shopify store. Use when you need to determine how many events match specified date criteria.

Action Parameters

created_at_max
created_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get event by ID

Description

Tool to retrieve a single event by its ID. Events are generated by Shopify resources when certain actions are completed, such as creation of articles, order fulfillments, or product additions.

Action Parameters

event_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get fulfillments by fulfillment order

Description

Tool to retrieve fulfillments associated with a specific fulfillment order. Use when you need to get shipment tracking details, delivery status, and line items for fulfillments linked to a fulfillment order.

Action Parameters

fulfillment_order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Fulfillment Event

Description

Tool to retrieve a specific fulfillment event by ID. Use when you need to get detailed status and location information for a particular fulfillment tracking event.

Action Parameters

event_id
stringRequired
fulfillment_id
stringRequired
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get fulfillment events

Description

Tool to retrieve tracking events for a specific fulfillment. Use when you need to track shipment status updates displayed on the order status page.

Action Parameters

fulfillment_id
stringRequired
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get fulfillment orders for order

Description

Tool to retrieve all fulfillment orders for a specific order. Use when you need to check fulfillment status, assigned locations, or line items for an order.

Action Parameters

order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get fulfillment order locations for move

Description

Tool to retrieve locations that a fulfillment order can potentially move to. Use when you need to identify which locations are available for transferring a specific fulfillment order. The resulting list is sorted alphabetically in ascending order by location name.

Action Parameters

fulfillment_order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get fulfillment orders for order

Description

Retrieves a list of fulfillment orders for a specific order. Use when you need to get fulfillment order details including line items, delivery method, assigned location, and fulfillment status for a given order.

Action Parameters

include_financial_summaries
include_order_reference_fields
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get fulfillment order locations for move

Description

Tool to retrieve a list of locations that a fulfillment order can potentially move to. Use when you need to identify available destination locations for relocating a fulfillment order.

Action Parameters

fulfillment_order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get fulfillments count for order

Description

Tool to retrieve a count of fulfillments for a specific order. Use when you need to determine how many fulfillments exist for an order without fetching full fulfillment details.

Action Parameters

created_at_max
created_at_min
order_id
stringRequired
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Fulfillment Services

Description

Tool to retrieve a list of fulfillment services available on the Shopify store. Use when you need to get information about third-party warehouses that prepare and ship orders on behalf of the store owner.

Action Parameters

scope
Defaults to current_client

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Gift Card

Description

Retrieves a single gift card by its ID. Use when you need to get details about a specific gift card.

Action Parameters

gift_card_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Gift Card By ID

Description

Tool to retrieve a single gift card by its ID. Use when you need to fetch details of a specific gift card.

Action Parameters

gift_card_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Gift Cards

Description

Retrieves a list of gift cards from a Shopify store. Use when you need to access gift card information including balance, status, and customer associations. Note: As of version 2019-10, this endpoint implements pagination using links provided in the response header.

Action Parameters

fields
limit
since_id
status

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get gift cards count

Description

Retrieves a count of gift cards. Use when you need to know how many gift cards exist, optionally filtered by status (enabled/disabled).

Action Parameters

status

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Inventory Item

Description

Retrieves a single inventory item by ID. Use when you need to get detailed information about an inventory item including SKU, cost, tracking status, and shipping requirements.

Action Parameters

inventory_item_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Inventory Items

Description

Retrieves a list of inventory items by specified IDs. Use when you need to get inventory item details like SKU, cost, shipping requirements, and tracking status. Note: As of version 2019-10, pagination is implemented using links provided in response headers.

Action Parameters

ids
stringRequired
limit

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Inventory Levels

Description

Retrieves a list of inventory levels for specified items and locations. Use when you need to check inventory quantities at specific locations. At least one of inventory_item_ids or location_ids must be provided as a filter parameter.

Action Parameters

inventory_item_ids
limit
location_ids
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Inventory Levels For Location

Description

Retrieves a list of inventory levels for a specific location. Use when you need to check inventory quantities at a particular location. This endpoint implements cursor-based pagination via Link headers in the response.

Action Parameters

inventory_item_ids
limit
location_id
stringRequired
page_info
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get location

Description

Tool to retrieve a single location by its ID. Use when you need to get details about a specific physical or virtual place where inventory is stocked and orders are fulfilled.

Action Parameters

location_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single marketing event

Description

Tool to retrieve a single marketing event by its unique identifier. Use when you need to fetch detailed information about a specific marketing campaign or event.

Action Parameters

marketing_event_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get marketing events count

Description

Retrieves a count of all marketing events in the store. Use when you need to know the total number of marketing events.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get blog metafields

Description

Tool to retrieve a list of metafields from a blog resource. Use when you need to fetch metafields attached to a specific Shopify blog.

Action Parameters

blog_id
stringRequired
created_at_max
created_at_min
fields
key
limit
metafield_type
namespace
since_id
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get metafields

Description

Tool to retrieve a list of metafields. Use when you need to fetch metafields across resources or for specific resources by providing owner_id and owner_resource filters.

Action Parameters

created_at_max
created_at_min
fields
key
limit
metafield_owner_id
metafield_owner_resource
namespace
since_id
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get metafields count

Description

Retrieves the total count of metafields that belong to the shop resource. Use when you need to determine how many metafields are attached to the shop.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get metafield by ID

Description

Tool to retrieve a single metafield from a resource by its ID. Use when you need to fetch metafield details without knowing the parent resource.

Action Parameters

fields
metafield_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get order

Description

Retrieve a specific order using its unique identifier. Returns detailed order information including line items, customer data, addresses, financial status, fulfillment status, and more.

Action Parameters

fields
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get order list

Description

Retrieves a list of orders from Shopify with optional filters and pagination.

Action Parameters

attribution_app_id
created_at_max
created_at_min
fields
financial_status
fulfillment_status
ids
limit
name
page_info
processed_at_max
processed_at_min
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Order Risks

Description

Retrieves all fraud risk assessments for a specific order. Use when you need to check fraud risk indicators for an order. Only risks with display=true factor into Shopify's overall order risk calculation.

Action Parameters

order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get order risks

Description

Retrieves all order risk assessments for a specific order. Use when reviewing fraud detection findings for an order. Note: This REST API endpoint is deprecated as of version 2024-04; GraphQL Admin API is recommended for new applications.

Action Parameters

order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get order by id

Description

Retrieves a specific Shopify order by its unique ID, which must correspond to an existing order.

Action Parameters

fields
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get refunds for order

Description

Retrieves a list of refunds for a specific order. Use when you need to review refund history for an order. Note: Starting from API version 2019-10, this endpoint implements pagination via Link headers in the response rather than page parameters.

Action Parameters

fields
in_shop_currency
limit
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get specific refund for order

Description

Retrieves a specific refund by refund ID for an order. Use when you need detailed information about a particular refund.

Action Parameters

fields
in_shop_currency
order_id
stringRequired
refund_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get orders with filters

Description

Retrieves Shopify orders filtered by dates and other filters. Uses server-side filtering.

Action Parameters

attribution_app_id
created_at_max
created_at_min
fields
financial_status
fulfillment_status
ids
limit
name
page_info
processed_at_max
processed_at_min
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get order transactions count

Description

Tool to retrieve a count of an order's transactions in Shopify. Use when you need to know how many transactions (authorization, sale, capture, void, refund) are associated with a specific order without fetching the full transaction details.

Action Parameters

order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get page by ID

Description

Tool to retrieve a single Shopify page by its unique ID. Use when you need to fetch detailed information about a specific page.

Action Parameters

fields
page_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Policies

Description

Tool to retrieve a list of the shop's policies. Use when you need to view configured shop policies such as refund policy, privacy policy, or terms of service.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Price Rule

Description

Retrieves a single price rule by ID. Use when you need detailed discount configuration including value, target type, customer selection, and prerequisites.

Action Parameters

price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Batch Discount Code Creation Job

Description

Retrieves a discount code creation job status for a price rule. Use when you need to check the status of a bulk discount code creation job.

Action Parameters

batch_id
stringRequired
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Discount Codes for Price Rule

Description

Tool to retrieve a list of discount codes for a price rule. Use when you need to get all discount codes associated with a specific price rule. Note: As of version 2019-10, pagination is implemented via Link headers in the response.

Action Parameters

price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get product

Description

Retrieves details for an existing Shopify product using its unique product ID.

Action Parameters

product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get product image

Description

Tool to retrieve a single product image by ID for a specific product. Use when you need to get details about a specific image associated with a product.

Action Parameters

image_id
stringRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Product Images

Description

Retrieves all images for a Shopify product, specified by its `product_id` which must correspond to an existing product.

Action Parameters

fields
string
product_id
stringRequired
since_id
string

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get product metafield

Description

Retrieves a specific metafield for a Shopify product using the product ID and metafield ID.

Action Parameters

metafield_id
stringRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get product metafields

Description

Retrieves all metafields for a specific Shopify product. Metafields can be filtered by namespace and/or key.

Action Parameters

key
namespace
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get products

Description

Retrieves a list of products from a Shopify store.

Action Parameters

ids
string

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get products count

Description

Retrieves the total, unfiltered count of all products in a Shopify store.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get products in collection

Description

Retrieves all products within a specified Shopify collection, requiring a valid `collection_id`.

Action Parameters

collection_id
stringRequired
limit
integerDefaults to 50

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get products (paginated)

Description

Tool to list products with Shopify cursor-based pagination. Use when iterating over large product catalogs via the Link header.

Action Parameters

fields
limit
integerDefaults to 50
page_info

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get provinces count for country

Description

Retrieves a count of provinces for a country. Use when you need to determine how many provinces or states are configured for a specific country in Shopify.

Action Parameters

country_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get recurring application charges

Description

Tool to retrieve a list of recurring application charges for the app. Use when you need to view subscription charges, check billing status, or audit recurring payments.

Action Parameters

fields
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get redirects

Description

Tool to retrieve a list of URL redirects from a Shopify store. Use when you need to fetch URL redirect configurations, optionally filtered by path or target. Supports pagination via Link headers.

Action Parameters

fields
limit
path
since_id
target

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get redirects count

Description

Retrieves a count of URL redirects in the store. Use when you need to know how many URL redirects are configured, optionally filtered by path or target.

Action Parameters

path
target

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get redirect by ID

Description

Tool to retrieve a single redirect by its ID. Use when you need to get details about a specific URL redirect configuration in a Shopify store.

Action Parameters

fields
redirect_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get resource metafields count

Description

Retrieves the count of all metafields that belong to a particular resource. Use when you need to determine how many custom metadata entries exist for a specific resource without fetching the full list.

Action Parameters

resource_id
stringRequired
resource_type
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Script Tag

Description

Retrieves a single script tag by its ID. Use when you need to get details of a specific script tag configuration.

Action Parameters

fields
script_tag_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Shipping Zones

Description

Tool to retrieve all configured shipping zones with countries, provinces, tax rates, and shipping rates. Use when you need to view or analyze shipping configuration.

Action Parameters

fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Shop Details

Description

Retrieves comprehensive administrative information about the authenticated Shopify store, as defined by the Shopify API.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get smart collection by ID

Description

Tool to retrieve a single smart collection by its ID. Use when you need to get details about a specific smart collection including its rules, settings, and associated image.

Action Parameters

fields
smart_collection_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get smart collections

Description

Tool to retrieve a list of smart collections from a Shopify store. Use when you need to fetch smart collections with optional filtering by IDs, handle, title, product ID, publication status, or date ranges. Supports pagination via since_id parameter.

Action Parameters

fields
handle
ids
limit
integerDefaults to 50
product_id
published_at_max
published_at_min
published_status
since_id
title
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get smart collections count

Description

Tool to retrieve a count of smart collections in a Shopify store. Use when you need to know the total number of smart collections, optionally filtered by publication status, title, product association, handle, or date ranges.

Action Parameters

handle
product_id
published_at_max
published_at_min
published_status
title
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get storefront access tokens

Description

Retrieves a list of storefront access tokens that have been issued for the shop. Use when you need to view all active storefront access tokens and their permissions.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get tender transactions

Description

Tool to retrieve a list of tender transactions for orders. Use when you need to fetch payment transaction data from Shopify. Note: This endpoint implements pagination using links provided in the response header.

Action Parameters

limit
order
processed_at
processed_at_max
processed_at_min
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get themes

Description

Retrieves a list of themes from a Shopify store. Use when you need to access theme information including name, role, and metadata.

Action Parameters

fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get theme by ID

Description

Tool to retrieve a single theme by its ID. Use when you need to access detailed information about a specific theme.

Action Parameters

fields
theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Theme Asset

Description

Tool to retrieve a single asset for a theme by its key. Use when you need to fetch the content or metadata of a specific theme file such as templates, stylesheets, or scripts.

Action Parameters

asset_key
stringRequired
fields
theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Webhook

Description

Retrieves a single webhook subscription by its ID. Use when you need to get details of a specific webhook configuration.

Action Parameters

fields
webhook_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get webhooks count

Description

Retrieves a count of existing webhook subscriptions. Use when you need to know how many webhooks are configured, optionally filtered by address or topic.

Action Parameters

address
topic

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Execute Shopify GraphQL query

Description

Executes a GraphQL query against the Shopify Admin API. This allows for flexible data retrieval and mutations including metafields operations.

Action Parameters

query
stringRequired
variables

Action Response

data
error
errors
extensions
successful
booleanRequired

Tool Name: List abandoned checkouts

Description

Retrieves a list of abandoned checkouts from past 90 days with customer contact info. Use when you need to recover abandoned carts or analyze checkout abandonment.

Action Parameters

created_at_max
created_at_min
limit
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: List article authors

Description

Tool to retrieve a list of all article authors from the store. Use when you need to get all unique author names who have created articles across all blogs.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: List article tags

Description

Tool to retrieve a list of all article tags from the store. Use when you need to get all unique tags that have been applied to articles, optionally sorted by popularity.

Action Parameters

limit
popular

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: List locations

Description

Tool to retrieve a list of locations for a Shopify store. Use when you need to get physical or virtual places where inventory is stocked and orders are fulfilled.

Action Parameters

limit
integerDefaults to 50

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: List orders

Description

Retrieves a list of orders from Shopify with optional filtering by status, dates, and other criteria. Use when you need to fetch multiple orders with pagination and filtering support.

Action Parameters

attribution_app_id
created_at_max
created_at_min
fields
financial_status
fulfillment_status
ids
limit
page_info
processed_at_max
processed_at_min
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: List Price Rules

Description

Tool to retrieve a list of price rules from a Shopify store. Use when you need to view all discount pricing rules with optional filtering by date ranges, usage counts, and pagination.

Action Parameters

created_at_max
created_at_min
ends_at_max
ends_at_min
limit
since_id
starts_at_max
starts_at_min
times_used
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: List webhooks

Description

Tool to retrieve a list of webhooks for your Shopify shop. Use when you need to view all configured webhook subscriptions.

Action Parameters

address
created_at_max
created_at_min
fields
limit
since_id
topic
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Mark Comment as Not Spam

Description

Tool to mark a comment as not spam in Shopify, restoring it to published or unapproved state. Use when you need to remove spam designation from a comment.

Action Parameters

comment_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Mark Comment as Spam

Description

Tool to mark a comment as spam in Shopify. Use when you need to flag a comment as spam and remove it from visibility. When marked as spam, the comment status changes to 'spam', published_at is set to null, and it becomes invisible to blog readers.

Action Parameters

comment_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Modify Blog

Description

Tool to update an existing blog's properties including title, handle, comment settings, and metadata. Use when you need to modify blog configuration such as comment policy or display settings.

Action Parameters

blog_id
stringRequired
commentable
feedburner
feedburner_location
handle
metafields
template_suffix
title

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Modify an existing draft order

Description

Tool to update an existing draft order in Shopify. Use when you need to modify draft order details like customer information, line items, addresses, discounts, notes, or status before completion.

Action Parameters

allow_discount_codes_in_checkout
applied_discount
b2b
billing_address
customer
customer_id
draft_order_id
integerRequired
email
line_items
note
note_attributes
shipping_address
shipping_line
status
tags
tax_exempt
taxes_included
use_customer_default_address

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Modify an existing product variant

Description

Tool to update an existing product variant in Shopify. Use when you need to modify variant properties like price, SKU, weight, or inventory settings.

Action Parameters

barcode
compare_at_price
image_id
inventory_policy
option1
option2
option3
price
requires_shipping
sku
tax_code
taxable
variant_id
integerRequired
weight
weight_unit

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Modify existing theme

Description

Tool to update an existing theme's properties such as name or role. Use when you need to modify a theme. Note that a theme cannot be modified while uploading, updating, or if it's the last published theme.

Action Parameters

name
role
theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Modify existing webhook

Description

Tool to modify an existing webhook subscription's address or other properties. Use when you need to update webhook delivery URIs, data formats, or field filters. Note: the webhook topic cannot be changed after creation.

Action Parameters

address
fields
format
metafield_namespaces
webhook_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Modify Product Image

Description

Tool to modify an existing product image for a given product. Use when you need to update image properties like alt text, position, or variant associations.

Action Parameters

image
objectRequired
image_id
stringRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Move Fulfillment Order to New Location

Description

Tool to move a fulfillment order from one merchant managed location to another. Use when you need to relocate unfulfilled items to a different location. The operation will fail if the fulfillment order is closed or if the destination location has never stocked the requested inventory item.

Action Parameters

fulfillment_order_id
stringRequired
fulfillment_order_line_items
new_location_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Bulk operations on customer addresses

Description

Tool to perform bulk operations on multiple customer addresses in Shopify. Use when you need to execute operations like destroy on several addresses at once.

Action Parameters

address_ids
arrayRequired
customer_id
stringRequired
operation
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get blogs count

Description

Retrieves the total count of all blogs in a Shopify store. Use when you need to know how many blogs exist in the store.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get draft orders count

Description

Retrieves a count of draft orders from a Shopify store. Use when you need to know how many draft orders exist without fetching full draft order details. Supports filtering by status and date range to count specific subsets of draft orders.

Action Parameters

status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get product images count

Description

Retrieves the total count of images for a Shopify product. Use when you need to know how many images are associated with a specific product.

Action Parameters

product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a count of all webhooks

Description

Retrieves a count of existing webhook subscriptions. Use when you need to know how many webhooks are configured, optionally filtered by address or topic.

Action Parameters

address
topic

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a list of all countries

Description

Tool to retrieve a list of all countries where the merchant sells products with tax rates. Use when you need to access country-level tax configuration and regional settings. Note: This endpoint is deprecated as of API version 2024-07.

Action Parameters

fields
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a list of all FulfillmentServices

Description

Tool to retrieve a list of fulfillment services registered with a Shopify store. Use when you need to get information about fulfillment services that handle order fulfillment.

Action Parameters

scope
Defaults to current_client

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive A List Of All Product Images

Description

Tool to retrieve all images for a Shopify product. Use when you need to get the complete list of images associated with a specific product.

Action Parameters

product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a list of all resource feedbacks

Description

Tool to retrieve resource feedback objects from Shopify. Use when you need to check if there are any actions required to resolve errors or issues reported by the app. Returns zero or one feedback record per shop. Note that IDs are not returned, and records are immutable except when POST replaces them.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a list of all ShippingZones

Description

Tool to retrieve all shipping zones configured in a Shopify store. Use when you need to get shipping zone configurations including countries, rates, and carrier information.

Action Parameters

fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Single Blog

Description

Tool to retrieve a single blog by its unique identifier. Use when you need to access detailed information about a specific blog in the Shopify store.

Action Parameters

blog_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a single draft order

Description

Tool to retrieve detailed information for a specific draft order from a Shopify store. Use when you need to access a draft order's status, customer details, line items, pricing, or shipping information.

Action Parameters

draft_order_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a single fulfillment

Description

Tool to retrieve detailed information about a specific fulfillment for an order. Use when you need to check the status, tracking details, or line items of a fulfillment.

Action Parameters

fulfillment_id
stringRequired
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a single product variant

Description

Tool to retrieve a single product variant by its ID from Shopify. Use when you need detailed information about a specific product variant.

Action Parameters

fields
variant_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Receive a single webhook

Description

Tool to retrieve a single webhook subscription by its ID. Use when you need to get details of a specific webhook configuration.

Action Parameters

fields
webhook_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Release fulfillment hold

Description

Releases the fulfillment hold on a fulfillment order, allowing fulfillment work to proceed. Use when you need to resume fulfillment on an order that was previously placed on hold. The fulfillment order status will change from on_hold to open, and the fulfillment_holds array will be emptied.

Action Parameters

fulfillment_order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Release fulfillment order hold

Description

Tool to release all fulfillment holds on a fulfillment order. Use when you need to resume fulfillment work after holds have been resolved.

Action Parameters

fulfillment_order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a blog

Description

Permanently deletes a blog from a Shopify store using its `blog_id`; this action is irreversible and requires the 'content' access scope.

Action Parameters

blog_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove an existing country

Description

Removes a country from the store's tax configuration. Use when you need to delete a country from the available countries list.

Action Parameters

country_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete a draft order

Description

Tool to delete a draft order from Shopify. Use when you need to remove an existing draft order permanently.

Action Parameters

draft_order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove fulfillment service

Description

Tool to remove an existing fulfillment service from a Shopify store. Use when you need to permanently delete a third-party fulfillment service.

Action Parameters

fulfillment_service_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove an existing price rule

Description

Deletes a price rule from the Shopify store. Use when you need to remove a specific price rule by its unique identifier.

Action Parameters

price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove an existing product image

Description

Tool to remove an existing product image from a Shopify product. Use when you need to delete a specific image associated with a product by providing both the product_id and image_id.

Action Parameters

image_id
stringRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove an existing theme

Description

Tool to delete a theme from the Shopify store. Use when you need to remove a theme. Note: Cannot delete while theme is uploading/updating or if it's the last published theme.

Action Parameters

theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove webhook subscription

Description

Tool to delete a webhook subscription from Shopify. Use when you need to remove an existing webhook subscription. Only the app that created the webhook can delete it.

Action Parameters

webhook_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove product from collection

Description

Removes a product from a custom collection by deleting the collect. Use when you need to unlink a specific product from a custom collection using the collect ID.

Action Parameters

collect_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove product variant

Description

Deletes a specific product variant from a Shopify store using its unique product ID and variant ID; this action is irreversible. Use when you need to permanently remove a variant from a product.

Action Parameters

product_id
stringRequired
variant_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove a comment

Description

Tool to remove a comment from a Shopify blog. Use when you need to hide a comment from blog readers while preserving the data. The comment status will be changed to 'removed'.

Action Parameters

comment_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Remove a smart collection

Description

Permanently deletes a smart collection from a Shopify store using its `smart_collection_id`; this action is irreversible and requires a valid, existing `smart_collection_id`.

Action Parameters

smart_collection_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Reopen a closed order

Description

Reopens a previously closed Shopify order. Use when an order needs to be modified after being closed.

Action Parameters

order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Reopen closed order

Description

Reopens a previously closed Shopify order. Use when an order needs to be reactivated after closure.

Action Parameters

order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Restore Comment

Description

Restores a previously removed comment, changing its status back to 'published'. Use when you need to reactivate a comment that was removed.

Action Parameters

comment_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a list of all blogs

Description

Tool to retrieve a list of all blogs from a Shopify store. Use when you need to get blog information, list available blogs, or paginate through blogs using since_id.

Action Parameters

fields
handle
limit
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a specific metafield

Description

Tool to retrieve a metafield by specifying the ID. Use when you need to fetch a specific metafield from any Shopify resource (products, customers, orders, etc.).

Action Parameters

fields
metafield_id
stringRequired
resource_id
resource_type
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get resource metafields

Description

Tool to retrieve metafields attached to any Shopify resource by using the resource's endpoint. Use when you need to fetch metafields for a specific resource instance (products, customers, orders, collections, etc.).

Action Parameters

created_at_max
created_at_min
fields
key
limit
metafield_type
namespace
resource
stringRequired
resource_id
stringRequired
since_id
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve products in collection

Description

Tool to retrieve a list of products belonging to a collection. Use when you need to fetch products from a specific Shopify collection. Implements cursor-based pagination via Link headers (as of version 2019-10).

Action Parameters

collection_id
stringRequired
fields
limit
Defaults to 50
page_info
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Count articles in blog

Description

Retrieves a count of all articles from a blog. Use when you need to know how many articles exist in a specific blog, optionally filtered by creation, publication, or update dates and publication status.

Action Parameters

blog_id
stringRequired
created_at_max
created_at_min
published_at_max
published_at_min
published_status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a count of all script tags

Description

Retrieves a count of all script tags. Use when you need to know the total number of script tags configured in the Shopify store.

Action Parameters

src

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get checkouts count

Description

Retrieves a count of abandoned checkouts from the past 90 days. Use when you need to know how many checkouts were abandoned, optionally filtered by date range or status.

Action Parameters

created_at_max
created_at_min
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve count of custom collections

Description

Retrieves a count of custom collections with optional filters. Use when you need to know how many custom collections exist in the store, optionally filtered by product, publication status, or date ranges.

Action Parameters

product_id
published_at_max
published_at_min
published_status
title
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve customer count

Description

Retrieves a count of all customers in a Shopify store. Use when you need to get the total number of customers, optionally filtered by creation or update date ranges.

Action Parameters

created_at_max
created_at_min
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a count of events

Description

Retrieves a count of events in a Shopify store. Use when you need to determine how many events match specified date criteria.

Action Parameters

created_at_max
created_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a count of gift cards

Description

Retrieves the total count of gift cards in the store. Use when you need to know how many gift cards exist, optionally filtered by enabled or disabled status.

Action Parameters

status

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a count of locations

Description

Retrieves a count of locations. Use when you need to determine how many physical or virtual locations are configured in the Shopify store.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a count of products

Description

Tool to retrieve a count of products in the Shopify store. Use when you need to get the total number of products, optionally filtered by collection, vendor, product type, status, or date ranges.

Action Parameters

collection_id
created_at_max
created_at_min
product_type
published_at_max
published_at_min
published_status
status
updated_at_max
updated_at_min
vendor

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve Inventory Items by IDs

Description

Tool to retrieve detailed list of inventory items by specified IDs. Use when you need to get inventory item details like SKU, cost, tracking status, and shipping requirements for multiple items. Note: This endpoint implements pagination using links provided in response headers.

Action Parameters

ids
stringRequired
limit

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve Discount Code Creation Job

Description

Tool to retrieve the status and details of a discount code creation job for a specific price rule. Use when you need to check the progress or completion status of a batch discount code creation operation.

Action Parameters

batch_id
stringRequired
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve abandoned checkouts

Description

Tool to retrieve a list of abandoned checkouts from Shopify. Use when you need to access abandoned checkout data for recovery campaigns or analytics. Note: As of version 2019-10, this endpoint implements pagination by using links provided in the response header.

Action Parameters

created_at_max
created_at_min
limit
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve Customer Addresses

Description

Tool to retrieve a list of addresses for a customer. Use when you need to get all address information for a customer. As of version 2019-10, this endpoint implements pagination by using links provided in the response header.

Action Parameters

customer_id
stringRequired
limit

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of all article authors

Description

Tool to retrieve a list of all article authors from the store. Use when you need to get all unique author names who have created articles across all blogs.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve list of articles from blog

Description

Retrieves a list of all articles from a blog. Use when you need to access articles from a specific blog, with optional filtering by author, dates, or publication status. Pagination is implemented via response header links as of version 2019-10.

Action Parameters

author
blog_id
stringRequired
created_at_max
created_at_min
fields
handle
limit
published_at_max
published_at_min
published_status
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of all article tags

Description

Tool to retrieve all article tags across the Shopify shop. Use when you need to get a list of tags used in blog articles, optionally limited by count or ordered by popularity.

Action Parameters

limit
popular

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve all marketing events

Description

Tool to retrieve a list of all marketing events from Shopify. Use when you need to access marketing campaign data including ads, posts, newsletters, and other marketing activities. Note: As of version 2019-10, this endpoint implements pagination using links in the response header.

Action Parameters

limit
offset

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve all script tags

Description

Retrieves a list of all script tags. Use when you need to fetch all script tags or filter by URL, date range, or other criteria. Supports pagination via response headers (link-based pagination as of API version 2019-10).

Action Parameters

created_at_max
created_at_min
fields
limit
since_id
src
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: List Theme Assets

Description

Tool to retrieve a list of assets for a theme. Use when you need to fetch metadata about all theme files. Returns only metadata; to get an asset's actual content, retrieve the asset individually.

Action Parameters

fields
theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve carrier services

Description

Tool to retrieve a list of active carrier services. Use when you need to view all configured carrier services for shipping rate calculations.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve list of collects

Description

Tool to retrieve a list of collects (product-collection associations). Use when you need to find which products belong to which custom collections.

Action Parameters

collection_id
fields
limit
Defaults to 50
product_id
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a list of comments

Description

Tool to retrieve a list of comments from Shopify. Use when you need to get comments with optional filtering by dates, status, or pagination.

Action Parameters

created_at_max
created_at_min
fields
limit
published_at_max
published_at_min
published_status
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of currencies enabled on a shop

Description

Retrieves a list of currencies enabled on a shop. Use when you need to view which currencies are available for multi-currency transactions.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve custom collections

Description

Tool to retrieve a list of custom collections from Shopify. Use when you need to query collections with filtering options like handle, title, publication status, or date ranges.

Action Parameters

fields
handle
ids
limit
Defaults to 50
product_id
published_at_max
published_at_min
published_status
since_id
title
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of customers

Description

Tool to retrieve a list of customers from a Shopify store. Use when you need to fetch customer data with optional filtering by IDs, creation dates, update dates, or account status. Supports pagination using cursor-based navigation via page_info parameter.

Action Parameters

created_at_max
created_at_min
fields
ids
limit
Defaults to 50
page_info
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve List of Discount Codes

Description

Tool to retrieve a list of discount codes for a price rule. Use when you need to get discount codes associated with a specific price rule. As of version 2019-10, this endpoint implements pagination by using links that are provided in the response header.

Action Parameters

fields
limit
page_info
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve list of draft orders

Description

Tool to retrieve a list of draft orders from Shopify. Use when you need to fetch draft orders with optional filtering by status, IDs, or update dates. Supports pagination via since_id and limit parameters. Note: As of version 2019-10, this endpoint implements pagination by using links provided in the response header.

Action Parameters

fields
ids
limit
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of events

Description

Tool to retrieve a list of events from Shopify store resources. Use when tracking activity on store resources such as creation of articles, order fulfillments, or product additions. Pagination is implemented using links in response headers.

Action Parameters

created_at_max
created_at_min
fields
filter
limit
since_id
verb

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of gift cards

Description

Tool to retrieve a list of gift cards from Shopify. Use when you need to fetch gift cards with optional filtering by status and pagination support.

Action Parameters

fields
limit
integerDefaults to 50
since_id
status

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a List of Inventory Levels

Description

Retrieves a list of inventory levels for specified items and locations. Use when you need to check inventory quantities at specific locations. At least one of inventory_item_ids or location_ids must be provided as a filter parameter.

Action Parameters

inventory_item_ids
limit
location_ids
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of locations

Description

Tool to retrieve a list of locations for a Shopify store. Use when you need to get physical or virtual places where inventory is stocked and orders are fulfilled.

Action Parameters

limit

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of orders

Description

Retrieves a list of orders from Shopify. Use when you need to fetch multiple orders with optional filtering by status, financial status, fulfillment status, or date ranges.

Action Parameters

attribution_app_id
created_at_max
created_at_min
fields
financial_status
fulfillment_status
ids
limit
processed_at_max
processed_at_min
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve list of pages

Description

Tool to retrieve a list of all pages from a Shopify store. Use when you need to fetch page content or metadata. As of version 2019-10, this endpoint implements pagination via response header links.

Action Parameters

created_at_max
created_at_min
fields
handle
limit
published_at_max
published_at_min
published_status
since_id
title
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Price Rules List

Description

Tool to retrieve a list of price rules from a Shopify store. Use when you need to view all discount pricing rules with optional filtering by date ranges and usage. Note: As of version 2019-10, pagination is implemented via Link headers in the response.

Action Parameters

created_at_max
created_at_min
ends_at_max
ends_at_min
limit
since_id
starts_at_max
starts_at_min
times_used
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a list of products

Description

Tool to retrieve a list of products from Shopify. Use when you need to fetch products with filtering options like status, vendor, product type, or date ranges. Supports pagination with limit and since_id parameters.

Action Parameters

collection_id
created_at_max
created_at_min
fields
handle
ids
limit
presentment_currencies
product_type
published_at_max
published_at_min
since_id
status
updated_at_max
updated_at_min
vendor

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get product variants

Description

Tool to retrieve all variants for a specified product. Use when you need to list product variants with optional filtering by fields or pagination. Note: As of API version 2019-10, pagination is implemented via Link headers in the response.

Action Parameters

fields
limit
presentment_currencies
product_id
integerRequired
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve refunds for order

Description

Tool to retrieve a list of refunds for a Shopify order. Use when you need to check refund history for a specific order.

Action Parameters

fields
in_shop_currency
limit
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get smart collections

Description

Tool to retrieve a list of smart collections from a Shopify store. Use when you need to get smart collections with optional filtering by handle, product, dates, or publication status.

Action Parameters

fields
handle
ids
limit
Defaults to 50
product_id
published_at_max
published_at_min
published_status
since_id
title
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve list of tender transactions

Description

Tool to retrieve a list of tender transactions from Shopify. Use when you need to fetch payment transactions between merchant and customers. Tender transactions represent money passing between the merchant and a customer (positive = payment to merchant, negative = refund from merchant).

Action Parameters

limit
order
processed_at
processed_at_max
processed_at_min
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of the shop’s policies

Description

Retrieves a list of the shop's policies including refund, privacy, and other merchant-configured policies. Use when you need to view or display store policies.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve order transactions

Description

Retrieves all transactions for a specific order. Use when you need to view payment exchanges for an order. Transactions include authorization, sale, capture, void, and refund types.

Action Parameters

fields
in_shop_currency
order_id
stringRequired
since_id

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get list of URL redirects

Description

Tool to retrieve a list of URL redirects from the store. Use when you need to see all configured URL redirects, optionally filtered by path or target. Supports pagination via since_id parameter.

Action Parameters

fields
limit
path
since_id
target

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves a list of webhooks

Description

Tool to retrieve a list of webhook subscriptions for a Shopify shop. Use when you need to view all configured webhook subscriptions or filter webhooks by specific criteria such as topic, address, or creation date.

Action Parameters

address
created_at_max
created_at_min
fields
limit
since_id
topic
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves all application credits

Description

Tool to retrieve all application credits issued to a shop by your app. Use when you need to view credits that can be applied towards future app purchases.

Action Parameters

fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve customer orders

Description

Tool to retrieve all orders belonging to a specific customer. Use when you need to get the order history for a customer using their customer ID.

Action Parameters

created_at_max
created_at_min
customer_id
stringRequired
fields
financial_status
fulfillment_status
limit
processed_at_max
processed_at_min
since_id
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves an order count

Description

Retrieves the count of orders matching specified filters. Use when you need to know how many orders exist with specific criteria (status, dates, financial status, etc.).

Action Parameters

attribution_app_id
created_at_max
created_at_min
financial_status
fulfillment_status
ids
processed_at_max
processed_at_min
status
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve page count

Description

Tool to retrieve the total count of pages in a Shopify store. Use when you need to determine how many pages exist, optionally filtered by creation date, update date, publication date, publication status, or title.

Action Parameters

created_at_max
created_at_min
published_at_max
published_at_min
published_status
title
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single collection

Description

Tool to retrieve a single collection from Shopify by its collection ID. Use when you need to fetch detailed information about a specific collection including its title, description, images, and settings.

Action Parameters

collection_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single customer

Description

Tool to retrieve a single customer by their unique identifier. Use when you need to fetch detailed information about a specific customer.

Action Parameters

customer_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single event

Description

Tool to retrieve a single event by its ID. Use when you need detailed information about a specific event in Shopify. Events are generated by Shopify resources when certain actions are completed.

Action Parameters

event_id
stringRequired
fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single location by its ID

Description

Tool to retrieve a single location by its ID. Use when you need to fetch details about a specific physical or virtual place where inventory is stocked and orders are fulfilled.

Action Parameters

location_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get order risk by ID

Description

Retrieves a single order risk by its ID. Use when fetching a specific risk assessment for an order. Note: This REST API endpoint is deprecated as of API version 2024-04; consider migrating to the GraphQL Risk Assessments API.

Action Parameters

order_id
stringRequired
risk_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve Single Price Rule

Description

Retrieves a single price rule by its unique identifier. Use when you need to get detailed information about a specific discount rule including its value, target type, customer selection, prerequisites, and entitlements.

Action Parameters

price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single product

Description

Retrieves a single product by its unique product ID. Use when you need to get detailed information about a specific product including its variants, images, and options.

Action Parameters

fields
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Get Province for Country

Description

Tool to retrieve a single province for a country. Use when you need details about a specific province/state including tax rates and shipping information.

Action Parameters

country_id
stringRequired
fields
province_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single redirect

Description

Tool to retrieve a single redirect by its ID. Use when you need to get details about a specific URL redirect configuration in a Shopify store.

Action Parameters

fields
redirect_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single smart collection

Description

Tool to retrieve a single smart collection by its ID from Shopify. Use when you need to get detailed information about a specific smart collection including its rules, products ordering, and metadata. Requires read_products access scope.

Action Parameters

fields
smart_collection_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a single theme

Description

Tool to retrieve a single Shopify theme by its ID. Use when you need to get details about a specific theme such as its name, role, or processing status.

Action Parameters

fields
theme_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve Specific Fulfillment Event

Description

Tool to retrieve a specific fulfillment event by ID. Use when you need tracking event details including location, status, and timestamp information for a fulfillment.

Action Parameters

event_id
stringRequired
fulfillment_id
stringRequired
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a specific order

Description

Tool to retrieve a specific Shopify order by its unique identifier. Use when you need to fetch detailed information about a single order.

Action Parameters

fields
order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a specific refund

Description

Retrieves a specific refund by ID for a given order. Use when you need detailed information about a particular refund transaction.

Action Parameters

fields
in_shop_currency
order_id
stringRequired
refund_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve a specific transaction

Description

Tool to retrieve a specific transaction for an order. Use when you need to get detailed information about a payment transaction. Transactions in multi-currency orders are in presentment currency by default; use in_shop_currency parameter to get shop currency.

Action Parameters

fields
in_shop_currency
order_id
stringRequired
transaction_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve customer address details

Description

Tool to retrieve details of a single customer address from Shopify. Use when you need to get complete information about a specific address for a customer.

Action Parameters

address_id
stringRequired
customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieves fulfillments by fulfillment order

Description

Tool to retrieve all fulfillments connected to a specific fulfillment order. Use when you need to get shipment tracking details, delivery status, and line items for fulfillments linked to a fulfillment order.

Action Parameters

fulfillment_order_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve order fulfillments

Description

Tool to retrieve fulfillments associated with a Shopify order. Use when you need to get delivery tracking information, shipment status, or fulfillment details for a specific order.

Action Parameters

created_at_max
created_at_min
fields
limit
order_id
stringRequired
since_id
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: List article tags from blog

Description

Tool to retrieve a list of all article tags from a specific blog. Use when you need to get all unique tags that have been applied to articles within a particular blog, optionally sorted by popularity.

Action Parameters

blog_id
stringRequired
limit
popular

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve Discount Codes for Batch Job

Description

Tool to retrieve a list of discount codes for a discount code creation job. Use when you need to check the status of a batch discount code creation job and see which codes were successfully created and which encountered errors.

Action Parameters

batch_id
stringRequired
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve storefront access tokens

Description

Retrieves a list of storefront access tokens that have been issued for the shop. Use when you need to view all active storefront access tokens and their associated permissions.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve specific fulfillment order

Description

Tool to retrieve a specific fulfillment order by its ID. Use when you need detailed information about a particular fulfillment order including line items, destination, and status.

Action Parameters

fulfillment_order_id
stringRequired
include_financial_summaries
include_order_reference_fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve Shop Configuration

Description

Tool to retrieve the shop's configuration and general business settings. Use when you need to access shop information such as name, domain, timezone, currency, contact details, or plan information.

Action Parameters

fields

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Search Customers

Description

Tool to search for customers that match a supplied query. Use when you need to find customers based on specific criteria like email, name, order count, or other attributes using Shopify's search syntax.

Action Parameters

fields
string
limit
integerDefaults to 50
page_info
string
query
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Search for gift cards

Description

Tool to search for gift cards that match a supplied query. Use when you need to find specific gift cards based on their properties like balance, email, last characters, or creation date. Searchable fields include: created_at, updated_at, disabled_at, balance, initial_value, amount_spent, email, and last_characters.

Action Parameters

created_at_max
created_at_min
fields
limit
order
query
stringRequired
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Send an invoice

Description

Tool to send an invoice email for a draft order to a customer. Use when you need to email an invoice to a customer for a specific draft order.

Action Parameters

draft_order_id
stringRequired
draft_order_invoice

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Send Customer Account Invite

Description

Tool to send an account invite email to a customer. Use when you need to enable customers to create or activate their accounts. The invite can be customized with personalized messaging or sent with default settings.

Action Parameters

bcc
custom_message
customer_id
stringRequired
from
subject
to

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Send Account Invite to Customer

Description

Tool to send an account invite email to a customer. Use when you need to enable customers to create accounts or activate disabled accounts through email notifications.

Action Parameters

bcc
custom_message
customer_id
stringRequired
from
subject
to

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Set Default Customer Address

Description

Tool to set a specific address as the default address for a customer. Use when you need to mark an address as default for tax and shipping calculations. The default address cannot be deleted.

Action Parameters

address_id
stringRequired
customer_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Set Fulfillment Orders Deadline

Description

Tool to set the latest fulfillment deadline for multiple fulfillment orders. Use when you need to update deadline for one or more fulfillment orders.

Action Parameters

fulfillment_deadline
stringRequired
fulfillment_order_ids
arrayRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Set inventory level for inventory item

Description

Tool to set inventory level for an item at a location. Use when you need to establish or update inventory quantity for a specific item at a designated location. If the location isn't already connected, the connection occurs automatically.

Action Parameters

available
integerRequired
disconnect_if_necessary
inventory_item_id
integerRequired
location_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Create a shop metafield

Description

Tool to create a new metafield for a shop or resource. Use when you need to attach additional custom data to Shopify resources.

Action Parameters

description
key
stringRequired
namespace
stringRequired
type
stringRequired
value
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Delete metafield by ID

Description

Tool to delete a metafield by its ID. Use when you need to permanently remove a metafield from the Shopify store.

Action Parameters

metafield_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve metafield by ID

Description

Tool to retrieve a metafield by its ID directly. Use when you know the metafield ID and need to fetch its details without specifying the resource type or owner.

Action Parameters

fields
metafield_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Retrieve metafields from resource endpoint

Description

Tool to retrieve a list of metafields attached to resources. Use when you need to fetch metafields that can be filtered by namespace, key, type, and date ranges.

Action Parameters

created_at_max
created_at_min
fields
key
limit
namespace
since_id
type
updated_at_max
updated_at_min

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update a metafield

Description

Tool to update an existing Shopify metafield's value and type. Use when you need to modify metafield data for any Shopify resource.

Action Parameters

metafield_id
stringRequired
type
stringRequired
value
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update an Existing Gift Card

Description

Tool to update an existing gift card. Use when you need to modify a gift card's expiry date, note, template suffix, or customer ID. Only expiry_on, note, template_suffix, and customer_id can be updated. Customer ID can only be set if currently null.

Action Parameters

customer_id
expires_on
gift_card_id
integerRequired
note
template_suffix

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Article

Description

Tool to update an existing article in a Shopify blog. Use when you need to modify article properties such as title, content, tags, or publication status.

Action Parameters

article_id
stringRequired
author
blog_id
stringRequired
body_html
image
metafields
published
published_at
summary_html
tags
title

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Comment

Description

Tool to update an existing comment on a blog article in Shopify. Use when you need to modify comment properties such as body text, author, or publication date.

Action Parameters

author
body
comment_id
stringRequired
email
published_at

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Country

Description

Tool to update an existing country's tax configuration in Shopify. Use when modifying country tax settings. CAUTION: As of API version 2020-10, the tax field is deprecated and custom tax values can no longer be created or updated.

Action Parameters

country_id
stringRequired
tax

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Province

Description

Tool to update tax information for a province within a country. Use when you need to modify tax_name, tax_type, or tax rate for a specific province. Note: The tax field is deprecated as of API version 2020-10.

Action Parameters

country_id
stringRequired
id
integerRequired
province_id
stringRequired
tax
tax_name
tax_type

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Country

Description

Tool to update an existing country's tax configuration in Shopify. Use when you need to modify tax settings for a country. Note: This action is DEPRECATED as of 2024-07, and custom tax values cannot be created or updated as of 2020-10.

Action Parameters

country_id
integerRequired
tax

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update custom collection

Description

Tool to update an existing custom collection in Shopify. Use when you need to modify properties of a custom collection such as title, description, publication status, or sorting order.

Action Parameters

body_html
custom_collection_id
stringRequired
handle
image
published
published_at
published_scope
sort_order
template_suffix
title

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update custom collection

Description

Updates an existing custom collection in Shopify. Use when modifying collection properties like title, description, image, or publication status.

Action Parameters

body_html
custom_collection_id
stringRequired
handle
image
published
sort_order
template_suffix
title

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Customer Address

Description

Tool to update an existing customer address in Shopify. Use when you need to modify address details for a customer.

Action Parameters

address1
address2
address_id
stringRequired
city
company
country
customer_id
stringRequired
first_name
last_name
phone
province
zip

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Customer

Description

Tool to update an existing customer in Shopify. Use when you need to modify customer details such as name, email, phone, tags, or marketing consent.

Action Parameters

addresses
customer_id
stringRequired
email
email_marketing_consent
first_name
last_name
multipass_identifier
note
phone
sms_marketing_consent
tags
tax_exempt
tax_exemptions
verified_email

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Bulk operations on customer addresses

Description

Tool to perform bulk operations on multiple customer addresses in Shopify. Use when you need to execute operations like destroy on several addresses at once.

Action Parameters

address_ids
arrayRequired
customer_id
stringRequired
operation
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Discount Code

Description

Tool to update an existing discount code for a price rule. Use when you need to modify a discount code's properties.

Action Parameters

code
discount_code_id
integerRequired
price_rule_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Fulfillment Tracking

Description

Tool to update tracking information for a fulfillment. Use when you need to modify tracking details (carrier, number, URL) after fulfillment creation and optionally notify customers.

Action Parameters

fulfillment
objectRequired
fulfillment_id
Required

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Gift Card

Description

Tool to update an existing gift card in Shopify. Use when you need to modify gift card details such as expiry date, note, or template suffix. The gift card's balance cannot be changed via the API.

Action Parameters

expires_on
gift_card_id
stringRequired
note
template_suffix

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update inventory item

Description

Tool to update an existing inventory item in Shopify. Use when you need to modify properties like SKU, cost, or origin codes.

Action Parameters

inventory_item
objectRequired
inventory_item_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update blog metafield

Description

Tool to update an existing metafield for a blog. Use when you need to modify metafield properties like value, type, or description for a blog resource.

Action Parameters

blog_id
stringRequired
description
metafield_id
stringRequired
type
value

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update metafield by ID

Description

Tool to update an existing Shopify metafield by its ID. Use when you need to modify metafield properties like value, type, or description.

Action Parameters

description
metafield_id
stringRequired
type
value

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Order

Description

Updates the phone number for an existing Shopify order, identified by its ID; pass `phone=None` to remove the current phone number.

Action Parameters

id
integerRequired
phone

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update order risk

Description

Updates an order risk assessment for fraud detection in Shopify. Use when modifying existing risk evaluations. Note: You cannot modify a risk created by another application. This resource is deprecated as of version 2024-04.

Action Parameters

cause_cancel
message
order_id
stringRequired
recommendation
risk_id
stringRequired
score
source

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Page

Description

Tool to update an existing page in a Shopify store. Use when you need to modify page properties such as title, content, or publication status.

Action Parameters

author
body_html
handle
page_id
stringRequired
published
template_suffix
title

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Price Rule

Description

Tool to update an existing price rule (discount) in Shopify. Use when you need to modify price rule properties like title, value, dates, or prerequisites. Only fields provided in the request will be updated; omitted fields remain unchanged.

Action Parameters

allocation_limit
allocation_method
customer_segment_prerequisite_ids
customer_selection
ends_at
entitled_collection_ids
entitled_country_ids
entitled_product_ids
entitled_variant_ids
once_per_customer
prerequisite_collection_ids
prerequisite_customer_ids
prerequisite_product_ids
prerequisite_quantity_range
prerequisite_shipping_price_range
prerequisite_subtotal_range
prerequisite_to_entitlement_purchase
prerequisite_to_entitlement_quantity_ratio
prerequisite_variant_ids
price_rule_id
integerRequired
starts_at
target_selection
target_type
title
usage_limit
value
value_type

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Product Image

Description

Tool to modify an existing product image. Use when you need to update image properties such as position, alt text, or variant associations.

Action Parameters

image
objectRequired
image_id
stringRequired
product_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update product metafield

Description

Updates an existing metafield for a specific Shopify product.

Action Parameters

description
metafield_id
stringRequired
product_id
stringRequired
type
value

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Product

Description

Tool to update an existing Shopify product including its variants and images. Use when you need to modify product details, variants, options, images, or SEO metadata.

Action Parameters

body_html
images
metafields
metafields_global_description_tag
metafields_global_title_tag
options
product_id
stringRequired
product_type
published_at
published_scope
status
tags
template_suffix
title
variants
vendor

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update redirect

Description

Tool to update an existing Shopify redirect. Use when you need to modify the path or target of a redirect. At least one of path or target must be provided.

Action Parameters

path
redirect_id
stringRequired
target

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Customer

Description

Tool to update an existing customer in Shopify. Use when you need to modify customer details such as name, email, phone, tags, addresses, or marketing consent preferences.

Action Parameters

addresses
customer_id
stringRequired
email
email_marketing_consent
first_name
last_name
multipass_identifier
note
phone
send_email_invite
send_email_welcome
sms_marketing_consent
tags
tax_exempt
tax_exemptions
verified_email

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Marketing Event

Description

Tool to update an existing marketing event in Shopify. Use when you need to modify campaign details like budget, description, or timeline.

Action Parameters

budget
budget_type
currency
description
ended_at
event_type
manage_url
marketing_channel
marketing_event_id
stringRequired
paid
preview_url
referring_domain
remote_id
scheduled_to_end_at
started_at
utm_campaign
utm_medium
utm_source

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update a metafield

Description

Tool to update an existing metafield for any Shopify resource type. Use when you need to modify metafield properties like value, type, or description for products, customers, orders, collections, or other resources.

Action Parameters

description
metafield_id
stringRequired
resource_id
stringRequired
resource_type
stringRequired
type
value

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Updates An Article

Description

Tool to update an existing article in a Shopify blog. Use when you need to modify article properties such as title, body content, tags, author, or publication status.

Action Parameters

article_id
stringRequired
author
blog_id
stringRequired
body_html
image
metafields
published
published_at
summary_html
tags
template_suffix
title

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Updates An Existing Discount Code

Description

Tool to update an existing discount code for a price rule. Use when you need to modify the code value of an existing discount code.

Action Parameters

code
stringRequired
discount_code_id
stringRequired
price_rule_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Province for Country

Description

Tool to update an existing province for a country in Shopify. Use when you need to modify province tax rates, names, codes, or shipping zone assignments.

Action Parameters

code
country_id
integerRequired
name
province_id
integerRequired
shipping_zone_id
tax
tax_name
tax_percentage
tax_type

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update redirect

Description

Tool to update an existing Shopify redirect. Use when you need to modify the path or target of a redirect.

Action Parameters

path
redirect_id
stringRequired
target

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Order

Description

Updates limited attributes of an existing Shopify order. Use when you need to modify order notes, tags, email, phone, or addresses. IMPORTANT: After order creation, you can only change note, tags, email, phone, and addresses via REST API. Line items, quantities, and pricing CANNOT be changed.

Action Parameters

billing_address
email
note
order_id
integerRequired
phone
shipping_address
tags

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update a product

Description

Updates a product and its variants and images. Use when modifying existing product details, pricing, variants, images, or SEO information.

Action Parameters

body_html
handle
images
metafields_global_description_tag
metafields_global_title_tag
options
product_id
stringRequired
product_type
published_at
published_scope
status
tags
template_suffix
title
variants
vendor

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Script Tag

Description

Tool to modify an existing script tag in Shopify. Use when you need to update script properties like the source URL, display scope, or caching behavior.

Action Parameters

cache
display_scope
event
script_tag_id
stringRequired
src

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update Smart Collection

Description

Tool to update an existing smart collection. Use when you need to modify a smart collection's properties, rules, or settings.

Action Parameters

body_html
disjunctive
handle
image
published
published_at
published_scope
rules
smart_collection_id
stringRequired
sort_order
template_suffix
title

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update smart collection product order

Description

Tool to update the ordering of products in a smart collection. Use when you need to manually reorder products within a collection. The collection's sort_order must be set to 'manual' for this to work.

Action Parameters

products
arrayRequired
smart_collection_id
integerRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update smart collection

Description

Tool to update an existing smart collection. Use when you need to modify smart collection properties like title, rules, or settings.

Action Parameters

body_html
disjunctive
handle
image
published_at
rules
smart_collection_id
stringRequired
sort_order
template_suffix
title

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Update webhook

Description

Tool to modify an existing Shopify webhook subscription. Use when you need to update webhook attributes like destination address, event topic, data format, or field filters.

Action Parameters

address
fields
format
metafield_namespaces
topic
webhook_id
stringRequired

Action Response

data
objectRequired
error
successful
booleanRequired

Tool Name: Validate Access

Description

Diagnoses authorization issues by retrieving granted OAuth scopes and validating token authenticity. Use when troubleshooting 401/403 errors to determine if the issue is an invalid token or missing permissions.

Action Parameters

Action Response

data
objectRequired
error
successful
booleanRequired