🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@robinpath/woocommerce

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robinpath/woocommerce

WooCommerce REST API v3 — products, orders and customers on any self-hosted WooCommerce store. Uses the encrypted credential vault for per-store key/secret pairs.

latest
npmnpm
Version
0.3.0
Version published
Maintainers
4
Created
Source

@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

robinpath add @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.

License

MIT

Keywords

woocommerce

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts