kustomer-client
Preparing search index...
KustomerApi
createBrand
Function createBrand
createBrand
<
ThrowOnError
extends
boolean
=
true
>
(
options
:
Options
<
CreateBrandData
,
ThrowOnError
>
,
)
:
RequestResult
<
{
data
:
{
attributes
:
{
createdAt
:
string
;
default
:
boolean
;
iconUrl
:
string
;
modifiedAt
:
string
;
name
:
string
;
updatedAt
:
string
;
}
;
id
:
string
;
links
:
{
self
:
string
}
;
relationships
:
{
createdBy
:
{
data
:
{
id
:
string
;
type
:
string
}
;
links
:
{
self
:
string
}
;
}
;
modifiedBy
:
{
data
:
{
id
:
string
;
type
:
string
}
;
links
:
{
self
:
string
}
;
}
;
org
:
{
data
:
{
id
:
string
;
type
:
string
}
;
links
:
{
self
:
string
}
}
;
}
;
type
:
string
;
}
;
}
,
unknown
,
ThrowOnError
,
>
Create brand Creates a brand resource.
Any one of the following roles is required for this endpoint:
Legacy Role
Equivalent Permission Set Role
org.admin.brand.write
org.permission.brand.create
Type Parameters
ThrowOnError
extends
boolean
=
true
Parameters
options
:
Options
<
CreateBrandData
,
ThrowOnError
>
Returns
RequestResult
<
{
data
:
{
attributes
:
{
createdAt
:
string
;
default
:
boolean
;
iconUrl
:
string
;
modifiedAt
:
string
;
name
:
string
;
updatedAt
:
string
;
}
;
id
:
string
;
links
:
{
self
:
string
}
;
relationships
:
{
createdBy
:
{
data
:
{
id
:
string
;
type
:
string
}
;
links
:
{
self
:
string
}
;
}
;
modifiedBy
:
{
data
:
{
id
:
string
;
type
:
string
}
;
links
:
{
self
:
string
}
;
}
;
org
:
{
data
:
{
id
:
string
;
type
:
string
}
;
links
:
{
self
:
string
}
}
;
}
;
type
:
string
;
}
;
}
,
unknown
,
ThrowOnError
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
kustomer-client
Loading...
Create brand Creates a brand resource.
Any one of the following roles is required for this endpoint: