Release Notes
- January 2025
- October 2024
- July 2024
- November 2023
- Feedback and Contact
Update attributes mapping
This endpoint updates mapping of merchant-defined attributes to fabric-defined standard attributes. This will help ensure consistency.
curl --request PUT \
--url https://api.fabric.inc/v3/product-attribute-mappings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"image": {
"id": "CAXCC1234AASXSSSS"
},
"active": {
"id": "CBCAC1234AASXLLLL"
},
"sku": {
"id": "CBCAC1234AASKKKK"
},
"title": {
"id": "CBCAC1234AAS554R"
}
}'
{
"image": {
"id": "CAXCC1234AASXSSSS",
"name": "color",
"localizedProperties": {
"en-US": {
"name": "color"
},
"en-IN": {
"name": "colour"
}
},
"isLocalizable": true
},
"active": {
"id": "CBCAC1234AASXLLLL",
"name": "color",
"localizedProperties": {
"en-US": {
"name": "color"
},
"en-IN": {
"name": "colour"
}
},
"isLocalizable": true
},
"sku": {
"id": "CBCAC1234AASKKKK",
"name": "color",
"localizedProperties": {
"en-US": {
"name": "color"
},
"en-IN": {
"name": "colour"
}
},
"isLocalizable": true
},
"title": {
"id": "CBCAC1234AAS554R",
"name": "color",
"localizedProperties": {
"en-US": {
"name": "color"
},
"en-IN": {
"name": "colour"
}
},
"isLocalizable": true
}
}
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
Mapping of merchant-specified names to fabric-standard names
Merchant-specified image
name to be mapped to fabric-standard name
"CAXCC1234AASXSSSS"
Merchant-specified name for active
status to be mapped to fabric-standard name
"CBCAC1234AASXLLLL"
Merchant-specified name for SKU
to be mapped to fabric-standard name
"CBCAC1234AASKKKK"
Response
Merchant-specified image ID
"CAXCC1234AASXSSSS"
Merchant-specified name for image
"color"
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
Merchant-specified ID for active
status
"CBCAC1234AASXLLLL"
Merchant-specified name for active
status
"color"
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
Merchant-specified SKU ID
"CBCAC1234AASKKKK"
Merchant-specified name for SKU
"color"
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
Merchant-specified title ID
"CBCAC1234AAS554R"
Merchant-specified name for title
"color"
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
Was this page helpful?
curl --request PUT \
--url https://api.fabric.inc/v3/product-attribute-mappings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"image": {
"id": "CAXCC1234AASXSSSS"
},
"active": {
"id": "CBCAC1234AASXLLLL"
},
"sku": {
"id": "CBCAC1234AASKKKK"
},
"title": {
"id": "CBCAC1234AAS554R"
}
}'
{
"image": {
"id": "CAXCC1234AASXSSSS",
"name": "color",
"localizedProperties": {
"en-US": {
"name": "color"
},
"en-IN": {
"name": "colour"
}
},
"isLocalizable": true
},
"active": {
"id": "CBCAC1234AASXLLLL",
"name": "color",
"localizedProperties": {
"en-US": {
"name": "color"
},
"en-IN": {
"name": "colour"
}
},
"isLocalizable": true
},
"sku": {
"id": "CBCAC1234AASKKKK",
"name": "color",
"localizedProperties": {
"en-US": {
"name": "color"
},
"en-IN": {
"name": "colour"
}
},
"isLocalizable": true
},
"title": {
"id": "CBCAC1234AAS554R",
"name": "color",
"localizedProperties": {
"en-US": {
"name": "color"
},
"en-IN": {
"name": "colour"
}
},
"isLocalizable": true
}
}