FruxonDocs

Shopify

Shopify e-commerce integration for managing products, orders, customers, and inventory

The Shopify integration lets your agents manage your e-commerce store — browse products, look up orders, handle customers, and track inventory.

Prerequisites

You need:

  • Shopify Store — A Shopify store with a custom app configured.
  • Store Subdomain — Your Shopify store subdomain (e.g., mystore from mystore.myshopify.com).
  • One of the following authentication methods:
    • Admin API Access Token — Create a Custom App in your Shopify admin under Settings > Apps and sales channels > Develop apps. Configure the necessary API scopes and copy the Admin API access token.
    • OAuth — Connect your Shopify store via the OAuth flow for secure access.

Setup

  1. Open your agent in Agent Studio
  2. In the Integrations panel, click Add Integration Config
  3. Select Shopify from the integration list
  4. Give the config a display name (e.g., "Shopify - My Store")
  5. Enter your Shop subdomain (e.g., mystore)
  6. Choose your authentication method:
    • API Key — Paste your Admin API access token from your Custom App
    • OAuth — Click Connect to start the Shopify OAuth flow
  7. Save the agent revision

Using in Your Agent

  1. In an Agent Step, attach Shopify tools from the tools panel
  2. The agent uses your integration config for all Shopify API calls
  3. Tools are referenced as shopify.list_products, shopify.get_order, etc.

Available Tools

Products

ToolDescriptionAction Type
list_productsList products with optional filtering by status, vendor, type, and collectionReadOnly
get_productGet a single product by ID including variants, images, and optionsReadOnly
create_productCreate a new product with optional variantsReversible
update_productUpdate an existing product's detailsReversible
delete_productDelete a product from the storeIrreversible

Orders

ToolDescriptionAction Type
list_ordersList orders with filtering by status, financial status, fulfillment status, and date rangeReadOnly
get_orderGet a single order by ID including line items and shipping detailsReadOnly
close_orderClose a completed orderReversible
cancel_orderCancel an open order with optional reason and email notificationIrreversible

Customers

ToolDescriptionAction Type
list_customersList customers with paginationReadOnly
search_customersSearch customers by name, email, or other fieldsReadOnly
get_customerGet a single customer by ID including addresses and order countReadOnly
create_customerCreate a new customerReversible
update_customerUpdate an existing customer's detailsReversible
get_customer_ordersGet all orders placed by a specific customerReadOnly

Inventory

ToolDescriptionAction Type
list_locationsList all store locations where inventory is stockedReadOnly
list_inventory_levelsGet inventory levels for items at specific locationsReadOnly
adjust_inventoryAdjust inventory by a relative amount (e.g., +5 or -3)Reversible
set_inventorySet inventory to a specific quantityReversible

Draft Orders

ToolDescriptionAction Type
list_draft_ordersList draft orders (invoices/quotes)ReadOnly
create_draft_orderCreate a draft order with line items for invoices, quotes, or custom ordersReversible

On this page