Get information about a specific offer’s category

HTTP method

Endpoint

GET

/v1/offers/{offer_id}/categories

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

Response body parameters

Field

Type

Description

id

integer

The unique id for the category.

offer_id

integer

A string that uniquely identifies this offer.

name

string

Type

create_time

string

Create time for classification.

Example request

Request GET https://{networkname}.api.offerslook.com/v1/offers/3147/categories

Request GET http://{networkname}.api.offerslook.com/v1/offers/3147/categories

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_category": [
          {
            "id": 4,
            "name": "test",
            "create_time": 1467252893,
            "offer_id": 3147
          },
          {
            "id": 5,
            "name": "Music and Audio",
            "create_time": 1467258706,
            "offer_id": 3147
          },
          {
            "id": 7,
            "name": "cc",
            "create_time": 1467258706,
            "offer_id": 3147
          }
        ]
      }
    }

Last updated