Update Product Draft
Replaces the existing draft changeset for a product with new values. Updates the scheduled publication time if provided and reschedules any existing publication jobs.
PATCH
/api/v1/{team_slug}/{app_slug}/products/{product_id}/draftAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
product_idstringrequiredProduct ID
Request body
requiredapplication/jsonUpdated draft changeset and optional publish_at
changesetgithub_com_enadhq_nabbit_internal_pkg_webserver_models.ProductDraftChangesetrequiredShow propertiesHide properties
attributesstring[]categoriesgithub_com_enadhq_nabbit_internal_pkg_webserver_models.DraftCategoryRef[]Show propertiesHide properties
Array of
github_com_enadhq_nabbit_internal_pkg_webserver_models.DraftCategoryRefidstringis_main_categorybooleanorderintegercollectionsstring[]descriptionstringhtml_descriptionstringhtml_short_descriptionstringimagesgithub_com_enadhq_nabbit_internal_pkg_webserver_models.DraftImageRef[]Show propertiesHide properties
Array of
github_com_enadhq_nabbit_internal_pkg_webserver_models.DraftImageRefidstringpriorityintegermeta_descriptionstringmeta_titlestringnamestringshort_descriptionstringtagsgithub_com_enadhq_nabbit_internal_pkg_webserver_models.DraftTagRef[]Show propertiesHide properties
Array of
github_com_enadhq_nabbit_internal_pkg_webserver_models.DraftTagRefkeystringorderintegerpublish_atstringResponses
200
Draft updated successfully
datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.ProductDraftrequiredShow propertiesHide properties
app_idstringchangesetgithub_com_enadhq_nabbit_internal_pkg_webserver_models.ProductDraftChangesetShow propertiesHide properties
attributesstring[]categoriesgithub_com_enadhq_nabbit_internal_pkg_webserver_models.DraftCategoryRef[]Show propertiesHide properties
Array of
github_com_enadhq_nabbit_internal_pkg_webserver_models.DraftCategoryRefidstringis_main_categorybooleanorderintegercollectionsstring[]descriptionstringhtml_descriptionstringhtml_short_descriptionstringimagesgithub_com_enadhq_nabbit_internal_pkg_webserver_models.DraftImageRef[]Show propertiesHide properties
Array of
github_com_enadhq_nabbit_internal_pkg_webserver_models.DraftImageRefidstringpriorityintegermeta_descriptionstringmeta_titlestringnamestringshort_descriptionstringtagsgithub_com_enadhq_nabbit_internal_pkg_webserver_models.DraftTagRef[]Show propertiesHide properties
Array of
github_com_enadhq_nabbit_internal_pkg_webserver_models.DraftTagRefkeystringorderintegercreated_atstringidstringproduct_idstringpublish_atstring | nullupdated_atstring | nulldetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequired400
Invalid request (e.g. validation error)
detailsstring[]messagestringsuccessbooleanrequired401
Unauthorized access
detailsstring[]messagestringsuccessbooleanrequired404
No draft found for this product
detailsstring[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired