Orders

Orders with financial, fulfillment and line-item data.

34 fields — 22 dimensions, 12 metrics. Date clauses (SINCE, UNTIL, DURING) use createdAt.

The live, authoritative list is always GET /v1/datasets — this page is regenerated from the same catalog, but the endpoint reflects exactly what is deployed.

Query it

FROM orders
  SHOW order_count
  GROUP BY order_name
  SINCE -30d

See Querying with SoloQL for the language.

Fetch records

curl -H "Authorization: Bearer esk_live_..." \
  "https://api.ecomsolo.com/v1/orders?page_size=50&fields=order_name,order_number,email"

Any field marked ✅ below can be returned, requested via fields=, and used as an equality filter (?field=value). Fields marked aggregate only exist for COUNT-style questions and have no value on a single record — ask SoloQL for those. See Fetching records.

Fields

FieldTypeRoleRecordsDescription
order_namestringdimension✅Order name, e.g. #1001.
order_numbernumberdimension✅Sequential order number.
emailstringdimension✅Customer email on the order.
customer_namestringdimension✅Customer display name.
financial_statusstringdimension✅Payment status (paid, pending, refunded, etc.).
fulfillment_statusstringdimension✅Fulfillment status (fulfilled, partial, unfulfilled, etc.).
order_statusstringdimension✅Open, archived or cancelled.
currencystringdimension✅Order currency code.
sales_channelstringdimension✅Channel the order was placed on.
source_namestringdimension✅Order source (web, pos, draft_order, etc.).
gatewaystringdimension✅Payment gateway.
location_namestringdimension✅Location attributed to the order.
tagsstringdimension✅Comma-separated order tags.
is_testbooleandimension✅Whether this is a test order.
created_atdatedimension✅When the order was created.
processed_atdatedimension✅When the order was processed.
cancelled_atdatedimension✅When the order was cancelled.
order_countnumbermetricaggregate onlyNumber of orders in the group (document count — value_count on createdAt). Sums across stores.
total_pricemoneymetric✅Total order price including taxes, shipping and discounts.
subtotal_pricemoneymetric✅Line items price after discounts, before shipping and taxes.
total_taxmoneymetric✅Total tax charged.
total_discountsmoneymetric✅Total discount amount applied.
total_tipmoneymetric✅Total tips received.
net_paymentmoneymetric✅Payments received minus refunds.
total_outstandingmoneymetric✅Amount still owed on the order.
items_countnumbermetric✅Number of items in the order.
total_weightnumbermetric✅Total order weight in grams.
line_item_skustringdimension✅SKU of an ordered line item.
line_item_titlestringdimension✅Title of an ordered line item.
line_item_quantitynumbermetric✅Units ordered of a line item.
line_item_pricemoneymetric✅Unit price of a line item.
storestringdimension✅The shop the record belongs to. Filter with WHERE store IN ('Shop name') or GROUP BY store.
store_idstringdimension✅The shop's raw identifier — what an export or the API reports. Same shops as Store, shown as ids.
store_domainstringdimension✅The shop's myshopify.com domain. Filter with WHERE store_domain = 'shop.myshopify.com'.