Everything about one attribute of the Variant definition, the tenant's own or the platform's, in every language: what it is, what its type carries, where a variant form draws it and what may be changed about it — what a screen editing the attribute loads.
attributeSetId chooses the form the place is read from: that attribute set's Variant form (left out, the default Variant form). It decides nothing else.
200 OK — the attribute under value, in the members a create reports it in: what every attribute has, and what its type carries in every language — a checklist's options with their translations, a table's templates and hasStartingTable, an image's sizeVariants and fileNameAttributes, the linkingPattern of an image or a file, a related items attribute's target and separator. Then where the form draws it, placement (null when the form does not lay it out), and what may be changed about it, editability.
GET /Metadata/Variants/attributes('frmt_strapcolour')?attributeSetId=7 HTTP/1.1
X-API-KEY: your-api-key-here- Sales Layer Catalog APIhttps://api2.saleslayer.com/catalog/Metadata/Variants/attributes('{attributeId}')
curl -i -X GET \
'https://api2.saleslayer.com/catalog/Metadata/Variants/attributes('\''{attributeId}'\'')?attributeSetId=0' \
-H 'X-API-KEY: string'{ "value": { "identifier": "frmt_size", "title": "Size", "attributeType": "shortText", "isLocalized": false, "isFormReadonly": false, "kind": "custom", "isRequired": false, "isFormRequired": false, "titleTranslations": [ … ], "placement": { … }, "editability": { … } }, "@readLink": "https://api2.saleslayer.com/catalog/Metadata/Variants/attributes('frmt_size')", "@editLink": "https://api2.saleslayer.com/catalog/Metadata/Variants/attributes('frmt_size')" }