PlaceOrderResult Class
Contains properties to hold the response to the place order request.
Namespace
Example
CommerceOrders.PlaceOrderResult resp = CommerceOrders.PlaceOrderExecutor.execute(graph,internalEnum,cEnum,cInput,catalogRatesPreference);
PlaceOrderResult Properties
Learn more about the available properties with the PlaceOrderResult class.
The PlaceOrderResult class includes these properties.
orderId
Get the ID of the order that’s created after a successful request.
Signature
public String orderId {get; set;}
Property Value
Type: String
requestIdentifier
Get the request ID of the process to query the asynchronous status of the Place Order
Apex API.
Signature
public String requestIdentifier {get; set;}
Property Value
Type: String
responseError
Get the list of errors encountered during the synchronous processing of the API
request.
Signature
public List<commerceorders.PlaceOrderErrorResponse> responseError {get; set;}
Property Value
Type: List<ConnectApi.PlaceOrderErrorResponse>