curl --request GET \
--url https://api-beta.lomadee.com.br/affiliate/campaigns/{id} \
--header 'x-api-key: <api-key>'
{
"data": {
"id": "<string>",
"name": "<string>",
"period": {
"startAt": "<string>",
"endAt": "<string>"
},
"type": "<string>",
"categories": [
"<string>"
],
"description": "<string>",
"organizationId": "<string>",
"isHighlight": true,
"status": "<string>",
"createdAt": "<string>",
"channels": [
{
"id": "<string>",
"name": "<string>",
"availableChannel": {
"id": "<string>",
"name": "<string>"
},
"shortUrls": [
"<string>"
],
"message": "<string>"
}
]
},
"meta": {
"total": 123,
"page": 123,
"limit": 123,
"totalPages": 123
}
}
Returns a single campaign based on the ID supplied
curl --request GET \
--url https://api-beta.lomadee.com.br/affiliate/campaigns/{id} \
--header 'x-api-key: <api-key>'
{
"data": {
"id": "<string>",
"name": "<string>",
"period": {
"startAt": "<string>",
"endAt": "<string>"
},
"type": "<string>",
"categories": [
"<string>"
],
"description": "<string>",
"organizationId": "<string>",
"isHighlight": true,
"status": "<string>",
"createdAt": "<string>",
"channels": [
{
"id": "<string>",
"name": "<string>",
"availableChannel": {
"id": "<string>",
"name": "<string>"
},
"shortUrls": [
"<string>"
],
"message": "<string>"
}
]
},
"meta": {
"total": 123,
"page": 123,
"limit": 123,
"totalPages": 123
}
}
ID of campaign to return
Campaign response
The response is of type object
.