GET
/
affiliate
/
orders
/
{id}
cURL
curl --request GET \
  --url https://api-beta.lomadee.com.br/affiliate/orders/{id} \
  --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>"
    },
    "meta": {
      "total": 123,
      "page": 123,
      "limit": 123,
      "totalPages": 123
    }
  }
]

Get a Order

HTTP Request

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The id of the order to return

Response

200
application/json

Order response

The response is of type object[].