CLI

Resources

Collections you can list, and the scope each needs.

Resource names are singular and list does the listing:

pxb customer list
pxb product list -q limit=5
pxb employee list

For a single record, or anything that isn't a plain list, use the HTTP verbs:

pxb get customers/acc_123
pxb post departments -d '{"name":"Support"}'
pxb patch products/prd_1 -d '{"price":1500}'
pxb delete products/prd_1

Every listable collection and the scope it requires is in the table printed by pxb help resources. A collection marked location also needs a location pinned — see pxb help context.

In your terminal: pxb help resources