Newer Version Available

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

Commerce Webstore Order Items

Get order items. This API is available only to registered users.

We recommend using the enhanced Commerce Webstore Order Summary Lookup API, which is accessible to both registered and guest users.

Note

Resource
1/commerce/webstores/webstoreId/order-summaries/orderSummaryId/items
Available version
51.0
HTTP methods
GET
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
effective​AccountId String ID of the account for which the request is made. If unspecified, defaults to the account ID for the context user. Optional 51.0
fields String[] List of up to 15 order item summary or product fields to display in the UI in each item row. For example, fields=OrderItemSummary.Tax, OrderItemSummary.Total, OrderItemSummary.Quantity, Product2.StockKeepingUnit. Optional 51.0
includeAdjustment​Details Boolean Specifies whether to return adjustment details (true) or not (false). If unspecified, the default value is false. Optional 55.0
orderDelivery​GroupSummaryId String ID of the order delivery group summary. Optional 51.0
page String Specifies the page token to use to view a page of information. Page tokens are returned as part of the response, such as currentPageToken or nextPageToken. If you don’t specify a value, the first page is returned. Optional 51.0
pageSize Integer Specifies the number of items per page. Valid values are from 1 through 100. If you don’t specify a value, the default size is 25. Optional 51.0
sort String Sort order for order item summaries. Values are:
  • IdAsc—Sorts by ID in ascending alphanumeric order (A–Z, 0–9).
  • IdDesc—Sorts by ID in descending alphanumeric order (Z–A, 9–0).
If unspecified, IdAsc is the default sort order.
Optional 51.0
Response body for GET
Order Item Summary Collection