A valid request URL is required to generate request examples{
"adminName": "<string>",
"namespace": "<string>",
"attributeCode": "<string>",
"attributeFQN": "<string>",
"isValueMappingAttribute": true,
"valueMappingAttributeFQN": "<string>",
"attributeSequence": 123,
"attributeDataTypeSequence": 123,
"masterCatalogId": 123,
"inputType": "<string>",
"valueType": "<string>",
"dataType": "<string>",
"isOption": true,
"isExtra": true,
"isProperty": true,
"availableForOrderRouting": true,
"attributeMetadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"content": {
"localeCode": "<string>",
"name": "<string>",
"description": "<string>"
},
"localizedContent": [
{
"localeCode": "<string>",
"name": "<string>",
"description": "<string>"
}
],
"validation": {
"regularExpression": "<string>",
"minStringLength": 123,
"maxStringLength": 123,
"minNumericValue": 123,
"maxNumericValue": 123,
"minDateValue": "2023-11-07T05:31:56Z",
"maxDateValue": "2023-11-07T05:31:56Z"
},
"vocabularyValues": [
{
"valueSequence": 123,
"value": "<unknown>",
"mappedGenericValues": [
"<unknown>"
],
"productName": "<string>",
"content": {
"localeCode": "<string>",
"stringValue": "<string>"
},
"localizedContent": [
{
"localeCode": "<string>",
"stringValue": "<string>"
}
],
"displayOrder": 123
}
],
"searchSettings": {
"searchableInStorefront": true,
"searchableInAdmin": true,
"searchDisplayValue": true,
"allowFilteringAndSortingInStorefront": true,
"indexValueWithCase": true,
"customWeightInStorefrontSearch": true
},
"auditInfo": {
"updateDate": "2023-11-07T05:31:56Z",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"createBy": "<string>"
}
}Retrieves a product attribute by its FQN. This current version of the Attributes API includes localizedContent to support multi-locale catalogs, which was not present in the previous API model. If you were a client prior to May 2024 and have upgraded your implementation to support this feature, you can still access attribute data that has not yet been rewritten to the new model by providing an x-api-version header set to “1”.
A valid request URL is required to generate request examples{
"adminName": "<string>",
"namespace": "<string>",
"attributeCode": "<string>",
"attributeFQN": "<string>",
"isValueMappingAttribute": true,
"valueMappingAttributeFQN": "<string>",
"attributeSequence": 123,
"attributeDataTypeSequence": 123,
"masterCatalogId": 123,
"inputType": "<string>",
"valueType": "<string>",
"dataType": "<string>",
"isOption": true,
"isExtra": true,
"isProperty": true,
"availableForOrderRouting": true,
"attributeMetadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"content": {
"localeCode": "<string>",
"name": "<string>",
"description": "<string>"
},
"localizedContent": [
{
"localeCode": "<string>",
"name": "<string>",
"description": "<string>"
}
],
"validation": {
"regularExpression": "<string>",
"minStringLength": 123,
"maxStringLength": 123,
"minNumericValue": 123,
"maxNumericValue": 123,
"minDateValue": "2023-11-07T05:31:56Z",
"maxDateValue": "2023-11-07T05:31:56Z"
},
"vocabularyValues": [
{
"valueSequence": 123,
"value": "<unknown>",
"mappedGenericValues": [
"<unknown>"
],
"productName": "<string>",
"content": {
"localeCode": "<string>",
"stringValue": "<string>"
},
"localizedContent": [
{
"localeCode": "<string>",
"stringValue": "<string>"
}
],
"displayOrder": 123
}
],
"searchSettings": {
"searchableInStorefront": true,
"searchableInAdmin": true,
"searchDisplayValue": true,
"allowFilteringAndSortingInStorefront": true,
"indexValueWithCase": true,
"customWeightInStorefrontSearch": true
},
"auditInfo": {
"updateDate": "2023-11-07T05:31:56Z",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"createBy": "<string>"
}
}JWT Authorization header using the Bearer scheme.
limits which fields are returned in the response body
Success
Attribute
Name of the product displayed in the admin, This field does not need to be unqiue, but is required. It can include spaces...and is limited to a length of 50.
NameSpace, each application creating attributes will have a uniqe namespace to avoid name (Code) collisions. The namespace provided must be a valid registered namespace. If no namespace is specified it is assumed to be the namespace of the Tenant.
Unique identifier of the Attribute. Must be unique within a namespace and cannot be changed once the attribute is created. This value will be generated and match the attribute sequence if not provided on create.
Attribute fully qualified name, Read only value that combines namespace and attribute code as NameSpace~AttributeCode
Specifies if this attribute can can be used to generalize values of another attribute
Attribute fully qualified name of a corresponding value mapping atribuite
Read only System generated monotonically increasing unique sequence for each attribute created.
Read only System generated monotonically increasing unique sequence for each attribute,DataType created (this is used to optimize indexed field names in search).
Indentifier of the master that this attribute is a member of. System-supplied and read-only. Attributes will be created in the MasterCatalog of the supplied context.
The InputType type of the attribute. Must be a valid value for InputType defined in InputTypeConst and the combination of types set must match an entry in the AttributeTypeRules resource. This value cannot be changed after create
20The ValueType of the attribute. Must be a valid value for ValueType defined in ValueTypeTypeConst and the combination of types set must match an entry in the AttributeTypeRules resource. This value cannot be changed after create
20The DataType of the attribute. Must be a valid value for DataType defined in DataTypeTypeConst and the combination of types set must match an entry in the AttributeTypeRules resource. This value cannot be changed after create
20Specifies if this attribute can have a usage type of Option in a ProductType. This value can only be true when when it matches an AttributeTypeRule in the AttributeTypeRules resource.
Specifies if this attribute can have a usage type of Extra in a ProductType. This value can only be true when when it matches an AttributeTypeRule in the AttributeTypeRules resource.
Specifies if this attribute can have a usage type of Property in a ProductType. This value can only be true when when it matches an AttributeTypeRule in the AttributeTypeRules resource.
Specifies if this attribute is available for order routing
Attribute Metadata. This list can contain opaque data (key value pairs) that can be used as a property bag for UI concerns.
Show child attributes
Container for language-specific content to display on the storefront. You'll have a container for each supported language (LocaleCode). This enables you to display an attribute in multiple languages yet manage it as a single attribute internally.
Show child attributes
The Content of an attribute. This content is always in the default language of the MasterCatalog.
Show child attributes
Used to validate attributes.
Show child attributes
The list of Values for this attribute. Only available for ValueType:PredefinedVocabulary
Show child attributes
Attribute Search Settings. A container for all of the search and indexing settings of an Attribute
Show child attributes
Show child attributes