Shopify
API actions for the Shopify integration.
Shopify
Manage Shopify catalog and orders with your Admin API access token.
Create Shopify customer
Create a new customer record in Shopify.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Customer email address |
first_name | string | No | Customer first name |
last_name | string | No | Customer last name |
phone | string | No | Customer phone number |
Response
{
"email": "customer@example.com",
"id": "987654321"
}Create Shopify order
Create a new order in Shopify (for testing or custom use cases).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
line_items | array | Yes | List of line items (product/variant details) |
customer_id | string | No | Shopify customer ID |
financial_status | string | No | Financial status (paid, pending, authorized) |
Response
{
"financial_status": "paid",
"id": "555666777",
"name": "#1001",
"total_price": "49.99"
}Create Shopify product
Create a new product in Shopify with basic details.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Product title/name |
body_html | string | No | Product description HTML |
vendor | string | No | Product vendor/manufacturer |
product_type | string | No | Product category/type |
tags | string | No | Comma-separated product tags |
price | number | No | Product price for first variant |
inventory_quantity | number | No | Initial inventory quantity for first variant |
Response
{
"id": "987654321",
"status": "active",
"title": "New Sample Product"
}Fulfill Shopify order
Mark an order as fulfilled in Shopify.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | Yes | Shopify order ID |
tracking_number | string | No | Tracking number for shipment |
tracking_company | string | No | Shipping carrier name |
notify_customer | boolean | No | Notify customer by email |
Response
{
"id": "fulfillment_123",
"status": "success"
}Get Shopify product by ID
Retrieve details about a specific Shopify product using its ID.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Shopify product ID (numeric string) |
Response
{
"body_html": "<p>Sample product description</p>",
"id": "123456789",
"title": "Sample Product",
"variants": [
{
"inventory_quantity": 42,
"price": "19.99",
"sku": "SAMPLE-SKU"
}
]
}List Shopify products
List products from your Shopify store with an optional limit.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | No | Maximum number of products to return. |
Response
{
"results": [
{
"id": "123456789",
"inventory_quantity": 42,
"title": "Sample Product",
"variants": [
{
"inventory_quantity": 42,
"price": "19.99",
"sku": "SAMPLE-SKU"
}
]
}
]
}Update Shopify product
Update an existing Shopify product's details.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Shopify product ID |
title | string | No | Updated product title |
body_html | string | No | Updated product description HTML |
vendor | string | No | Updated product vendor |
product_type | string | No | Updated product type |
tags | string | No | Updated product tags |
price | number | No | Updated price for first variant |
inventory_quantity | number | No | Updated inventory quantity for first variant |
Response
{
"id": "123456789",
"title": "Updated Product Title"
}