Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Set product channel status

Sets a product’s publishing status on a channel. Requires an existing channel membership row for the product. Allowed status values are active, inactive, and incomplete.

PATCH/api/v1/{team_slug}/{app_slug}/channels/{channel_id}/products/{product_id}/status
Authorization
AuthorizationBearer token · headerrequired

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

Path parameters
team_slugstringrequired

Team slug

app_slugstringrequired

App slug

channel_idstringrequired

Channel ID

product_idstringrequired

Product ID

Request body
requiredapplication/json

Channel status payload

statusstringrequired
Allowed:activeinactiveincomplete
Responses
200

Updated product channel status

datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.ChannelProductMembershiprequired
Show properties
channel_idstring
created_atstring
product_idstring
statusstring
status_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

Channel, product, or membership not found

detailsstring[]
messagestring
successbooleanrequired
422

Status validation failed

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH 'https://api.enad.io/api/v1/string/string/channels/string/products/string/status' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "status": "active"
}'
Response
{
  "data": {
    "channel_id": "string",
    "created_at": "string",
    "product_id": "string",
    "status": "string",
    "status_updated_at": "string"
  },
  "details": [
    "string"
  ],
  "success": true
}