HomeGuides
Submit Documentation FeedbackJoin Developer CommunityLog In

Order approvals

This topic describes the Order approvals API handler.

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:

OrderHandlerDescription
500GetCartCollectionHandlerGets 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:

OrderHandlerDescription
500GetCartHandlerGets cart. If CartId parameter not specified then handler create new cart using current context.

Did this page help you?