Skip to content

graft customers

People who have ordered, derived from orders.

Command Does
graft customers get One customer: contact details, what they have spent and owe, and every order.
graft customers list Everyone who has ordered, with what they have spent.

One customer: contact details, what they have spent and owe, and every order.

Endpoint: GET /api/v1/customers/:customerId · Arguments: <customerId>

Terminal window
graft customers get <customerId>

Everyone who has ordered, with what they have spent. Cursor-paginated: pass limit (default 25, max 100) and cursor from the previous response’s meta.cursor.

Endpoint: GET /api/v1/customers

Terminal window
graft customers list

Add --all to fetch every page.