# Shopify — Ecommerce API: gotchas

> Canonical URL: https://developers.apideck.com/apis/ecommerce/shopify/gotchas

## GET /ecommerce/orders

The `line_items[].discounts[]` array reflects each line item's allocated share from every
discount application on the order, including order-wide discounts. Shopify's
`discountAllocations` field does not distinguish between product-specific and order-wide
discount sources — all allocations for a given line item are returned together.

Shopify list responses do not include a total record count.

## GET /ecommerce/orders/{id}

The `line_items[].discounts[]` array reflects each line item's allocated share from every
discount application on the order, including order-wide discounts. Shopify's
`discountAllocations` field does not distinguish between product-specific and order-wide
discount sources — all allocations for a given line item are returned together.

## GET /ecommerce/products

Shopify list responses do not include a total record count. `meta.total_count` will not appear. Surfacing the total requires a separate GET request to the `/admin/api/{version}/{resource}/count.json` endpoint — an extra API call that is not currently implemented.

## GET /ecommerce/customers

Shopify list responses do not include a total record count. `meta.total_count` will not appear. Surfacing the total requires a separate GET request to the `/admin/api/{version}/{resource}/count.json` endpoint — an extra API call that is not currently implemented.


[API reference](https://developers.apideck.com/apis/ecommerce/reference.md) · [Coverage matrix](https://developers.apideck.com/apis/ecommerce/coverage)
