---
description: List of ordered products
---

# orderedProducts

### Arguments

| Argument                                                                        | Description                                                             |
| ------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| shipmentDateFrom ([ISO8601DateTime](../objects/iso-8601-date-time))             | Filter ordered products with a shipment date on or later then.          |
| shipmentDateTo ([ISO8601DateTime](../objects/iso-8601-date-time))               | Filter ordered products with a shipment date on or prior too.           |
| subscriptionStatuses (\[[SubscriptionStatus](../objects/subscription-status)!]) | Filter on subscriptions status(es).                                     |
| productIds (\[[ID](../objects/id)!])                                            | Filter on product id(s).                                                |
| productSkus (\[[String](../objects/string)!])                                   | The product SKU(s) to filter on.                                        |
| subscriptionCountries (\[[String](../objects/string)!])                         | Filter on subscription country code(s) (ISO 3166-1 alpha-2).            |
| after ([String](../objects/string))                                             | Returns the elements in the list that come after the specified cursor.  |
| before ([String](../objects/string))                                            | Returns the elements in the list that come before the specified cursor. |
| first ([Int](../objects/int))                                                   | Returns the first _n_ elements from the list.                           |
| last ([Int](../objects/int))                                                    | Returns the last _n_ elements from the list.                            |

### Return fields

#### edges (\[[OrderedProductEdge](../objects/ordered-product-edge)])

A list of edges.

#### nodes (\[[OrderedProduct](../objects/ordered-product)])

A list of nodes.

#### pageInfo ([PageInfo](../objects/page-info)!)

Information to aid in pagination.

#### totalCount ([Int](../objects/int))

The total number of items available.

#### totalCountPerProductId ([JSON](../objects/json)!)

Returns a key value pair of product ID and the value of its ordered product count

#### totalCountPerProductSku ([JSON](../objects/json)!)

Returns a key value pair of product SKU and the value of its ordered product count

#### totalQuantityPerProductId ([JSON](../objects/json)!)

Returns a key value pair of product ID and the value of its ordered product total quantity

#### totalQuantityPerProductSku ([JSON](../objects/json)!)

Returns a key value pair of product SKU and the value of its ordered product total quantity
