Newer Version Available

This content describes an older version of this product. View Latest

Commerce Webstore Order Summary Lookup

Look up details about an OrderSummary for a guest shopper or a registered buyer.
Resource
1/commerce/webstores/webstoreId/order-summaries/actions/lookup
Available version
58.0
HTTP methods
POST
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
deliveryGroupId String ID of the delivery group associated with the order summary. Optional 58.0
effectiveAccountId String ID of the account for which the request is made. If unspecified, defaults to the account ID for the context user or, for guest users, the guest buyer profile ID of the current store. Optional 58.0
excludeAdjustmentAggregates Boolean Specifies whether to exclude (true) or return (false) adjustment aggregates associated with an order summary. Adjustment aggregates include fields detailing promotional amounts by price, tax, and total. Aggregates are calculated asynchronously and result returned to the order summary. If unspecified, the default value is false. Optional 58.0
excludeAdjustments Boolean Specifies whether to exclude (true) or return (false) adjustments associated with an order summary. Adjustments include promotional discounts. If unspecified, the default value is false. Optional 58.0
excludeDeliveryGroups Boolean Specifies whether to exclude delivery groups from the response. If unspecified, the default value is false. Optional 58.0
excludeLineItems Boolean Specifies whether to exclude line items from the response. If unspecified, the default value is false. Optional 58.0
fields String List of specific fields, including custom fields, to return in the response along with default fields. For example, OrderSummary.TotalAmount, OrderItemSummary.Quantity, Product2.Description,​ OrderDeliveryGroup​Summary.GrandTotalAmount, OrderDelivery​Method.Carrier. Optional 58.0
orderSummaryLookupInput Object Contains the order summary ID or reference number and verification fields (lastName, email, phoneNumber) that provide shopper validation. Required 58.0
Request body for POST
Root XML tag
<orderSummaryLookupInput>
JSON example
1{
2    "orderSummaryIdOrRefNumber":"GJA4C-MUVBN-6ZT4P-V6CSB",
3    "verification":{
4        "lastName":”Strosin”,
5        "email":”Mallory.Strosin5@1667496847560.vincent.info”,
6        "phoneNumber":"+16102347740"
7    }
8}
9
Properties
Name Type Description Required or Optional Available Version
orderSummaryIdOrRefNumber String Either the order summary ID or reference number value. Required 58.0
verification Order Summary Verification Input Verification attributes for guest shoppers. Optional 58.0
Response body for POST
Order Summary Lookup Output