Skip to content

Save the brand's legal profile (replaces the previous one). Requires brand.manage

PUT
/v1/brands/{brand}/legal-profile
curl --request PUT \
--url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/legal-profile \
--header 'Content-Type: application/json' \
--data '{ "legalName": "example", "postalAddress": "example", "privacyEmail": "hello@example.com", "country": "MX", "privacyPolicyUrls": { "es-MX": "example", "es-ES": "example", "es-AR": "example", "en": "example", "pt-BR": "example", "fr": "example", "de": "example", "it": "example", "ja": "example", "ko": "example", "zh-CN": "example", "ar": "example" }, "dpoName": "example", "dpoEmail": "hello@example.com", "euRepresentative": "example" }'
brand
required
string
/^brd_[a-z0-9]{26}$/

Example

brd_01hx0000000000000000000000
Media typeapplication/json
object
legalName
required
string
>= 1 characters <= 200 characters /^[^\x00-\x08\x0b-\x1f\x7f]*$/
postalAddress
required
string
>= 1 characters <= 500 characters /^[^\x00-\x08\x0b-\x1f\x7f]*$/
privacyEmail
required
string format: email
<= 254 characters
country
required

Brand country, ISO 3166-1 alpha-2 in uppercase.

string
/^[A-Z]{2}$/

Example

MX
privacyPolicyUrls

HTTPS URL of the privacy notice per language.

object
es-MX
string
<= 2048 characters
es-ES
string
<= 2048 characters
es-AR
string
<= 2048 characters
en
string
<= 2048 characters
pt-BR
string
<= 2048 characters
fr
string
<= 2048 characters
de
string
<= 2048 characters
it
string
<= 2048 characters
ja
string
<= 2048 characters
ko
string
<= 2048 characters
zh-CN
string
<= 2048 characters
ar
string
<= 2048 characters
dpoName
string
nullable >= 1 characters <= 200 characters /^[^\x00-\x08\x0b-\x1f\x7f]*$/
dpoEmail
string format: email
nullable <= 254 characters
euRepresentative
string
nullable >= 1 characters <= 500 characters /^[^\x00-\x08\x0b-\x1f\x7f]*$/

Legal profile

Media typeapplication/json
object
brandId
required
string
legalName
required
string
nullable
postalAddress
required
string
nullable
privacyEmail
required
string
nullable
country
required
string
nullable
privacyPolicyUrls
required
object
key
additional properties
string
dpoName
required
string
nullable
dpoEmail
required
string
nullable
euRepresentative
required
string
nullable
complete
required
boolean
updatedAt
required
string
nullable

Example generated

{
"brandId": "example",
"legalName": "example",
"postalAddress": "example",
"privacyEmail": "example",
"country": "example",
"privacyPolicyUrls": {
"additionalProperty": "example"
},
"dpoName": "example",
"dpoEmail": "example",
"euRepresentative": "example",
"complete": true,
"updatedAt": "example"
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}