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

@robinpath/shopify

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/shopify

Shopify Admin REST API — products, orders, customers, inventory, collections, and webhooks. Uses the encrypted credential vault for the per-store access token.

latest
npmnpm
Version
0.3.0
Version published
Maintainers
4
Created
Source

@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

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

License

MIT

Keywords

shopify

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