Shopify
E-commerce Store name and access tokenRead and update orders, products, customers and inventory on a Shopify store from any Windmill script, flow or app.
Set up in 3 steps
Create a custom app
In the Shopify admin, open Settings, then Apps and sales channels, then Develop apps. Create an app, grant the Admin API scopes your scripts need, install it, and reveal the Admin API access token.
Add the resource in Windmill
Open Resources, add a resource of type shopify. store_name is the subdomain only — the yourshop in yourshop.myshopify.com — and token is the Admin API access token.
Run your first script
Fork any script below and count orders before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Create Product
Search for Products
Create Order
Create Product Variant
Search for Product Variant
Search for Customers
Create Customer
Update Product
Update Product Variant
Update Customer
Create Smart Collection
Update Inventory Level
Creates a theme
Deletes an order
Deletes a page
Retrieve a specific product listing that is published to your app
Deletes an asset from a theme
Retrieves a list of usage charges
Deletes a custom collection
Retrieves all application credits
Deletes a marketing event
Receive a list of all Countries
Return a single dispute
Retrieve a specific collection listing that is published to your app
Modify an existing FulfillmentService
Retrieves a single location by its ID
Retrieves a list of customer saved searches
Creates a marketing event
Receive a count of all Product Images
Receive a list of all Product Images
Resource type
shopify — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| store_name | string | Yes | |
| token | string | Yes |
Questions
What goes in store_name?
The subdomain alone. For yourshop.myshopify.com, enter yourshop — the full host is built from it, and your custom storefront domain will not work here.
A call fails on a missing scope
Admin API scopes are fixed when the custom app is installed. Add the scope in Shopify and reinstall the app; the token stays valid.
Is my token stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.