Update a category of the network

HTTP method Endpoint
PUT /v1/offer_categories/{categorie_id}

Request body parameters

Field Type Description Nullable
category_id integer The unique id for the category No
name string Name No

Response body parameters

Field Type Description
id integer A string that uniquely identifies this category.
name string Types
create_time string Create time for classification.

Example request

Request PUT https://{networkname}.api.offerslook.com/v1/offer_categories/{categorie_id}

Request PUT http://{networkname}.api.offerslook.com/v1/offer_categories/{categorie_id}

      "name": "Sunday"

Example response

      "code": 0,
      "message": "Success",
      "data": {
        "offer_category": {
          "id": 76,
          "name": "Sunday",
          "create_time": 0

results matching ""

    No results matching ""