Frontend API
Retrieve product attributes to display in storefront.
Returns a list of product attributes, with offset pagination using limit and page.
List attributes
await swell.attributes.list({
limit: 25,
page: 1
})
Returns a single attribute.
Get an attribute
await swell.attributes.get('color')