Skip to main content

PlaceOrderFromCartResult

The result of placing an order from the cart.

type PlaceOrderFromCartResult {
approvalRequest: CustomerApprovalRequestSummary
currency: String!
orderId: ID
orderNumber: String
status: String
totalAmount: Float
}

Fields​

PlaceOrderFromCartResult.approvalRequest ● CustomerApprovalRequestSummary object​

Set ONLY when the checkout parked for approval (screen 14).

PlaceOrderFromCartResult.currency ● String! non-null scalar​

ISO 4217 currency code.

PlaceOrderFromCartResult.orderId ● ID scalar​

The ID of the order. Empty when the checkout was sent for approval instead of becoming an order.

PlaceOrderFromCartResult.orderNumber ● String scalar​

The number of the order. Empty when sent for approval.

PlaceOrderFromCartResult.status ● String scalar​

Resulting SalesOrderStatus (null on the approval branch)..

PlaceOrderFromCartResult.totalAmount ● Float scalar​

The total of the order. Empty when sent for approval.

Returned By​

placeOrderFromCart mutation