Skip to main content
The Shopify connector lets your workflows interact with a Shopify store through the Admin API. Manage products, fulfil orders, update inventory, and more.
For the full API reference, see the Shopify API documentation.

Connection setup

1

Create a custom app in Shopify

In your Shopify admin, go to Settings → Apps and sales channels → Develop apps. Click Create an app and give it a name (e.g., “Spojit Integration”).
2

Configure API scopes

Click Configure Admin API scopes and enable the scopes your workflows need (e.g., read_products, write_products, read_orders, write_orders, read_customers, write_customers, read_inventory, write_inventory).
3

Install the app and copy the token

Click Install app, then copy the Admin API access token. This token is shown only once, so save it securely.
4

Add the connection in Spojit

Go to Connections in Spojit, click Add Connection, select Shopify, and enter:
  • Store Name: Your store name (e.g., my-store, without .myshopify.com)
  • Admin API Access Token: The token you copied
  • API Version (optional): Defaults to the latest stable version

Tools

Shop

Returns store details including name, domain, currency, timezone, and plan.No parameters required.Example request:
Example response:

Products

string
Shopify search query (e.g., status:active, title:shirt). Optional.
number
default:"20"
Number of results to return (max 250).
string
Pagination cursor for the next page.
Example request:
Example response:
Returns full product details including variants and images.
string
required
Product ID (numeric or Shopify GID).
Example request:
Example response:
string
required
Product title.
string
HTML description.
string
Vendor name.
string
Product type.
string[]
Product tags.
string
default:"DRAFT"
Product status: ACTIVE, DRAFT, or ARCHIVED.
Example request:
Example response:
string
required
Product ID.
string
New title.
string
New HTML description.
string
New vendor.
string
New product type.
string[]
New tags.
string
New status: ACTIVE, DRAFT, or ARCHIVED.
Example request:
Example response:
string
required
Product ID.
Example request:
Example response:

Orders

string
Shopify search query (e.g., financial_status:paid).
number
default:"20"
Number of results (max 250).
string
Pagination cursor.
Example request:
Example response:
string
required
Order ID.
Example request:
Example response:
string
required
Order ID.
string[]
New tags.
string
New note.
Example request:
Example response:
string
required
Order ID.
string
default:"OTHER"
Cancel reason: CUSTOMER, FRAUD, INVENTORY, DECLINED, or OTHER.
boolean
default:"false"
Issue a refund.
boolean
default:"false"
Restock inventory.
Example request:
Example response:
string
required
Order ID.
Example request:
Example response:

Customers

string
Shopify search query.
number
default:"20"
Number of results (max 250).
string
Pagination cursor.
Example request:
Example response:
string
required
Customer ID.
Example request:
Example response:
string
First name.
string
Last name.
string
Email address.
string
Phone number.
string[]
Customer tags.
string
Internal note.
Example request:
Example response:
string
required
Customer ID.
string
First name.
string
Last name.
string
Email address.
string
Phone number.
string[]
Customer tags.
string
Internal note.
Example request:
Example response:

Collections

string
Shopify search query.
number
default:"20"
Number of results.
string
Pagination cursor.
Example request:
Example response:
string
required
Collection ID.
Example request:
Example response:
string
required
Collection title.
string
HTML description.
string
Sort order for products in the collection.
Example request:
Example response:

Inventory

Returns inventory quantities across all locations.
string
required
Inventory Item ID.
Example request:
Example response:
string
required
Inventory Item ID.
string
required
Location ID.
number
required
Quantity change (positive to add, negative to subtract).
string
default:"correction"
Adjustment reason code. Valid values: correction, cycle_count_available, damaged, movement_created, movement_received, movement_updated, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.
Example request:
Example response:

Discounts

number
default:"20"
Number of results (max 250).
string
Pagination cursor.
Example request:
Example response:
string
required
Discount title.
string
required
Discount code customers will enter.
string
required
Discount type: percentage or fixed.
number
required
Discount value. For percentage type, use a decimal (e.g., 0.2 for 20%). For fixed type, use the currency amount (e.g., 10 for $10 off).
string
Start date (ISO 8601).
string
End date (ISO 8601).
number
Maximum number of uses.
boolean
default:"false"
Limit to one use per customer.
Example request:
Example response:
string
required
Discount node ID.
Example request:
Example response:

Advanced

Run any GraphQL query or mutation against the Shopify Admin API.
string
required
GraphQL query or mutation string.
object
GraphQL variables.
Example request:
Example response: