Carts

Save a draft cart.

Persists a client-built draft cart for the first time. The request carries the client-generated id, generated name, original draft creation timestamp, and all finding snapshots. Both lightweight summaries (for list UI) and full payloads (for text/MCP compilation) are stored.

Enforces a 5 saved-cart limit per owner (returns 409 Conflict when reached) and a 10-item limit per cart (returns 400 Bad Request when exceeded). Saved carts are immutable server-side — there is no update or patch endpoint; editing a saved cart is done client-side via copy-to-new-draft followed by delete.

post/api/v1/orgs/{orgId}/carts

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

orgIdstring required

Request body

idstring required

Client-generated cart id, preserved from the draft.

namestring required

Generated name, such as snappy-lake-a1b2c3d4e5.

createdAtUtcstring date-time required

When the draft was originally created client-side.

Response

Created

idstring required

Client-generated cart id, preserved from the draft.

namestring required

Generated name, such as snappy-lake-a1b2c3d4e5.

createdAtUtcstring date-time required

When the draft was originally created client-side.

savedAtUtcstring date-time required

When the initial save request was processed.

updatedAtUtcstring date-time required

When the cart was last changed server-side.

Changes

No recorded changes to this operation across all 32 revisions of this API.