Passer au contenu principal
PUT
/
public
/
v1
/
billing-service
/
billing-contacts
/
{billing-contact-id}
Upsert Billing Contact
curl --request PUT \
  --url https://api.topsort.com/public/v1/billing-service/billing-contacts/{billing-contact-id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "brandName": "<string>",
  "invoiceTo": "<string>",
  "advertiserName": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Autorisations

Authorization
string
header
requis

A valid API key generated in Topsort's UI.

Paramètres de chemin

billing-contact-id
string
requis

The ID of the billing contact.

Minimum string length: 1

Corps

application/json
brandName
string
requis

The name of the brand this agency is advertising for.

invoiceTo
string
requis

The name of the company that is responsible for the invoice.

advertiserName
string
requis

The name of the agency/advertiser.

Réponse

Successful Response