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