Orders
A comprehensive list of the order resource's fields and attributes
Commerce Layer Metrics API lets you perform different types queries on the /orders/{{query_type}}
endpoint to gather stats and information about your organization order history:
The results of each query can be filtered based on specific fields and operators:
You can easily see it in action by checking these simple examples:
Fields and attributes
Please reference to this list for a comprehensive view of all the order resource's fields and attributes, accessible through the Metrics API:
billing_address
field
billing_address
fieldcustomer
field
customer
fieldline_items
field
line_items
fieldLine item options
field
options
fieldmarket
field
market
fieldorder
field
order
fieldpayment_method
field
payment_method
fieldrefunds
field
refunds
fieldshipping_address
field
shipping_address
fieldshipments
field
shipments
fieldShipment stock_location
field
stock_location
fieldShipment shipping_method
field
shipping_method
fieldShipment shipping_category
field
shipping_category
fieldShipment tags
field
tags
fieldtags
field
tags
fieldLast updated