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>",
"mdasc": "<string>"
},
"meta": {
"total": 123,
"page": 123,
"limit": 123,
"totalPages": 123
}
}
]
Returns a single order based on the ID supplied
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>",
"mdasc": "<string>"
},
"meta": {
"total": 123,
"page": 123,
"limit": 123,
"totalPages": 123
}
}
]
The id of the order to return
Order response
The response is of type object[]
.