Products are the items a bakery sells. Each product carries a name, price, emoji icon, category, availability status, and a stock count. The app manages stock separately from other product fields — stock updates go through a dedicated endpoint so the baker can adjust counts from the product list without opening the full edit form.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AndrewwCO/Pana-Baker/llms.txt
Use this file to discover all available pages before exploring further.
GET /products/my
Returns all products belonging to the authenticated bakery.Response
Returns an array of product objects.Unique product identifier.
Display name of the product.
Optional description of the product.
Unit price in COP.
Single emoji character representing the product (e.g.
"🥐").Product category. App-defined values:
bread, pastelería, galletas, bebidas, otro.Current stock count.
Whether the product is available for ordering. The app derives this as
stock > 0 when the field is absent.Granular availability. One of
READY_NOW, READY_IN_20, READY_IN_60, ADVANCE_ORDER_ONLY, or OUT_OF_STOCK.Minutes of advance notice required, used when
availabilityStatus is ADVANCE_ORDER_ONLY.URL of the product photo, or an empty string if none has been uploaded.
POST /products
Creates a new product for the authenticated bakery.Request body
Display name of the product.
Unit price in COP as a float.
Single emoji character. Defaults to
"🍞" in the app.Product category. Accepted values:
bread, pastelería, galletas, bebidas, otro.Optional product description.
Initial stock count. Integer.
Whether the product is immediately available. The app derives this as
stock > 0.Granular availability status. One of
READY_NOW, READY_IN_20, READY_IN_60, ADVANCE_ORDER_ONLY, or OUT_OF_STOCK.Minutes of advance notice required. Only meaningful when
availabilityStatus is ADVANCE_ORDER_ONLY.Response
Returns the created product object, including the server-assignedid.
After creating a product, the app immediately calls
PATCH /products/:id/stock to set the stock count and then optionally calls POST /upload/product/:id to attach a photo. The id from this response is needed for both follow-up calls.PATCH /products/:id
Updates editable fields on an existing product. Stock is managed separately viaPATCH /products/:id/stock.
Path parameters
The unique product ID.
Request body
Send only the fields you want to update. Accepted fields are the same asPOST /products, excluding stock and available.
Response
Returns the updated product object.PATCH /products/:id/stock
Updates only the stock count for a product. The app calls this endpoint from the inline stepper on the products list without requiring the baker to open the edit form.Path parameters
The unique product ID.
Request body
New stock count. Must be a non-negative integer. The app clamps to
Math.max(0, value).Response
Returns the updated product object with the newstock value.
DELETE /products/:id
Permanently deletes a product from the bakery’s catalogue. This action cannot be undone.Path parameters
The unique product ID.