BETTERMENU
Studio

Publish Recipe

Publish a recipe — make it live, finalize a recipe, release a recipe.

Use this to answer: "publish my recipe", "make my recipe live", "finalize my recipe"

Transitions the recipe from DRAFT to PUBLISHED status. Recipe must have a name and at least one ingredient. Nutrition is optional.

Related endpoints:

  • archiveRecipe — take a published recipe offline
  • getRecipe — check current status before publishing
  • getRecipeAuditTrail — see the publish event in history
POST
/studio/recipes/{recipe_id}/publish

Authorization

BearerAuth
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Path Parameters

recipe_id*string

Unique recipe identifier

Response Body

application/json

application/json

curl -X POST "https://loading/studio/recipes/string/publish"
{
  "data": {
    "id": "string",
    "org_id": "string",
    "name": "string",
    "country": "US",
    "regulatory_authority": "US_FDA",
    "demographic": "adults_and_children_over_4",
    "status": "draft",
    "ingredient_count": 0,
    "has_nutrition": true,
    "created_at": "string",
    "updated_at": "string",
    "actions": {
      "can_modify": true,
      "can_publish": true,
      "can_archive": true,
      "can_delete": true
    }
  },
  "meta": {
    "version": "string",
    "request_id": "string",
    "timestamp": "string"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}