Skip to main content
PUT
/
public
/
v1
/
billing-service
/
vendor-billing-contact
Upsert Vendor Billing Contact
curl --request PUT \
  --url https://api.topsort.com/public/v1/billing-service/vendor-billing-contact \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "billingContactId": "<string>",
  "vendorId": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Body

application/json
billingContactId
string
required

The ID of the billing contact.

vendorId
string
required

The ID of the vendor to associate with the billing contact.

Response

Successful Response