This endpoint updates attribute details such as name, description, validation criteria, and more, for the specified ID.
S2S access token (JWT) from fabric Identity service (during Login)
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
"517fa9dfd42d8b00g1o3k312"
Unique request ID
"263e731c-45c8-11ed-b878-0242ac120002"
The 24-character system-generated ID of the attribute to update.
Request body to update attribute
Attribute name that appears when it isn't localized. Refer to localizedProperties to get the localized name.
"color"
Brief description of attribute
"Product color"
Names of localized attributes
{
"en-US": { "name": "color" },
"en-IN": { "name": "colour" }
}Attribute type
TEXT, NUMBER, DATETIME, BOOLEAN, OPTIONS, SERIAL "TEXT"
Single string for EQUALS operation; comma-separated string for an IN operation
PRODUCT, CATEGORY "PRODUCT"
true: Attribute name is translated into different languages or localized for different regions
false: Attribute name isn't localized Note: Refer to localizedProperties to get relevant attributes based on locale.
true
Validation details
OK
Attribute ID
"CAZZX1234567DDDDD"
Non-localized attribute name. Refer to localizedProperties to get the localized name.
"color"
Brief description of attribute
"Product color"
Attribute type
TEXT, NUMBER, DATETIME, BOOLEAN, OPTIONS, SERIAL "TEXT"
Single string for EQUALS operation; comma-separated string for an IN operation
PRODUCT, CATEGORY "PRODUCT"
Names of localized attributes
{
"en-US": { "name": "color" },
"en-IN": { "name": "colour" }
}true: Attribute name is translated into different languages or localized for different regions
false: Attribute name isn't localized Note: Refer to localizedProperties to get relevant attributes based on locale.
true
Validation details
Email of the user who last updated the attribute
Time of attribute creation (UTC)
"2021-04-20T10:24:36.162Z"
Time of last update to attribute (UTC)
"2021-04-20T10:24:36.162Z"