Saltar al contenido

priceBooks

Módulo Finance · 5 operaciones

List price book rows

GET/price-books

An org price book for selling items. Returns a cursor page of price book rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create a price book

POST/price-books

An org price book for selling items. Creates a price book. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get a price book

GET/price-books/{id}

An org price book for selling items. Returns one price book with its `ETag`. A price book the caller may not see returns 404.

Update a price book

PATCH/price-books/{id}

An org price book for selling items. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Delete a price book

DELETE/price-books/{id}

An org price book for selling items. Soft-deletes the price book: it moves to Trash and can be restored for its table's retention period.