@robinpath/woocommerce
WooCommerce module for RobinPath.

Why use this module?
The woocommerce module lets you:
- listProducts
- getProduct
- createProduct
- updateProduct
- deleteProduct
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/woocommerce
Quick Start
1. Set up credentials
woocommerce.setCredentials "your-credentials"
2. listProducts
woocommerce.listProducts
Available Functions
woocommerce.setCredentials | Configure woocommerce credentials. |
woocommerce.listProducts | listProducts |
woocommerce.getProduct | getProduct |
woocommerce.createProduct | createProduct |
woocommerce.updateProduct | updateProduct |
woocommerce.deleteProduct | deleteProduct |
woocommerce.listOrders | listOrders |
woocommerce.getOrder | getOrder |
woocommerce.createOrder | createOrder |
woocommerce.updateOrder | updateOrder |
woocommerce.deleteOrder | deleteOrder |
woocommerce.listCustomers | listCustomers |
woocommerce.getCustomer | getCustomer |
woocommerce.createCustomer | createCustomer |
woocommerce.updateCustomer | updateCustomer |
woocommerce.listCategories | listCategories |
woocommerce.createCategory | createCategory |
woocommerce.listCoupons | listCoupons |
woocommerce.createCoupon | createCoupon |
woocommerce.getOrderNotes | getOrderNotes |
woocommerce.createOrderNote | createOrderNote |
woocommerce.getReport | getReport |
woocommerce.listShipping | listShipping |
Examples
listProducts
woocommerce.listProducts
getProduct
woocommerce.getProduct
createProduct
woocommerce.createProduct
Integration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/woocommerce";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
woocommerce.setCredentials "your-credentials"
woocommerce.listProducts
`);
Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
License
MIT