Brands
Was this helpful?
Was this helpful?
Manage brands
Retrieves details of a specified brand.
Required scopes
No specific scopes are required.
Unique identifier of a brand.
The language or multiple languages acceptable for the response. Defines language(s) of the localized fields that should be returned in the response body.
If set to *
, the response body will contain translations into all languages specified in the tenant configuration.
The specified language needs to be defined in the Configuration Service, under the project_lang
key.
Note: If not specified, the localized fields will be saved in the default language configured by the tenant in the Configuration Service.
fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7
Deletes a specified brand.
Required scopes
brand.brand_manage
Unique identifier of a brand.
No content
Retrieves all brands created by the tenant.
Required scopes
No specific scopes are required.
A standard query parameter is used to search for specific values.
q=name:brand_one
, where name
is the field name and brand_one
is its desired value.q=name.en:brand_one
, where name
is the field name, en
is a language code, and brand_one
is the field value expressed in the specified language. Note: This query works only for localized fields stored in the map format, where key
is the language code and value
is the translation to a particular language.q=metadata.version:2
q=metadata.version:>1
q=metadata.version:<3
q=metadata.version:>=1
q=metadata.version:<=2
q=metadata.version:(>=1 AND <=2)
metadata.version
is the name of the number-based field, and 2
is it's querying value.q=metadata.createdAt:(>="2021-05-18T07:27:27.455Z" AND <"2021-05-20T07:27:27.455Z")
q=localizedDescription.en:null
, where localizedDescription.en
is the field that has its value set to null
.q=localizedDescription:exists
, where localizedDescription
is the field that has a non-empty value.q=id:(5c3325baa9812100098ff48f,5c3325d1a9812100098ff494)
, where id
is the field name, and strings within the bracket are the desired values.q=id:5c3325baa9812100098ff48f name:brand_one
where id
and name
are field names. All objects that contain the specified values are returned. Multiple fields (separated by space) can be specified. Multiple values for each field can also be specified in a format presented earlier.q=name:~_on
or q=name:(~brand on)
- in case of searching for strings with space, where name
is the name of field and _on
or brand on
is its querying regex.localizedName.en:~(_on)
- where localizedName
is the localized field name, en
is a desired language, and _on
is a search term.name:{brandName}
The number of documents to be retrieved per page.
The page number to be retrieved. The size of the pages should be specified by the pageSize parameter.
List of properties used to sort the results, separated by colons.
Fields to be returned in the response.
The language or multiple languages acceptable for the response. Defines language(s) of the localized fields that should be returned in the response body.
If set to *
, the response body will contain translations into all languages specified in the tenant configuration.
The specified language needs to be defined in the Configuration Service, under the project_lang
key.
Note: If not specified, the localized fields will be saved in the default language configured by the tenant in the Configuration Service.
fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7
Flag indicating whether the total number of retrieved results should be returned.
Creates a new brand.
Required scopes
brand.brand_manage
Defines the language in which the localized fields are specified.
If set to *
, the request body may contain translations into all languages specified in the tenant configuration.
The specified language need to be defined in the Configuration Serivce under project_lang
key.
Note: If not specified, localized fields will be saved in the default language configured by the tenant in the Configuration Service.
en
Unique identifier of a brand.
55421f3b6ecea7b1a3b73d26
Brand name.
Brand one
Brand description.
Description of <strong>Haribo</strong> in HTML.
Link to the associated media file. This field is deprecated
. Media assignment should be done through media-service
.
https://res.cloudinary.com/saas-ag/image/upload/tenant/brands/media_Id
Id of the associated media file. This field is deprecated
. Media assignment should be done through media-service
.
tenant/brands/media_Id
Updates a specified brand by replacing all of its existing data with data from the request body.
Required scopes
brand.brand_manage
Unique identifier of a brand.
Defines the language in which the localized fields are specified.
If set to *
, the request body may contain translations into all languages specified in the tenant configuration.
The specified language need to be defined in the Configuration Serivce under project_lang
key.
Note: If not specified, localized fields will be saved in the default language configured by the tenant in the Configuration Service.
en
Brand name.
Brand one
Brand description.
Description of <strong>Haribo</strong> in HTML.
Link to the associated media file. This field is deprecated
. Media assignment should be done through media-service
.
https://res.cloudinary.com/saas-ag/image/upload/tenant/brands/media_Id
Id of the associated media file. This field is deprecated
. Media assignment should be done through media-service
.
{tenant}/brands/{media_Id}
Partially updates a specified brand by replacing specificed fields from the request body.
Required scopes
brand.brand_manage
Unique identifier of a brand.
Defines the language in which the localized fields are specified.
If set to *
, the request body may contain translations into all languages specified in the tenant configuration.
The specified language need to be defined in the Configuration Serivce under project_lang
key.
Note: If not specified, localized fields will be saved in the default language configured by the tenant in the Configuration Service.
en
Brand name.
Brand one
Brand description.
Description of <strong>Haribo</strong> in HTML.
Link to the associated media file. This field is deprecated
. Media assignment should be done through media-service
.
https://res.cloudinary.com/saas-ag/image/upload/tenant/brands/media_Id
Id of the associated media file. This field is deprecated
. Media assignment should be done through media-service
.
{tenant}/brands/{media_Id}