SalesChannelAttributeSchemas
Returns an attribute schema by its ID
The channel ID of the resource.
5
Unique identifier of the resource
1
Successful response
Bad Request
Unauthorized
Forbidden
GET /api/channel/{channel_id}/attribute_schemas/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"name": "text",
"schema": {},
"channel": 1,
"created_date": "2025-08-30T02:26:31.965Z",
"modified_date": "2025-08-30T02:26:31.965Z"
}
Update an existing attribute schema
The channel ID of the resource.
5
Unique identifier of the resource
1
Sales channel id
Attribute schema updated successfully
Bad Request
Unauthorized
Forbidden
PUT /api/channel/{channel_id}/attribute_schemas/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"name": "text",
"schema": {},
"channel": 1
}
{
"pk": 1,
"name": "text",
"schema": {},
"channel": 1,
"created_date": "2025-08-30T02:26:31.965Z",
"modified_date": "2025-08-30T02:26:31.965Z"
}
Partial update an existing attribute schema
The channel ID of the resource.
5
Unique identifier of the resource
1
Sales channel id
Attribute schema updated successfully
Bad Request
Unauthorized
Forbidden
PATCH /api/channel/{channel_id}/attribute_schemas/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"name": "text",
"schema": {},
"channel": 1
}
{
"pk": 1,
"name": "text",
"schema": {},
"channel": 1,
"created_date": "2025-08-30T02:26:31.965Z",
"modified_date": "2025-08-30T02:26:31.965Z"
}
Returns a list of attribute schemas for a sales channel
The channel ID of the resource.
5
Filters by name
Successful response
Bad Request
GET /api/channel/{channel_id}/attribute_schemas/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
[
{
"pk": 1,
"name": "text",
"schema": {},
"channel": 1,
"created_date": "2025-08-30T02:26:31.965Z",
"modified_date": "2025-08-30T02:26:31.965Z"
}
]
Create a new attribute schema for a sales channel
The channel ID of the resource.
5
Sales channel id
Attribute schema created successfully
Bad Request
Unauthorized
Forbidden
POST /api/channel/{channel_id}/attribute_schemas/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"name": "text",
"schema": {},
"channel": 1
}
{
"pk": 1,
"name": "text",
"schema": {},
"channel": 1,
"created_date": "2025-08-30T02:26:31.965Z",
"modified_date": "2025-08-30T02:26:31.965Z"
}
Was this helpful?