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

customer field

line_items field

Line item options field

market field

order field

payment_method field

refunds field

shipping_address field

shipments field

Shipment stock_location field

Shipment shipping_method field

Shipment shipping_category field

Shipment tags field

tags field

Last updated