Passer au contenu principal
PUT
/
public
/
v1
/
billing-service
/
campaign-billing-contact
Upsert Campaign Billing Contact
curl --request PUT \
  --url https://api.topsort.com/public/v1/billing-service/campaign-billing-contact \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "billingContactId": "<string>",
  "campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Autorisations

Authorization
string
header
requis

A valid API key generated in Topsort's UI.

Corps

application/json
billingContactId
string
requis

The ID of the billing contact.

campaignId
string<uuid>
requis

The ID of the campaign.

Réponse

Successful Response