Skip to content

Shopify

The Shopify Operator enables integration with the Shopify e-commerce platform. It provides functionality for managing products, orders, inventory, customers, and other Shopify resources through the Shopify API.

  • Managing product catalog in Shopify stores
  • Processing and fulfilling orders
  • Tracking and adjusting inventory levels
  • Retrieving customer information
  • Automating order workflows
  • Synchronizing product data between systems
  • Creating and updating product information
  • Managing order fulfillment processes
  • Retrieving order details and history
  • Implementing custom e-commerce workflows

Retrieves product information from a Shopify store.

  • shopDomain (string): The Shopify store domain
  • productId (string): The ID of the product to retrieve

Returns detailed information about the requested product, including variants, images, and other product attributes.

{
"shopDomain": "your-store.myshopify.com",
"productId": "gid://shopify/Product/1234567890"
}

Creates a new product in a Shopify store.

  • shopDomain (string): The Shopify store domain
  • title (string): The product title
  • description (string): The product description
  • variants (array): Product variants with prices, SKUs, etc.
  • images (array, optional): Product images

Returns information about the newly created product, including its ID and other attributes.

{
"shopDomain": "your-store.myshopify.com",
"title": "New Product",
"description": "This is a new product description",
"variants": [
{
"price": "29.99",
"sku": "NP-001",
"inventoryQuantity": 100
}
]
}

Retrieves detailed information about a specific order.

  • shopDomain (string): The Shopify store domain
  • orderId (string): The ID of the order to retrieve

Returns detailed information about the requested order, including line items, customer information, shipping details, and payment information.

{
"shopDomain": "your-store.myshopify.com",
"orderId": "gid://shopify/Order/1234567890"
}

Marks an order as fulfilled in Shopify.

  • shopDomain (string): The Shopify store domain
  • orderId (string): The ID of the order to fulfill
  • trackingNumber (string, optional): The tracking number for the shipment
  • trackingCompany (string, optional): The shipping carrier
  • notifyCustomer (boolean, optional): Whether to notify the customer about the fulfillment

Returns information about the fulfillment, including its ID and status.

{
"shopDomain": "your-store.myshopify.com",
"orderId": "gid://shopify/Order/1234567890",
"trackingNumber": "1Z999AA10123456789",
"trackingCompany": "UPS",
"notifyCustomer": true
}

Cancels an order in Shopify.

  • shopDomain (string): The Shopify store domain
  • orderId (string): The ID of the order to cancel
  • reason (string, optional): The reason for cancellation

Returns information about the canceled order, including its updated status.

{
"shopDomain": "your-store.myshopify.com",
"orderId": "gid://shopify/Order/1234567890",
"reason": "Customer request"
}

Adjusts the inventory level for a product variant.

  • shopDomain (string): The Shopify store domain
  • inventoryItemId (string): The ID of the inventory item
  • locationId (string): The ID of the location
  • adjustment (integer): The quantity to adjust (positive or negative)

Returns information about the updated inventory level.

{
"shopDomain": "your-store.myshopify.com",
"inventoryItemId": "gid://shopify/InventoryItem/1234567890",
"locationId": "gid://shopify/Location/1234567890",
"adjustment": 10
}

Retrieves the inventory item ID for a specific product variant.

  • shopDomain (string): The Shopify store domain
  • variantId (string): The ID of the product variant

Returns the inventory item ID associated with the specified product variant.

{
"shopDomain": "your-store.myshopify.com",
"variantId": "gid://shopify/ProductVariant/1234567890"
}

Retrieves a product variant by its SKU.

  • shopDomain (string): The Shopify store domain
  • sku (string): The SKU of the product variant

Returns information about the product variant with the specified SKU.

{
"shopDomain": "your-store.myshopify.com",
"sku": "NP-001"
}

Adds a note or tag to an existing order.

  • shopDomain (string): The Shopify store domain
  • orderId (string): The ID of the order
  • note (string, optional): The note to add to the order
  • tags (array, optional): The tags to add to the order

Returns information about the updated order with the new note or tags.

{
"shopDomain": "your-store.myshopify.com",
"orderId": "gid://shopify/Order/1234567890",
"note": "Customer requested express shipping",
"tags": ["priority", "express-shipping"]
}

Retrieves fulfillment orders for a specific order.

  • shopDomain (string): The Shopify store domain
  • orderId (string): The ID of the order

Returns information about the fulfillment orders associated with the specified order.

{
"shopDomain": "your-store.myshopify.com",
"orderId": "gid://shopify/Order/1234567890"
}

Retrieves a list of orders based on specified criteria.

  • shopDomain (string): The Shopify store domain
  • query (string, optional): A query to filter orders
  • first (integer, optional): The number of orders to retrieve
  • after (string, optional): Cursor for pagination

Returns a list of orders matching the specified criteria.

{
"shopDomain": "your-store.myshopify.com",
"query": "created_at:>2023-01-01",
"first": 10
}

Retrieves customer information by email address.

  • shopDomain (string): The Shopify store domain
  • accessToken (string): The Shopify API access token
  • email (string): The customer’s email address

Returns information about the customer with the specified email address.

{
"shopDomain": "your-store.myshopify.com",
"email": "[email protected]"
}
  • The Shopify operator requires valid Shopify API credentials (shop domain and access token)
  • Operations use Shopify’s GraphQL API for efficient data retrieval and manipulation
  • Some operations may require specific Shopify API access scopes
  • Rate limits apply based on your Shopify plan
  • The operator handles authentication and request formatting automatically
  • All operations return structured data that can be processed by other operators
  • Error handling includes detailed error messages from the Shopify API