Saltar al contenido

vendorProducts

Módulo Procurement · 5 operaciones

List vendor product rows

GET/vendor-products

A product a vendor offers, optionally bound to an element. Returns a cursor page of vendor product rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create a vendor product

POST/vendor-products

A product a vendor offers, optionally bound to an element. Creates a vendor product. 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 vendor product

GET/vendor-products/{id}

A product a vendor offers, optionally bound to an element. Returns one vendor product with its `ETag`. A vendor product the caller may not see returns 404.

Update a vendor product

PATCH/vendor-products/{id}

A product a vendor offers, optionally bound to an element. 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 vendor product

DELETE/vendor-products/{id}

A product a vendor offers, optionally bound to an element. Soft-deletes the vendor product: it moves to Trash and can be restored for its table's retention period.