All endpoints are available under the following base URL:
To access the API, you must include your API key (access token) in every request using the Authorization header:
Authorization: Bearer YOUR_ACCESS_TOKEN
This API requires all clients to include the Yokitup-Version HTTP header in each request.
This header specifies the desired version of the API and ensures stable behavior across deployments.
Example:
Yokitup-Version: 2026-06-01
If the header is missing or invalid, the server may reject the request or default to the latest available version.
Unless explicitly stated otherwise, all endpoints in this API consume and produce JSON payloads.
Clients must include the following header for any request containing a body:
Content-Type: application/json
Certain endpoints (such as OAuth authentication) may require alternative media types
(e.g. application/x-www-form-urlencoded). These exceptions are explicitly documented
at the operation level in this specification.
All numeric values in this API follow strict precision and formatting rules to ensure consistency across clients and systems:
Quantities are represented as strings. They support up to 5 decimal places of precision.
Monetary amounts are represented as strings, expressed in the minor unit of the currency (e.g., cents for EUR = 123 -> €1.23). Precision is also up to 5 decimal places.
This format ensures consistent parsing across languages, avoids floating point rounding issues, and maintains high precision in operations.
Paginated endpoints in this API return a fixed-size subset of results, along with navigational links.
Each paginated response includes a links object with the following properties:
self: URL of the current pagenext: URL of the next page (or null if this is the last page)prev: URL of the previous page (or null if this is the first page)Clients must use these links to navigate between pages.
The internal pagination mechanism may evolve (e.g. from page-based to cursor-based), but these links ensure forward compatibility.
All API requests are subject to rate limiting based on your API key.
| Header | Description |
|---|---|
| X-RateLimit-Limit | Maximum number of requests allowed in the current window |
| X-RateLimit-Remaining | Remaining number of requests in the current window |
| X-RateLimit-Reset | Timestamp (Unix) when the current window resets |
| Retry-After | Returned on 429 responses. Indicates how long (in seconds) to wait before retrying |
In the system, a "product" can take several forms, defined by the type field:
supplier_product records that define their purchase details (price, packaging, etc.).recipe_ingredient list.Products are central to stock tracking and cost management. Regardless of their type, all products share common properties such as base unit, packaging, stock levels, and cost.
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "currency_code": "EUR",
- "time_zone": "Europe/Paris"
}
],
}| name required | string |
{- "name": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}| id required | string <uuid> Location group ID |
| name | string |
{- "name": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| location_group_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location group IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795"
}
],
}| location_group_id required | string <uuid> |
| location_id required | string <uuid> |
{- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795"
}
}| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "base_quantity": "string",
- "base_unit": "ea"
}
],
}| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| types | Array of strings Items Enum: "purchased" "recipe" "fee" Filter products by one or more types.
Possible values: |
| statuses | Array of strings Items Enum: "active" "inactive" Filter by one or more statuses. |
{- "data": [
- {
- "id": "string",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "base_unit": "ea",
- "type": "purchased",
- "status": "active",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "barcode": "string",
- "barcode_format": "ean_13",
- "shelf_life_days": 0,
- "shelf_life_type": "use_by",
- "external_reference": "string",
- "description": "string",
- "default_stock_status": "enabled",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
],
}| name required | string |
| location_group_id | string or null |
| type required | string Enum: "purchased" "recipe" |
| main_packaging_measurement_unit_id required | string <uuid> |
| main_packaging_quantity required | string |
| main_packaging_name | string or null |
| conversion_packaging_measurement_unit_id | string or null <uuid> |
| conversion_packaging_quantity | string or null |
| external_reference | string or null Optional free-form reference defined by the user. |
| default_stock_status | string Enum: "enabled" "disabled" |
{- "name": "string",
- "location_group_id": "string",
- "type": "purchased",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "external_reference": "string",
- "default_stock_status": "enabled"
}{- "data": {
- "id": "string",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "base_unit": "ea",
- "type": "purchased",
- "status": "active",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "barcode": "string",
- "barcode_format": "ean_13",
- "shelf_life_days": 0,
- "shelf_life_type": "use_by",
- "external_reference": "string",
- "description": "string",
- "default_stock_status": "enabled",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
}| id required | string <uuid> Product ID |
| name | string |
| main_packaging_measurement_unit_id | string <uuid> |
| main_packaging_quantity | string |
| main_packaging_name | string or null |
| conversion_packaging_measurement_unit_id | string or null <uuid> |
| conversion_packaging_quantity | string or null |
| external_reference | string or null Optional free-form reference defined by the user. |
| default_stock_status | string Enum: "enabled" "disabled" |
{- "name": "string",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "external_reference": "string",
- "default_stock_status": "enabled"
}{- "data": {
- "id": "string",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "base_unit": "ea",
- "type": "purchased",
- "status": "active",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "barcode": "string",
- "barcode_format": "ean_13",
- "shelf_life_days": 0,
- "shelf_life_type": "use_by",
- "external_reference": "string",
- "description": "string",
- "default_stock_status": "enabled",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
}| id required | string <uuid> Product ID |
| location_group_id required | string or null |
{- "location_group_id": "string"
}{- "data": {
- "id": "string",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "base_unit": "ea",
- "type": "purchased",
- "status": "active",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "barcode": "string",
- "barcode_format": "ean_13",
- "shelf_life_days": 0,
- "shelf_life_type": "use_by",
- "external_reference": "string",
- "description": "string",
- "default_stock_status": "enabled",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
}Updates the status of a product.
Setting the status to inactive also deactivates all linked supplier products.
| id required | string <uuid> Product ID |
| status required | string Enum: "active" "inactive" |
{- "status": "active"
}{- "data": {
- "id": "string",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "base_unit": "ea",
- "type": "purchased",
- "status": "active",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "barcode": "string",
- "barcode_format": "ean_13",
- "shelf_life_days": 0,
- "shelf_life_type": "use_by",
- "external_reference": "string",
- "description": "string",
- "default_stock_status": "enabled",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
}| recipe_product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more recipe product IDs |
| ingredient_product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more ingredient product IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
- "ingredient_product_id": "56091b5f-0864-4751-88ea-74fde4c7be51",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
- "name": "string"
}
],
}| recipe_product_id required | string <uuid> The id of the recipe product that is an ingredient. |
| ingredient_product_id required | string <uuid> The id of the product that is an ingredient. |
| quantity required | string |
| measurement_unit_id required | string <uuid> |
| name | string or null |
{- "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
- "ingredient_product_id": "56091b5f-0864-4751-88ea-74fde4c7be51",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
- "name": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
- "ingredient_product_id": "56091b5f-0864-4751-88ea-74fde4c7be51",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
- "name": "string"
}
}| id required | string <uuid> Recipe ingredient ID |
| quantity | string |
| measurement_unit_id | string <uuid> |
| name | string or null |
{- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
- "name": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
- "ingredient_product_id": "56091b5f-0864-4751-88ea-74fde4c7be51",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
- "name": "string"
}
}| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "name": "string",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804"
}
],
}| product_id required | string <uuid> |
| name | string or null |
| quantity required | string Number of base measurement units contained in this product packaging.
For example, if the parent measurement unit represents a single bottle and this product packaging is a box of 6 bottles, then |
| measurement_unit_id required | string <uuid> ID of the parent measurement unit ( |
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "name": "string",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "name": "string",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804"
}
}| id required | string <uuid> Product packaging ID |
| name | string or null |
{- "name": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "name": "string",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804"
}
}| recipe_product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more recipe product IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
- "name": "string",
- "content": "string",
- "position": 0,
}
],
}| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
| tag_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more tag IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1"
}
],
}| product_id required | string <uuid> |
| tag_id required | string <uuid> |
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1"
}
}| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
| allergen_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more allergen IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "allergen_id": "bd19b4ea-1b1c-4f35-b7d5-7e382c8f133d",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "severity": "contains"
}
],
}| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "energy_kcal": "string",
- "energy_kj": "string",
- "fat": "string",
- "saturated_fat": "string",
- "trans_fat": "string",
- "carbohydrates": "string",
- "sugars": "string",
- "added_sugars": "string",
- "polyols": "string",
- "starch": "string",
- "fiber": "string",
- "protein": "string",
- "salt": "string",
- "sodium": "string",
- "calcium": "string",
- "iron": "string",
- "potassium": "string",
- "cholesterol": "string",
- "vitamin_c": "string",
- "vitamin_d": "string"
}
],
}| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "composition": "string",
- "storage_instructions": "string",
- "preparation_instructions": "string"
}
],
}| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| statuses | Array of strings Items Enum: "active" "inactive" Filter by one or more statuses. |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "status": "active",
- "locale": "fr-FR",
- "currency_code": "EUR"
}
],
}| name required | string |
| location_group_id | string or null |
| locale | string |
{- "name": "string",
- "location_group_id": "string",
- "locale": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "status": "active",
- "locale": "fr-FR",
- "currency_code": "EUR"
}
}| id required | string <uuid> Supplier ID |
| name | string |
| locale | string |
{- "name": "string",
- "locale": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "status": "active",
- "locale": "fr-FR",
- "currency_code": "EUR"
}
}| id required | string <uuid> Supplier ID |
| location_group_id required | string or null |
{- "location_group_id": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "status": "active",
- "locale": "fr-FR",
- "currency_code": "EUR"
}
}Updates the status of a supplier.
Setting the status to inactive also deactivates all linked supplier products.
| id required | string <uuid> Supplier ID |
| status required | string Enum: "active" "inactive" |
{- "status": "active"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "status": "active",
- "locale": "fr-FR",
- "currency_code": "EUR"
}
}| supplier_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more supplier IDs |
| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| statuses | Array of strings Items Enum: "active" "inactive" Filter by one or more statuses. |
{- "data": [
- {
- "id": "string",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "linked_product_id": "5c24fea5-c8cf-40a9-9718-90de32d982ae",
- "name": "string",
- "supplier_reference": "string",
- "status": "active",
- "unit_price_excluding_tax": "string",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "product_unit_per_billing_packaging": "string",
- "billing_packaging": "string",
- "use_different_order_packaging": true,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": true
}
],
}| name required | string |
| supplier_id required | string <uuid> |
| product_id required | string <uuid> |
| tax_id required | string <uuid> |
| location_group_id | string or null |
| supplier_reference | string or null |
| unit_price_excluding_tax required | string |
| billing_packaging required | string |
| product_unit_per_billing_packaging required | string |
| use_different_order_packaging | boolean Default: false |
| order_packaging | string |
| billing_packaging_per_order_packaging | string |
| weighted | boolean Default: false |
{- "name": "string",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "location_group_id": "string",
- "supplier_reference": "string",
- "unit_price_excluding_tax": "string",
- "billing_packaging": "string",
- "product_unit_per_billing_packaging": "string",
- "use_different_order_packaging": false,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": false
}{- "data": {
- "id": "string",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "linked_product_id": "5c24fea5-c8cf-40a9-9718-90de32d982ae",
- "name": "string",
- "supplier_reference": "string",
- "status": "active",
- "unit_price_excluding_tax": "string",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "product_unit_per_billing_packaging": "string",
- "billing_packaging": "string",
- "use_different_order_packaging": true,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": true
}
}| id required | string <uuid> Supplier product ID |
| name | string |
| product_id | string <uuid> |
| tax_id | string <uuid> |
| location_group_id | string or null |
| supplier_reference | string or null |
| unit_price_excluding_tax | string |
| billing_packaging | string |
| product_unit_per_billing_packaging | string |
| use_different_order_packaging | boolean |
| order_packaging | string |
| billing_packaging_per_order_packaging | string |
| weighted | boolean |
{- "name": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "location_group_id": "string",
- "supplier_reference": "string",
- "unit_price_excluding_tax": "string",
- "billing_packaging": "string",
- "product_unit_per_billing_packaging": "string",
- "use_different_order_packaging": true,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": true
}{- "data": {
- "id": "string",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "linked_product_id": "5c24fea5-c8cf-40a9-9718-90de32d982ae",
- "name": "string",
- "supplier_reference": "string",
- "status": "active",
- "unit_price_excluding_tax": "string",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "product_unit_per_billing_packaging": "string",
- "billing_packaging": "string",
- "use_different_order_packaging": true,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": true
}
}| id required | string <uuid> Supplier product ID |
| location_group_id required | string or null |
{- "location_group_id": "string"
}{- "data": {
- "id": "string",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "linked_product_id": "5c24fea5-c8cf-40a9-9718-90de32d982ae",
- "name": "string",
- "supplier_reference": "string",
- "status": "active",
- "unit_price_excluding_tax": "string",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "product_unit_per_billing_packaging": "string",
- "billing_packaging": "string",
- "use_different_order_packaging": true,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": true
}
}| id required | string <uuid> Supplier product ID |
| status required | string Enum: "active" "inactive" |
{- "status": "active"
}{- "data": {
- "id": "string",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "linked_product_id": "5c24fea5-c8cf-40a9-9718-90de32d982ae",
- "name": "string",
- "supplier_reference": "string",
- "status": "active",
- "unit_price_excluding_tax": "string",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "product_unit_per_billing_packaging": "string",
- "billing_packaging": "string",
- "use_different_order_packaging": true,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": true
}
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| supplier_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more supplier IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| order_date_from | string <date> Filter from this date (inclusive) |
| order_date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "reference_number": "PO-A1B2-12345",
- "order_date": "2019-08-24",
- "requested_delivery_date": "2019-08-24",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "amount_including_tax_in_location_currency": "string",
- "amount_excluding_tax_in_location_currency": "string",
- "status": "draft",
- "notes": "string"
}
],
}| supplier_purchase_order_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more supplier purchase order IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_purchase_order_id": "857e2f8b-0be3-411e-a7c8-28de0eed0761",
- "supplier_product_id": "6c2a0252-84af-4fd2-9c2d-e29eb0b577ae",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "amount_including_tax_in_location_currency": "string",
- "amount_excluding_tax_in_location_currency": "string",
- "quantity": {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| supplier_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more supplier IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| received_date_from | string <date> Filter from this date (inclusive) |
| received_date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_purchase_order_id": "857e2f8b-0be3-411e-a7c8-28de0eed0761",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "delivery_note_number": "string",
- "shipped_date": "2019-08-24",
- "received_date": "2019-08-24",
- "reception_time": "09:15",
- "invoiced_amount_including_tax": "string",
- "invoiced_amount_excluding_tax": "string",
- "received_amount_including_tax": "string",
- "received_amount_excluding_tax": "string",
- "invoiced_amount_including_tax_in_location_currency": "string",
- "invoiced_amount_excluding_tax_in_location_currency": "string",
- "received_amount_including_tax_in_location_currency": "string",
- "received_amount_excluding_tax_in_location_currency": "string",
- "status": "draft",
- "sender_notes": "string",
- "receiver_notes": "string"
}
],
}| supplier_goods_receipt_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more supplier goods receipt IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_goods_receipt_id": "48243b06-30b9-4847-b3ed-b5b0013b70fa",
- "supplier_product_id": "6c2a0252-84af-4fd2-9c2d-e29eb0b577ae",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "invoiced_amount_including_tax": "string",
- "invoiced_amount_excluding_tax": "string",
- "received_amount_including_tax": "string",
- "received_amount_excluding_tax": "string",
- "invoiced_amount_including_tax_in_location_currency": "string",
- "invoiced_amount_excluding_tax_in_location_currency": "string",
- "received_amount_including_tax_in_location_currency": "string",
- "received_amount_excluding_tax_in_location_currency": "string",
- "invoiced_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "received_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "received_secondary_quantity": {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| supplier_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more supplier IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| sent_date_from | string <date> Filter from this date (inclusive) |
| sent_date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "reference_number": "CN-A1B2-12345",
- "sent_date": "2019-08-24",
- "requested_amount_including_tax": "string",
- "requested_amount_excluding_tax": "string",
- "accepted_amount_including_tax": "string",
- "accepted_amount_excluding_tax": "string",
- "requested_amount_including_tax_in_location_currency": "string",
- "requested_amount_excluding_tax_in_location_currency": "string",
- "accepted_amount_including_tax_in_location_currency": "string",
- "accepted_amount_excluding_tax_in_location_currency": "string",
- "status": "draft",
- "notes": "string"
}
],
}| supplier_credit_note_request_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more supplier credit note request IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_credit_note_request_id": "efc18a9a-be80-41ac-a02a-d4eafda622fb",
- "supplier_product_id": "6c2a0252-84af-4fd2-9c2d-e29eb0b577ae",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "request_type": "price",
- "requested_amount_including_tax": "string",
- "requested_amount_excluding_tax": "string",
- "accepted_amount_including_tax": "string",
- "accepted_amount_excluding_tax": "string",
- "requested_amount_including_tax_in_location_currency": "string",
- "requested_amount_excluding_tax_in_location_currency": "string",
- "accepted_amount_including_tax_in_location_currency": "string",
- "accepted_amount_excluding_tax_in_location_currency": "string",
- "requested_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
],
}| supplier_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more supplier IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| issue_date_from | string <date> Filter from this date (inclusive) |
| issue_date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "issue_date": "2019-08-24",
- "invoice_number": "string",
- "amount_excluding_tax": "string",
- "amount_including_tax": "string"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| statuses | Array of strings Items Enum: "enabled" "disabled" "unavailable" Filter by one or more stock tracking statuses. |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "quantity": "string",
- "unit_cost": "string",
- "status": "enabled"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| date_from | string <date> Filter from this date (inclusive) |
| date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "source_type": "supplier_goods_receipt",
- "source_category_id": "98c7fbde-4935-4c1e-b8a1-e283fbec3267",
- "date": "2019-08-24",
- "base_quantity": "string",
- "amount": "string"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| date_from | string <date> Filter from this date (inclusive) |
| date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "date": "2019-08-24",
- "inventory_category_id": "3dfc6372-2cd8-418a-8698-59507c17dce9",
- "inventory_area_id": "e3487d56-7dd3-44a1-a07f-d4f2751a1ba5",
- "amount": "string",
- "loss_amount": "string",
- "notes": "string",
- "type": "main",
- "valuation_method": "wac",
- "status": "draft",
- "processing": true
}
],
}| inventory_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more inventory IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inventory_id": "33b46487-a064-4390-820a-0d9c2a9fa4e7",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "counted_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "counted_base_quantity": "string",
- "theoretical_base_quantity": "string",
- "actual_base_quantity": "string",
- "amount": "string",
- "loss_amount": "string"
}
],
}| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "name": "string"
}
],
}| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
| inventory_area_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more inventory area IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inventory_area_id": "e3487d56-7dd3-44a1-a07f-d4f2751a1ba5",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| date_from | string <date> Filter from this date (inclusive) |
| date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "date": "2019-08-24",
- "cost": "string",
- "notes": "string",
- "status": "draft",
- "processing": true
}
],
}Creates a loss with its items, in the status sent: draft keeps it editable, saved closes it and removes its products from the stock of the location in the background, canceled records it without any effect on the stock.
| location_id required | string <uuid> |
| date required | string <date> Day of the loss. |
| loss_category_id | string or null <uuid> When set, every item takes this category, whatever the category it is sent with. |
| notes | string or null |
| status required | string Enum: "draft" "saved" "canceled"
|
Array of objects (loss_item_create) Products lost. An item whose quantities are all at zero is not kept. |
{- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "date": "2019-08-24",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "status": "draft",
- "items": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
]
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "date": "2019-08-24",
- "cost": "string",
- "notes": "string",
- "status": "draft",
- "processing": true
}
}Updates a loss, and changes its status when one is sent. A closed loss (saved) can't be changed: it has to be put back into draft (or canceled) first, which removes its stock movement.
| id required | string <uuid> Loss ID |
| date | string <date> Day of the loss. |
| loss_category_id | string or null <uuid> When set, every item takes this category, whatever the category it is sent with. |
| notes | string or null |
| status | string Enum: "draft" "saved" "canceled" When not sent, the loss keeps its current status, which is refused on a closed loss ( |
Array of objects (loss_item_create) Products lost. When sent and not empty, this replaces all existing items. An item whose quantities are all at zero is not kept. |
{- "date": "2019-08-24",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "status": "draft",
- "items": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
]
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "date": "2019-08-24",
- "cost": "string",
- "notes": "string",
- "status": "draft",
- "processing": true
}
}| loss_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more loss IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "loss_id": "c5a785d6-b05f-4e1d-a10a-200987b6e005",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "loss_category_id": "string",
- "notes": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "base_quantity": "string",
- "cost": "string"
}
],
}| source_location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more source location IDs |
| destination_location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more destination location IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| order_date_from | string <date> Filter from this date (inclusive) |
| order_date_to | string <date> Filter up to this date (inclusive) |
| received_date_from | string <date> Filter from this date (inclusive) |
| received_date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_location_id": "5f6187cb-06a5-433e-aefd-9c3e45e96584",
- "destination_location_id": "c6c0374c-b39f-4276-8b3f-72f715aa01fe",
- "reference_number": "TR-A1B2-12345",
- "requested_delivery_date": "2019-08-24",
- "order_date": "2019-08-24",
- "shipped_date": "2019-08-24",
- "received_date": "2019-08-24",
- "ordered_cost": "string",
- "shipped_cost": "string",
- "received_cost": "string",
- "status": "draft",
- "order_notes": "string",
- "sender_notes": "string",
- "receiver_notes": "string",
- "processing": true
}
],
}| stock_transfer_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more stock transfer IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "stock_transfer_id": "938bceb3-4515-4797-a2a5-4744a0841808",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ordered_cost": "string",
- "shipped_cost": "string",
- "received_cost": "string",
- "ordered_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "ordered_base_quantity": "string",
- "shipped_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "shipped_base_quantity": "string",
- "received_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "received_base_quantity": "string"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| date_from | string <date> Filter from this date (inclusive) |
| date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "pos_category_id": "3fcf354f-6fb6-4f32-a349-cd7ba5b405dd",
- "date": "2019-08-24",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "cost": "string",
- "processing": true
}
],
}| pos_order_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more POS order IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "pos_order_id": "7c1b87d0-9ace-4811-8094-ff86afb97fb8",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "quantity": "string",
- "base_quantity": "string",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "cost": "string"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "name": "string",
- "provider": "zelty",
- "status": "active"
}
],
}At least one of pos_integration_ids, product_ids or remote_ids is required.
| pos_integration_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more POS integration IDs |
| product_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more product IDs |
| remote_ids | Array of strings Filter by one or more identifiers in the POS ( |
| mapped_only | boolean Default: false When |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "pos_integration_id": "298c3be0-0200-4545-88f1-3192ffbaa603",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "remote_id": "string",
- "remote_name": "string",
- "type": "item"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| date_from | string <date> Filter from this date (inclusive) |
| date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "supplier_name": "string",
- "external_reference": "string",
- "date": "2019-08-24",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "status": "draft",
- "notes": "string"
}
],
}| quick_purchase_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more quick purchase IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quick_purchase_id": "51529522-1343-4117-a3c1-6a486ec1a8fa",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "base_quantity": "string"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| date_from | string <date> Filter from this date (inclusive) |
| date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "reference_number": "PR-A1B2-12345",
- "date": "2019-08-24",
- "external_reference": "string",
- "notes": "string",
- "status": "draft",
- "processing": true
}
],
}| location_id required | string <uuid> |
| date required | string <date> |
| external_reference | string or null |
| notes | string or null |
| status | string Default: "draft" Enum: "draft" "produced" "canceled" |
required | Array of objects (production_item_create) non-empty List of products involved in the production (inputs and outputs). |
{- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "date": "2019-08-24",
- "external_reference": "string",
- "notes": "string",
- "status": "draft",
- "items": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "type": "input",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
]
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "reference_number": "PR-A1B2-12345",
- "date": "2019-08-24",
- "external_reference": "string",
- "notes": "string",
- "status": "draft",
- "processing": true
}
}| id required | string <uuid> Production ID |
| date | string <date> |
| external_reference | string or null |
| notes | string or null |
| status | string Enum: "draft" "produced" "canceled" |
required | Array of objects (production_item_create) non-empty List of products involved in the production (inputs and outputs). When updating, this replaces all existing items. |
{- "date": "2019-08-24",
- "external_reference": "string",
- "notes": "string",
- "status": "draft",
- "items": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "type": "input",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
]
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "reference_number": "PR-A1B2-12345",
- "date": "2019-08-24",
- "external_reference": "string",
- "notes": "string",
- "status": "draft",
- "processing": true
}
}| production_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more production IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "production_id": "b339a872-ce47-4939-931d-7caf96c69f56",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "type": "input",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "base_quantity": "string"
}
],
}| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "linked_location_id": "cfca8a45-5736-461b-a971-ac7e7f7fe50d"
}
],
}| location_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more location IDs |
| customer_ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more customer IDs |
| ids | Array of strings <uuid> [ items <uuid > ] Filter by one or more IDs |
| shipped_date_from | string <date> Filter from this date (inclusive) |
| shipped_date_to | string <date> Filter up to this date (inclusive) |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "reference_number": "POE-A1B2-12345",
- "shipped_date": "2019-08-24",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "cost": "string",
- "status": "draft",
- "sender_notes": "string",
- "processing": true
}
],
}| external_sales_order_ids required | Array of strings <uuid> [ items <uuid > ] Filter by one or more external sales order IDs |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_sales_order_id": "5a4cb91e-a08a-46d3-b4d0-39618887c171",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "cost": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "base_quantity": "string"
}
],
}| related_type required | string Enum: "supplier_goods_receipt" "supplier_credit_note_request" "loss" "quick_purchase" Type of the resource the attachments are related to |
| related_id required | string <uuid> ID of the resource the attachments are related to |
{
}This section is provided solely for documentation purposes.
It lists the main data models (schemas) used throughout the API.
These are not real endpoints, but synthetic routes designed to expose and describe the structure of each resource model in a clear and readable format.
A physical site that has its own inventory and operations. Examples of a location include a restaurant, retail outlet, bar, or even a storage cellar or central stock. Each location maintains its own stock levels and transactions separately. Note: This is distinct from an inventory_area, which is an internal subdivision of a location used only for breaking down inventory counts.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "currency_code": "EUR",
- "time_zone": "Europe/Paris"
}A named collection of locations used for organizational or reporting purposes. Location groups let you group multiple sites (e.g. by region, brand, or store type) and manage or report on them together. A single location can belong to multiple groups.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}Links a location to a location group. Each record of this model indicates membership of a specific location in a particular location group. This association allows a location to be part of one or more groups.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795"
}Represents a B2B customer that receives goods via external sales outside the POS system.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "linked_location_id": "cfca8a45-5736-461b-a971-ac7e7f7fe50d"
}Represents a documented B2B sale and delivery to a customer, typically used for events or recurring clients.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "reference_number": "POE-A1B2-12345",
- "shipped_date": "2019-08-24",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "cost": "string",
- "status": "draft",
- "sender_notes": "string",
- "processing": true
}Snapshot of a packaging used when entering quantities (e.g. during inventory count). This structure is denormalized to preserve historical accuracy even if the original packaging unit is deleted.
{- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}Details a specific product and quantity delivered to a customer in a B2B sale.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_sales_order_id": "5a4cb91e-a08a-46d3-b4d0-39618887c171",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "cost": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "base_quantity": "string"
}Represents a stock count performed at a location, optionally split by area or consolidated from multiple counts.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "date": "2019-08-24",
- "inventory_category_id": "3dfc6372-2cd8-418a-8698-59507c17dce9",
- "inventory_area_id": "e3487d56-7dd3-44a1-a07f-d4f2751a1ba5",
- "amount": "string",
- "loss_amount": "string",
- "notes": "string",
- "type": "main",
- "valuation_method": "wac",
- "status": "draft",
- "processing": true
}Represents the counted quantity and calculated stock value of a product in an inventory session.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inventory_id": "33b46487-a064-4390-820a-0d9c2a9fa4e7",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "counted_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "counted_base_quantity": "string",
- "theoretical_base_quantity": "string",
- "actual_base_quantity": "string",
- "amount": "string",
- "loss_amount": "string"
}Defines a physical area within a location, used to organize inventory counts. Inventory areas let teams split a physical location's inventory into manageable parts (for example: "Kitchen", "Bar", "Storage Room"). When doing a partial inventory, an inventory_area can be assigned to indicate which part of the location was counted. This is purely for inventory organization and has no effect outside of inventory counts.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "name": "string"
}A category or label for an inventory, used to classify inventory counts. This is may be used to describe the context or frequency of the inventory, such as "Daily", "Weekly", "Monthly", or to label the scope like "Beverage Inventory" or "Food Inventory". Assigning an inventory to a category can help filter and report on different types of inventories separately.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}Associates a product with an inventory area.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inventory_area_id": "e3487d56-7dd3-44a1-a07f-d4f2751a1ba5",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1"
}Represents a recorded stock loss at a location due to reasons like spoilage, breakage, or staff meals.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "date": "2019-08-24",
- "cost": "string",
- "notes": "string",
- "status": "draft",
- "processing": true
}Represents a product line to be created in a loss record.
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}{- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "date": "2019-08-24",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "status": "draft",
- "items": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
]
}Request body for updating an existing loss record. Fields that are not sent are left unchanged.
Note: location_id cannot be changed after creation.
{- "date": "2019-08-24",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "status": "draft",
- "items": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "loss_category_id": "89383bb8-05eb-4dba-8546-bc5b323c6ba9",
- "notes": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
]
}Represents a product line in a loss record, with the corresponding quantity and value lost.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "loss_id": "c5a785d6-b05f-4e1d-a10a-200987b6e005",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "loss_category_id": "string",
- "notes": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "base_quantity": "string",
- "cost": "string"
}A classification for types of stock losses. It allows you to label loss events with a reason or category, such as "Breakage", "Expired", "Theft", "Given as Sample", or "Staff Meal". Using loss categories helps in analyzing and reporting on losses by cause (for example, total losses due to spoilage vs. losses due to breakage).
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}Represents a sales transaction recorded by a Point-of-Sale (POS) system.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "pos_category_id": "3fcf354f-6fb6-4f32-a349-cd7ba5b405dd",
- "date": "2019-08-24",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "cost": "string",
- "processing": true
}Represents a product sold in a POS transaction, including quantity and sales amounts.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "pos_order_id": "7c1b87d0-9ace-4811-8094-ff86afb97fb8",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "quantity": "string",
- "base_quantity": "string",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "cost": "string"
}A category used to label POS orders, usually based on the mode of sale or service. Common examples include categories like "On Site", "Takeaway", "Delivery", which indicate how the sale was consumed or fulfilled. This categorization can be used to break down revenue and metrics by service mode.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}A connection between the organization and one of its points of sale (POS), from which the sales and the catalogue of items sold are imported.
An integration tied to a location imports the sales of that location as POS orders.
The items of the catalogue of an integration are exposed through the pos_product resource.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "name": "string",
- "provider": "zelty",
- "status": "active"
}An item of the catalogue of a POS integration, as read from the POS (a dish, a combo, a modifier...), together with the Yokitup product it is mapped to. Only the default mapping of each item is exposed: an item can also be mapped differently per consumption mode or per POS location, which is not exposed here.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "pos_integration_id": "298c3be0-0200-4545-88f1-3192ffbaa603",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "remote_id": "string",
- "remote_name": "string",
- "type": "item"
}Represents a generic item in the system: a purchased item, a recipe, or a fee. Central to inventory, sales, and procurement operations.
{- "id": "string",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "base_unit": "ea",
- "type": "purchased",
- "status": "active",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "barcode": "string",
- "barcode_format": "ean_13",
- "shelf_life_days": 0,
- "shelf_life_type": "use_by",
- "external_reference": "string",
- "description": "string",
- "default_stock_status": "enabled",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "name": "string",
- "location_group_id": "string",
- "type": "purchased",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "external_reference": "string",
- "default_stock_status": "enabled"
}{- "name": "string",
- "main_packaging_measurement_unit_id": "0826e1f3-0bd9-411b-98c8-d4a09bac6bbd",
- "main_packaging_quantity": "string",
- "main_packaging_name": "string",
- "conversion_packaging_measurement_unit_id": "74b0088e-de30-43df-934a-e4c44493f1b0",
- "conversion_packaging_quantity": "string",
- "external_reference": "string",
- "default_stock_status": "enabled"
}Defines a relationship where one product is used as an ingredient in another, typically in a recipe.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
- "ingredient_product_id": "56091b5f-0864-4751-88ea-74fde4c7be51",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
- "name": "string"
}Request body for creating a new recipe ingredient record.
{- "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
- "ingredient_product_id": "56091b5f-0864-4751-88ea-74fde4c7be51",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
- "name": "string"
}Declares an additional packaging specific to a product.
Example:
Meaning: 1 PACK = 24 each.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "name": "string",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804"
}Request body for creating a new product packaging.
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "name": "string",
- "quantity": "string",
- "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804"
}Describes a step in the preparation or production process of a recipe-type product.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
- "name": "string",
- "content": "string",
- "position": 0,
}Links an allergen to a product, indicating the presence (or possible trace) of that allergen in the product.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "allergen_id": "bd19b4ea-1b1c-4f35-b7d5-7e382c8f133d",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "severity": "contains"
}Stores nutritional information for a product, usually per 100g or 100ml. These values are often used for labeling or health compliance. All fields are optional.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "energy_kcal": "string",
- "energy_kj": "string",
- "fat": "string",
- "saturated_fat": "string",
- "trans_fat": "string",
- "carbohydrates": "string",
- "sugars": "string",
- "added_sugars": "string",
- "polyols": "string",
- "starch": "string",
- "fiber": "string",
- "protein": "string",
- "salt": "string",
- "sodium": "string",
- "calcium": "string",
- "iron": "string",
- "potassium": "string",
- "cholesterol": "string",
- "vitamin_c": "string",
- "vitamin_d": "string"
}Contains labeling information related to a product, intended for regulatory display, packaging, or internal traceability.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "composition": "string",
- "storage_instructions": "string",
- "preparation_instructions": "string"
}Represents a production record at a location, tracking the transformation of input products (ingredients, packaging, semi-finished) into output products (finished or semi-finished).
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "reference_number": "PR-A1B2-12345",
- "date": "2019-08-24",
- "external_reference": "string",
- "notes": "string",
- "status": "draft",
- "processing": true
}Represents a product line to be created in a production record, specifying either an input product consumed during production or an output product produced.
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "type": "input",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}Request body for creating a new production record.
{- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "date": "2019-08-24",
- "external_reference": "string",
- "notes": "string",
- "status": "draft",
- "items": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "type": "input",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
]
}Request body for updating an existing production record.
Note: location_id cannot be changed after creation.
{- "date": "2019-08-24",
- "external_reference": "string",
- "notes": "string",
- "status": "draft",
- "items": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "type": "input",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}
]
}Represents a product line in a production record, specifying either an input product consumed during production or an output product produced.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "production_id": "b339a872-ce47-4939-931d-7caf96c69f56",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "type": "input",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "base_quantity": "string"
}Represents a simplified, ad-hoc purchase recorded without going through the full procurement workflow.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "supplier_name": "string",
- "external_reference": "string",
- "date": "2019-08-24",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "status": "draft",
- "notes": "string"
}Represents a product line in a quick purchase, capturing quantities and amounts.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quick_purchase_id": "51529522-1343-4117-a3c1-6a486ec1a8fa",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "base_quantity": "string"
}Represents a supplier or vendor providing products to the organization. Can also represent internal providers like a central kitchen.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "name": "string",
- "status": "active",
- "locale": "fr-FR",
- "currency_code": "EUR"
}Defines the purchasing details of a product from a specific supplier, including units and pricing.
{- "id": "string",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
- "linked_product_id": "5c24fea5-c8cf-40a9-9718-90de32d982ae",
- "name": "string",
- "supplier_reference": "string",
- "status": "active",
- "unit_price_excluding_tax": "string",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "product_unit_per_billing_packaging": "string",
- "billing_packaging": "string",
- "use_different_order_packaging": true,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": true
}Request body for creating a new supplier product record.
{- "name": "string",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "location_group_id": "string",
- "supplier_reference": "string",
- "unit_price_excluding_tax": "string",
- "billing_packaging": "string",
- "product_unit_per_billing_packaging": "string",
- "use_different_order_packaging": false,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": false
}Request body for creating a new supplier product record.
{- "name": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "tax_id": "2968051a-358b-4ba6-97f6-730dcead4579",
- "location_group_id": "string",
- "supplier_reference": "string",
- "unit_price_excluding_tax": "string",
- "billing_packaging": "string",
- "product_unit_per_billing_packaging": "string",
- "use_different_order_packaging": true,
- "order_packaging": "string",
- "billing_packaging_per_order_packaging": "string",
- "weighted": true
}Represents a purchase order sent to a supplier, requesting certain products to be delivered to a location.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "reference_number": "PO-A1B2-12345",
- "order_date": "2019-08-24",
- "requested_delivery_date": "2019-08-24",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "amount_including_tax_in_location_currency": "string",
- "amount_excluding_tax_in_location_currency": "string",
- "status": "draft",
- "notes": "string"
}Represents a line item in a supplier purchase order for a specific product and quantity.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_purchase_order_id": "857e2f8b-0be3-411e-a7c8-28de0eed0761",
- "supplier_product_id": "6c2a0252-84af-4fd2-9c2d-e29eb0b577ae",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "amount_including_tax": "string",
- "amount_excluding_tax": "string",
- "amount_including_tax_in_location_currency": "string",
- "amount_excluding_tax_in_location_currency": "string",
- "quantity": {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
}Captures the details of goods received from a supplier at a location, with the amounts stated on the delivery note next to those actually accepted on reception.
The invoiced_* amounts are the ones written on the delivery note; they do not come from a supplier invoice.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_purchase_order_id": "857e2f8b-0be3-411e-a7c8-28de0eed0761",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "delivery_note_number": "string",
- "shipped_date": "2019-08-24",
- "received_date": "2019-08-24",
- "reception_time": "09:15",
- "invoiced_amount_including_tax": "string",
- "invoiced_amount_excluding_tax": "string",
- "received_amount_including_tax": "string",
- "received_amount_excluding_tax": "string",
- "invoiced_amount_including_tax_in_location_currency": "string",
- "invoiced_amount_excluding_tax_in_location_currency": "string",
- "received_amount_including_tax_in_location_currency": "string",
- "received_amount_excluding_tax_in_location_currency": "string",
- "status": "draft",
- "sender_notes": "string",
- "receiver_notes": "string"
}Represents a product line in a supplier goods receipt, with the quantities stated on the delivery note next to those actually accepted on reception.
The invoiced_* quantities and amounts are the ones written on the delivery note; they do not come from a supplier invoice.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_goods_receipt_id": "48243b06-30b9-4847-b3ed-b5b0013b70fa",
- "supplier_product_id": "6c2a0252-84af-4fd2-9c2d-e29eb0b577ae",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "invoiced_amount_including_tax": "string",
- "invoiced_amount_excluding_tax": "string",
- "received_amount_including_tax": "string",
- "received_amount_excluding_tax": "string",
- "invoiced_amount_including_tax_in_location_currency": "string",
- "invoiced_amount_excluding_tax_in_location_currency": "string",
- "received_amount_including_tax_in_location_currency": "string",
- "received_amount_excluding_tax_in_location_currency": "string",
- "invoiced_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "received_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "received_secondary_quantity": {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
}Represents a request sent to a supplier to issue a credit note, typically due to price or quantity discrepancies.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "reference_number": "CN-A1B2-12345",
- "sent_date": "2019-08-24",
- "requested_amount_including_tax": "string",
- "requested_amount_excluding_tax": "string",
- "accepted_amount_including_tax": "string",
- "accepted_amount_excluding_tax": "string",
- "requested_amount_including_tax_in_location_currency": "string",
- "requested_amount_excluding_tax_in_location_currency": "string",
- "accepted_amount_including_tax_in_location_currency": "string",
- "accepted_amount_excluding_tax_in_location_currency": "string",
- "status": "draft",
- "notes": "string"
}A line-level detail of a credit note request, identifying the product, discrepancy type, and requested amounts.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_credit_note_request_id": "efc18a9a-be80-41ac-a02a-d4eafda622fb",
- "supplier_product_id": "6c2a0252-84af-4fd2-9c2d-e29eb0b577ae",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "request_type": "price",
- "requested_amount_including_tax": "string",
- "requested_amount_excluding_tax": "string",
- "accepted_amount_including_tax": "string",
- "accepted_amount_excluding_tax": "string",
- "requested_amount_including_tax_in_location_currency": "string",
- "requested_amount_excluding_tax_in_location_currency": "string",
- "accepted_amount_including_tax_in_location_currency": "string",
- "accepted_amount_excluding_tax_in_location_currency": "string",
- "requested_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
- "issue_date": "2019-08-24",
- "invoice_number": "string",
- "amount_excluding_tax": "string",
- "amount_including_tax": "string"
}Tracks the current stock level and unit cost of a product at a specific location.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "quantity": "string",
- "unit_cost": "string",
- "status": "enabled"
}A stock movement is the variation of the stock of one product on one location, caused by a single event. A positive quantity increases the stock, a negative one decreases it.
An inventory is exposed as the correction it produces, never as the counted stock level, so that the movements of a product can be summed over a period.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "source_type": "supplier_goods_receipt",
- "source_category_id": "98c7fbde-4935-4c1e-b8a1-e283fbec3267",
- "date": "2019-08-24",
- "base_quantity": "string",
- "amount": "string"
}Represents an internal stock transfer between two locations, with tracking of dates, quantities, and amounts.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_location_id": "5f6187cb-06a5-433e-aefd-9c3e45e96584",
- "destination_location_id": "c6c0374c-b39f-4276-8b3f-72f715aa01fe",
- "reference_number": "TR-A1B2-12345",
- "requested_delivery_date": "2019-08-24",
- "order_date": "2019-08-24",
- "shipped_date": "2019-08-24",
- "received_date": "2019-08-24",
- "ordered_cost": "string",
- "shipped_cost": "string",
- "received_cost": "string",
- "status": "draft",
- "order_notes": "string",
- "sender_notes": "string",
- "receiver_notes": "string",
- "processing": true
}A line item in a transfer, specifying which product was transferred and in what quantity.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "stock_transfer_id": "938bceb3-4515-4797-a2a5-4744a0841808",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ordered_cost": "string",
- "shipped_cost": "string",
- "received_cost": "string",
- "ordered_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "ordered_base_quantity": "string",
- "shipped_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "shipped_base_quantity": "string",
- "received_quantities": [
- {
- "quantity": "string",
- "packaging_name": "string",
- "packaging_quantity": "string",
- "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}
], - "received_base_quantity": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
}