Submit Order
Version v1
Endpoint
POST
undefined/msapi/sales/shopping-cart-api/v1/carts/{cartId}/submit
Copy
This API is responsible for submitting shopping cart & provide valid cart response back which is needed for every commerce operation.
http
This API supports Basic Authentication.
scheme:basic
Path Parameters
- cartIdstringRequired
Header Parameters
- idpctx-uuidstringRequiredMandatory user id header 'idpctx-uuid'.
- idpctx-session-idstringRequiredThe session id of the current user session('idpctx-session-id'). This is a mandatory header.
- idpctx-user-typestringRequiredType of user('idpctx-user-type'). This is a mandatory header. Example: guest
Body Parameters
- object
- channelobjectRelated channel to another entity. May be online web, mobile app, social ,etc.
- extensionsarray of objectsRequiredATT++::Describes a given characteristic of an object or entity through a name/value pair.
- quoteobjectIt's a Quote that has been executed previously
Responses
Succcess
Body
application/json
- objectRequired
- idstring
- statestringEnum: [Acknowledged, Amended, Cancelled, Completed, Draft, Failed, Fallout, Held, InProgress, Partial, PendingAmend, PendingCancel, Submitted]Possible values for the state of the order
- customerOrderIdstring
- completionDatestring
- orderSummaryAccessTokenstring
- validationobjectTMF++::Validation result that is associated with the product order