Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
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"
Body
Request body to create attribute
Attribute type
TEXT, NUMBER, DATETIME, BOOLEAN, OPTIONS, SERIAL "TEXT"
Single string for EQUALS operation; comma-separated string for an IN operation
PRODUCT, CATEGORY "PRODUCT"
Attribute name that appears when it isn't localized. Refer to localizedProperties to get the localized name.
"color"
Attribute description
"Product color"
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 <br /> false: Attribute name isn't localized Note: Refer to localizedProperties to get relevant attributes based on locale.
true
Validation details
Response
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 <br /> 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
"test@email.com"
Time of attribute creation (UTC)
"2021-04-20T10:24:36.162Z"
Time of last update to attribute (UTC)
"2021-04-20T10:24:36.162Z"
