Shopify
Purpose
Section titled “Purpose”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.
Use Cases
Section titled “Use Cases”- 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
Supported Operations
Section titled “Supported Operations”get-product
Section titled “get-product”Retrieves product information from a Shopify store.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainproductId
(string): The ID of the product to retrieve
Output
Section titled “Output”Returns detailed information about the requested product, including variants, images, and other product attributes.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "productId": "gid://shopify/Product/1234567890"}
create-product
Section titled “create-product”Creates a new product in a Shopify store.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domaintitle
(string): The product titledescription
(string): The product descriptionvariants
(array): Product variants with prices, SKUs, etc.images
(array, optional): Product images
Output
Section titled “Output”Returns information about the newly created product, including its ID and other attributes.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "title": "New Product", "description": "This is a new product description", "variants": [ { "price": "29.99", "sku": "NP-001", "inventoryQuantity": 100 } ]}
get-order
Section titled “get-order”Retrieves detailed information about a specific order.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainorderId
(string): The ID of the order to retrieve
Output
Section titled “Output”Returns detailed information about the requested order, including line items, customer information, shipping details, and payment information.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "orderId": "gid://shopify/Order/1234567890"}
fulfill-order
Section titled “fulfill-order”Marks an order as fulfilled in Shopify.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainorderId
(string): The ID of the order to fulfilltrackingNumber
(string, optional): The tracking number for the shipmenttrackingCompany
(string, optional): The shipping carriernotifyCustomer
(boolean, optional): Whether to notify the customer about the fulfillment
Output
Section titled “Output”Returns information about the fulfillment, including its ID and status.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "orderId": "gid://shopify/Order/1234567890", "trackingNumber": "1Z999AA10123456789", "trackingCompany": "UPS", "notifyCustomer": true}
cancel-order
Section titled “cancel-order”Cancels an order in Shopify.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainorderId
(string): The ID of the order to cancelreason
(string, optional): The reason for cancellation
Output
Section titled “Output”Returns information about the canceled order, including its updated status.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "orderId": "gid://shopify/Order/1234567890", "reason": "Customer request"}
adjust-inventory
Section titled “adjust-inventory”Adjusts the inventory level for a product variant.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domaininventoryItemId
(string): The ID of the inventory itemlocationId
(string): The ID of the locationadjustment
(integer): The quantity to adjust (positive or negative)
Output
Section titled “Output”Returns information about the updated inventory level.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "inventoryItemId": "gid://shopify/InventoryItem/1234567890", "locationId": "gid://shopify/Location/1234567890", "adjustment": 10}
get-inventory-item-id-by-variant-id
Section titled “get-inventory-item-id-by-variant-id”Retrieves the inventory item ID for a specific product variant.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainvariantId
(string): The ID of the product variant
Output
Section titled “Output”Returns the inventory item ID associated with the specified product variant.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "variantId": "gid://shopify/ProductVariant/1234567890"}
get-product-variant-by-sku
Section titled “get-product-variant-by-sku”Retrieves a product variant by its SKU.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainsku
(string): The SKU of the product variant
Output
Section titled “Output”Returns information about the product variant with the specified SKU.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "sku": "NP-001"}
create-order-note-or-tag
Section titled “create-order-note-or-tag”Adds a note or tag to an existing order.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainorderId
(string): The ID of the ordernote
(string, optional): The note to add to the ordertags
(array, optional): The tags to add to the order
Output
Section titled “Output”Returns information about the updated order with the new note or tags.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "orderId": "gid://shopify/Order/1234567890", "note": "Customer requested express shipping", "tags": ["priority", "express-shipping"]}
get-fulfillment-orders
Section titled “get-fulfillment-orders”Retrieves fulfillment orders for a specific order.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainorderId
(string): The ID of the order
Output
Section titled “Output”Returns information about the fulfillment orders associated with the specified order.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "orderId": "gid://shopify/Order/1234567890"}
get-order-list
Section titled “get-order-list”Retrieves a list of orders based on specified criteria.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainquery
(string, optional): A query to filter ordersfirst
(integer, optional): The number of orders to retrieveafter
(string, optional): Cursor for pagination
Output
Section titled “Output”Returns a list of orders matching the specified criteria.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com", "query": "created_at:>2023-01-01", "first": 10}
get-customer-by-email
Section titled “get-customer-by-email”Retrieves customer information by email address.
Input Parameters
Section titled “Input Parameters”shopDomain
(string): The Shopify store domainaccessToken
(string): The Shopify API access tokenemail
(string): The customer’s email address
Output
Section titled “Output”Returns information about the customer with the specified email address.
Example
Section titled “Example”{ "shopDomain": "your-store.myshopify.com",}
- 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