Skip to main content
PUT
/
public
/
v1
/
offsite-ads
/
ad-network
/
advertisers
/
{vendor-id}
/
domain
Upsert Advertiser Domain
curl --request PUT \
  --url https://api.topsort.com/public/v1/offsite-ads/ad-network/advertisers/{vendor-id}/domain \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Path Parameters

vendor-id
string
required

The ID of the vendor to upsert the domain for.

Body

application/json
domain
string
required

The domain to upsert.

Response

Successful Response