Skip to main content
Clients are customers who place jewelry orders. Their ledger tracks cash and crystal (jewelry items) balances.

GET /clients

Get all clients.

POST /client

Create a new client. Request Body
{ "name": "Priya Sharma" }

PUT /client/{client_id}

Update a client’s name.

DELETE /client/{client_id}

Delete a client and all related ledger and order data.

GET /client-ledger/{client_id}

Get the full ledger for a client.

POST /client-ledger/{client_id}

Add a ledger row.

PUT /client-ledger/{client_id}

Update an existing client ledger row.

GET /client-ledger/{client_id}/pdf/{side}

Download client ledger as PDF.
ParameterTypeValues
client_idinteger
sidestringin, out