Returns all attribute sets defined for the tenant, each including its name, identifier, and form layout configuration for Products and Variants (ProductLayout, VariantLayout).
See also: A legacy OData-style version of this endpoint is available at GET /AttributeSets.
Requires a valid API key in the X-API-KEY header.
200 OK — GetAttributeSetsResponse containing the list of attribute sets.
- 401 Unauthorized — Missing or invalid API key. Returned by the API gateway as
{ "message": "Unauthorized", "request_id": "d8aafa5b8f3e400b60bea0123dd33317" }. - 500 Internal Server Error — Unexpected technical error.
Request:
GET /v2/AttributeSets HTTP/1.1
X-API-KEY: your-api-key-hereResponse:
HTTP/1.1 200 OK
Content-Type: application/jsonGET
curl -i -X GET \
https://api2.saleslayer.com/catalog/v2/AttributeSetsResponse
{ "@readLink": "string", "@nextLink": "string", "@deltaLink": "string", "@context": "string", "value": null, "@count": 0 }