Modules@robinpath/shopify
@robinpath/shopify
0.1.0PublicShopify module for RobinPath.
@robinpath/shopify
Shopify module for RobinPath.
Why use this module?
The shopify module lets you:
- List products in the store.
- Get a product by ID.
- Create a new product.
- Update an existing product.
- List orders with optional filters.
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/shopify
Quick Start
1. Set up credentials
shopify.setCredentials "my-store" "shpat_xxx"
2. List products in the store.
shopify.listProducts {"limit":10}
Available Functions
| Function | Description |
|---|---|
shopify.setCredentials | Set Shopify store credentials. |
shopify.listProducts | List products in the store. |
shopify.getProduct | Get a product by ID. |
shopify.createProduct | Create a new product. |
shopify.updateProduct | Update an existing product. |
shopify.listOrders | List orders with optional filters. |
shopify.getOrder | Get an order by ID. |
shopify.listCustomers | List customers. |
shopify.getCustomer | Get a customer by ID. |
shopify.getInventory | Get inventory levels for an item. |
shopify.countProducts | Get total product count. |
shopify.countOrders | Get total order count with optional status filter. |
Examples
List products in the store.
shopify.listProducts {"limit":10}
Get a product by ID.
shopify.getProduct "123456789"
Create a new product.
shopify.createProduct {"title":"New Product","body_html":"<p>Description</p>","vendor":"My Brand"}
Integration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/shopify";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
shopify.setCredentials "my-store" "shpat_xxx"
shopify.listProducts {"limit":10}
`);
Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/woocommerce— WooCommerce module for complementary functionality@robinpath/bigcommerce— BigCommerce module for complementary functionality@robinpath/square— Square module for complementary functionality@robinpath/json— JSON module for complementary functionality
License
MIT
Versions (1)
| Version | Tag | Published |
|---|---|---|
| 0.1.0 | latest | yesterday |
Related Modules
sales
0
@robinpath/bigcommerce
v0.1.1robinpath
BigCommerce module for RobinPath.
0 downloads
...
sales
0
@robinpath/freshbooks
v0.1.0robinpath
FreshBooks module for RobinPath.
0 downloads
...
sales
0
@robinpath/freshdesk
v0.1.0robinpath
Freshdesk module for RobinPath.
0 downloads
...
sales
0
@robinpath/hubspot
v0.1.0robinpath
HubSpot module for RobinPath.
0 downloads
...
Install
$ robinpath install @robinpath/shopify Version0.1.0
LicenseMIT
Unpacked Size5.2 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

