GET
/backend/open-api/v1/affiliates/smart-links/{smart-link-group-id}
View either all Smart Link Groups or only a selected one.
Headers
Name | Value |
---|---|
Authorization | Bearer <token> |
Path parameters
Name | Type | Description | Required |
---|---|---|---|
smart-link-group-id |
Integer | ID of a Smart Link Group. |
Response
{
"data": [
{
"id": 57,
"name": "Asia",
"archived": false,
"status": true
},
{
"id": 58,
"name": "New smart link",
"archived": false,
"status": true
},
{
"id": 59,
"name": "General",
"archived": false,
"status": true
},
{
"id": 60,
"name": "Monday",
"archived": false,
"status": true
},
{
"id": 68,
"name": "New Manual",
"archived": false,
"status": true
},
{
"id": 69,
"name": "API test",
"archived": true,
"status": false
}
],
"total": 6,
"per_page": 200,
"page": 1,
"pages": 1
}
POST
/backend/open-api/v1/affiliates/smart-links
Create a Smart Link Group.
Headers
Name | Value |
---|---|
Content-Type | application/json |
Authorization | Bearer <token> |
Body parameters
Name | Type | Description | Required | Restrictions |
---|---|---|---|---|
name |
String | Name of the Smart Link Group. | ☑️ | |
status |
Integer | Enable or disable the group. | ☑️ | 0 - false |
1 - true | ||||
archived |
Integer | Group archivation. | ☑️ | 0 - false |
1 - true |