Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Create a channel

Creates a new channel linked to a store group and optional market. Validates the store group and market exist before creation.

POST/api/v1/{team_slug}/{app_slug}/channels
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

App slug

team_slugstringrequired

Team slug

Request body
requiredapplication/json

Channel data

activeboolean
descriptionstring
market_idsstring[]
namestringrequired
publishing_rule_idstring
slugstringrequired
store_group_idstringrequired
Responses
201

Channel created successfully

datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.Channelrequired
Show properties
activeboolean
created_atstring
descriptionstring
effective_publishing_rulegithub_com_enadhq_nabbit_internal_pkg_webserver_models.PublishingRule | null
Show properties
Any of:
github_com_enadhq_nabbit_internal_pkg_webserver_models.PublishingRule
created_atstring
idstring
is_defaultboolean
minimum_imagesinteger
namestring
should_have_brandboolean
should_have_categoryboolean
should_have_descriptionboolean
should_have_main_categoryboolean
should_have_priceboolean
should_have_product_nameboolean
updated_atstring | null
null
null
idstring
market_idsstring[] | null
namestring
publishing_rule_idstring
slugstring
store_group_idstring
updated_atstring
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request

detailsstring[]
messagestring
successbooleanrequired
404

Store group or market not found

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://api.enad.io/api/v1/string/string/channels' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "active": true,
  "description": "string",
  "market_ids": [
    "string"
  ],
  "name": "string",
  "publishing_rule_id": "string",
  "slug": "string",
  "store_group_id": "string"
}'
Response
{
  "data": {
    "active": true,
    "created_at": "string",
    "description": "string",
    "effective_publishing_rule": {
      "created_at": "string",
      "id": "string",
      "is_default": true,
      "minimum_images": 0,
      "name": "string",
      "should_have_brand": true,
      "should_have_category": true,
      "should_have_description": true,
      "should_have_main_category": true,
      "should_have_price": true,
      "should_have_product_name": true,
      "updated_at": "string"
    },
    "id": "string",
    "market_ids": [
      "string"
    ],
    "name": "string",
    "publishing_rule_id": "string",
    "slug": "string",
    "store_group_id": "string",
    "updated_at": "string"
  },
  "details": [
    "string"
  ],
  "success": true
}