Modules@robinpath/square

@robinpath/square

0.1.0Public

Square module for RobinPath.

@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

npm install @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.

Related Modules

License

MIT

Versions (1)

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

Category

sales