Get Attribute Set
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 /AttributeSetsget /AttributeSets({attributeSetIdentifier})get /AttributeSets({attributeSetIdentifier})/Productsget /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. It can take one of the following values:- * : All the localized content is available in the result, regardless of the culture. This option is currently disabled.
- null : The content localized in the default culture is available in the result.
- culture-code : The content localized in the specified culture is available in the result.
$select
Expression describing the list of Attribute Set resource properties to be included in the result.
$expand
Expression describing the list of collections embedded in the Attribute Set resource ( Products) to be included in the result.
$filter
Expression describing the filters applied to the resources included in the result.
$orderby
Expression describing the ordering applied to the properties of resources included in the result.
$skip
Expression setting up result's paging according to the limit and offset paging strategy.
$top
Expression setting up the number of items in the result.
Query Examples
$filter=prod_ref eq 'SKU-001'$expand=Products$orderby=typ_title asc$select=typ_title,typ_stat$top=10
Response Structure
{
"@readLink": "string",
"@nextLink": "string",
"@deltaLink": "string",
"@context": "string",
"value": null,
"@count": 0
}
Example Request
curl -i -X GET \
'https://api2.saleslayer.com/catalog/AttributeSets?%24filter=string&%24orderby=string&%24skip=0&%24skipToken=string&%24top=0&%24select=string&%24expand=string' \
-H 'Accept-Language: string' \
-H 'X-API-KEY: string'
Responses
- 200 OK — Returns a collection of matching resources.
- 400 Bad Request — Invalid request parameters.
- 401 Unauthorized — Missing or invalid API key.
- 404 Not Found — Resource not found.
- 500 Internal Server Error — Server error.