Delete a category of offer

HTTP method

Endpoint

DELETE

/v1/offers/{offer_id}/categories/{category_id}

Path 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.

Response body parameters

Field

Type

Description

id

integer

offer_id

integer

A string that uniquely identifies this offer.

name

array

Types

create_time

string

Create time.

Example request

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

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

Example response

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

Last updated