SalesChannelAttributeSchemas

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
chevron-right
200

Successful response

application/json
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
chevron-right
200

Attribute schema updated successfully

application/json
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
chevron-right
200

Attribute schema updated successfully

application/json
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
chevron-right
200

Successful response

application/json
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
post
/api/channel/{channel_id}/attribute_schemas/

Last updated

Was this helpful?