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
Single string for EQUALS
operation; comma-separated string for an IN
operation
PRODUCT
, CATEGORY
Attribute type
TEXT
, NUMBER
, DATETIME
, BOOLEAN
, OPTIONS
, SERIAL
Attribute description
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.
Names of localized attributes
Attribute name that appears when it isn't localized. Refer to localizedProperties
to get the localized name.
Validation details
Response
Time of attribute creation (UTC)
Brief description of attribute
Attribute ID
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.
Names of localized attributes
Non-localized attribute name. Refer to localizedProperties
to get the localized name.
Single string for EQUALS
operation; comma-separated string for an IN
operation
PRODUCT
, CATEGORY
Attribute type
TEXT
, NUMBER
, DATETIME
, BOOLEAN
, OPTIONS
, SERIAL
Time of last update to attribute (UTC)
Email of the user who last updated the attribute
Validation details
Was this page helpful?