Next Commerce
Exports

Exports List

Retrieve a list of exports.

GET
/exports/

Authorization

oauth2 exports:read
AuthorizationBearer <token>

Generate an Access Token through Settings > API Access for single store access or use the Authorization Code flow with your partner App Client ID. Use required permission scopes for API endpoint access. Example Authorization: Bearer 123

In: header

Scope: exports:read

Query Parameters

type?string
  • order_list - Orders
  • order_line_items - Order Line Items
  • customer_list - Customers
  • transaction_list - Transactions
  • dispute_list - Disputes
  • subscription_list - Subscriptions
  • subscription_line_items - Subscription Line Items
  • open_cart_list - Open Carts
  • open_cart_line_items - Open Cart Line Items
  • return_list - Returns
  • return_line_items - Return Line Items
  • fulfillment_list - Fulfillments
  • fulfillment_line_items - Fulfillment Line Items

Value in

  • "customer_list"
  • "dispute_list"
  • "fulfillment_line_items"
  • "fulfillment_list"
  • "open_cart_line_items"
  • "open_cart_list"
  • "order_line_items"
  • "order_list"
  • "return_line_items"
  • "return_list"
  • "subscription_line_items"
  • "subscription_list"
  • "transaction_list"
date_created_from?string

YYYY-MM-DD

Formatdate
date_created_to?string

YYYY-MM-DD

Formatdate
cursor?string

The pagination cursor value.

Header Parameters

X-29next-API-Version*"2023-02-10"
Default"2023-02-10"

Value in

  • "2023-02-10"

Response Body

application/json

curl -X GET "https://example.com/exports/" \  -H "X-29next-API-Version: 2023-02-10"
{  "next": "http://example.com",  "previous": "http://example.com",  "results": [    {      "created_at": "2019-08-24T14:15:22Z",      "date_from": "2019-08-24T14:15:22Z",      "date_to": "2019-08-24T14:15:22Z",      "id": 0,      "status": "available",      "type": "order_list",      "url": "http://example.com"    }  ]}