Modules@robinpath/woocommerce

@robinpath/woocommerce

0.1.0Public

WooCommerce module for RobinPath.

@robinpath/woocommerce

WooCommerce module for RobinPath.

Category Functions Auth License

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

FunctionDescription
woocommerce.setCredentialsConfigure woocommerce credentials.
woocommerce.listProductslistProducts
woocommerce.getProductgetProduct
woocommerce.createProductcreateProduct
woocommerce.updateProductupdateProduct
woocommerce.deleteProductdeleteProduct
woocommerce.listOrderslistOrders
woocommerce.getOrdergetOrder
woocommerce.createOrdercreateOrder
woocommerce.updateOrderupdateOrder
woocommerce.deleteOrderdeleteOrder
woocommerce.listCustomerslistCustomers
woocommerce.getCustomergetCustomer
woocommerce.createCustomercreateCustomer
woocommerce.updateCustomerupdateCustomer
woocommerce.listCategorieslistCategories
woocommerce.createCategorycreateCategory
woocommerce.listCouponslistCoupons
woocommerce.createCouponcreateCoupon
woocommerce.getOrderNotesgetOrderNotes
woocommerce.createOrderNotecreateOrderNote
woocommerce.getReportgetReport
woocommerce.listShippinglistShipping

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

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/woocommerce
Version0.1.0
LicenseMIT
Unpacked Size4.9 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

sales