For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sales Channel Attribute Schemas

Get an attribute schema by ID

get

Returns an attribute schema by its ID

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200

Successful response

application/json
pkintegerRead-onlyOptional
namestring · max: 255Required
schemaobjectRequired
channelintegerRequired
created_datestring · date-timeRead-onlyOptional
modified_datestring · date-timeRead-onlyOptional
get/api/channel/{channel_id}/attribute_schemas/{id}/

Update an attribute schema

put

Update an existing attribute schema

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
namestring · max: 255Required
schemaobjectRequired
channelintegerRequired

Sales channel id

Responses
200

Attribute schema updated successfully

application/json
pkintegerRead-onlyOptional
namestring · max: 255Required
schemaobjectRequired
channelintegerRequired
created_datestring · date-timeRead-onlyOptional
modified_datestring · date-timeRead-onlyOptional
put/api/channel/{channel_id}/attribute_schemas/{id}/

Partial update an attribute schema

patch

Partial update an existing attribute schema

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
namestring · max: 255Optional
schemaobjectOptional
channelintegerOptional

Sales channel id

Responses
200

Attribute schema updated successfully

application/json
pkintegerRead-onlyOptional
namestring · max: 255Required
schemaobjectRequired
channelintegerRequired
created_datestring · date-timeRead-onlyOptional
modified_datestring · date-timeRead-onlyOptional
patch/api/channel/{channel_id}/attribute_schemas/{id}/

List attribute schemas for a sales channel

get

Returns a list of attribute schemas for a sales channel

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Query parameters
namestringOptional

Filter by name.

Responses
200

Successful response

application/json
pkintegerRead-onlyOptional
namestring · max: 255Required
schemaobjectRequired
channelintegerRequired
created_datestring · date-timeRead-onlyOptional
modified_datestring · date-timeRead-onlyOptional
get/api/channel/{channel_id}/attribute_schemas/

Create a new attribute schema

post

Create a new attribute schema for a sales channel

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Body
namestring · max: 255Required
schemaobjectOptional
channelintegerOptional

Sales channel id

Responses
201

Attribute schema created successfully

application/json
pkintegerRead-onlyOptional
namestring · max: 255Required
schemaobjectRequired
channelintegerRequired
created_datestring · date-timeRead-onlyOptional
modified_datestring · date-timeRead-onlyOptional
post/api/channel/{channel_id}/attribute_schemas/

Last updated

Was this helpful?