GET
/
affiliate
/
orders
cURL
curl --request GET \
  --url https://api-beta.lomadee.com.br/affiliate/orders \
  --header 'x-api-key: <api-key>'
[
  {
    "data": {
      "id": "<string>",
      "orderId": "<string>",
      "status": "pending",
      "value": 123,
      "createdAt": "<string>",
      "commission": 123,
      "commissionStatus": "pending",
      "items  ": [
        {
          "id": "<string>",
          "name": "<string>",
          "quantity": 123,
          "price": 123,
          "categories": 123
        }
      ],
      "organizationId": "<string>",
      "mdasc": "<string>"
    },
    "meta": {
      "total": 123,
      "page": 123,
      "limit": 123,
      "totalPages": 123
    }
  }
]

Get all Orders

HTTP Request

Authorizations

x-api-key
string
header
required

Query Parameters

limit
integer

The maximum number of results to return

page
integer

The page number to return

organizationId
string

The organization id to return orders from

organizationIds
string[]

The organization ids to return orders from

mdasc
boolean

This parameter is used to filter orders by additional identifier. Return all orders has this identifier if set to true.

from
string<date>

The start date of the period to return orders from

to
string<date>

The end date of the period to return orders from

Response

Order response

The response is of type object[].