Salesforce Commerce Cloud · Schema
VariationAttribute
Document representing a variation attribute.
CommerceE-CommerceHeadless CommerceSalesforceB2C CommerceB2B CommerceDemandware
Properties
| Name | Type | Description |
|---|---|---|
| attributeDefinitionId | string | The id of the requested attribute definition. |
| attributeDefinitionName | object | The localized display name of the variation attribute definition. |
| defaultValue | string | Default variation attribute value. |
| id | string | The ID of the variation attribute. |
| name | object | The localized display name of the variation attribute. |
| shared | boolean | Returns the value of attribute 'shared' if attribute is local or shared. |
| slicing | boolean | Returns the value of attribute 'slicing'. |
| values | array | The sorted array of variation values. This array can be empty. |
| variationAttributeType | string | Variation attribute type. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-variation-attribute-schema.json",
"title": "VariationAttribute",
"description": "Document representing a variation attribute.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/salesforce-commerce-cloud-products-api-openapi.yml#/components/schemas/VariationAttribute",
"required": [
"attributeDefinitionId"
],
"type": "object",
"properties": {
"attributeDefinitionId": {
"type": "string",
"description": "The id of the requested attribute definition."
},
"attributeDefinitionName": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The localized display name of the variation attribute definition."
},
"defaultValue": {
"type": "string",
"description": "Default variation attribute value."
},
"id": {
"minLength": 1,
"type": "string",
"description": "The ID of the variation attribute."
},
"name": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The localized display name of the variation attribute."
},
"shared": {
"type": "boolean",
"description": "Returns the value of attribute 'shared' if attribute is local or shared."
},
"slicing": {
"type": "boolean",
"description": "Returns the value of attribute 'slicing'."
},
"values": {
"items": {
"$ref": "#/$defs/VariationAttributeValue"
},
"type": "array",
"description": "The sorted array of variation values. This array can be empty."
},
"variationAttributeType": {
"type": "string",
"description": "Variation attribute type.",
"enum": [
"string",
"int",
"unknown"
]
}
},
"$defs": {
"MediaFile": {
"required": [
"path"
],
"type": "object",
"properties": {
"absUrl": {
"type": "string",
"description": "The absolute URL with request protocol."
},
"alt": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The alternative image text."
},
"disBaseUrl": {
"type": "string",
"description": "The Dynamic Image Service (DIS) base URL for product images only."
},
"path": {
"type": "string",
"description": "The raw media file path."
},
"title": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The image title."
}
},
"description": "Document representing media file."
},
"VariationAttributeValue": {
"required": [
"value"
],
"type": "object",
"properties": {
"description": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The localized description of the variation value."
},
"image": {
"$ref": "#/$defs/MediaFile"
},
"imageSwatch": {
"$ref": "#/$defs/MediaFile"
},
"name": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The localized display name of the variation value."
},
"orderable": {
"type": "boolean",
"description": "A flag indicating whether at least one variant with this variation attribute value is available to sell."
},
"position": {
"type": "number",
"description": "The position of the value among all values of a variation attribute.",
"format": "double"
},
"value": {
"minLength": 1,
"type": "string",
"description": "The actual variation value."
}
},
"description": "Document representing a variation attribute value."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/salesforce-commerce-cloud-variation-attribute"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.