Order approvals
Describes the Order approvals API handler in Optimizely Configured Commerce.
HTTP Verb – GET
URL – /api/v1/orderapprovals - * really same as /api/v1/carts
Description – Returns all of the carts awaiting approval for the logged in user.
Base – HandlerBase<GetCartCollectionParameter, GetCartCollectionResult>
Handlers –
Order | Handler | Description |
---|---|---|
500 | GetCartCollectionHandler | Gets collection of carts with a status of AwaitingApproval. If requester is not signed in then handler return error result. If BillToId parameter not specified then handler return carts for current bill to. If current user doesn't have any bill to then handler return error result. |
HTTP Verb – GET
URL – /api/v1/orderapprovals/{cartId} - * really same as /api/v1/carts/{cartId}
Description – Return a single shopping cart awaiting approval
Base – HandlerBase<GetCartParameter, GetCartResult>
Handlers –
Order | Handler | Description |
---|---|---|
500 | GetCartHandler | Gets cart. If CartId parameter not specified then handler create new cart using current context. |
Updated over 1 year ago