# Shopify

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

- **Category:** ecommerce
- **Auth:** API_KEY, OAUTH2
- **Tools:** 404
- **Triggers:** 0
- **Slug:** `SHOPIFY`
- **Version:** 20260217_00

## Frequently Asked Questions

### How do I set up custom OAuth credentials for Shopify?

For a step-by-step guide on creating and configuring your own Shopify OAuth credentials with Devcaster, see [How to create OAuth credentials for Shopify](https://devcaster.dev/auth/shopify).

### Why am I seeing "App not found" when connecting Shopify?

The default Shopify OAuth app may be under review or expired. Use your own OAuth app or API authentication method until the default is restored.

---

## Tools

### Add product to custom collection

**Slug:** `SHOPIFY_ADD_PRODUCT_TO_COLLECTION`

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

### Add product to custom collection

**Slug:** `SHOPIFY_ADDS_A_PRODUCT_TO_A_CUSTOM_COLLECTION`

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.

### Adjust inventory level at location

**Slug:** `SHOPIFY_ADJUSTS_INVENTORY_LEVEL_INVENTORY_ITEM_AT_LOCATION`

Adjusts the inventory level of an inventory item at a specific location by adding or removing units. This endpoint performs relative adjustments (e.g., +5 to add 5 units, -3 to remove 3 units) rather than setting absolute values. Use this when you need to update stock after receiving shipments, processing returns, or making other inventory corrections. Only works with tracked inventory items - untracked items will return an error. Both the inventory_item_id and location_id must exist or the operation will fail.

### Apply fulfillment hold

**Slug:** `SHOPIFY_APPLY_FULFILLMENT_HOLD`

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.

### Approve a comment

**Slug:** `SHOPIFY_APPROVES_A_COMMENT`

Approves a pending comment and publishes it to a blog article, making it publicly visible to readers. This action changes the comment's status from 'pending' or 'unapproved' to 'published' and sets the published_at timestamp. Use this when moderating blog comments that require approval before appearing on the storefront. Requires the 'write_content' scope.

### Bulk create products via GraphQL

**Slug:** `SHOPIFY_BULK_CREATE_PRODUCTS`

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.

### Run Shopify bulk query operation

**Slug:** `SHOPIFY_BULK_QUERY_OPERATION`

Tool to run a Shopify GraphQL bulk query operation and return the result file URL and operation metadata. Use when you need to retrieve large datasets (thousands of records) from Shopify without manual pagination, such as bulk fetching products, orders, customers, or inventory. The query must include at least one connection (edges/nodes structure). This action polls the operation status until completion or timeout.

### Calculate a refund

**Slug:** `SHOPIFY_CALCULATE_REFUND`

Calculate accurate refund amounts, taxes, and transactions for a Shopify order before creating an actual refund. Use this action to: - Preview refund calculations for line items with accurate tax breakdowns - Determine shipping refund amounts and maximum refundable values - Get suggested transactions that can be used to create the actual refund The response includes transactions with kind='suggested_refund' which must be changed to kind='refund' before creating an actual refund using the create refund endpoint.

### Cancel a Fulfillment Order

**Slug:** `SHOPIFY_CANCEL_A_FULFILLMENT_ORDER`

Cancels a fulfillment order in Shopify and marks it as closed. This creates a replacement fulfillment order with the same line items, allowing reassignment to a different location. Use this for merchant-managed fulfillments. For third-party fulfillment services, use the cancellation request endpoints instead. This endpoint immediately cancels the order without requiring acceptance from a fulfillment service.

### Cancel an order

**Slug:** `SHOPIFY_CANCEL_AN_ORDER`

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.

### Cancel a fulfillment

**Slug:** `SHOPIFY_CANCEL_FULFILLMENT`

Cancels an existing fulfillment by its ID, reverting all line items to an unfulfilled state. Use this when a fulfillment was created in error or needs to be redone. The cancellation is permanent and cannot be undone - the line items will return to the unfulfilled state and a new fulfillment must be created if needed. Only fulfillments that haven't been shipped or are in certain states can be cancelled.

### Cancel fulfillment order

**Slug:** `SHOPIFY_CANCEL_FULFILLMENT_ORDER`

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.

### Cancel Order

**Slug:** `SHOPIFY_CANCEL_ORDER`

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

### Close an order

**Slug:** `SHOPIFY_CLOSE_AN_ORDER`

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

### Close Order

**Slug:** `SHOPIFY_CLOSE_ORDER`

Closes an open order. Use to mark an order as complete and archived. The order will be closed and the closed_at timestamp will be set.

### Complete a draft order

**Slug:** `SHOPIFY_COMPLETE_A_DRAFT_ORDER`

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.

### Count articles in blog

**Slug:** `SHOPIFY_COUNT_ARTICLE`

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.

### Count fulfillments for order

**Slug:** `SHOPIFY_COUNT_FULFILLMENT`

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.

### Count locations

**Slug:** `SHOPIFY_COUNT_LOCATION`

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

### Count resource metafields

**Slug:** `SHOPIFY_COUNT_METAFIELD`

Retrieves the count of metafields attached to a Shopify resource (products, blogs, collections, customers, orders, etc.). Use this when you need to know how many metafields are associated with a resource without retrieving the full list. Returns only the total count, making it efficient for checking if metafields exist or monitoring metafield usage.

### Count orders

**Slug:** `SHOPIFY_COUNT_ORDER`

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.

### Count price rules

**Slug:** `SHOPIFY_COUNT_PRICERULE`

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

### Count product images

**Slug:** `SHOPIFY_COUNT_PRODUCT_IMAGES`

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

### Count product variants

**Slug:** `SHOPIFY_COUNT_PRODUCT_VARIANTS`

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

### Count script tags

**Slug:** `SHOPIFY_COUNT_SCRIPTTAG`

Retrieves a count of all script tags in the shop. Script tags are remote JavaScript files that are loaded into the pages of a shop's storefront or checkout. Use this action to determine the total number of script tags, optionally filtered by a specific source URL. Note: This endpoint is part of the legacy REST Admin API (deprecated). The Shopify GraphQL Admin API should be used for new integrations.

### Count webhooks

**Slug:** `SHOPIFY_COUNT_WEBHOOK`

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

### Create a metafield

**Slug:** `SHOPIFY_CREATE_A_METAFIELD`

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.

### Create a new blog

**Slug:** `SHOPIFY_CREATE_A_NEW_BLOG`

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.

### Create a new draft order

**Slug:** `SHOPIFY_CREATE_A_NEW_DRAFTORDER`

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.

### Create a new page

**Slug:** `SHOPIFY_CREATE_A_NEW_PAGE`

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.

### Create A New Product Image

**Slug:** `SHOPIFY_CREATE_A_NEW_PRODUCT_IMAGE`

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.

### Create a new product variant

**Slug:** `SHOPIFY_CREATE_A_NEW_PRODUCT_VARIANT`

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.

### Create A New Webhook

**Slug:** `SHOPIFY_CREATE_A_NEW_WEBHOOK`

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.

### Create Article

**Slug:** `SHOPIFY_CREATE_ARTICLE`

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.

### Create Comment for Article

**Slug:** `SHOPIFY_CREATE_COMMENT_FOR_ARTICLE`

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.

### Create Country

**Slug:** `SHOPIFY_CREATE_COUNTRIES`

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. **Important Notes:** - The REST Country API is deprecated as of API version 2024-07 - This action requires merchant approval for the 'write_shipping' scope - The 'tax' field is deprecated as of API version 2020-10 and custom tax values can no longer be created or updated - For new implementations, consider using the GraphQL Admin API's "Countries in shipping zone" endpoint instead

### Create Country

**Slug:** `SHOPIFY_CREATE_COUNTRY`

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.

### Create a custom collection

**Slug:** `SHOPIFY_CREATE_CUSTOM_COLLECTION`

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.

### Create Customer

**Slug:** `SHOPIFY_CREATE_CUSTOMER`

Create a new customer in Shopify. Use to add a customer record to the store with contact details, addresses, and marketing preferences. Requires at least one of: email, phone, or both first_name and last_name.

### Generate Customer Account Activation URL

**Slug:** `SHOPIFY_CREATE_CUSTOMER_ACCOUNT_ACTIVATION_URL`

Generate a one-time account activation URL for a customer whose account is in 'disabled' state (not yet activated). Use this when you've imported customers and need activation URLs to send in welcome emails. The URL allows customers to set their password and activate their account. Each URL expires after 30 days. Generating a new URL invalidates any previously generated URL for that customer.

### Create customer address

**Slug:** `SHOPIFY_CREATE_CUSTOMER_ADDRESS`

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

### Create Fulfillment

**Slug:** `SHOPIFY_CREATE_FULFILLMENT`

Creates a fulfillment for one or many fulfillment orders for a specific order. This completes the shipping process by marking items as fulfilled. IMPORTANT: You must first retrieve fulfillment orders using a "Get fulfillment orders for order" action to obtain the fulfillment_order_id and line item IDs needed for this action. Use when: You need to mark order items as shipped/fulfilled for orders assigned to merchant-managed locations or third-party fulfillment services. Note: As of API version 2024-10, fulfillments can only be created for merchant-managed locations or third-party fulfillment services owned by your app.

### Create Fulfillment Event

**Slug:** `SHOPIFY_CREATE_FULFILLMENT_EVENT`

Creates a tracking event for a fulfillment to update shipment status. These events appear on the customer's order status page to track delivery progress (e.g., "in_transit", "out_for_delivery", "delivered"). Use this to provide real-time tracking updates from shipping carriers. Requires an existing fulfillment - use after creating a fulfillment for an order.

### Apply Hold to Fulfillment Order

**Slug:** `SHOPIFY_CREATE_FULFILLMENT_ORDER`

Apply a hold on an existing fulfillment order to temporarily pause fulfillment. Use when payment is pending, fraud risk is high, address is incorrect, inventory is unavailable, or for other operational reasons. IMPORTANT: Fulfillment orders are auto-created by Shopify when orders are placed. This action does NOT create fulfillment orders - it holds existing ones. First get fulfillment order IDs via 'Get fulfillment orders for order' action, then use this to apply holds. After holding, status becomes 'on_hold' and can be released later.

### Create Gift Card

**Slug:** `SHOPIFY_CREATE_GIFT_CARDS`

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.

### Adjust inventory levels

**Slug:** `SHOPIFY_CREATE_INVENTORY_LEVELS_ADJUST`

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.

### Connect inventory item to location

**Slug:** `SHOPIFY_CREATE_INVENTORY_LEVELS_CONNECT`

Connects an inventory item to a location, establishing where the item can be stocked and fulfilled. This creates an inventory level with an initial available quantity of 0. Use this when you need to enable a product variant to be stocked at a new location. After connecting, use the 'set' or 'adjust' inventory level actions to update quantities.

### Set inventory level

**Slug:** `SHOPIFY_CREATE_INVENTORY_LEVELS_SET`

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. The inventory item must have inventory tracking enabled before setting inventory levels.

### Create blog metafield

**Slug:** `SHOPIFY_CREATE_METAFIELD`

Creates a new metafield for a Shopify blog. Metafields store additional custom information (metadata) on blog resources such as sponsor names, SEO keywords, publication dates, or custom attributes not included in standard blog fields.

### Create metafield

**Slug:** `SHOPIFY_CREATE_METAFIELDS`

Creates a shop-level metafield. Metafields allow you to store additional custom data for your shop, such as configuration settings, custom attributes, or any other key-value data. Note: This endpoint creates metafields attached to the shop itself. To create metafields for specific resources like products, customers, or orders, use resource-specific metafield endpoints (e.g., /products/{id}/metafields.json).

### Create an order

**Slug:** `SHOPIFY_CREATE_ORDER`

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

### Create order risk

**Slug:** `SHOPIFY_CREATE_ORDER_RISK`

Creates a risk assessment record for a Shopify order, documenting fraud detection findings or security concerns. Use this to record risk evaluations from external fraud detection systems or internal risk analysis tools. **Important:** This REST API endpoint is deprecated as of API version 2024-04. For new implementations, use the GraphQL orderRiskAssessmentCreate mutation instead. See: https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderRiskAssessmentCreate **Common use cases:** - Recording fraud detection results from third-party services (e.g., MaxMind, Sift, Signifyd) - Documenting manual fraud reviews - Flagging high-risk orders for merchant review

### Create order refund

**Slug:** `SHOPIFY_CREATE_ORDERS_PARAM_ORDER_ID_REFUNDS`

Creates a refund for a Shopify order. **IMPORTANT: You must call the calculate refund endpoint (SHOPIFY_CREATE_ORDERS_REFUNDS_CALCULATE) first** to generate accurate transaction data with kind='suggested_refund', then change kind to 'refund' before using this action. Requires order_id and transaction details (parent_id, amount, kind='refund', gateway). For multi-currency orders, currency is required. Rate limit: 5 refunds/minute on dev/trial stores.

### Calculate order refund

**Slug:** `SHOPIFY_CREATE_ORDERS_REFUNDS_CALCULATE`

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.

### Create Price Rule

**Slug:** `SHOPIFY_CREATE_PRICE_RULE`

Creates a price rule that defines discount logic for Shopify orders. Price rules specify how discounts work (percentage/fixed amount off, which products, which customers, etc.) and can be associated with discount codes for use at checkout. Common use cases: - Percentage off all products (e.g., 20% off sitewide) - Fixed amount off orders (e.g., $10 off orders over $50) - Buy X Get Y (BXGY) discounts - Free shipping offers - Customer segment-specific discounts Note: After creating a price rule, use the discount code creation endpoint to generate codes that customers can apply.

### Create Discount Codes Batch

**Slug:** `SHOPIFY_CREATE_PRICE_RULES_PARAM_PRICE_RULE_ID_BATCH`

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.

### Create Discount Code

**Slug:** `SHOPIFY_CREATE_PRICE_RULES_PARAM_PRICE_RULE_ID_DISCOUNT`

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.

### Create a product

**Slug:** `SHOPIFY_CREATE_PRODUCT`

Creates a new product in a Shopify store; a product title is generally required. Note: The Product REST API is deprecated as of API version 2024-04. While it continues to function, Shopify recommends migrating to the GraphQL Admin API for product management in new implementations. Inventory Management: inventory_quantity is read-only and cannot be set during product creation. To manage inventory, first create the product, then use the InventoryLevel resource with the variant's inventory_item_id (returned in the response) to adjust quantities at specific locations.

### Create Product Image

**Slug:** `SHOPIFY_CREATE_PRODUCT_IMAGE`

Creates a new product image for a Shopify product. Use this tool to add images to products either by providing a publicly accessible image URL (src) or by uploading base64-encoded image data (attachment). You can specify the image position (1 is the main image), add alt text for accessibility, and associate the image with specific product variants. Supports PNG, JPG, and GIF formats. Products can have up to 250 images.

### Create product metafield

**Slug:** `SHOPIFY_CREATE_PRODUCT_METAFIELD`

Creates a new metafield for a specific Shopify product.

### Create Redirect

**Slug:** `SHOPIFY_CREATE_REDIRECTS`

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.

### Create a refund

**Slug:** `SHOPIFY_CREATE_REFUND`

Creates a refund for a Shopify order. IMPORTANT: Before creating a refund, use the calculate refund endpoint to generate accurate transaction data. This ensures proper refund amounts and transaction details. Use this action to: - Refund specific line items with quantity and restock options - Refund shipping costs (full or partial) - Process refund transactions through payment gateways - Handle multi-currency refunds (currency field required when amount is specified) Rate Limit: Development/trial stores limited to 5 refunds per minute. Access Scopes Required: write_orders or marketplace_orders

### Create Resource Feedback

**Slug:** `SHOPIFY_CREATE_RESOURCE_FEEDBACK`

Creates shop-level resource feedback to notify Shopify merchants about app setup requirements or successful configuration. Feedback appears on the merchant's admin home screen. Each new submission automatically replaces previous feedback. Use state='requires_action' to alert merchants about mandatory setup steps, or state='success' to confirm proper configuration.

### Create Discount Code

**Slug:** `SHOPIFY_CREATES_A_DISCOUNT_CODE`

Creates a discount code for an existing price rule. Price rules define the discount logic (e.g., 10% off, buy X get Y), and discount codes are the actual codes (e.g., 'SUMMER10') customers enter at checkout. Important: The price rule must exist before creating a discount code - use a price rule creation action first if needed. Each price rule can have multiple discount codes associated with it. Use this when you need to generate customer-facing discount codes for an established discount promotion.

### Creates A Fulfillment Event

**Slug:** `SHOPIFY_CREATES_A_FULFILLMENT_EVENT`

Creates a tracking event for a fulfillment to update shipment status. These events appear on the customer's order status page to track delivery progress (e.g., "in_transit", "out_for_delivery", "delivered"). Use this to provide real-time tracking updates from shipping carriers. Requires an existing fulfillment - use after creating a fulfillment for an order.

### Create Gift Card

**Slug:** `SHOPIFY_CREATES_A_GIFT_CARD`

Creates a new gift card in Shopify with a specified initial value. Use this action to issue gift cards for promotions, customer rewards, or scheduled sending. Supports custom codes, expiration dates, and personalized messages. Important: The full gift card code is only returned upon creation and cannot be retrieved later via the API—only the last 4 characters remain accessible. Note: This endpoint requires the 'write_gift_cards' scope which must be requested from Shopify Support.

### Create Marketing Event

**Slug:** `SHOPIFY_CREATES_A_MARKETING_EVENT`

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.

### Create a new product

**Slug:** `SHOPIFY_CREATES_A_NEW_PRODUCT`

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.

### Create Price Rule

**Slug:** `SHOPIFY_CREATES_A_PRICE_RULE`

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.

### Creates a Redirect

**Slug:** `SHOPIFY_CREATES_A_REDIRECT`

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.

### Create Script Tag

**Slug:** `SHOPIFY_CREATE_SCRIPTTAG`

Create a new script tag in Shopify to load remote JavaScript into your online store. Script tags allow you to add custom functionality to your storefront by loading external JavaScript files. Requires 'write_script_tags' OAuth scope. Note: As of February 1, 2025, creating script tags for order status pages is blocked by Shopify. Use 'online_store' display_scope for storefront functionality.

### Create Marketing Event Engagements

**Slug:** `SHOPIFY_CREATES_MARKETING_ENGAGEMENTS_ON_A_MARKETING_EVENT`

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.

### Create smart collection

**Slug:** `SHOPIFY_CREATE_SMART_COLLECTION`

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.

### Create Smart Collection

**Slug:** `SHOPIFY_CREATE_SMART_COLLECTIONS`

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.

### Create or Update Theme Asset

**Slug:** `SHOPIFY_CREATES_OR_UPDATES_AN_ASSET_FOR_A_THEME`

Creates or updates a theme asset file (templates, stylesheets, scripts, or images) within a Shopify theme. This action uploads or modifies files in the theme's file structure. For text-based files (HTML, Liquid, CSS, JS), use the 'value' parameter with file content. For binary files (images), use 'attachment' with base64-encoded data or 'src' with an external URL. To duplicate an existing asset, use 'source_key'. **Important**: Exactly one of value, attachment, src, or source_key must be provided per request. **Requirements**: - Requires 'write_themes' scope with merchant approval - Note: REST Admin API is legacy as of October 2024; new apps should use GraphQL Admin API from April 2025

### Create Storefront Access Token

**Slug:** `SHOPIFY_CREATE_STOREFRONT_ACCESS_TOKENS`

Creates a new storefront access token for unauthenticated Storefront API access. The token delegates unauthenticated access scopes to clients that need to access the Storefront API without authentication. Requirements: - The app must be configured as an 'extendable' (Sales Channel) app in the Shopify Partner Dashboard - The app must have at least one unauthenticated access scope granted (e.g., unauthenticated_read_product_listings, unauthenticated_write_checkouts) - The created token inherits all unauthenticated scopes from the app Limitations: Maximum 100 active tokens per shop. Tokens cannot be updated after creation, only deleted.

### Create Theme

**Slug:** `SHOPIFY_CREATE_THEMES`

Creates a new theme in Shopify from a ZIP file containing theme assets. Requires a publicly accessible URL to the ZIP file. The theme will default to 'unpublished' status unless the role is explicitly set to 'main' (which publishes the theme immediately after file extraction). Note: This action requires the 'write_themes' scope, which needs merchant approval in Shopify. A store can have a maximum of 20 themes.

### Create transaction for order

**Slug:** `SHOPIFY_CREATE_TRANSACTION_FOR_ORDER`

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.

### Create Webhook

**Slug:** `SHOPIFY_CREATE_WEBHOOK`

Creates a new webhook subscription in Shopify to receive real-time notifications when specific events occur in the store. Webhooks allow your application to be notified automatically when events like order creation, product updates, or customer changes happen. The webhook will POST event data to the specified address. Required parameters: address (destination URL) and topic (event type). Optional parameters: format (defaults to 'json'), fields (to limit payload size), metafield_namespaces (to include metafields). Requires 'write_webhooks' scope. May also require topic-specific scopes (e.g., 'read_orders' for orders/* topics).

### Delete a metafield by its ID

**Slug:** `SHOPIFY_DELETE_A_METAFIELD_BY_ITS_ID`

Deletes a metafield by its ID from any Shopify resource. Use this action to permanently remove metafields from: - Shop-level metafields (use resource='shop' or 'metafields') - Product metafields (resource='products') - Collection metafields (resource='collections') - Customer metafields (resource='customers') - Order metafields (resource='orders') - Other resource-specific metafields The deletion is permanent and cannot be undone. Returns an empty response on success.

### Delete an Article

**Slug:** `SHOPIFY_DELETE_AN_ARTICLE`

Permanently deletes an article from a Shopify blog. This operation is irreversible - once deleted, the article cannot be recovered. Use this when you need to remove outdated, incorrect, or unwanted blog content.

### Delete Article

**Slug:** `SHOPIFY_DELETE_ARTICLE`

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

### Delete article from blog

**Slug:** `SHOPIFY_DELETE_BLOGS_PARAM_BLOG_ID_ARTICLES_PARAM_ARTICLE_ID`

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

### Remove product from collection

**Slug:** `SHOPIFY_DELETE_COLLECTS_PARAM_COLLECT_ID`

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

### Delete country

**Slug:** `SHOPIFY_DELETE_COUNTRIES_PARAM_COUNTRY_ID`

Deletes a country from the shop's tax configuration. Removes a country that was previously added to the shop's tax settings. The country must have been added via the API or Shopify admin for this operation to succeed. Requires the 'write_shipping' scope. DEPRECATION WARNING: This REST API endpoint was deprecated in API version 2024-07 (effective July 1, 2024). The recommended alternative is the GraphQL Countries in Shipping Zone API. This endpoint may not be available in newer API versions or may have restricted access in many Shopify stores.

### Delete custom collection

**Slug:** `SHOPIFY_DELETE_CUSTOM_COLLECTION`

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

### Delete customer address

**Slug:** `SHOPIFY_DELETE_CUSTOMER_ADDRESS`

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.

### Delete customer

**Slug:** `SHOPIFY_DELETE_CUSTOMERS_PARAM_CUSTOMER_ID`

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.

### Delete discount code

**Slug:** `SHOPIFY_DELETE_DISCOUNT_CODE`

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

### Delete fulfillment event

**Slug:** `SHOPIFY_DELETE_FULFILLMENT_EVENT`

Deletes a fulfillment event (tracking status update) from an order's fulfillment. Use this action when you need to remove an incorrect or outdated tracking event from a fulfillment. Fulfillment events represent tracking status updates like 'in_transit', 'out_for_delivery', or 'delivered' that are displayed to customers on the order status page. Common use cases: - Removing duplicate tracking events - Correcting erroneous status updates - Cleaning up test events Prerequisites: You must have valid order_id, fulfillment_id, and event_id. These can be obtained from order retrieval actions or fulfillment event list actions. Note: This REST endpoint is deprecated. For new integrations, consider using the GraphQL Admin API. Requires 'write_orders' scope and approval for protected customer data access.

### Delete fulfillment service

**Slug:** `SHOPIFY_DELETE_FULFILLMENT_SERVICES_PARAM_FULFILLMENT`

Permanently deletes a fulfillment service from a Shopify store. Use this tool when you need to remove a third-party fulfillment service that prepares and ships orders. This action is destructive and cannot be undone. The fulfillment service must exist and be accessible. Returns an empty response on success (HTTP 200). Common errors include: - 401 Unauthorized: Missing write_fulfillments scope or invalid credentials - 404 Not Found: Fulfillment service ID does not exist Requires: write_fulfillments scope

### Delete inventory levels

**Slug:** `SHOPIFY_DELETE_INVENTORY_LEVELS`

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.

### Delete metafield by ID

**Slug:** `SHOPIFY_DELETE_METAFIELDS_PARAM_METAFIELD_ID`

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.

### Delete an order

**Slug:** `SHOPIFY_DELETE_ORDER`

Tool to permanently delete an order from Shopify. Use when you need to remove test orders, orders paid with manual payment methods, or draft orders marked as paid. Orders must be archived or canceled before deletion. Orders that interact with an online gateway, are paid via Shopify POS, online checkout, or with gift cards cannot be deleted.

### Delete order risk

**Slug:** `SHOPIFY_DELETE_ORDER_RISK`

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

### Delete a page

**Slug:** `SHOPIFY_DELETE_PAGE`

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.

### Delete price rule

**Slug:** `SHOPIFY_DELETE_PRICE_RULE`

Deletes an existing price rule from the Shopify store permanently. Use this action to remove price rules that are no longer needed. Note that deleting a price rule will also delete any discount codes associated with it. This operation is idempotent - deleting an already-deleted price rule will return an error. Common use cases: - Removing expired or outdated promotional campaigns - Cleaning up test price rules from development - Deactivating seasonal sales or limited-time offers To get a price rule ID: use the list price rules action or reference the ID from when you created the price rule.

### Delete a product

**Slug:** `SHOPIFY_DELETE_PRODUCT`

Permanently deletes a product from a Shopify store by its product ID. This action is irreversible - deleted products cannot be recovered. Deleting a product also removes all associated variants, images, and inventory. If the product has already been deleted, a 404 error will be returned.

### Delete product image

**Slug:** `SHOPIFY_DELETE_PRODUCT_IMAGE`

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.

### Delete product metafield

**Slug:** `SHOPIFY_DELETE_PRODUCT_METAFIELD`

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

### Delete redirect

**Slug:** `SHOPIFY_DELETE_REDIRECT`

Permanently deletes a URL redirect from a Shopify store. Use this tool to remove redirect rules that are no longer needed. A redirect automatically forwards visitors from an old URL path to a new target location. When you delete a redirect, visitors to the old path will no longer be automatically forwarded. Note: This operation is destructive and cannot be undone. If the redirect ID doesn't exist, the API will return a 404 error.

### Delete redirect

**Slug:** `SHOPIFY_DELETE_REDIRECTS_PARAM_REDIRECT_ID`

Permanently deletes a URL redirect from a Shopify store. Use this tool to remove redirect rules that are no longer needed. A redirect automatically forwards visitors from an old URL path to a new target location. When you delete a redirect, visitors to the old path will no longer be automatically forwarded. Note: This operation is destructive and cannot be undone. If the redirect ID doesn't exist, the API will return a 404 error.

### Delete a custom collection

**Slug:** `SHOPIFY_DELETES_A_CUSTOM_COLLECTION`

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.

### Delete a customer

**Slug:** `SHOPIFY_DELETES_A_CUSTOMER`

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.

### Delete a discount code

**Slug:** `SHOPIFY_DELETES_A_DISCOUNT_CODE`

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.

### Delete a marketing event

**Slug:** `SHOPIFY_DELETES_A_MARKETING_EVENT`

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

### Delete theme asset

**Slug:** `SHOPIFY_DELETES_AN_ASSET_FROM_A_THEME`

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.

### Delete a product

**Slug:** `SHOPIFY_DELETES_A_PRODUCT`

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.

### Delete Script Tag

**Slug:** `SHOPIFY_DELETE_SCRIPT_TAG`

Delete a script tag from your Shopify store. Permanently removes a script tag using its unique identifier. Script tags are JavaScript files that load on your storefront. Use this action to clean up deprecated scripts or remove third-party integrations. Requires 'write_script_tags' OAuth scope. Common use cases: - Remove outdated analytics or tracking scripts - Clean up after uninstalling third-party apps - Delete test scripts from development Note: Script tags are automatically deleted when the app that created them is uninstalled.

### Delete Script Tag

**Slug:** `SHOPIFY_DELETE_SCRIPT_TAGS_PARAM_SCRIPT_TAG_ID`

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

### Delete smart collection

**Slug:** `SHOPIFY_DELETE_SMART_COLLECTION`

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.

### Delete Storefront Access Token

**Slug:** `SHOPIFY_DELETE_STOREFRONT_ACCESS_TOKEN`

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.

### Delete theme

**Slug:** `SHOPIFY_DELETE_THEMES_PARAM_THEME_ID`

Deletes a theme from the Shopify store by its ID. Use this tool when you need to permanently remove an unwanted theme. The deleted theme's details are returned in the response for confirmation. **Important limitations:** - Cannot delete a theme that is currently uploading or being updated (processing=true) - Cannot delete the last published theme (role=main) - you must publish another theme first - Cannot delete a theme that doesn't exist (returns 404) - Requires 'write_themes' scope permission **Best practices:** - Only delete unpublished, demo, or development themes - Check theme.role and theme.processing before deletion - Keep at least one published theme at all times

### Delete theme asset

**Slug:** `SHOPIFY_DELETE_THEMES_PARAM_THEME_ID_ASSETS`

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.

### Delete webhook subscription

**Slug:** `SHOPIFY_DELETE_WEBHOOKS_PARAM_WEBHOOK_ID`

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.

### Delete fulfillment event

**Slug:** `SHOPIFY_DEL_FULFILLMENT_EVENT`

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.

### Delete blog metafield

**Slug:** `SHOPIFY_DEL_METAFIELD`

Deletes a metafield from a blog resource by its unique identifier. Use this action when you need to permanently remove custom metadata from a blog. This operation is idempotent - if the metafield doesn't exist or was already deleted, the API will return success (typically 404 is treated as success for idempotent deletes). Note: This action requires the write_content OAuth scope to manage blog content.

### Delete order risk

**Slug:** `SHOPIFY_DEL_ORDER_RISK`

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. **IMPORTANT DEPRECATION NOTICE**: The Order Risk REST API has been deprecated as of Shopify API version 2024-04 and is no longer accessible. This endpoint will return 403 Forbidden errors when used with API version 2024-04 or later. For new implementations, use the GraphQL orderRiskAssessmentCreate and related mutations instead. See: https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderRiskAssessmentCreate To use this action, you must use Shopify API version 2024-01 or earlier, though migrating to the GraphQL Risk Assessments API is strongly recommended.

### Delete Script Tag

**Slug:** `SHOPIFY_DEL_SCRIPTTAG`

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

### Remove webhook

**Slug:** `SHOPIFY_DEL_WEBHOOK`

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.

### Disable Gift Card

**Slug:** `SHOPIFY_DISABLE_GIFT_CARD`

Permanently disables a gift card, preventing it from being used for purchases. Use this when you need to deactivate a gift card irreversibly. WARNING: This action cannot be undone - the gift card cannot be re-enabled once disabled.

### Disable a Gift Card

**Slug:** `SHOPIFY_DISABLES_A_GIFT_CARD`

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.

### Get a list of access scopes

**Slug:** `SHOPIFY_GET_A_LIST_OF_ACCESS_SCOPES`

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.

### Get All Customers

**Slug:** `SHOPIFY_GET_ALL_CUSTOMERS`

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

### Get Application Charges

**Slug:** `SHOPIFY_GET_APPLICATION_CHARGES`

Retrieves a list of one-time application charges for the current app installation. Application charges are one-time fees charged to merchants for app usage. This endpoint returns all charges with their status (pending, accepted, active, declined, expired). Use this to monitor billing history, verify charge status, or implement pagination with since_id. Returns an empty list if no charges exist, which is normal for new app installations.

### Get application credits

**Slug:** `SHOPIFY_GET_APPLICATION_CREDITS`

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.

### Get Article

**Slug:** `SHOPIFY_GET_ARTICLE`

Retrieves a single article from a Shopify blog by its ID. Use this action when you need to: - Get detailed information about a specific blog article - Retrieve article content, metadata, or publication status - Access article properties like title, author, tags, or images The optional 'fields' parameter allows you to retrieve only specific article properties, reducing response size and improving performance when you don't need the full article data. Requires the 'read_content' OAuth scope.

### Get Batch Discount Codes

**Slug:** `SHOPIFY_GET_BATCH_DISCOUNT_CODES`

Retrieves discount codes from a batch creation job, showing which succeeded and which failed. **Workflow:** After batch job completes (status='completed'), use this to get the actual codes. 1. Create price rule (get price_rule_id) 2. Create batch job (get batch_id) 3. Poll until completed 4. Use this action to retrieve codes **Response:** Successful codes have id populated and errors={}. Failed codes have id=null and errors with validation details. **Use Cases:** Verify created codes, identify validation errors, get IDs for further operations. **Note:** Requires 'read_price_rules' scope. Max 100 codes per batch.

### Get blog article tags

**Slug:** `SHOPIFY_GET_BLOG_ARTICLE_TAGS`

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.

### Get carrier services

**Slug:** `SHOPIFY_GET_CARRIER_SERVICES`

Retrieves all active carrier services configured in a Shopify store. Carrier services allow apps to provide real-time shipping rates at checkout. This endpoint returns only carrier services where active=true. Requirements: - Store must be on Advanced Shopify plan or higher, OR - Store must be on Shopify plan with yearly billing (with carrier service feature), OR - Store must be a development store Use this to view active carrier services for shipping rate calculations.

### Get checkouts count

**Slug:** `SHOPIFY_GET_CHECKOUTS_COUNT`

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.

### Get collect by ID

**Slug:** `SHOPIFY_GET_COLLECT_BY_ID`

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

### Get collection by ID

**Slug:** `SHOPIFY_GET_COLLECTION_BY_ID`

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

### Get collects

**Slug:** `SHOPIFY_GET_COLLECTS`

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

### Get collects count

**Slug:** `SHOPIFY_GET_COLLECTS_COUNT`

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.

### Get count of all price rules

**Slug:** `SHOPIFY_GET_COUNT_OF_ALL_PRICE_RULES`

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

### Get count of comments

**Slug:** `SHOPIFY_GET_COUNT_OF_COMMENTS`

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

### Get Countries

**Slug:** `SHOPIFY_GET_COUNTRIES`

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.

### Get countries count

**Slug:** `SHOPIFY_GET_COUNTRIES_COUNT`

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. **DEPRECATION WARNING**: This endpoint is deprecated as of API version 2024-07. Consider using the GraphQL Admin API's 'CountriesInShippingZones' object as an alternative. This REST endpoint will continue to work but may be removed in future API versions.

### Get country by ID

**Slug:** `SHOPIFY_GET_COUNTRIES_PARAM_COUNTRY_ID`

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.

### Get provinces for country

**Slug:** `SHOPIFY_GET_COUNTRIES_PARAM_COUNTRY_ID_PROVINCES`

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.

### Get provinces count for country

**Slug:** `SHOPIFY_GET_COUNTRIES_PARAM_COUNTRY_ID_PROVINCES_COUNT`

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.

### Get province by ID

**Slug:** `SHOPIFY_GET_COUNTRIES_PARAM_COUNTRY_ID_PROVINCES_PARAM`

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.

### Get country

**Slug:** `SHOPIFY_GET_COUNTRY`

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.

### Get Currencies

**Slug:** `SHOPIFY_GET_CURRENCIES`

Retrieve a list of currencies enabled on a Shopify store. This action fetches all currencies that the merchant has enabled for multi-currency transactions through Shopify Payments. Each currency includes its ISO 4217 code, the timestamp when its conversion rate was last updated, and its enabled status. Use this when you need to: - Check which currencies are available for customer transactions - Verify currency configurations for the shop - Get conversion rate update timestamps - Determine multi-currency support capabilities Note: This is a read-only endpoint that requires no parameters and returns all enabled currencies for the authenticated shop.

### Get custom collection by ID

**Slug:** `SHOPIFY_GET_CUSTOM_COLLECTION`

Retrieves a single custom collection by its ID from Shopify. Returns comprehensive collection details including title, handle, description (body_html), publication status, sort order, product count, and metadata. Use the optional 'fields' parameter to filter the response to specific properties for improved performance.

### Get custom collection by ID

**Slug:** `SHOPIFY_GET_CUSTOM_COLLECTION_BY_ID`

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.

### Get custom collections

**Slug:** `SHOPIFY_GET_CUSTOM_COLLECTIONS`

Retrieves a list of custom collections from a Shopify store. Supports filtering by IDs, handle, title, product ID, publication status, and date ranges (published/updated). Use the fields parameter to retrieve only specific properties, and limit/since_id for pagination.

### Get custom collections count

**Slug:** `SHOPIFY_GET_CUSTOM_COLLECTIONS_COUNT`

Retrieves the total count of custom collections in a Shopify store with optional filters. Use this action to get the number of custom collections, optionally filtered by: - Product ID (collections containing a specific product) - Publication date range (when collections were published) - Publication status (published, unpublished, or any) - Title (exact title match) - Update date range (when collections were last modified) Returns a simple count integer without collection details. For full collection data, use get collection list actions.

### Get Customer

**Slug:** `SHOPIFY_GET_CUSTOMER`

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

### Get Customer Address

**Slug:** `SHOPIFY_GET_CUSTOMER_ADDRESS`

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.

### Get customer orders

**Slug:** `SHOPIFY_GET_CUSTOMER_ORDERS`

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

### Get customers count

**Slug:** `SHOPIFY_GET_CUSTOMERS_COUNT`

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

### Get Customer Addresses

**Slug:** `SHOPIFY_GET_CUSTOMERS_PARAM_CUSTOMER_ID_ADDRESSES`

Retrieves all addresses associated with a specific customer. Returns complete address details including street address, city, province/state, country, postal code, and contact information. Each address includes a unique ID and indicates if it's the customer's default address. Important: This endpoint requires 'Protected Customer Data Access' approval from Shopify. Without this approval, requests will fail with a 403 error. See https://shopify.dev/docs/apps/launch/protected-customer-data for details. Use this action when you need to: (1) View all addresses for a customer, (2) Check a customer's default address, (3) Retrieve address details before updating or deleting.

### Search Customers

**Slug:** `SHOPIFY_GET_CUSTOMERS_SEARCH`

Tool to search for customers matching a supplied query. Use when you need to find customers based on specific criteria like email, name, location, order count, or spending.

### Get Discount Code

**Slug:** `SHOPIFY_GET_DISCOUNT_CODE`

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.

### Get discount codes count

**Slug:** `SHOPIFY_GET_DISCOUNT_CODES_COUNT`

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.

### Get Discount Code Location

**Slug:** `SHOPIFY_GET_DISCOUNT_CODES_LOOKUP`

Tool to look up a discount code by its code name and retrieve its resource location and IDs. Use this when you have a discount code (e.g., "SUMMER2024") and need to find its price_rule_id and discount_code_id for use with other API endpoints. This is faster than listing all discount codes when you know the specific code name. The API returns a 303 redirect with the location in the header.

### Get events list

**Slug:** `SHOPIFY_GET_EVENTS`

Retrieves a list of audit trail events from a Shopify store. Events represent actions performed on store resources (products, orders, collections, pages, articles, etc.). Each event captures what happened (verb: create/update/destroy), when it occurred, who performed it, and which resource was affected. This is useful for tracking store activity history, auditing changes, and building activity logs. Use cases: - Track when products were created, updated, or deleted - Monitor order fulfillment activities - Audit changes to collections and content - Build activity timelines for specific resources - Detect recent modifications to store resources Important: Events may not appear immediately (can take a few seconds after the action). Pagination is implemented via Link headers (rel="next", rel="previous") in the response, not via page parameters. Note: The REST Admin API is legacy as of October 2024. Consider GraphQL alternatives for new integrations.

### Get events count

**Slug:** `SHOPIFY_GET_EVENTS_COUNT`

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

### Get event by ID

**Slug:** `SHOPIFY_GET_EVENTS_PARAM_EVENT_ID`

Retrieve a specific Shopify event by its ID. Events track actions performed on store resources like products, orders, collections, and articles. Use this to get detailed information about a specific event, including what action occurred, when it happened, and which resource was affected. Common use cases: auditing changes, tracking resource history, debugging workflows. Note: This endpoint contains protected customer data and may require explicit approval from Shopify for access. For development/testing, request protected customer data access in the Shopify Partner Dashboard.

### Get fulfillments by fulfillment order

**Slug:** `SHOPIFY_GET_FULFILLMENT`

Retrieves all fulfillments (shipments) associated with a specific fulfillment order. A fulfillment order represents a group of line items that are to be fulfilled from a specific location. This action returns tracking information, shipment status, line item details, and delivery information for each fulfillment. Use this when you need to: - Check tracking numbers and carrier information for shipped items - Monitor shipment status (in_transit, delivered, etc.) - View which line items were included in specific shipments - Get fulfillment location and origin address details Prerequisites: You must first obtain a fulfillment_order_id by using the 'Get fulfillment orders for order' action with an order_id.

### Get Fulfillment Event

**Slug:** `SHOPIFY_GET_FULFILLMENT_EVENT`

Retrieves a specific fulfillment event by its ID, providing detailed shipment tracking information. Use this when you need to check the status and location of a specific tracking event for a fulfilled order. The event contains information such as status (in_transit, out_for_delivery, delivered), timestamps, geographic location data (city, province, country, coordinates), and carrier messages. Fulfillment events track the shipment progress from the carrier and are displayed on the customer's order status page. Each event represents a status update (e.g., package picked up, in transit, out for delivery, delivered). Note: This REST API endpoint is deprecated as of Shopify API 2024-10. Consider using the GET fulfillment events list endpoint or GraphQL API for new integrations. Requires valid order_id, fulfillment_id, and event_id - all three IDs must correspond to existing resources in the store.

### Get fulfillment events

**Slug:** `SHOPIFY_GET_FULFILLMENT_EVENTS`

Retrieves tracking events for a specific fulfillment, showing shipment status updates (e.g., in_transit, out_for_delivery, delivered) with timestamps and location information. Use this when you need to check the tracking history or current delivery status of a fulfilled order. Note: Returns events only for fulfillments that have tracking information from carriers.

### Get fulfillment orders for order

**Slug:** `SHOPIFY_GET_FULFILLMENT_ORDER`

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.

### Get fulfillment order locations for move

**Slug:** `SHOPIFY_GET_FULFILLMENT_ORDER_LOCATIONS_FOR_MOVE`

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.

### Get fulfillment orders for order

**Slug:** `SHOPIFY_GET_FULFILLMENT_ORDERS_FOR_ORDER`

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.

### Get fulfillment order locations for move

**Slug:** `SHOPIFY_GET_FULFILLMENT_ORDERS_PARAM_FULFILLMENT_ORDER_ID`

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.

### Get fulfillments count for order

**Slug:** `SHOPIFY_GET_FULFILLMENTS_COUNT_FOR_ORDER`

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.

### Get Fulfillment Services

**Slug:** `SHOPIFY_GET_FULFILLMENT_SERVICES`

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.

### Get Gift Card

**Slug:** `SHOPIFY_GET_GIFT_CARD`

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

### Get Gift Card By ID

**Slug:** `SHOPIFY_GET_GIFT_CARD_BY_ID`

Retrieves detailed information about a specific gift card by its ID. Returns the gift card's balance, status, creation date, and other metadata. Note: The full gift card code is never returned by this endpoint - only the last 4 characters are available for security reasons. The full code is only visible at creation time. Requires: read_gift_cards scope (Shopify Plus only, requires Shopify Support approval).

### Get Gift Cards

**Slug:** `SHOPIFY_GET_GIFT_CARDS`

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.

### Get gift cards count

**Slug:** `SHOPIFY_GET_GIFT_CARDS_COUNT`

Retrieves a count of gift cards. Use when you need to know how many gift cards exist, with optional filter for status (enabled/disabled). Note: This API requires Shopify Plus and special approval from Shopify Support.

### Search Gift Cards

**Slug:** `SHOPIFY_GET_GIFT_CARDS_SEARCH`

Tool to search for gift cards that match a supplied query. Use when searching for gift cards by various indexed fields including created_at, updated_at, disabled_at, balance, initial_value, amount_spent, email, and last_characters. Supports cursor-based pagination via Link headers.

### Get Inventory Item

**Slug:** `SHOPIFY_GET_INVENTORY_ITEM`

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.

### Get Inventory Items

**Slug:** `SHOPIFY_GET_INVENTORY_ITEMS`

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.

### Get Inventory Levels

**Slug:** `SHOPIFY_GET_INVENTORY_LEVELS`

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.

### Get Inventory Levels For Location

**Slug:** `SHOPIFY_GET_INVENTORY_LEVELS_FOR_LOCATION`

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.

### Get location

**Slug:** `SHOPIFY_GET_LOCATION`

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.

### Retrieve a single marketing event

**Slug:** `SHOPIFY_GET_MARKETING_EVENT`

Retrieves detailed information about a specific marketing event by its ID. Use this action to: - Get full details of a marketing campaign including UTM parameters, budget, and timeline - Check the status and configuration of a specific marketing event - Access information about resources (products, collections) being marketed - Retrieve tracking URLs (manage_url, preview_url) for the event Returns comprehensive event data including event type, marketing channel, budget details, UTM parameters, and associated resources.

### Get marketing events count

**Slug:** `SHOPIFY_GET_MARKETING_EVENTS_COUNT`

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

### Get blog metafields

**Slug:** `SHOPIFY_GET_METAFIELD`

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

### Get metafields

**Slug:** `SHOPIFY_GET_METAFIELDS`

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.

### Get shop metafields count

**Slug:** `SHOPIFY_GET_METAFIELDS_COUNT`

Retrieves the count of shop-level metafields only. This action returns how many metafields are directly attached to the shop itself, not metafields on other resources like products, customers, or orders. Use this when you need a quick count without fetching the full list of shop metafields. Note: To count metafields on specific resources (products, customers, etc.), use the SHOPIFY_GET_RESOURCE_METAFIELDS_COUNT action instead.

### Get metafield by ID

**Slug:** `SHOPIFY_GET_METAFIELDS_PARAM_METAFIELD_ID`

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.

### Get order

**Slug:** `SHOPIFY_GET_ORDER`

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

### Get order list

**Slug:** `SHOPIFY_GET_ORDER_LIST`

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

### Get Order Risks

**Slug:** `SHOPIFY_GET_ORDER_RISK`

Retrieves all fraud risk assessments for a specific order. Returns a list of risk assessments indicating potential fraud. Each risk includes a recommendation (cancel/investigate/accept) and a fraud likelihood score. Only risks with display=true are factored into Shopify's overall order risk calculation. Note: Returns an empty array if the app lacks permission to access order risks (requires read_orders or write_orders scope with merchant approval for protected customer data).

### Get order risks

**Slug:** `SHOPIFY_GET_ORDER_RISKS`

Retrieves all fraud risk assessments for a specific order. Returns a list of risk assessments with recommendations (cancel/investigate/accept) and fraud likelihood scores. Use this when reviewing fraud detection findings for an order. Returns an empty risks array if: - The order has no risk assessments - Authentication fails (401) - App lacks permission to access order risks (403) Raises an error only if the order doesn't exist (404) or other server errors occur. Note: This REST API endpoint is deprecated as of version 2024-04; GraphQL Admin API's OrderRiskAssessment is recommended for new applications.

### Get order by id

**Slug:** `SHOPIFY_GET_ORDERSBY_ID`

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

### Get refunds for order

**Slug:** `SHOPIFY_GET_ORDERS_PARAM_ORDER_ID_REFUNDS`

Retrieves a list of all refunds for a specific order. Use this action when you need to: - Review refund history and details for an order - Check refunded amounts, line items, and shipping costs - Verify payment transactions associated with refunds - Track order adjustments, duties, and additional fees refunded Key Features: - Returns all refunds with detailed line items, transactions, and adjustments - Supports field filtering to retrieve only specific data - Optional in_shop_currency parameter for currency conversion - Configurable result limit (1-250, default 50) Important Notes: - This endpoint implements pagination via Link headers (not page parameters) - As of API version 2024-10, refunded shipping costs are accessed via refund_shipping_lines - REST Admin API is legacy as of Oct 2024; consider GraphQL API for new integrations - Requires 'read_orders' access scope for authentication - Access to protected customer data may require additional Shopify app approval

### Get specific refund for order

**Slug:** `SHOPIFY_GET_ORDERS_PARAM_ORDER_ID_REFUNDS_PARAM_REFUND_ID`

Retrieves a specific refund by refund ID for an order. Use this action when you need to: - Get detailed information about a particular refund - Review specific refund transactions and payment details - Check refunded line items, shipping costs, and adjustments - Verify duty and additional fee refunds Key Features: - Returns comprehensive refund data including line items and transactions - Supports field filtering to retrieve only specific data - Optional in_shop_currency parameter for currency conversion - Includes refund_shipping_lines for refunded shipping costs (added in API version 2024-10) Important Notes: - REST Admin API is legacy as of Oct 2024; consider GraphQL API for new integrations - Requires 'read_orders' access scope for authentication - Access to protected customer data may require additional Shopify app approval

### Get orders with filters

**Slug:** `SHOPIFY_GET_ORDERS_WITH_FILTERS`

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

### Get order transactions count

**Slug:** `SHOPIFY_GET_ORDER_TRANSACTIONS_COUNT`

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.

### Get page by ID

**Slug:** `SHOPIFY_GET_PAGE_BY_ID`

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

### Get Policies

**Slug:** `SHOPIFY_GET_POLICIES`

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.

### Get Price Rule

**Slug:** `SHOPIFY_GET_PRICE_RULE`

Retrieves a single price rule by ID from Shopify. Returns discount configuration including type (percentage/fixed), value, target items, customer eligibility, and prerequisites. Note: The PriceRule REST API is deprecated as of October 2024; consider using GraphQL Admin API for new implementations.

### Check Batch Listing Support for Price Rule

**Slug:** `SHOPIFY_GET_PRICE_RULES_PARAM_PRICE_RULE_ID_BATCH_PARAM`

Checks if batch listing is supported for a price rule and provides guidance on alternatives. **IMPORTANT: Shopify's API does not provide an endpoint to list all batches for a price rule.** This action returns structured information explaining the limitation and suggesting alternatives. The available batch endpoints in Shopify's API are: - POST /price_rules/{price_rule_id}/batch.json - Creates a batch discount code creation job - GET /price_rules/{price_rule_id}/batch/{batch_id}.json - Retrieves a specific batch job by ID - GET /price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json - Lists discount codes created by a batch To retrieve batch details, you must know the batch_id (returned when creating a batch). Shopify only allows one active batch creation job per shop at a time. Use action SHOPIFY_GET_PRICE_RULES_PARAM_PRICE_RULE_ID_BATCH_PARAM_BATCH_ID if you have the batch_id. Reference: https://shopify.dev/docs/api/admin-rest/latest/resources/discountcode

### Get Discount Codes for Price Rule

**Slug:** `SHOPIFY_GET_PRICE_RULES_PARAM_PRICE_RULE_ID_DISCOUNT_CODES`

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.

### Get product

**Slug:** `SHOPIFY_GET_PRODUCT`

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

### Get product image

**Slug:** `SHOPIFY_GET_PRODUCT_IMAGE`

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.

### Get Product Images

**Slug:** `SHOPIFY_GET_PRODUCT_IMAGES`

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

### Get product metafield

**Slug:** `SHOPIFY_GET_PRODUCT_METAFIELD`

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

### Get product metafields

**Slug:** `SHOPIFY_GET_PRODUCT_METAFIELDS`

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

### Get products

**Slug:** `SHOPIFY_GET_PRODUCTS`

Retrieves a list of products from a Shopify store.

### Get products count

**Slug:** `SHOPIFY_GET_PRODUCTS_COUNT`

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

### Get products in collection

**Slug:** `SHOPIFY_GET_PRODUCTS_IN_COLLECTION`

Retrieves products that belong to a specific Shopify collection. Returns detailed product information including variants, images, and options. Products are sorted according to the collection's configured sort order. Use this action when you need to: - List all products in a specific collection - Get product details for items within a collection - Display collection contents to users

### Get products (paginated)

**Slug:** `SHOPIFY_GET_PRODUCTS_PAGINATED`

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

### Get provinces count for country

**Slug:** `SHOPIFY_GET_PROVINCES_COUNT_FOR_COUNTRY`

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.

### Get recurring application charges

**Slug:** `SHOPIFY_GET_RECURRING_APPLICATION_CHARGES`

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.

### Get redirects

**Slug:** `SHOPIFY_GET_REDIRECTS`

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.

### Get redirects count

**Slug:** `SHOPIFY_GET_REDIRECTS_COUNT`

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.

### Get redirect by ID

**Slug:** `SHOPIFY_GET_REDIRECTS_PARAM_REDIRECT_ID`

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.

### Get resource metafields count

**Slug:** `SHOPIFY_GET_RESOURCE_METAFIELDS_COUNT`

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.

### Get Script Tag

**Slug:** `SHOPIFY_GET_SCRIPTTAG`

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

### Get Shipping Zones

**Slug:** `SHOPIFY_GET_SHIPPING_ZONES`

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.

### Get Shop Details

**Slug:** `SHOPIFY_GET_SHOP_DETAILS`

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

### Get smart collection by ID

**Slug:** `SHOPIFY_GET_SMART_COLLECTION_BY_ID`

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.

### Get smart collections

**Slug:** `SHOPIFY_GET_SMART_COLLECTIONS`

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.

### Get smart collections count

**Slug:** `SHOPIFY_GET_SMART_COLLECTIONS_COUNT`

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, or date ranges.

### Get storefront access tokens

**Slug:** `SHOPIFY_GET_STOREFRONT_ACCESS_TOKENS`

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.

### Get tender transactions

**Slug:** `SHOPIFY_GET_TENDER_TRANSACTIONS`

Retrieve a list of tender transactions from Shopify. Tender transactions represent actual money movement between customers and the merchant (positive = payment to merchant, negative = refund from merchant). Use this action to: - Fetch payment transaction data for financial reconciliation - Track payment methods used (credit_card, cash, apple_pay, google_pay, etc.) - Filter transactions by date range or order - Monitor POS and online payment processing Note: This endpoint implements cursor-based pagination using links in the response header. Requires 'read_orders' scope.

### Get themes

**Slug:** `SHOPIFY_GET_THEMES`

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

### Get theme by ID

**Slug:** `SHOPIFY_GET_THEMES_PARAM_THEME_ID`

Retrieves detailed information about a specific Shopify theme by its unique ID. Use this action when you need to: - Get complete details about a specific theme (name, role, timestamps, etc.) - Check if a theme is the main/published theme (role='main') - Verify theme processing status before making changes - Retrieve theme metadata like theme_store_id for Shopify-made themes To get theme IDs, first use the GET themes action to list all available themes.

### Get Theme Asset

**Slug:** `SHOPIFY_GET_THEMES_PARAM_THEME_ID_ASSETS`

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.

### Get Webhook

**Slug:** `SHOPIFY_GET_WEBHOOK`

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

### Get webhooks count

**Slug:** `SHOPIFY_GET_WEBHOOKS_COUNT`

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

### Execute Shopify GraphQL query

**Slug:** `SHOPIFY_GRAPH_QL_QUERY`

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

### List abandoned checkouts

**Slug:** `SHOPIFY_LIST_ABANDONED_CHECKOUTS`

Retrieves a list of abandoned checkouts with customer contact information. An abandoned checkout occurs when a customer adds contact information but doesn't complete the purchase. Use this to recover abandoned carts, send recovery emails, or analyze checkout abandonment patterns. Note: This endpoint requires 'Protected Customer Data' access in your Shopify app settings. Without this permission, the endpoint returns a 403 error (gracefully handled by returning an empty list). The REST Checkout API is deprecated as of 2024-07; consider GraphQL Admin API for new implementations.

### List article authors

**Slug:** `SHOPIFY_LIST_ARTICLE_AUTHORS`

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.

### List article tags

**Slug:** `SHOPIFY_LIST_ARTICLE_TAGS`

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.

### List locations

**Slug:** `SHOPIFY_LIST_LOCATION`

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.

### List orders

**Slug:** `SHOPIFY_LIST_ORDER`

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.

### List Price Rules

**Slug:** `SHOPIFY_LIST_PRICE_RULE`

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.

### List webhooks

**Slug:** `SHOPIFY_LIST_WEBHOOK`

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

### Mark Comment as Not Spam

**Slug:** `SHOPIFY_MARK_COMMENT_AS_NOT_SPAM`

Marks a comment as not spam in Shopify, restoring it to published or unapproved state. Use this to remove the spam designation from a comment that was incorrectly flagged. The comment status will change from 'spam' to either 'published' (if it was previously approved) or 'unapproved' (if it needs review).

### Mark Comment as Spam

**Slug:** `SHOPIFY_MARK_COMMENT_AS_SPAM`

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.

### Modify an existing blog

**Slug:** `SHOPIFY_MODIFY_AN_EXISTING_BLOG`

Updates an existing blog's configuration in your Shopify store. Use this to change the blog title, URL handle, comment moderation settings, custom templates, or attach metadata. Common use cases: rebranding blogs, enabling/disabling comments, switching to custom themes, or fixing SEO-friendly handles. Requires the blog_id and at least one field to update. WARNING: Changing the handle affects URLs and SEO - consider redirects when modifying established blogs.

### Modify an existing draft order

**Slug:** `SHOPIFY_MODIFY_AN_EXISTING_DRAFTORDER`

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.

### Modify an existing product variant

**Slug:** `SHOPIFY_MODIFY_AN_EXISTING_PRODUCT_VARIANT`

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

### Modify existing theme

**Slug:** `SHOPIFY_MODIFY_AN_EXISTING_THEME`

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.

### Modify existing webhook

**Slug:** `SHOPIFY_MODIFY_EXISTING_WEBHOOK`

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.

### Modify Product Image

**Slug:** `SHOPIFY_MODIFY_PRODUCT_IMAGE`

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.

### Move Fulfillment Order to New Location

**Slug:** `SHOPIFY_MOVE_FULFILLMENT_ORDER`

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.

### Bulk delete customer addresses

**Slug:** `SHOPIFY_PERFORMS_BULK_OPERATIONS_MULTIPLE_CUSTOMER_ADDRESSES`

Bulk delete multiple customer addresses in a single operation. This action permanently removes several addresses from a customer's address book at once, which is more efficient than deleting addresses one by one. Use this when you need to clean up multiple invalid or outdated addresses for a customer. Requires the 'write_customers' scope and access to protected customer data.

### Get blogs count

**Slug:** `SHOPIFY_RECEIVE_A_COUNT_OF_ALL_BLOGS`

Retrieves the total count of all blogs in a Shopify store. Use this action when you need to know how many blogs exist in the store without fetching the full list of blog details. This is useful for pagination calculations, analytics, or checking if any blogs exist before performing other operations. Requires 'read_content' or 'write_content' OAuth scope.

### Get draft orders count

**Slug:** `SHOPIFY_RECEIVE_A_COUNT_OF_ALL_DRAFTORDERS`

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.

### Get product images count

**Slug:** `SHOPIFY_RECEIVE_A_COUNT_OF_ALL_PRODUCT_IMAGES`

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.

### Receive a count of all webhooks

**Slug:** `SHOPIFY_RECEIVE_A_COUNT_OF_ALL_WEBHOOKS`

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

### Receive a list of all countries

**Slug:** `SHOPIFY_RECEIVE_A_LIST_OF_ALL_COUNTRIES`

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.

### Receive a list of all FulfillmentServices

**Slug:** `SHOPIFY_RECEIVE_A_LIST_OF_ALL_FULFILLMENTSERVICES`

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.

### Receive A List Of All Product Images

**Slug:** `SHOPIFY_RECEIVE_A_LIST_OF_ALL_PRODUCT_IMAGES`

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.

### Get resource feedback

**Slug:** `SHOPIFY_RECEIVE_A_LIST_OF_ALL_RESOURCEFEEDBACKS`

Retrieves the current resource feedback for the shop. Resource feedback is how your app communicates its setup/configuration status to merchants via the Shopify admin. Use this to check what feedback your app has previously submitted (e.g., whether you told merchants that action is required or that setup is successful). Returns empty array if no feedback exists, or a single feedback object representing the most recent status your app reported to Shopify.

### Receive a list of all ShippingZones

**Slug:** `SHOPIFY_RECEIVE_A_LIST_OF_ALL_SHIPPINGZONES`

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.

### Get Single Blog

**Slug:** `SHOPIFY_RECEIVE_A_SINGLE_BLOG`

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.

### Receive a single draft order

**Slug:** `SHOPIFY_RECEIVE_A_SINGLE_DRAFTORDER`

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.

### Receive a single fulfillment

**Slug:** `SHOPIFY_RECEIVE_A_SINGLE_FULFILLMENT`

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.

### Receive a single product variant

**Slug:** `SHOPIFY_RECEIVE_A_SINGLE_PRODUCT_VARIANT`

Retrieves detailed information about a single product variant by its ID from Shopify. A product variant represents a specific version of a product (e.g., different sizes, colors, or materials). This action returns comprehensive details including pricing, inventory, weight, SKU, barcode, and shipping requirements. Use this when you need to: - Get current pricing and inventory levels for a specific variant - Check variant details like SKU, barcode, weight, or options (size, color, etc.) - Retrieve variant configuration (taxable, requires_shipping, fulfillment_service) - Fetch only specific fields using the optional 'fields' parameter to reduce response size Note: You must know the variant_id beforehand. Use list products or list variants actions to discover variant IDs.

### Receive a single webhook

**Slug:** `SHOPIFY_RECEIVE_A_SINGLE_WEBHOOK`

Retrieves detailed information about a specific webhook subscription by its ID. Use this tool when you need to: - View configuration details of an existing webhook (address, topic, format) - Check webhook metadata (API version, metafield namespaces, creation/update timestamps) - Verify a webhook exists before performing operations on it - Inspect which fields are being sent in webhook payloads Returns complete webhook subscription details including delivery destination, event topic, data format (JSON/XML), and any field or metafield filtering configurations.

### Release fulfillment hold

**Slug:** `SHOPIFY_RELEASE_FULFILLMENT_HOLD`

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.

### Release fulfillment order hold

**Slug:** `SHOPIFY_RELEASE_FULFILLMENT_ORDER_HOLD`

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

### Delete a blog

**Slug:** `SHOPIFY_REMOVE_AN_EXISTING_BLOG`

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

### Remove an existing country

**Slug:** `SHOPIFY_REMOVE_AN_EXISTING_COUNTRY`

Removes a country from the store's shipping and tax configuration. This action permanently deletes a country record from the store's configuration, removing all associated tax rates and provincial subdivisions. Use this when you need to remove a country that should no longer be available for shipping or tax calculation. The country ID can be obtained from the GET countries endpoint. Note: This endpoint requires the 'write_shipping' permission scope and is deprecated as of API version 2024-07. Consider using GraphQL Admin API's shipping zone country functionality for new integrations.

### Delete a draft order

**Slug:** `SHOPIFY_REMOVE_AN_EXISTING_DRAFTORDER`

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

### Remove fulfillment service

**Slug:** `SHOPIFY_REMOVE_AN_EXISTING_FULFILLMENTSERVICE`

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

### Remove an existing price rule

**Slug:** `SHOPIFY_REMOVE_AN_EXISTING_PRICERULE`

Permanently deletes a price rule from the Shopify store. Use this action to remove discount pricing rules that are no longer needed. Once deleted, the price rule and any associated discount codes will stop working. This operation is permanent and cannot be undone. Common use cases: - Removing expired promotional discount rules - Cleaning up test or unused price rules - Deleting price rules that were created by mistake Note: Deleting a price rule will also invalidate any discount codes associated with it. Consider deactivating the price rule (by setting an end date) if you want to preserve the discount codes for historical records. Note: Attempting to delete a price rule that doesn't exist or has already been deleted will result in a 404 Not Found error.

### Remove an existing product image

**Slug:** `SHOPIFY_REMOVE_AN_EXISTING_PRODUCT_IMAGE`

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.

### Remove an existing theme

**Slug:** `SHOPIFY_REMOVE_AN_EXISTING_THEME`

Permanently deletes a theme from a Shopify store by its theme_id. Use this action when you need to remove an unwanted or obsolete theme from the store. The deletion is permanent and cannot be undone. The API returns the deleted theme's details in the response, which can be useful for confirmation or logging purposes. Important constraints: - Cannot delete a theme that is currently uploading or being processed - Cannot delete a theme that is being updated - Cannot delete the last remaining published theme (role: 'main') in the store - Requires 'write_themes' scope with merchant approval Common use cases: - Removing test or development themes that are no longer needed - Cleaning up unpublished themes to stay within Shopify's 20-theme limit - Deleting old theme versions after upgrading to a new version

### Remove webhook subscription

**Slug:** `SHOPIFY_REMOVE_AN_EXISTING_WEBHOOK`

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.

### Remove product from collection

**Slug:** `SHOPIFY_REMOVE_PRODUCT_FROM_COLLECTION`

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.

### Remove product variant

**Slug:** `SHOPIFY_REMOVE_PRODUCT_VARIANT`

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.

### Remove a comment

**Slug:** `SHOPIFY_REMOVES_A_COMMENT`

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'. Note: This action requires 'write_content' scope and protected customer data access approval from Shopify, as comments contain customer information (author, email, IP address).

### Remove a smart collection

**Slug:** `SHOPIFY_REMOVES_A_SMART_COLLECTION`

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`.

### Reopen a closed order

**Slug:** `SHOPIFY_REOPEN_CLOSED_ORDER`

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

### Reopen closed order

**Slug:** `SHOPIFY_REOPEN_ORDER`

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

### Restore Comment

**Slug:** `SHOPIFY_RESTORE_COMMENT`

Restores a previously removed comment, changing its status back to 'published'. Use when you need to reactivate a comment that was removed. Note: This action requires protected customer data access approval because comments contain customer information (author, email, IP). The app must be approved to access REST endpoints with protected customer data.

### Retrieve a list of all blogs

**Slug:** `SHOPIFY_RETRIEVE_A_LIST_OF_ALL_BLOGS`

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.

### Retrieve a specific metafield

**Slug:** `SHOPIFY_RETRIEVE_A_SPECIFIC_METAFIELD`

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.).

### Get resource metafields

**Slug:** `SHOPIFY_RETRIEVE_LIST_METAFIELDS_RESOURCE_S_ENDPOINT`

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.).

### Retrieve products in collection

**Slug:** `SHOPIFY_RETRIEVE_LIST_PRODUCTS_BELONGING_COLLECTION`

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).

### Count articles in blog

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_ALL_ARTICLES_FROM_A_BLOG`

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.

### Retrieves a count of all script tags

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_ALL_SCRIPT_TAGS`

Retrieves a count of all script tags in the Shopify store. Optionally filter by script URL. Use this action when you need to: - Get the total number of script tags configured in the store - Check if a specific script URL is already registered - Verify script tag existence before creating duplicates

### Get checkouts count

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_CHECKOUTS`

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.

### Retrieve count of custom collections

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_CUSTOM_COLLECTIONS`

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.

### Retrieve customer count

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_CUSTOMERS`

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.

### Retrieves a count of events

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_EVENTS`

Retrieves a count of events in a Shopify store. Events are automatically generated by Shopify when certain actions occur on store resources (e.g., creating products, fulfilling orders, publishing articles). This action returns the total count of such events, optionally filtered by creation date range. Use this when you need to: - Track the volume of activity in a store over time - Determine how many events occurred within a specific date range - Monitor store activity levels before fetching detailed event data Note: Events may not appear immediately after actions occur (can take a few seconds to minutes).

### Retrieves a count of gift cards

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_GIFT_CARDS`

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.

### Retrieves a count of locations

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_LOCATIONS`

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

### Retrieves a count of products

**Slug:** `SHOPIFY_RETRIEVES_A_COUNT_OF_PRODUCTS`

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.

### Retrieve Inventory Items by IDs

**Slug:** `SHOPIFY_RETRIEVES_A_DETAILED_LIST_FOR_INVENTORY_ITEMS_BY_IDS`

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.

### Retrieve Discount Code Creation Job

**Slug:** `SHOPIFY_RETRIEVES_A_DISCOUNT_CODE_CREATION_JOB`

Retrieves the status and progress of an asynchronous batch discount code creation job for a specific price rule. Use this to monitor a job that creates up to 100 discount codes at once. Check the 'status' field ('queued', 'running', or 'completed') and 'imported_count'/'failed_count' to track progress. The job is created via POST /price_rules/{price_rule_id}/batch and this endpoint lets you poll for its completion.

### Retrieve abandoned checkouts

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ABANDONED_CHECKOUTS`

Retrieves a list of abandoned checkouts from Shopify. Use this when you need to access abandoned checkout data for recovery campaigns, remarketing, or analytics. An abandoned checkout occurs when a customer adds contact information but doesn't complete their purchase. IMPORTANT: This endpoint requires 'Protected Customer Data' access approval from Shopify, which must be requested through the Partner Dashboard. Without this approval, requests will return a 403 Forbidden error. Note: The REST Checkout API is deprecated as of API version 2024-07. Consider migrating to the GraphQL Admin API for new implementations. Pagination is implemented via links in the response header.

### Retrieve Customer Addresses

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ADDRESSES_FOR_A_CUSTOMER`

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.

### Retrieves a list of all article authors

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ALL_ARTICLE_AUTHORS`

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.

### Retrieve list of articles from blog

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ALL_ARTICLES_FROM_A_BLOG`

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.

### Retrieves a list of all article tags

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ALL_ARTICLE_TAGS`

Retrieves all article tags used across all blogs in the Shopify shop. Use this to: - Discover available tags for filtering or categorizing blog content - Identify popular tags to understand trending topics - Build tag clouds or navigation elements for blog sections - Analyze content organization across your blogs Optional: Use 'limit' to retrieve a subset, or 'popular=1' to get the most frequently used tags first.

### Retrieve all marketing events

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ALL_MARKETING_EVENTS`

Retrieves a paginated list of marketing events from a Shopify store. Marketing events represent marketing activities such as ads, posts, newsletters, retargeting campaigns, abandoned cart emails, loyalty programs, and affiliate campaigns. Returns up to 250 events per request (default 50). The endpoint uses cursor-based pagination via Link headers in the API response - check the 'Link' header for URLs to navigate to next/previous pages. The deprecated 'offset' parameter is not supported. Each event includes metadata like event type, marketing channel, UTM parameters, budget information, timestamps, and associated resources. Useful for tracking marketing campaign performance and attribution.

### Retrieve all script tags

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ALL_SCRIPT_TAGS`

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).

### List Theme Assets

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ASSETS_FOR_A_THEME`

Retrieves metadata for theme assets (files that make up a theme: templates, images, stylesheets, snippets). Returns metadata only—not file content. To get actual file content, you must retrieve assets individually using a separate action. Use the asset_key parameter to retrieve a single asset, or omit it to list all assets in the theme.

### Retrieve carrier services

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_CARRIER_SERVICES`

Retrieves all active carrier services configured in the store. Requirements: Store must be on Advanced Shopify plan or higher, OR on Shopify plan with yearly billing, OR be a development store. This action requires read_shipping or write_shipping scope. Use this to view configured carrier services available for shipping rate calculations. All returned services will have active status and are available at checkout.

### Retrieve list of collects

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_COLLECTS`

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

### Retrieve a list of comments

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_COMMENTS`

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

### Retrieves a list of currencies enabled on a shop

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_CURRENCIES_ENABLED_ON_A_SHOP`

Retrieves a list of currencies enabled on a Shopify store. This action fetches all currencies that the merchant has enabled for multi-currency transactions through Shopify Payments. Each currency includes its ISO 4217 code, the timestamp when its conversion rate was last updated, and its enabled status. Use this when you need to: - Check which currencies are available for customer transactions - Verify currency configurations for the shop - Get conversion rate update timestamps - Determine multi-currency support capabilities Note: This is a read-only endpoint that requires no parameters and returns all enabled currencies for the authenticated shop.

### Retrieve custom collections

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_CUSTOM_COLLECTIONS`

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.

### Retrieves a list of customers

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_CUSTOMERS`

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.

### Retrieve List of Discount Codes

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_DISCOUNT_CODES`

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.

### Retrieve list of draft orders

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_DRAFT_ORDERS`

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.

### Retrieves a list of events

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_EVENTS`

Retrieves a list of events from Shopify store resources. Events are automatically generated by Shopify when certain actions occur on store resources (e.g., creating products, fulfilling orders, publishing articles, updating collections). This action returns detailed information about these events including the action type (verb), affected resource, timestamp, and description. Use this when you need to: - Track activity history on store resources over time - Audit changes made to products, orders, collections, pages, or other resources - Monitor recent actions performed in the store - Filter events by resource type, action verb, or date range - Implement activity feeds or change logs Note: Events may not appear immediately after actions occur (can take a few seconds). Pagination is implemented using links in response headers (Link header with rel="next" and rel="previous").

### Retrieves a list of gift cards

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_GIFT_CARDS`

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.

### Retrieves a List of Inventory Levels

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_INVENTORY_LEVELS`

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.

### Retrieves a list of locations

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_LOCATIONS`

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.

### Retrieves a list of orders

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_ORDERS`

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.

### Retrieve list of pages

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_PAGES`

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.

### Get Price Rules List

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_PRICE_RULES`

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.

### Retrieve a list of products

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_PRODUCTS`

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.

### Get product variants

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_PRODUCT_VARIANTS`

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.

### Retrieve refunds for order

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_REFUNDS_FOR_AN_ORDER`

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

### Get smart collections

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_SMART_COLLECTIONS`

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.

### Retrieve list of tender transactions

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_TENDER_TRANSACTIONS`

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).

### Retrieves a list of the shop's policies

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_THE_SHOP_S_POLICIES`

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.

### Retrieve order transactions

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_TRANSACTIONS`

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.

### Get list of URL redirects

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_URL_REDIRECTS`

Retrieves a list of URL redirects from the Shopify store. URL redirects are used to redirect traffic from old URLs to new ones, useful for SEO, site restructuring, or when products/pages are moved or deleted. Use this to view all configured redirects, optionally filtered by specific path or target. Supports pagination via since_id parameter.

### Retrieves a list of webhooks

**Slug:** `SHOPIFY_RETRIEVES_A_LIST_OF_WEBHOOKS`

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.

### Retrieves all application credits

**Slug:** `SHOPIFY_RETRIEVES_ALL_APPLICATION_CREDITS`

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.

### Get customer orders

**Slug:** `SHOPIFY_RETRIEVES_ALL_ORDERS_BELONGING_TO_A_CUSTOMER`

Retrieves all orders for a specific customer from Shopify. Returns order details including line items, fulfillment status, payment information, shipping address, and more. Use this when you need to view a customer's order history or analyze their purchase patterns. Requires the customer's unique ID.

### Retrieves an order count

**Slug:** `SHOPIFY_RETRIEVES_AN_ORDER_COUNT`

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.).

### Retrieve page count

**Slug:** `SHOPIFY_RETRIEVES_A_PAGE_COUNT`

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.

### Retrieve a single collection

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_COLLECTION`

Retrieve a single collection (custom or smart) from Shopify by its collection ID. Use this action to fetch detailed information about a specific collection, including: - Basic details: title, handle, description (body_html) - Publication settings: published_at, published_scope - Product organization: sort_order, products_count - Collection type: 'custom' (manually curated) or 'smart' (rule-based) - For smart collections: rules that define product inclusion and disjunctive logic - Metadata: image, template_suffix, timestamps Works with both custom collections (manually added products) and smart collections (automatically filtered by rules).

### Retrieve a single customer

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_CUSTOMER`

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

### Retrieve a single event

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_EVENT`

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.

### Retrieve a single location by its ID

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_LOCATION_BY_ITS_ID`

Retrieves detailed information about a specific Shopify location by its ID. A location represents a physical or virtual place where a shop's products are stocked, and from which orders can be fulfilled. This includes retail stores, warehouses, pop-up shops, and dropshipping locations. Use this action when you need to: - Get complete details about a specific location (address, contact info, status) - Verify if a location is active and can fulfill orders - Check location attributes before inventory or fulfillment operations - Display location information to users Requires the 'read_locations' OAuth scope.

### Get order risk by ID

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_ORDER_RISK_BY_ITS_ID`

Retrieves a single order risk assessment by its unique ID. Use this action when you need details about a specific risk assessment (e.g., to check its recommendation, score, or message). If you need all risk assessments for an order, use the "Get order risks" action instead. **Important:** This REST API endpoint is deprecated as of API version 2024-04. For new implementations, use the GraphQL OrderRiskAssessment API. See: https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderRiskAssessment **Access requirements:** Requires read_orders scope with merchant approval for protected customer data.

### Retrieve Single Price Rule

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_PRICE_RULE`

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.

### Retrieve a single product

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_PRODUCT`

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.

### Get Province for Country

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_PROVINCE_FOR_A_COUNTRY`

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.

### Retrieve a single redirect

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_REDIRECT`

Retrieve details of a specific URL redirect by its ID. Returns the redirect's path (source) and target (destination) configuration. Use this when you have a specific redirect ID and need its details; for finding redirects or getting multiple redirects, use the list redirects action instead.

### Retrieve a single smart collection

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_SMART_COLLECTION`

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.

### Retrieve a single theme

**Slug:** `SHOPIFY_RETRIEVES_A_SINGLE_THEME`

Retrieves a single Shopify theme by its unique ID. Use this action when you need to: - Get details about a specific theme (name, role, timestamps, store ID) - Check if a theme is the currently published theme (role='main') - Verify theme processing status before modifying assets - Inspect theme metadata like theme_store_id for identifying Shopify Theme Store themes Note: Requires the 'read_themes' OAuth scope which may need merchant approval.

### Retrieve Specific Fulfillment Event

**Slug:** `SHOPIFY_RETRIEVES_A_SPECIFIC_FULFILLMENT_EVENT`

Retrieves a specific fulfillment event by its ID. **DEPRECATED**: This endpoint is deprecated as of Shopify REST Admin API 2024-10. Consider using the list fulfillment events endpoint instead to retrieve all events and filter by ID. Use this tool when you need detailed tracking information for a specific fulfillment event, including delivery status, location data (address, city, country, coordinates), timestamps, and carrier messages. Fulfillment events track the shipment progress and are displayed on customer order status pages. Note: Requires valid order_id, fulfillment_id, and event_id. All three IDs must correspond to existing resources in the store.

### Retrieve a specific order

**Slug:** `SHOPIFY_RETRIEVES_A_SPECIFIC_ORDER`

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

### Retrieve a specific refund

**Slug:** `SHOPIFY_RETRIEVES_A_SPECIFIC_REFUND`

Retrieves detailed information about a specific refund for an order. Use this action when you need complete refund details including refunded line items, transactions, order adjustments, duties, and shipping costs. Both order_id and refund_id are required. To list all refunds for an order, use the 'Retrieve refunds for order' action instead.

### Retrieve a specific transaction

**Slug:** `SHOPIFY_RETRIEVES_A_SPECIFIC_TRANSACTION`

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.

### Retrieve customer address details

**Slug:** `SHOPIFY_RETRIEVES_DETAILS_FOR_A_SINGLE_CUSTOMER_ADDRESS`

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.

### Retrieves fulfillments by fulfillment order

**Slug:** `SHOPIFY_RETRIEVES_FULFILLMENTS_ASSOCIATED_FULFILLMENT_ORDER`

Retrieves all fulfillments associated with a specific fulfillment order. Returns detailed shipment tracking information, delivery status, line items, and fulfillment metadata. Use this action when you need to check the status of completed or in-progress fulfillments for a fulfillment order.

### Retrieve order fulfillments

**Slug:** `SHOPIFY_RETRIEVES_FULFILLMENTS_ASSOCIATED_WITH_AN_ORDER`

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.

### List article tags from blog

**Slug:** `SHOPIFY_RETRIEVES_LIST_ALL_ARTICLE_TAGS_SPECIFIC_BLOG`

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.

### Retrieve Discount Codes for Batch Job

**Slug:** `SHOPIFY_RETRIEVES_LIST_DISCOUNT_CODES_DISCOUNT_CODE`

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.

### Retrieve storefront access tokens

**Slug:** `SHOPIFY_RETRIEVES_LIST_STOREFRONT_ACCESS_TOKENS_THAT_HAVE`

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. The app must have at least one unauthenticated access scope to use this endpoint.

### Retrieve specific fulfillment order

**Slug:** `SHOPIFY_RETRIEVE_SPECIFIC_FULFILLMENT_ORDER`

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.

### Retrieve Shop Configuration

**Slug:** `SHOPIFY_RETRIEVES_THE_SHOP_S_CONFIGURATION`

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.

### Search Customers

**Slug:** `SHOPIFY_SEARCH_CUSTOMERS`

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.

### Search for gift cards

**Slug:** `SHOPIFY_SEARCHES_FOR_GIFT_CARDS`

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.

### Send an invoice

**Slug:** `SHOPIFY_SEND_AN_INVOICE`

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.

### Send Customer Account Invite

**Slug:** `SHOPIFY_SEND_CUSTOMER_INVITE`

Sends an account invitation email to a customer, allowing them to create or activate their Shopify account. The invitation includes a link for the customer to set up their account credentials. This action is useful when you want customers to have direct access to their order history and account details. You can customize the invitation with a personalized message and subject line, or use the store's default invitation template. Note: Requires the 'write_customers' scope. The customer must not already have an active account to receive an invitation.

### Send Account Invite to Customer

**Slug:** `SHOPIFY_SENDS_AN_ACCOUNT_INVITE_TO_A_CUSTOMER`

Sends an account activation invite email to an existing customer, allowing them to set up their online store account. Use this action to: - Send account activation emails to newly created customers who haven't activated their accounts yet - Resend activation invites to customers who didn't receive or lost the original email - Send custom invitation emails with personalized subject lines and messages The customer must not already have an active account. If the customer has already activated their account, this action will fail with a 422 error.

### Set Default Customer Address

**Slug:** `SHOPIFY_SET_DEFAULT_CUSTOMER_ADDRESS`

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.

### Set Fulfillment Orders Deadline

**Slug:** `SHOPIFY_SET_FULFILLMENT_ORDERS_DEADLINE`

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

### Set inventory level for inventory item

**Slug:** `SHOPIFY_SETS_INVENTORY_LEVEL_INVENTORY_ITEM_AT_LOCATION`

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.

### Create a shop metafield

**Slug:** `SHOPIFY_SHOP_CREATE_A_METAFIELD`

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

### Delete shop metafield by ID

**Slug:** `SHOPIFY_SHOP_DELETES_A_METAFIELD_BY_ITS_ID`

Tool to delete a shop-level metafield by its ID. Use when you need to permanently remove a metafield from the Shopify store. Note: Attempting to delete a non-existent or already-deleted metafield will return a 404 error.

### Retrieve metafield by ID

**Slug:** `SHOPIFY_SHOP_RETRIEVE_A_SPECIFIC_METAFIELD`

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.

### Retrieve metafields from resource endpoint

**Slug:** `SHOPIFY_SHOP_RETRIEVE_LIST_METAFIELDS_RESOURCE_S_ENDPOINT`

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.

### Update a metafield

**Slug:** `SHOPIFY_SHOP_UPDATES_A_METAFIELD`

Tool to update an existing shop-level metafield's value and type. Use when you need to modify metafield data attached to the shop itself (not product, customer, or other resource metafields).

### Update an Existing Gift Card

**Slug:** `SHOPIFY_UPDATE_AN_EXISTING_GIFT_CARD`

Updates an existing gift card in Shopify. Use when you need to modify a gift card's expiration date, merchant note, template suffix, or assign it to a customer. Only four properties can be updated after creation: expires_on (expiration date), note (merchant-only note), template_suffix (Liquid template suffix), and customer_id (can only be set if currently null). Note: Gift card balance and initial value cannot be modified through this endpoint.

### Update Article

**Slug:** `SHOPIFY_UPDATE_ARTICLE`

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.

### Update Comment

**Slug:** `SHOPIFY_UPDATE_COMMENT`

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. Note: This endpoint requires 'protected customer data' access because comments contain customer information (author name, email, IP address). Ensure the app has proper permissions before using this action.

### Update Country

**Slug:** `SHOPIFY_UPDATE_COUNTRIES_PARAM_COUNTRY_ID`

DEPRECATED: Updates an existing country's tax configuration in Shopify. This endpoint is deprecated as of API version 2024-07 and may return 403 Forbidden errors. The tax field has been read-only since API version 2020-10. Shopify recommends migrating to the GraphQL Admin API's Countries in shipping zone API instead. This action should not be used for new implementations.

### Update Province Tax Information

**Slug:** `SHOPIFY_UPDATE_COUNTRIES_PARAM_COUNTRY_ID_PROVINCES_PARAM`

Updates tax information for a province/state within a country. Modifies tax_name, tax_type, or tax rate for a specific province. **DEPRECATION NOTICE**: This REST API endpoint is deprecated as of API version 2024-07. Shopify recommends migrating to GraphQL Admin API. The endpoint remains functional but may be removed in future API versions. **Requirements**: Requires merchant approval for write_shipping scope. The tax field is deprecated as of API version 2020-10.

### Update Country

**Slug:** `SHOPIFY_UPDATE_COUNTRY`

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.

### Update custom collection

**Slug:** `SHOPIFY_UPDATE_CUSTOM_COLLECTION`

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.

### Update custom collection

**Slug:** `SHOPIFY_UPDATE_CUSTOM_COLLECTIONS_PARAM_CUSTOM_COLLECTION_ID`

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

### Update Customer Address

**Slug:** `SHOPIFY_UPDATE_CUSTOMER_ADDRESS`

Updates an existing address for a Shopify customer. This action allows you to modify address details such as street address, city, province, country, postal code, and contact information. At least one address field must be provided to update. Requires Protected Customer Data access approval and write_customers scope. Common use cases: - Correct shipping address errors for customers - Update customer contact information - Change billing addresses for customer accounts

### Update Customer

**Slug:** `SHOPIFY_UPDATE_CUSTOMERS_PARAM_CUSTOMER_ID`

Updates an existing customer in Shopify by customer ID. Use this action to modify customer information including: - Personal details (name, email, phone) - Contact addresses - Marketing consent preferences (email and SMS) - Customer tags and notes - Tax exemption status Note: Requires 'write_customers' API scope. Email addresses must be unique across all customers.

### Bulk delete customer addresses

**Slug:** `SHOPIFY_UPDATE_CUSTOMERS_PARAM_CUSTOMER_ID_ADDRESSES_SET`

Performs bulk operations on multiple customer addresses. Currently supports the 'destroy' operation to delete multiple addresses at once. Use this when you need to remove several addresses for a customer in a single API call instead of deleting them one by one.

### Update Discount Code

**Slug:** `SHOPIFY_UPDATE_DISCOUNT_CODE`

Updates the code value of an existing discount code. This changes what customers type at checkout to apply a discount. Important notes: - Only the 'code' field can be updated - you cannot change the discount logic (that's defined in the price rule) - The new code must be unique across your entire store - Shopify recommends keeping discount codes consistent with their price rule titles - Maximum 255 characters, case-insensitive Common use cases: - Rename a discount code for clarity (e.g., "SUMMER" to "SUMMER2026") - Fix typos in existing codes - Update codes to match current campaigns

### Update Fulfillment Tracking

**Slug:** `SHOPIFY_UPDATE_FULFILLMENT_TRACKING`

Updates tracking information (carrier company, tracking number, or custom URL) for an existing fulfillment. Use this action when: - You need to add or update tracking details for a shipment after the fulfillment was created - The carrier information was not provided during fulfillment creation - Tracking numbers become available after shipment - You want to notify customers about updated tracking information Prerequisites: Requires a valid fulfillment_id from a previously created fulfillment.

### Update Gift Card

**Slug:** `SHOPIFY_UPDATE_GIFT_CARDS_PARAM_GIFT_CARD_ID`

Tool to update an existing gift card in Shopify. Use when you need to modify gift card details. Only three fields can be updated after creation: expiry date (expires_on), merchant note (note), and template suffix (template_suffix). The gift card's balance and most other properties cannot be changed via the API. Requires write_gift_cards scope and Shopify Plus plan.

### Update inventory item

**Slug:** `SHOPIFY_UPDATE_INVENTORY_ITEM`

Updates properties of an inventory item in Shopify. An inventory item represents the physical good behind a product variant, containing metadata like SKU, cost, origin, and shipping requirements. Use this action to modify these properties - NOT to adjust inventory quantities (use inventory level actions for quantity changes). Common use cases: updating product costs, changing SKUs, setting country of origin for customs, or toggling inventory tracking.

### Update blog metafield

**Slug:** `SHOPIFY_UPDATE_METAFIELD`

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.

### Update metafield by ID

**Slug:** `SHOPIFY_UPDATE_METAFIELDS_PARAM_METAFIELD_ID`

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

### Update Order

**Slug:** `SHOPIFY_UPDATE_ORDER`

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

### Update order risk

**Slug:** `SHOPIFY_UPDATE_ORDER_RISK`

Updates an order risk assessment for fraud detection in Shopify. Use when modifying existing risk evaluations. **IMPORTANT - API DEPRECATION:** This REST API endpoint is deprecated as of version 2024-04. If using API version 2024-04 or later, you must use the GraphQL Admin API's orderRiskAssessmentCreate mutation instead. See: https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderRiskAssessmentCreate **Note:** You cannot modify a risk created by another application.

### Update Page

**Slug:** `SHOPIFY_UPDATE_PAGE`

Updates an existing page in a Shopify store. Use this to modify page properties such as title, HTML content (body_html), author, URL handle, publication status, or template. Requires a valid page_id and at least one field to update. All update fields are optional - provide only the fields you want to change.

### Update Price Rule

**Slug:** `SHOPIFY_UPDATE_PRICE_RULE`

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.

### Update Product Image

**Slug:** `SHOPIFY_UPDATE_PRODUCT_IMAGE`

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

### Update product metafield

**Slug:** `SHOPIFY_UPDATE_PRODUCT_METAFIELD`

Updates an existing metafield for a specific Shopify product.

### Update Product

**Slug:** `SHOPIFY_UPDATE_PRODUCTS_PARAM_PRODUCT_ID`

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.

### Update redirect

**Slug:** `SHOPIFY_UPDATE_REDIRECTS_PARAM_REDIRECT_ID`

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.

### Update Customer

**Slug:** `SHOPIFY_UPDATES_A_CUSTOMER`

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.

### Update Marketing Event

**Slug:** `SHOPIFY_UPDATES_A_MARKETING_EVENT`

Updates an existing marketing event in Shopify. UPDATABLE FIELDS: remote_id, budget, currency, budget_type, started_at, ended_at, scheduled_to_end_at. READ-ONLY FIELDS (cannot be changed after creation): event_type, marketing_channel, referring_domain, utm_campaign, utm_source, utm_medium, description, manage_url, preview_url, paid. This action validates and rejects requests that attempt to update read-only fields to prevent confusion.

### Update a metafield

**Slug:** `SHOPIFY_UPDATES_A_METAFIELD`

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.

### Updates An Article

**Slug:** `SHOPIFY_UPDATES_AN_ARTICLE`

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.

### Updates An Existing Discount Code

**Slug:** `SHOPIFY_UPDATES_AN_EXISTING_DISCOUNT_CODE`

Updates the code value of an existing discount code associated with a price rule. This action allows you to change the discount code string that customers use at checkout. The code is case-insensitive and can be up to 255 characters. Only the code value can be updated; to modify discount logic (percentage, amount, conditions), update the price rule itself. Required: Both the price_rule_id and discount_code_id must exist in your Shopify store. The new code must be unique and not already in use by another discount.

### Update Province for Country

**Slug:** `SHOPIFY_UPDATES_AN_EXISTING_PROVINCE_FOR_A_COUNTRY`

Updates an existing province for a country in Shopify. IMPORTANT: This endpoint is deprecated as of API version 2024-07. Additionally, custom tax values for provinces cannot be updated as of version 2020-10. While the endpoint accepts update requests and returns 200 OK, province values (especially tax-related fields) may not actually be modified. Consider using the GraphQL Admin API for country/province management.

### Update redirect

**Slug:** `SHOPIFY_UPDATES_AN_EXISTING_REDIRECT`

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

### Update Order

**Slug:** `SHOPIFY_UPDATES_AN_ORDER`

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.

### Update a product

**Slug:** `SHOPIFY_UPDATES_A_PRODUCT`

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

### Update Script Tag

**Slug:** `SHOPIFY_UPDATE_SCRIPTTAG`

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.

### Update Smart Collection

**Slug:** `SHOPIFY_UPDATE_SMART_COLLECTION`

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

### Update smart collection product order

**Slug:** `SHOPIFY_UPDATE_SMART_COLLECTION_ORDER`

Updates the display order of products in a smart collection with manual sorting enabled. Use this action to customize the sequence products appear in a collection. This only works when the collection's sort_order field is set to 'manual'. If the collection uses automatic sorting (e.g., 'best-selling', 'price-asc'), this operation will have no effect. Requirements: - Collection must have sort_order='manual' - Product IDs must belong to products already in the collection - Requires 'write_products' scope Returns an empty response on success (HTTP 200 indicates successful reordering).

### Update smart collection

**Slug:** `SHOPIFY_UPDATE_SMART_COLLECTIONS_PARAM_SMART_COLLECTION_ID`

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

### Update webhook

**Slug:** `SHOPIFY_UPDATE_WEBHOOK`

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.

### Validate Access

**Slug:** `SHOPIFY_VALIDATE_ACCESS`

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.
