What the brand preference center offers: topics (lists), frequency and name (reports.read)
GET
/v1/brands/{brand}/preference-settings
const url = 'https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/preference-settings';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/preference-settingsParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”brand
required
string
Example
brd_01hx0000000000000000000000Responses
Section titled “Responses”Settings
Media typeapplication/json
object
offerFrequency
required
boolean
allowName
required
boolean
lists
required
Array<object>
object
id
required
string
showInPreferences
required
boolean
position
integer
publicName
object
es-MX
string
es-ES
string
es-AR
string
en
string
pt-BR
string
fr
string
de
string
it
string
ja
string
ko
string
zh-CN
string
ar
string
publicDescription
object
es-MX
string
es-ES
string
es-AR
string
en
string
pt-BR
string
fr
string
de
string
it
string
ja
string
ko
string
zh-CN
string
ar
string
lists
required
Array<object>
object
id
required
string
showInPreferences
required
boolean
position
required
integer
publicName
object
es-MX
string
es-ES
string
es-AR
string
en
string
pt-BR
string
fr
string
de
string
it
string
ja
string
ko
string
zh-CN
string
ar
string
publicDescription
object
es-MX
string
es-ES
string
es-AR
string
en
string
pt-BR
string
fr
string
de
string
it
string
ja
string
ko
string
zh-CN
string
ar
string
name
required
string
Example
{ "lists": [ { "publicName": {}, "publicDescription": {} } ]}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" }}