GET
/v1/catalog/attributesGET /v1/catalog/attributes
Scopes: catalog:attributes:read
Requires scope: catalog:attributes:read.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer<int32> | no | |
starting_after | query | string | no |
Examples
import { SolidCommerceClient } from '@solidcommerce/sdk';
const client = new SolidCommerceClient({
apiKey: process.env.SOLIDCOMMERCE_API_KEY!,
});
const { data, error } = await client.raw.GET('/v1/catalog/attributes', {
// params: { path: { id: '...' }, query: { limit: 25 } },
// body: { /* request body */ },
});
if (error) throw error;
console.log(data);