---
title: "Create a shared master item template"
method: POST
path: "/api/public/v1/catalog/createMasterItem"
---

# Create a shared master item template

`POST /api/public/v1/catalog/createMasterItem`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/catalog/createMasterItem`
- Auth: none declared

Creates a MasterItem in the platform-wide template library shared by every organization and returns its id; it adds nothing to any organization's catalog. Only platform administrators may call it. Each call inserts a new template, so a retry creates a duplicate. To put an item on a menu use catalog.addCatalogItem, optionally passing masterItemId as lineage. A write naming a Wallet design image that is being or already deleted is refused with CONFLICT and refusal `mediaDraftImageExpired`, and stores nothing. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `name` string, required
  - `unit` 'piece' | 'gram' | 'kilogram' | 'milliliter' | 'liter', required
  - `quantity` number, required
  - `calories` number, nullable
  - `proteins` number, nullable
  - `fats` number, nullable
  - `carbs` number, nullable
  - `imageUrl` string, uri, nullable
  - `videoUrl` string, uri, nullable

## Response `200`

OK

- unknown

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
