Add a new tag of an affiliate

HTTP method

Endpoint

POST

/v1/affiliates/{affiliate_id}/affiliate_tags

Path parameters

Parameter

Description

affiliate_id

The unique id for the affiliate.

Request body parameters

Field

Type

Description

Nullable

name

string

Tag name.

No

Response body parameters

Field

Type

Description

id

integer

A string that uniquely identifies this tag.

affiliate_id

integer

A string that uniquely identifies this affiliate.

name

string

Name

Example request

Request POST https://{networkname}.api.offerslook.com/v1/affiliates/4909/affiliate_tags

Request POST http://{networkname}.api.offerslook.com/v1/affiliates/4909/affiliate_tags

    {
      "name": "Food"
    }

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "affiliate_tag": [
          {
            "id": 17,
            "name": "Other",
            "affiliate_id": 4909
          },
          {
            "id": 41,
            "name": "Food",
            "affiliate_id": 4909
          }
        ]
      }
    }

Last updated