Modules@robinpath/shopify

@robinpath/shopify

0.1.0Public

Shopify module for RobinPath.

@robinpath/shopify

Shopify module for RobinPath.

Category Functions Auth License

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

FunctionDescription
shopify.setCredentialsSet Shopify store credentials.
shopify.listProductsList products in the store.
shopify.getProductGet a product by ID.
shopify.createProductCreate a new product.
shopify.updateProductUpdate an existing product.
shopify.listOrdersList orders with optional filters.
shopify.getOrderGet an order by ID.
shopify.listCustomersList customers.
shopify.getCustomerGet a customer by ID.
shopify.getInventoryGet inventory levels for an item.
shopify.countProductsGet total product count.
shopify.countOrdersGet 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

License

MIT

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/shopify
Version0.1.0
LicenseMIT
Unpacked Size5.2 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

sales