# SalesChannelMarketPlaceAttributeSetConfig

## POST /api/v1/channel/{channel\_id}/attribute\_set\_configs/category\_node/{id}

> Create an attribute set config for a category node

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"MarketPlaceAttributeSetConfig":{"type":"object","description":"Represents a configuration linking a marketplace attribute set to a target object (like a category node) via a generic foreign key.","properties":{"pk":{"type":"integer","description":"Primary key of the configuration instance."},"attribute_set":{"type":"integer","description":"ID of the related MarketPlaceAttributeSet."},"object_id":{"type":"integer","description":"ID of the target object this configuration applies to (e.g., a CategoryNode ID)."},"content_type":{"type":"string","description":"The model name of the target object's content type (e.g., 'categorynode')."},"created_date":{"type":"string","format":"date-time","description":"Timestamp of when the configuration was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp of the last modification."},"url":{"type":"string","format":"uri","nullable":true,"description":"Fully qualified URL of the resource (present only in hyperlinked serializers)."}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}},"403":{"description":"Forbidden"},"500":{"description":"Server Error"}}},"paths":{"/api/v1/channel/{channel_id}/attribute_set_configs/category_node/{id}":{"post":{"summary":"Create an attribute set config for a category node","tags":["SalesChannelMarketPlaceAttributeSetConfig"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/id_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"attribute_set":{"type":"integer"}}}}}},"responses":{"201":{"description":"Successfully created the attribute set config for the category node.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfig"}}}},"400":{"$ref":"#/components/responses/400"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## GET /api/v1/channel/{channel\_id}/attribute\_set\_configs/{id}/

> Retrieve a specific attribute set config

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"MarketPlaceAttributeSetConfig":{"type":"object","description":"Represents a configuration linking a marketplace attribute set to a target object (like a category node) via a generic foreign key.","properties":{"pk":{"type":"integer","description":"Primary key of the configuration instance."},"attribute_set":{"type":"integer","description":"ID of the related MarketPlaceAttributeSet."},"object_id":{"type":"integer","description":"ID of the target object this configuration applies to (e.g., a CategoryNode ID)."},"content_type":{"type":"string","description":"The model name of the target object's content type (e.g., 'categorynode')."},"created_date":{"type":"string","format":"date-time","description":"Timestamp of when the configuration was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp of the last modification."},"url":{"type":"string","format":"uri","nullable":true,"description":"Fully qualified URL of the resource (present only in hyperlinked serializers)."}}},"MarketPlaceAttributeSetConfigHyperlinked":{"type":"object","description":"Represents a configuration linking a marketplace attribute set to a content object, with hyperlinks for related resources.","properties":{"pk":{"type":"integer","description":"Primary key of the configuration."},"url":{"type":"string","format":"uri","description":"Fully qualified URL to this configuration instance."},"attribute_set":{"type":"string","format":"uri","description":"Hyperlink to the related MarketPlaceAttributeSet instance."},"object_id":{"type":"integer","description":"ID of the content object associated with the configuration."},"content_type":{"type":"string","format":"uri","description":"Hyperlink to the ContentType resource for the associated object."},"created_date":{"type":"string","format":"date-time","description":"Timestamp when this config was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp when this config was last modified."}}}},"responses":{"403":{"description":"Forbidden"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/channel/{channel_id}/attribute_set_configs/{id}/":{"get":{"summary":"Retrieve a specific attribute set config","tags":["SalesChannelMarketPlaceAttributeSetConfig"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/id_path"}],"responses":{"200":{"description":"Successfully retrieved the attribute set config.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfig"},{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfigHyperlinked"}]}}}},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## PUT /api/v1/channel/{channel\_id}/attribute\_set\_configs/{id}/

> Fully update an attribute set config

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"MarketPlaceAttributeSetConfigCreate":{"type":"object","description":"Input schema for creating or updating a MarketPlaceAttributeSetConfig instance.","properties":{"attribute_set":{"type":"integer","description":"ID of the MarketPlaceAttributeSet to associate with the content object."},"object_id":{"type":"integer","description":"ID of the target object to be linked to the attribute set."},"content_type":{"type":"string","description":"Model name of the content type for the target object (must be a valid `ContentType.model` value)."}},"required":["content_type"]},"MarketPlaceAttributeSetConfig":{"type":"object","description":"Represents a configuration linking a marketplace attribute set to a target object (like a category node) via a generic foreign key.","properties":{"pk":{"type":"integer","description":"Primary key of the configuration instance."},"attribute_set":{"type":"integer","description":"ID of the related MarketPlaceAttributeSet."},"object_id":{"type":"integer","description":"ID of the target object this configuration applies to (e.g., a CategoryNode ID)."},"content_type":{"type":"string","description":"The model name of the target object's content type (e.g., 'categorynode')."},"created_date":{"type":"string","format":"date-time","description":"Timestamp of when the configuration was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp of the last modification."},"url":{"type":"string","format":"uri","nullable":true,"description":"Fully qualified URL of the resource (present only in hyperlinked serializers)."}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}},"403":{"description":"Forbidden"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/channel/{channel_id}/attribute_set_configs/{id}/":{"put":{"summary":"Fully update an attribute set config","tags":["SalesChannelMarketPlaceAttributeSetConfig"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/id_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfigCreate"}}}},"responses":{"200":{"description":"Successfully updated the attribute set config.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfig"}}}},"400":{"$ref":"#/components/responses/400"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## DELETE /api/v1/channel/{channel\_id}/attribute\_set\_configs/{id}/

> Delete an attribute set config

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"responses":{"403":{"description":"Forbidden"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/channel/{channel_id}/attribute_set_configs/{id}/":{"delete":{"summary":"Delete an attribute set config","tags":["SalesChannelMarketPlaceAttributeSetConfig"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/id_path"}],"responses":{"204":{"description":"Successfully deleted the attribute set config."},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## PATCH /api/v1/channel/{channel\_id}/attribute\_set\_configs/{id}/

> Partially update an attribute set config

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"MarketPlaceAttributeSetConfigCreate":{"type":"object","description":"Input schema for creating or updating a MarketPlaceAttributeSetConfig instance.","properties":{"attribute_set":{"type":"integer","description":"ID of the MarketPlaceAttributeSet to associate with the content object."},"object_id":{"type":"integer","description":"ID of the target object to be linked to the attribute set."},"content_type":{"type":"string","description":"Model name of the content type for the target object (must be a valid `ContentType.model` value)."}},"required":["content_type"]},"MarketPlaceAttributeSetConfig":{"type":"object","description":"Represents a configuration linking a marketplace attribute set to a target object (like a category node) via a generic foreign key.","properties":{"pk":{"type":"integer","description":"Primary key of the configuration instance."},"attribute_set":{"type":"integer","description":"ID of the related MarketPlaceAttributeSet."},"object_id":{"type":"integer","description":"ID of the target object this configuration applies to (e.g., a CategoryNode ID)."},"content_type":{"type":"string","description":"The model name of the target object's content type (e.g., 'categorynode')."},"created_date":{"type":"string","format":"date-time","description":"Timestamp of when the configuration was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp of the last modification."},"url":{"type":"string","format":"uri","nullable":true,"description":"Fully qualified URL of the resource (present only in hyperlinked serializers)."}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}},"403":{"description":"Forbidden"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/channel/{channel_id}/attribute_set_configs/{id}/":{"patch":{"summary":"Partially update an attribute set config","tags":["SalesChannelMarketPlaceAttributeSetConfig"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/id_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfigCreate"}}}},"responses":{"200":{"description":"Successfully updated the attribute set config.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfig"}}}},"400":{"$ref":"#/components/responses/400"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List all attribute set configs

> Fetches a list of all attribute set configs for the specified sales channel.

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"content_type__model":{"name":"content_type__model","in":"query","description":"Filter by content type model","required":false,"schema":{"type":"string"}},"attribute_set":{"name":"attribute_set","in":"query","description":"Filter by related attribute set ID","required":false,"schema":{"type":"integer","format":"int64"}},"object_id":{"name":"object_id","in":"query","description":"Filter by object ID","required":false,"schema":{"type":"string"}},"created_date":{"name":"created_date","in":"query","required":false,"description":"Filter by creation date using supported lookup expressions (e.g., `gt`, `gte`, `lt`, `lte`, `date__gt`, etc.).","schema":{"type":"string","format":"date-time"}},"modified_date":{"name":"modified_date","in":"query","required":false,"description":"Filter by modification date using supported lookup expressions (e.g., `gt`, `gte`, `lt`, `lte`, `date__gt`, etc.).","schema":{"type":"string","format":"date-time"}}},"schemas":{"MarketPlaceAttributeSetConfigHyperlinked":{"type":"object","description":"Represents a configuration linking a marketplace attribute set to a content object, with hyperlinks for related resources.","properties":{"pk":{"type":"integer","description":"Primary key of the configuration."},"url":{"type":"string","format":"uri","description":"Fully qualified URL to this configuration instance."},"attribute_set":{"type":"string","format":"uri","description":"Hyperlink to the related MarketPlaceAttributeSet instance."},"object_id":{"type":"integer","description":"ID of the content object associated with the configuration."},"content_type":{"type":"string","format":"uri","description":"Hyperlink to the ContentType resource for the associated object."},"created_date":{"type":"string","format":"date-time","description":"Timestamp when this config was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp when this config was last modified."}}},"MarketPlaceAttributeSetConfig":{"type":"object","description":"Represents a configuration linking a marketplace attribute set to a target object (like a category node) via a generic foreign key.","properties":{"pk":{"type":"integer","description":"Primary key of the configuration instance."},"attribute_set":{"type":"integer","description":"ID of the related MarketPlaceAttributeSet."},"object_id":{"type":"integer","description":"ID of the target object this configuration applies to (e.g., a CategoryNode ID)."},"content_type":{"type":"string","description":"The model name of the target object's content type (e.g., 'categorynode')."},"created_date":{"type":"string","format":"date-time","description":"Timestamp of when the configuration was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp of the last modification."},"url":{"type":"string","format":"uri","nullable":true,"description":"Fully qualified URL of the resource (present only in hyperlinked serializers)."}}}},"responses":{"403":{"description":"Forbidden"},"500":{"description":"Server Error"}}},"paths":{"/api/v1/channel/{channel_id}/attribute_set_configs/":{"get":{"summary":"List all attribute set configs","description":"Fetches a list of all attribute set configs for the specified sales channel.","tags":["SalesChannelMarketPlaceAttributeSetConfig"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/content_type__model"},{"$ref":"#/components/parameters/attribute_set"},{"$ref":"#/components/parameters/object_id"},{"$ref":"#/components/parameters/created_date"},{"$ref":"#/components/parameters/modified_date"}],"responses":{"200":{"description":"A list of attribute set configs.","content":{"application/json":{"schema":{"oneOf":[{"type":"array","description":"Hyperlinked response (when `hyper=true`)","items":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfigHyperlinked"}},{"type":"array","description":"Standard ID-based response (when `hyper=false` or not provided)","items":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfig"}}]}}}},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## POST /api/v1/channel/{channel\_id}/attribute\_set\_configs/

> Create an attribute set config

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}}},"schemas":{"MarketPlaceAttributeSetConfigCreate":{"type":"object","description":"Input schema for creating or updating a MarketPlaceAttributeSetConfig instance.","properties":{"attribute_set":{"type":"integer","description":"ID of the MarketPlaceAttributeSet to associate with the content object."},"object_id":{"type":"integer","description":"ID of the target object to be linked to the attribute set."},"content_type":{"type":"string","description":"Model name of the content type for the target object (must be a valid `ContentType.model` value)."}},"required":["content_type"]},"MarketPlaceAttributeSetConfig":{"type":"object","description":"Represents a configuration linking a marketplace attribute set to a target object (like a category node) via a generic foreign key.","properties":{"pk":{"type":"integer","description":"Primary key of the configuration instance."},"attribute_set":{"type":"integer","description":"ID of the related MarketPlaceAttributeSet."},"object_id":{"type":"integer","description":"ID of the target object this configuration applies to (e.g., a CategoryNode ID)."},"content_type":{"type":"string","description":"The model name of the target object's content type (e.g., 'categorynode')."},"created_date":{"type":"string","format":"date-time","description":"Timestamp of when the configuration was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp of the last modification."},"url":{"type":"string","format":"uri","nullable":true,"description":"Fully qualified URL of the resource (present only in hyperlinked serializers)."}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}},"403":{"description":"Forbidden"},"500":{"description":"Server Error"}}},"paths":{"/api/v1/channel/{channel_id}/attribute_set_configs/":{"post":{"summary":"Create an attribute set config","tags":["SalesChannelMarketPlaceAttributeSetConfig"],"parameters":[{"$ref":"#/components/parameters/channel_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfigCreate"}}}},"responses":{"201":{"description":"Successfully created the attribute set config.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketPlaceAttributeSetConfig"}}}},"400":{"$ref":"#/components/responses/400"},"403":{"$ref":"#/components/responses/403"},"500":{"$ref":"#/components/responses/500"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.akinon.com/omnitron-openapis/saleschannelmarketplaceattributesetconfig.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
