Gets the latest active cart, filtering carts with New and Saved status by default.
Pass the quote ID in the parameters. If the cart for the provided quote does not exist, this API creates a new cart. For an existing cart, the saved cart ID is returned.
For a newly created cart, the cart status is "New" and a new cart ID is generated.
The following fields are passed from the quote header to the newly created cart: Account, Price List, Status, Business Object, Business Object Type, Cart Effective Date, Expected Start Date, Expected End Date, Location, Quote/Proposal, Pricing Date, Payment Term, and Cart Name.
The active cart context is resolved from the authenticated user's session. Use quoteId to scope the lookup to a specific quote.
Responses
- 200 OK: the latest active cart (existing or newly created) is returned.
- 204 No Content: no active cart is available.
- 400 Bad Request: the request could not be processed.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204No Content
