Shopify

Shopify is an e-commerce platform. This toolkit is GraphQL-first for new Admin API automations while retaining legacy REST compatibility actions for older workflows and numeric-ID interoperability

315 actions Integration catalog
Request access
Connect Shopify once you're in Boring.
01 · WHAT THE AGENT CAN DO

Actions

Every capability is a discrete, logged action the agent calls by name — scoped to what you authorize and recorded in the run trace.

Activate One-Time ChargeSHOPIFY_ACTIVATE_ONE_TIME_CHARGE
Activate a one-time application charge in Shopify. Use when you need to finalize billing for an accepted charge. DEPRECATED: This endpoint is deprecated as of API version 2021-01. One-time charges are now immediately activated when approved by a merchant, making this activation step no longer required for newer API versions.
Add product to custom collection (Deprecated)SHOPIFY_ADD_PRODUCT_TO_COLLECTION
DEPRECATED: Use SHOPIFY_ADDS_A_PRODUCT_TO_A_CUSTOM_COLLECTION instead. Adds a product to an existing *custom collection*, optionally specifying its `position` if the collection is manually sorted.
Add product to custom collectionSHOPIFY_ADD_PRODUCT_TO_CUSTOM_COLLECTION
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 levelsSHOPIFY_ADJUST_INVENTORY_LEVEL
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.
Apply fulfillment holdSHOPIFY_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 commentSHOPIFY_APPROVE_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 GraphQLSHOPIFY_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.
Bulk delete customer addresses (Deprecated)SHOPIFY_BULK_DELETE_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.
Delete metafields in bulkSHOPIFY_BULK_DELETE_METAFIELDS
Deletes multiple metafields in bulk using their owner ID, namespace, and key. If a metafield doesn't exist, the mutation still succeeds but returns null for that identifier in the response.
Bulk delete metaobjectsSHOPIFY_BULK_DELETE_METAOBJECTS
Asynchronously delete metaobjects and their associated metafields in bulk. Use this action to delete multiple metaobjects by their IDs or delete all metaobjects of a specific type. The operation is asynchronous and returns a job ID for tracking completion status.
Run Shopify bulk query operationSHOPIFY_BULK_QUERY_OPERATION
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 refundSHOPIFY_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 App SubscriptionSHOPIFY_CANCEL_APP_SUBSCRIPTION
Cancel an app subscription in Shopify using the appSubscriptionCancel GraphQL mutation. Use when you need to cancel an existing app subscription, optionally with prorated credits.
Cancel Shopify bulk operationSHOPIFY_CANCEL_BULK_OPERATION
Cancel a running Shopify bulk operation. Use when you need to stop a long-running bulk query or mutation operation that is no longer needed. Note that there may be a short delay between when cancelation starts and when the operation is actually canceled.
Cancel a fulfillmentSHOPIFY_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 a Fulfillment OrderSHOPIFY_CANCEL_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 orderSHOPIFY_CANCEL_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.
Close an orderSHOPIFY_CLOSE_ORDER
Closes an open Shopify order. Use when all line items have been fulfilled or canceled and all financial transactions are complete.
Complete a draft orderSHOPIFY_COMPLETE_DRAFT_ORDER
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.
Connect inventory item to locationSHOPIFY_CONNECT_INVENTORY_LEVEL
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.
Count articles in blogSHOPIFY_COUNT_ARTICLES
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.
Get blogs countSHOPIFY_COUNT_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.
Retrieve count of custom collections (Deprecated)SHOPIFY_COUNT_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.
Get draft orders countSHOPIFY_COUNT_DRAFT_ORDERS
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.
Count all the events (Deprecated)SHOPIFY_COUNT_EVENTS
Count all events in a Shopify store with comprehensive filtering. Use when you need to determine how many events match specified criteria including date range, resource type, or action verb.
Count fulfillments for orderSHOPIFY_COUNT_FULFILLMENTS
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.
Retrieves a count of locations (Deprecated)SHOPIFY_COUNT_LOCATION
Retrieves a count of locations. Use when you need to determine how many physical or virtual locations are configured in the Shopify store.
Count shop metafieldsSHOPIFY_COUNT_METAFIELDS
Retrieves the shop-level count of metafields. Use resource-specific metafield actions for product, customer, order, collection, page, or article metafields.
Count orders (Deprecated)SHOPIFY_COUNT_ORDER
DEPRECATED: Use SHOPIFY_RETRIEVES_AN_ORDER_COUNT instead. 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.
Retrieve page countSHOPIFY_COUNT_PAGES
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.
Count price rulesSHOPIFY_COUNT_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.
Count product imagesSHOPIFY_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.
Retrieves a count of productsSHOPIFY_COUNT_PRODUCTS
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.
Count product variantsSHOPIFY_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 tagsSHOPIFY_COUNT_SCRIPT_TAGS
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.
Receive a count of all webhooks (Deprecated)SHOPIFY_COUNT_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.
Create a metafieldSHOPIFY_CREATE_A_METAFIELD
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 Product Image (Deprecated)SHOPIFY_CREATE_A_NEW_PRODUCT_IMAGE
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 app subscriptionSHOPIFY_CREATE_APP_SUBSCRIPTION
Create a recurring or usage-based app subscription for charging Shopify merchants. Use when setting up billing for app features and services. Returns a confirmation URL where the merchant must approve charges before the subscription becomes active.
Create ArticleSHOPIFY_CREATE_ARTICLE
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 ArticleSHOPIFY_CREATE_ARTICLE_COMMENT
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 a new blogSHOPIFY_CREATE_BLOG
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 CountrySHOPIFY_CREATE_COUNTRY
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 a custom collectionSHOPIFY_CREATE_CUSTOM_COLLECTION
Create a new custom (manually curated) collection in Shopify. Does not support smart collections. 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. After creation, use the returned `collection_id` with SHOPIFY_ADD_PRODUCT_TO_COLLECTION to associate products.
Create CustomerSHOPIFY_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. Errors (e.g., duplicate email, invalid fields) are returned in the response body's userErrors array, not as HTTP error codes — always inspect userErrors to detect failures.
Generate Customer Account Activation URLSHOPIFY_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 addressSHOPIFY_CREATE_CUSTOMER_ADDRESS
Create a new address for a customer. Use when you need to add an address to an existing customer's address list.
Create delegate access tokenSHOPIFY_CREATE_DELEGATE_ACCESS_TOKEN
Create a delegate access token with a subset of the parent token's permissions. Use when you need to securely delegate limited access to subsystems or services. Each delegate token inherits only the specified scopes, ensuring minimal required permissions rather than full app access. Note: Delegate tokens cannot create new delegate tokens.
Create Discount CodeSHOPIFY_CREATE_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.
Create Discount Codes BatchSHOPIFY_CREATE_DISCOUNT_CODE_BATCH
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 a new draft orderSHOPIFY_CREATE_DRAFT_ORDER
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 EventBridge webhook subscriptionSHOPIFY_CREATE_EVENT_BRIDGE_WEBHOOK_SUBSCRIPTION
Create an AWS EventBridge webhook subscription in Shopify. Use when you need to configure real-time event notifications to AWS EventBridge for events like order creation, product updates, or customer changes. EventBridge webhooks push events to your AWS partner event source immediately when changes occur, eliminating polling. You can filter events and control payload fields to optimize performance.
Create FulfillmentSHOPIFY_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 EventSHOPIFY_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.
Create Gift CardSHOPIFY_CREATE_GIFT_CARD
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.
Create Marketing Event EngagementsSHOPIFY_CREATE_MARKETING_ENGAGEMENTS
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 Marketing EventSHOPIFY_CREATE_MARKETING_EVENT
Create a marketing event in Shopify to track promotional actions. Use when you need to track marketing campaigns targeting customers across various channels.
Create blog metafieldSHOPIFY_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 One-Time Application ChargeSHOPIFY_CREATE_ONE_TIME_APPLICATION_CHARGE
Create a new one-time application charge in Shopify. Use when you need to bill merchants for one-time features, upgrades, or services. After creation, the merchant must approve the charge via the confirmation_url before it becomes active.
Create an orderSHOPIFY_CREATE_ORDER
Create a fully committed (real) order in Shopify without payment processing. Use when programmatically generating orders with line items, customer information, and addresses. Creates a live order immediately — not a draft; use draftOrderCreate for draft workflows.
Showing the first 60 of 315 actions.