Yokitup API (2026-06-01)

Download OpenAPI specification:

License: Proprietary

Getting Started

Base URL

All endpoints are available under the following base URL:

https://api.yokitup.com

To access the API, you must include your API key (access token) in every request using the Authorization header:

Authorization: Bearer YOUR_ACCESS_TOKEN

Versioning

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.

Content Type & Encoding

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.

Conventions - Quantities & Monetary values

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.

Pagination

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 page
  • next: 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.

Rate Limiting

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

Key Concepts

In the system, a "product" can take several forms, defined by the type field:

  • purchased: A product that is bought as-is from one or more suppliers. These products are linked to one or several supplier_product records that define their purchase details (price, packaging, etc.).
  • recipe: A product that is produced internally, composed of other products (either purchased or other recipes). The breakdown of components is defined in the recipe_ingredient list.
  • fee: A non-tangible cost, such as delivery fees or service charges, not directly accessible in the user interface.

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.

Core

Get current organization

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "data": {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "name": "string"
    }
}

Get all locations

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Get all location groups

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Create a location group

Authorizations:
bearerAuth
Request Body schema: application/json
required
name
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "name": "string"
    }
}

Update a location group

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Location group ID

Request Body schema: application/json
required
name
string

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "name": "string"
    }
}

Delete a location group

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Location group ID

Responses

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "unauthorized",
      • "title": "string"
      }
    ]
}

Get all location group locations

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{}

Create a location group location

Authorizations:
bearerAuth
Request Body schema: application/json
required
location_group_id
required
string <uuid>
location_id
required
string <uuid>

Responses

Request samples

Content type
application/json
{
  • "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
  • "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795"
}

Response samples

Content type
application/json
{
  • "data": {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
    • "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795"
    }
}

Delete a location group location

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Location group location ID

Responses

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "unauthorized",
      • "title": "string"
      }
    ]
}

Get all measurement units

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Get all taxes

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Product

Get all products

Authorizations:
bearerAuth
query Parameters
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: purchased (purchased from supplier), recipe (produced internally), fee (service charges).

statuses
Array of strings
Items Enum: "active" "inactive"

Filter by one or more statuses.

Responses

Response samples

Content type
application/json
{
  • "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",
      • "image_url": "http://example.com",
      • "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"
        }
      }
    ],
  • "links": {}
}

Create a product

Authorizations:
bearerAuth
Request Body schema: application/json
required
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"

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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",
    • "image_url": "http://example.com",
    • "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"
      }
    }
}

Update a product

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Product ID

Request Body schema: application/json
required
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"

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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",
    • "image_url": "http://example.com",
    • "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"
      }
    }
}

Update a product location group

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Product ID

Request Body schema: application/json
required
location_group_id
required
string or null

Responses

Request samples

Content type
application/json
{
  • "location_group_id": "string"
}

Response samples

Content type
application/json
{
  • "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",
    • "image_url": "http://example.com",
    • "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"
      }
    }
}

Update a product status

Updates the status of a product. Setting the status to inactive also deactivates all linked supplier products.

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Product ID

Request Body schema: application/json
required
status
required
string
Enum: "active" "inactive"

Responses

Request samples

Content type
application/json
{
  • "status": "active"
}

Response samples

Content type
application/json
{
  • "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",
    • "image_url": "http://example.com",
    • "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"
      }
    }
}

Get all recipe ingredients

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Create a recipe ingredient

Authorizations:
bearerAuth
Request Body schema: application/json
required
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

Responses

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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"
    }
}

Update a recipe ingredient

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Recipe ingredient ID

Request Body schema: application/json
required
quantity
string
measurement_unit_id
string <uuid>
name
string or null

Responses

Request samples

Content type
application/json
{
  • "quantity": "string",
  • "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "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"
    }
}

Delete a recipe ingredient

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Recipe ingredient ID

Responses

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "unauthorized",
      • "title": "string"
      }
    ]
}

Get all product packagings

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Create a product packaging

Authorizations:
bearerAuth
Request Body schema: application/json
required
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 quantity = "6".

measurement_unit_id
required
string <uuid>

ID of the parent measurement unit (MeasurementUnit).

Responses

Request samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "name": "string",
  • "quantity": "string",
  • "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804"
}

Response samples

Content type
application/json
{
  • "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"
    }
}

Update a product packaging

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Product packaging ID

Request Body schema: application/json
required
name
string or null

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "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"
    }
}

Delete a product packaging

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Product packaging ID

Responses

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "unauthorized",
      • "title": "string"
      }
    ]
}

Get all recipe steps

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{}

Get all tags

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Create a tag

Authorizations:
bearerAuth
Request Body schema: application/json
required
name
required
string
parent_id
string or null <uuid>
location_group_id
string or null <uuid>

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
  • "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089"
}

Response samples

Content type
application/json
{
  • "data": {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "name": "string",
    • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef"
    }
}

Update a tag

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Tag ID

Request Body schema: application/json
required
name
string
parent_id
string or null <uuid>

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef"
}

Response samples

Content type
application/json
{
  • "data": {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "name": "string",
    • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef"
    }
}

Delete a tag

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Tag ID

Responses

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "unauthorized",
      • "title": "string"
      }
    ]
}

Get all product tags

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{}

Create a product tag

Authorizations:
bearerAuth
Request Body schema: application/json
required
product_id
required
string <uuid>
tag_id
required
string <uuid>

Responses

Request samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d"
}

Response samples

Content type
application/json
{
  • "data": {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d",
    • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1"
    }
}

Delete a product tag

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Product tag ID

Responses

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "unauthorized",
      • "title": "string"
      }
    ]
}

Get all allergens

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Get all product allergens

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      • "allergen_id": "bd19b4ea-1b1c-4f35-b7d5-7e382c8f133d",
      • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
      • "severity": "contains"
      }
    ],
  • "links": {}
}

Get all product nutritional values

Authorizations:
bearerAuth
query Parameters
product_ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more product IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all product labeling infos

Authorizations:
bearerAuth
query Parameters
product_ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more product IDs

Responses

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
      • "composition": "string",
      • "storage_instructions": "string",
      • "preparation_instructions": "string"
      }
    ],
  • "links": {}
}

Supplier

Get all suppliers

Authorizations:
bearerAuth
query Parameters
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.

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Create a supplier

Authorizations:
bearerAuth
Request Body schema: application/json
required
name
required
string
location_group_id
string or null
locale
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "location_group_id": "string",
  • "locale": "string"
}

Response samples

Content type
application/json
{
  • "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"
    }
}

Update a supplier

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Supplier ID

Request Body schema: application/json
required
name
string
locale
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "locale": "string"
}

Response samples

Content type
application/json
{
  • "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"
    }
}

Update a supplier location group

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Supplier ID

Request Body schema: application/json
required
location_group_id
required
string or null

Responses

Request samples

Content type
application/json
{
  • "location_group_id": "string"
}

Response samples

Content type
application/json
{
  • "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"
    }
}

Update a supplier status

Updates the status of a supplier. Setting the status to inactive also deactivates all linked supplier products.

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Supplier ID

Request Body schema: application/json
required
status
required
string
Enum: "active" "inactive"

Responses

Request samples

Content type
application/json
{
  • "status": "active"
}

Response samples

Content type
application/json
{
  • "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"
    }
}

Get all supplier products

Authorizations:
bearerAuth
query Parameters
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.

Responses

Response samples

Content type
application/json
{
  • "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
      }
    ],
  • "links": {}
}

Create a supplier product

Authorizations:
bearerAuth
Request Body schema: application/json
required
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

Responses

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "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
    }
}

Update a supplier product

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Supplier product ID

Request Body schema: application/json
required
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

Responses

Request samples

Content type
application/json
{
  • "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
}

Response samples

Content type
application/json
{
  • "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
    }
}

Update a supplier product location group

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Supplier product ID

Request Body schema: application/json
required
location_group_id
required
string or null

Responses

Request samples

Content type
application/json
{
  • "location_group_id": "string"
}

Response samples

Content type
application/json
{
  • "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
    }
}

Update a supplier product status

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Supplier product ID

Request Body schema: application/json
required
status
required
string
Enum: "active" "inactive"

Responses

Request samples

Content type
application/json
{
  • "status": "active"
}

Response samples

Content type
application/json
{
  • "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
    }
}

Get all supplier purchase orders

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all supplier purchase order items

Authorizations:
bearerAuth
query Parameters
supplier_purchase_order_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more supplier purchase order IDs

Responses

Response samples

Content type
application/json
{
  • "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"
        }
      }
    ],
  • "links": {}
}

Get all supplier goods receipts

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all supplier goods receipt items

Authorizations:
bearerAuth
query Parameters
supplier_goods_receipt_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more supplier goods receipt IDs

Responses

Response samples

Content type
application/json
{
  • "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"
        }
      }
    ],
  • "links": {}
}

Get all supplier credit note requests

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all supplier credit note request items

Authorizations:
bearerAuth
query Parameters
supplier_credit_note_request_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more supplier credit note request IDs

Responses

Response samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ],
  • "links": {}
}

Get all supplier invoices

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Stock

Get all product stocks

Authorizations:
bearerAuth
query Parameters
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.

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all stock movements

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Inventory

Get all inventories

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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
      }
    ],
  • "links": {}
}

Get all inventory items

Authorizations:
bearerAuth
query Parameters
inventory_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more inventory IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all inventory areas

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Get all inventory categories

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Get all inventory area products

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{}

Loss

Get all losses

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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
      }
    ],
  • "links": {}
}

Create a loss

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.

Authorizations:
bearerAuth
Request Body schema: application/json
required
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"
  • draft: the loss stays editable and has no effect on the stock.
  • saved: the loss is closed, and its products are removed from the stock of the location in the background.
  • canceled: the loss is recorded without any effect on the stock.
Array of objects (loss_item_create)

Products lost. An item whose quantities are all at zero is not kept.

Responses

Request samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ]
}

Response samples

Content type
application/json
{
  • "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
    }
}

Update a loss

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.

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Loss ID

Request Body schema: application/json
required
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 (saved).

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.

Responses

Request samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ]
}

Response samples

Content type
application/json
{
  • "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
    }
}

Get all loss items

Authorizations:
bearerAuth
query Parameters
loss_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more loss IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all loss categories

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Stock Transfer

Get all stock transfers

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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
      }
    ],
  • "links": {}
}

Get all stock transfer items

Authorizations:
bearerAuth
query Parameters
stock_transfer_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more stock transfer IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

POS

Get all POS orders

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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
      }
    ],
  • "links": {}
}

Get all POS order items

Authorizations:
bearerAuth
query Parameters
pos_order_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more POS order IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all POS categories

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Get all POS integrations

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all POS products

At least one of pos_integration_ids, product_ids or remote_ids is required.

Authorizations:
bearerAuth
query Parameters
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 (remote_id)

mapped_only
boolean
Default: false

When true, only the items whose sales are mapped to Yokitup products are returned: the items not processed yet and the ones deliberately ignored are left out. A mapped item can have no product_id, when the product it stands for depends on the item it is ordered with or on the dish of the day.

ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Menu

Get all menus

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Get all menu items

Authorizations:
bearerAuth
query Parameters
menu_ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more menu 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

Responses

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      • "menu_id": "46d9403c-fd04-45b3-9f58-e8c1e7e51649",
      • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
      • "price_including_tax": "string",
      • "price_excluding_tax": "string"
      }
    ],
  • "links": {}
}

Quick Purchase

Get all quick purchases

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Get all quick purchase items

Authorizations:
bearerAuth
query Parameters
quick_purchase_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more quick purchase IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Production

Get all productions

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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
      }
    ],
  • "links": {}
}

Create a production

Authorizations:
bearerAuth
Request Body schema: application/json
required
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).

Responses

Request samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ]
}

Response samples

Content type
application/json
{
  • "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
    }
}

Update a production

Authorizations:
bearerAuth
path Parameters
id
required
string <uuid>

Production ID

Request Body schema: application/json
required
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.

Responses

Request samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ]
}

Response samples

Content type
application/json
{
  • "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
    }
}

Get all production items

Authorizations:
bearerAuth
query Parameters
production_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more production IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

B2B Sales

Get all customers

Authorizations:
bearerAuth
query Parameters
ids
Array of strings <uuid> [ items <uuid > ]

Filter by one or more IDs

Responses

Response samples

Content type
application/json
{}

Get all external sales orders

Authorizations:
bearerAuth
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "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
      }
    ],
  • "links": {}
}

Get all external sales order items

Authorizations:
bearerAuth
query Parameters
external_sales_order_ids
required
Array of strings <uuid> [ items <uuid > ]

Filter by one or more external sales order IDs

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ],
  • "links": {}
}

Attachment

Get all attachments

Authorizations:
bearerAuth
query Parameters
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

Responses

Response samples

Content type
application/json
{}

Schemas

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.

organization

An organization is the container for all its data: it owns multiple locations and their related records.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string"
}

location

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "currency_code": "EUR",
  • "time_zone": "Europe/Paris"
}

location_group

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string"
}

location_group_create

Request body for creating a new location group.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "name": "string"
}

location_group_update

Request body for updating a location group.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "name": "string"
}

location_group_location

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
  • "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795"
}

location_group_location_create

Request body for linking a location to a location group.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089",
  • "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795"
}

measurement_unit

Defines a measurement unit used across products and stock operations.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "base_quantity": "string",
  • "base_unit": "ea"
}

tax

Represents a tax rate applicable to transactions, typically used for VAT or similar taxes depending on the country.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "rate": "5.5"
}

customer

Represents a B2B customer that receives goods via external sales outside the POS system.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "linked_location_id": "cfca8a45-5736-461b-a971-ac7e7f7fe50d"
}

external_sales_order

Represents a documented B2B sale and delivery to a customer, typically used for events or recurring clients.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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
}

packaging_quantity_snapshot

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "quantity": "string",
  • "packaging_name": "string",
  • "packaging_quantity": "string",
  • "packaging_measurement_unit_id": "0bbcaa23-a692-4494-941f-1669ae434479"
}

external_sales_order_item

Details a specific product and quantity delivered to a customer in a B2B sale.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

inventory

Represents a stock count performed at a location, optionally split by area or consolidated from multiple counts.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item

Represents the counted quantity and calculated stock value of a product in an inventory session.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

inventory_area

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
  • "name": "string"
}

inventory_category

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string"
}

inventory_area_product

Associates a product with an inventory area.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "inventory_area_id": "e3487d56-7dd3-44a1-a07f-d4f2751a1ba5",
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1"
}

loss

Represents a recorded stock loss at a location due to reasons like spoilage, breakage, or staff meals.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item_create

Represents a product line to be created in a loss record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ]
}

loss_create

Request body for creating a new loss record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ]
}

loss_update

Request body for updating an existing loss record. Fields that are not sent are left unchanged. Note: location_id cannot be changed after creation.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ]
}

loss_item

Represents a product line in a loss record, with the corresponding quantity and value lost.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

loss_category

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).

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string"
}

pos_order

Represents a sales transaction recorded by a Point-of-Sale (POS) system.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item

Represents a product sold in a POS transaction, including quantity and sales amounts.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

pos_category

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string"
}

pos_integration

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

pos_product

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

menu

A menu is the list of dishes sold to customers, together with their selling prices. A restaurant usually maintains several menus (e.g. "Lunch", "Winter menu", "Bar"), each holding its own set of dishes and prices. The dishes themselves and their prices are exposed through the menu_item resource.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089"
}

menu_item

A dish listed on a menu, with the price it is sold at. Each menu item links a menu to a product (typically a recipe) and carries the selling price both including and excluding tax.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "menu_id": "46d9403c-fd04-45b3-9f58-e8c1e7e51649",
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "price_including_tax": "string",
  • "price_excluding_tax": "string"
}

product

Represents a generic item in the system: a purchased item, a recipe, or a fee. Central to inventory, sales, and procurement operations.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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",
  • "image_url": "http://example.com",
  • "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"
    }
}

product_create

Request body for creating a new product record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

product_update

Request body for updating a product record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

product_update_location_group

Request body for updating a supplier record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "location_group_id": "string"
}

product_update_status

Request body for updating a product status.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "status": "active"
}

recipe_ingredient

Defines a relationship where one product is used as an ingredient in another, typically in a recipe.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_ingredient_create

Request body for creating a new recipe ingredient record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_ingredient_update

Request body for updating an existing recipe ingredient record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "quantity": "string",
  • "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804",
  • "name": "string"
}

product_packaging

Declares an additional packaging specific to a product.

Example:

  • name = "PACK"
  • quantity = "24"
  • measurement_unit_id = id of "ea"

Meaning: 1 PACK = 24 each.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_packaging_create

Request body for creating a new product packaging.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "name": "string",
  • "quantity": "string",
  • "measurement_unit_id": "39f32462-8772-43db-9236-f139ee2c3804"
}

product_packaging_update

Request body for updating an existing product packaging.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "name": "string"
}

product_recipe_step

Describes a step in the preparation or production process of a recipe-type product.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "recipe_product_id": "064bf71a-532c-4b9c-a01e-e0ab34b6662c",
  • "name": "string",
  • "content": "string",
  • "position": 0,
  • "image_url": "http://example.com"
}

tag

Represents a tag used to categorize or label products. Tags can be nested hierarchically.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef"
}

tag_create

Request body for creating a new tag.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
  • "location_group_id": "bf91dfd9-9322-42c1-bf17-d038cdb3c089"
}

tag_update

Request body for updating an existing tag.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef"
}

product_tag

Associates a product with a tag.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d",
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1"
}

product_tag_create

Request body for associating a product with a tag.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d"
}

allergen

Represents a known allergen, used for food safety and labeling.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string"
}

product_allergen

Links an allergen to a product, indicating the presence (or possible trace) of that allergen in the product.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "allergen_id": "bd19b4ea-1b1c-4f35-b7d5-7e382c8f133d",
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "severity": "contains"
}

product_nutritional_value

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_labeling_info

Contains labeling information related to a product, intended for regulatory display, packaging, or internal traceability.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
  • "composition": "string",
  • "storage_instructions": "string",
  • "preparation_instructions": "string"
}

production

Represents a production record at a location, tracking the transformation of input products (ingredients, packaging, semi-finished) into output products (finished or semi-finished).

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item_create

Represents a product line to be created in a production record, specifying either an input product consumed during production or an output product produced.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
      }
    ]
}

production_create

Request body for creating a new production record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ]
}

production_update

Request body for updating an existing production record. Note: location_id cannot be changed after creation.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
          }
        ]
      }
    ]
}

production_item

Represents a product line in a production record, specifying either an input product consumed during production or an output product produced.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

quick_purchase

Represents a simplified, ad-hoc purchase recorded without going through the full procurement workflow.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item

Represents a product line in a quick purchase, capturing quantities and amounts.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

supplier

Represents a supplier or vendor providing products to the organization. Can also represent internal providers like a central kitchen.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_create

Request body for creating a new supplier record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "location_group_id": "string",
  • "locale": "string"
}

supplier_update

Request body for updating a supplier record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "locale": "string"
}

supplier_update_location_group

Request body for updating a supplier record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "location_group_id": "string"
}

supplier_update_status

Request body for updating a supplier status.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "status": "active"
}

supplier_product

Defines the purchasing details of a product from a specific supplier, including units and pricing.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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
}

supplier_product_create

Request body for creating a new supplier product record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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
}

supplier_product_update

Request body for creating a new supplier product record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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
}

supplier_product_update_location_group

Request body for updating a supplier record.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "location_group_id": "string"
}

supplier_product_update_status

Request body for updating a supplier product status.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "status": "active"
}

supplier_purchase_order

Represents a purchase order sent to a supplier, requesting certain products to be delivered to a location.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item

Represents a line item in a supplier purchase order for a specific product and quantity.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
    }
}

supplier_goods_receipt

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
    }
}

supplier_credit_note_request

Represents a request sent to a supplier to issue a credit note, typically due to price or quantity discrepancies.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item

A line-level detail of a credit note request, identifying the product, discrepancy type, and requested amounts.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_invoice

Represents an invoice issued by a supplier.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

product_stock

Tracks the current stock level and unit cost of a product at a specific location.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

stock_movement

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.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

stock_transfer

Represents an internal stock transfer between two locations, with tracking of dates, quantities, and amounts.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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_item

A line item in a transfer, specifying which product was transferred and in what quantity.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "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"
}

attachment

Represents a file attached to a resource.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{}