Zum Hauptinhalt springen
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>"
    }
  ]
}

Autorisierungen

Authorization
string
header
erforderlich

A valid API key generated in Topsort's UI.

Pfadparameter

billing-contact-id
string
erforderlich

The ID of the billing contact.

Minimum string length: 1

Body

application/json
brandName
string
erforderlich

The name of the brand this agency is advertising for.

invoiceTo
string
erforderlich

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

advertiserName
string
erforderlich

The name of the agency/advertiser.

Antwort

Successful Response