Create attribute definition.

Create a new attribute definition. The new attribute definition's ID is generated by Bluestone PIM and is included in the response headers under resource-id.

Example: resource-id: 664cc80da825236207fe01a7

For more detailed information on how to work with the Management API (MAPI) in Bluestone PIM, refer to our help pages Get started with Management API and Attribute types.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
Defaults to NAME

Validation strategy for the creation operation. Can be either NAME or NONE and defaults to NAME.

NAME means that a validation check will be performed to make sure that no other attribute definition exist with the same name.

NONE can be used to create an attribute definition with the same name as an other existing attribute definition. Note: The number must always be unique.

Allowed:
Body Params
string

The character set used for the attribute definition.

string

The content type associated with the attribute definition.

boolean
string
enum

The data type of the attribute definition.

string
boolean
string
boolean
string
string
restrictions
object

Restrictions associated with the attribute definition.

string

The unit of measurement for the attribute definition.

Headers
string

Specifies the context in which to operate. If omitted, the default context en is used.

In Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.

For more detailed information on how context relates to language settings in Bluestone PIM, refer to the Languages and Context documentation.

Note: The default context is identified by the ID "en". IDs for additional contexts begin with a lowercase "L", not with the digit "1", followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.

string

Specifies whether to enable the fallback mechanism for the context. If omitted, the default value true will be used. When set to true, the system will provide a default translation or relevant information if the requested context's specific translation is missing.

For more detailed information on how context relates to language settings in Bluestone PIM, refer to the Languages and Context documentation.

Note: Setting the context-fallback parameter to false disables the fallback mechanism. In this configuration, if a translation or specific context information is not available, the system will not provide an alternative or default content. This ensures that only content that matches the exact context ID requested is returned, potentially leading to cases where no content is available if the specific translation is missing.

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json