Orders

List orders

Returns a list of orders for the current account

get/orders

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/orders
  • Auth: API key in header Authorization

Query parameters

status'succeeded' | 'pending' | 'failed' | 'refunded' | 'partially_refunded'

Filter by order status

customerstring

Filter by customer ID

processorstring

Filter by payment processor

expandstring

Comma-separated relations to expand: customer, line_items

starting_afterstring

Cursor for pagination — the ID of the last item in the previous page

limitinteger

Items per page

metadataobject

Filter by caller-owned metadata key/value pairs, e.g. metadata[campaign]=spring. Repeatable (up to 10 keys); all pairs must match.

Response

List of orders

object'list' required
has_moreboolean required
urlstring required

Changes

No recorded changes to this operation across all 2 revisions of this API.