GET
/backend/open-api/v1/affiliates/offers/{offer_id}
Get a list of all offers and their attributes.
Headers
Name | Value |
---|---|
Authorization | Bearer <token> |
Path parameters
Name | Type | Description | Required |
---|---|---|---|
offer_id |
Integer | ID of an Offer. |
{
"data": [
{
"id": 1,
"img": null,
"traffic_source": "second source",
"category": "test",
"description": null,
"name": "test offer",
"privacy_status": "Public",
"is_accessed": true,
"request_status": null,
"advertiser": {
"id": 1,
"name": "PlayWin"
},
"brand": {
"id": 1,
"name": "test adv"
}
},
{
"id": 3,
"img": null,
"traffic_source": null,
"category": null,
"description": "<h1>Lorem ipsum dolor sit amet<\\h1>",
"name": "Test Offer",
"privacy_status": "Public",
"is_accessed": true,
"request_status": "approved",
"advertiser": {
"id": 1,
"name": "PlayWinCash"
},
"brand": {
"id": 1,
"name": "test adv"
}
"total": 232,
"per_page": 200,
"page": 1,
"pages": 2
}
GET
/backend/open-api/v1/affiliates/offers/{offer_id}
Get the offer link of a specific offer.
Headers
Name | Value |
---|---|
Authorization | Bearer <token> |
Path parameters
Name | Type | Description | Required |
---|---|---|---|
offer_id |
Integer | ID of an Offer. | ☑️ |
Query parameters
Name | Type | Description | Checkbox | Restrictions |
---|---|---|---|---|
offer_url_id |
Integer | ID of the URL that is taken as the link. | ☑️ | Must be related to the offer_id. |