Skip to main content
PUT
Update media billing entity (admin)

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

entityId
required

Surrogate id of the media billing entity.

Body

application/json

Update fields on an existing media billing entity.

entityName
string

Legal name of the media billing entity (e.g. "WPP South Africa (Pty) Ltd").

Required string length: 1 - 255
countryCode
string

Stored country identity metadata for the billing entity, as an ISO 3166-1 alpha-2 code. It does not derive currency, tax/address behavior, or resolution.

Pattern: ^[A-Z]{2}$
Example:

"US"

currency
string

ISO 4217 currency code

Pattern: ^[A-Z]{3}$
Example:

"USD"

billingEmails
string<email>[]

Invoicing contact email(s) for this entity. At least one is required.

Required array length: 1 - 20 elements
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
addressLine1
string

Entity street address, line 1.

Required string length: 1 - 255
addressLine2
string

Entity street address, line 2 (optional).

Maximum string length: 255
city
string

Entity city.

Required string length: 1 - 128
state
string

Entity state/province/region (optional).

Maximum string length: 128
postalCode
string

Entity postal/ZIP code.

Required string length: 1 - 32
taxId
string

Tax identifier for this entity (e.g. VAT number, EIN), when applicable.

Maximum string length: 64
isPrimary
boolean

Set true to promote this entity to PRIMARY (demoting any other primary entity in the same transaction), or false to demote it. Demoting the current primary is refused unless another entity is promoted in its place — an org always has exactly one primary once it has any entity.

Response

Update media billing entity (admin)

entity
object
required

A media billing configuration entity used by resolution previews. The invoice producer does not consume it yet.