Add line item to an existing order
Adds a new line item to a draft order. Pricing is resolved from the lab's authoritative price-list publication and catalog at insertion time.
Adds a new line item to a draft order. Pricing is resolved from the lab's authoritative price-list publication and catalog at insertion time.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Order ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/550e8400-e29b-41d4-a716-446655440000/items" \ -H "Content-Type: application/json" \ -d '{ "productId": "550e8400-e29b-41d4-a716-446655440000" }'{ "item": null}Add component to order POST
Adds a component to an order with item name, lot number, and optional reference to the lab's component catalog. Only labs can add components to their orders.
Add tag to order POST
Applies an existing tag from the lab's tag catalog to an order. The tag must be active and belong to the order's lab. Prevents duplicate tag applications.