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

@robinpath/square

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

Square integration — orders, catalog, payments. Bearer-token auth via the encrypted credential vault.

latest
npmnpm
Version
0.3.0
Version published
Maintainers
4
Created
Source

@robinpath/square

Square module for RobinPath.

Category Functions Auth License

Why use this module?

The square module lets you:

  • listCatalogItems
  • getCatalogItem
  • upsertCatalogObject
  • deleteCatalogObject
  • searchCatalog

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

robinpath add @robinpath/square

Quick Start

1. Set up credentials

square.setCredentials "your-credentials"

2. listCatalogItems

square.listCatalogItems

Available Functions

FunctionDescription
square.setCredentialsConfigure square credentials.
square.listCatalogItemslistCatalogItems
square.getCatalogItemgetCatalogItem
square.upsertCatalogObjectupsertCatalogObject
square.deleteCatalogObjectdeleteCatalogObject
square.searchCatalogsearchCatalog
square.listCustomerslistCustomers
square.getCustomergetCustomer
square.createCustomercreateCustomer
square.updateCustomerupdateCustomer
square.deleteCustomerdeleteCustomer
square.listOrderslistOrders
square.getOrdergetOrder
square.createOrdercreateOrder
square.listLocationslistLocations
square.getLocationgetLocation
square.listInventorylistInventory
square.adjustInventoryadjustInventory
square.retrieveInventoryCountretrieveInventoryCount
square.getMerchantgetMerchant
square.listPaymentslistPayments

Examples

listCatalogItems

square.listCatalogItems

getCatalogItem

square.getCatalogItem

upsertCatalogObject

square.upsertCatalogObject

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/square";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  square.setCredentials "your-credentials"
  square.listCatalogItems
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

License

MIT

Keywords

square

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