Get Attribute Set Metadata
Sales Layer Catalog REST API (2.0.0)
The Sales Layer Catalog REST API provides programmatic access to the catalog data managed in Sales Layer.
Use this reference to retrieve, filter, create, update, or delete products, variants, categories, attribute sets, custom entities, metadata, and changelog records. These endpoints support synchronization, enrichment, publishing, reporting, and other integration workflows across eCommerce platforms, ERPs, marketplaces, DAM systems, supplier systems, and internal tools.
Start with metadata endpoints when your integration needs to discover available fields and relationships, use pagination and filtering for large reads, and rely on changelogs for incremental synchronization whenever possible.
Attribute Sets
Operations
- get /AttributeSets
- get /AttributeSets({attributeSetIdentifier})
- get /AttributeSets({attributeSetIdentifier})/Products
- get /AttributeSets/$metadata
Request
Filters the tenant's Attribute Set resources using OData query options ( $select, $expand, $filter, $orderby, $skip, $top, $skipToken). Result's paging is done using the default paging size options.
Parameters details
- X-API-KEY: Custom HTTP request header containing the API key used for authentication.
- Accept-Language: Standard HTTP request header indicates the natural language and locale that the client prefers.
Examples:
- Expression es returns the content localized in the culture es.
- Expression en-us returns the content localized in the culture en-us.
$select: Expression describing the list of Attribute Set resource properties to be included in the result.
Currently, the API does not support selecting the properties of an embedded resource or the properties of a resource within an embedded collection.
$expand: Expression describing the list of collections embedded in the Attribute Set resource ( Products) to be included in the result.
Query
Example:
GET /AttributeSets(7)/Products?$filter=contains(prod_description,'pro')&$top=20 HTTP/1.1
X-API-KEY: your-api-key-here
Accept-Language: en-US
Responses
200 OK — CollectionRepresentation with the matching Product resources, pagination metadata (Count, Skip, Top, HasNext, continuation token) and the cultures echoed from Accept-Language.
Get Attribute Set Metadata
Request
Returns the public metadata of the Attribute Set model as a JSON schema document describing the resources ( Product, Variant) associated to the Attribute Set and the relationships between them. Use it to build requests against the various methods of the API.
Response
- 200: Metadata schema.
{
"readLink": {
"uri": "http://example.com"
},
"value": null
}
Attribute Sets v2
Operations
- get /v2/AttributeSets
- post /v2/AttributeSets
- get /v2/AttributeSets({id})
- patch /v2/AttributeSets({id})
- delete /v2/AttributeSets({id})