Delete a geo of offer

HTTP method Endpoint
DELETE /v1/offers/{offer_id}/geo/{geo_id}

Path parameters

Parameter Description
offer_id The unique id for the offer.
geo_id The unique id for the geo.

Response body parameters

Field Type Description
id integer
offer_id integer A string that uniquely identifies this offer.
country string Country to be targeted
country_code string Country code.
city array City in targeted country.
type integer An identifier included or excluded.

Example request

Request DELETE https://{networkname}.api.offerslook.com/v1/offers/3147/geo/28574


Request DELETE http://{networkname}.api.offerslook.com/v1/offers/3147/geo/28574


Example response


    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_geo": {
          "type": 1,
          "target": [
            {
              "type": 2,
              "country": "China",
              "country_code": "CN",
              "city": [
                "Guanzhuang",
                "Liudong"
              ],
              "id": 28575,
              "offer_id": 3147
            },
            {
              "type": 1,
              "country": "Armenia",
              "country_code": "AM",
              "city": [
                "Kapan",
                "Agarak",
                "Azatamut"
              ],
              "id": 28576,
              "offer_id": 3147
            },
            {
              "type": 1,
              "country": "Western Sahara",
              "country_code": "EH",
              "city": [

              ],
              "id": 28577,
              "offer_id": 3147
            }
          ]
        }
      }
    }

results matching ""

    No results matching ""