GET
/
affiliate
/
campaigns
/
{id}
cURL
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
  }
}

Get a Campaign

HTTP Request

Authorizations

x-api-key
string
header
required

Path Parameters

id
integer
required

ID of campaign to return

Response

200 - application/json

Campaign response

The response is of type object.