Create attribute
In fabric Product Catalog, both products (Items, Variants, and Bundles) and categories have attributes. For products, they may be technical specifications like size, weight, etc., design specifications like color, material, etc. For Categories, they may be basic specifications such as name, description, ID, etc. This endpoint creates attributes that can be assigned to a target
- Product or Category.
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.
Unique request ID
Body
Attribute type
TEXT
, NUMBER
, DATETIME
, BOOLEAN
, OPTIONS
, SERIAL
Single string for EQUALS
operation; comma-separated string for an IN
operation
PRODUCT
, CATEGORY
Attribute name that appears when it isn't localized. Refer to localizedProperties
to get the localized name.
Attribute description
Names of localized attributes
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.
Validation details
Response
Attribute ID
Non-localized attribute name. Refer to localizedProperties
to get the localized name.
Brief description of attribute
Attribute type
TEXT
, NUMBER
, DATETIME
, BOOLEAN
, OPTIONS
, SERIAL
Single string for EQUALS
operation; comma-separated string for an IN
operation
PRODUCT
, CATEGORY
Names of localized attributes
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.
Validation details
Email of the user who last updated the attribute
Time of attribute creation (UTC)
Time of last update to attribute (UTC)
Was this page helpful?