post
https://api.apicbase.com/api/v2/sales//pos-products/link/
Links POS products to recipes or ingredients in bulk.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Each item identifies a POS product by its plu (the same value returned by the list POS items endpoint) and must provide exactly one of recipe_id or ingredient_id.
When linking to an ingredient, a wrapper recipe is automatically created with 1 piece of the ingredient, named after the POS product. The linked_recipe_id in the response points to this wrapper recipe.
If a product is already linked, the existing link is replaced.
| Status | Meaning |
|---|---|
linked | Successfully linked to the target recipe or ingredient |
error | Failed — see the error field for details |
Individual items may fail without failing the entire request. Always check the status field per item.
400Validation error (empty list, both recipe_id and ingredient_id provided, etc.).
403Insufficient permissions.
404Outlet not found.
