Skip to content

General

Endpoints of the General section of the iikoCloud API documentation.

Authorization

Authorization API.

iiko.access_token() async

access_token(
    *,
    api_key: str,
    app_id: str,
    client_secret: str,
    timeout: float | None = None,
) -> GetAccessTokenV2Response

Retrieve session key for API access (v2).

POST /api/v2/access_token

Authenticates an application and returns a short-lived JWT token for subsequent API calls.

Getting started: 1. Register at https://public-api.iikoweb.ru/portal and fill in your company details. 2. Create an application — you will receive an appId and a one-time clientSecret. 3. In iikoWeb → "Integrations" → "API Keys", generate an API key. 4. Call this method with all three credentials. 5. Use the returned token as a Bearer token in the Authorization header of all subsequent API requests: Authorization: Bearer {token}. Token lifetime: the token is valid for 1 hour. The exact expiration is encoded in the JWT exp claim. Request a new token before the current one expires — there is no refresh token flow.

Parameters:

Name Type Description Default
api_key str

API key generated in iikoWeb under "Integrations → API Keys". The key determines which restaurant organizations the token grants access to.

required
app_id str

Unique application identifier issued by the iiko Developer Portal (https://public-api.iikoweb.ru/portal). You receive it when you register a new application in your developer account. The appId never changes for the lifetime of the application.

required
client_secret str

Application secret key issued by the iiko Developer Portal (https://public-api.iikoweb.ru/portal). The secret is shown only once — right after the application is created. Store it securely. If the secret is lost or compromised, regenerate it in the Developer Portal; the previous secret will be revoked immediately.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
GetAccessTokenV2Response

The GetAccessTokenV2Response response.

iikoCloud API reference

Notifications

Notifications API.

iiko.notifications.send() async

send(
    *,
    body: SendNotificationRequest | Mapping[str, Any],
    timeout: float | None = None,
) -> CorrelationIdResponse

Send notification to external systems.

POST /api/1/notifications/send

Restriction group: Notifications.

Parameters:

Name Type Description Default
body SendNotificationRequest | Mapping[str, Any]

Request body.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
CorrelationIdResponse

The CorrelationIdResponse response.

iikoCloud API reference

Organizations

Organizations API.

iiko.organizations() async

__call__(
    *,
    organization_ids: Sequence[str] | None = None,
    return_additional_info: bool | None = None,
    include_disabled: bool | None = None,
    return_external_data: Sequence[str] | None = None,
    timeout: float | None = None,
) -> GetOrganizationsResponse

Returns organizations available to api-login user.

POST /api/1/organizations

Restriction group: Data: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str] | None

Organizations IDs which have to be returned. By default - all organizations from apiLogin. Can be obtained by /api/1/organizations operation.

None
return_additional_info bool | None

A sign whether additional information about the organization should be returned (RMS version, country, restaurantAddress, etc.), or only minimal information should be returned (id and name).

None
include_disabled bool | None

Attribute that shows that response contains disabled organizations.

None
return_external_data Sequence[str] | None

External data keys that have to be returned.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
GetOrganizationsResponse

The GetOrganizationsResponse response.

iikoCloud API reference

iiko.organizations.settings() async

settings(
    *,
    organization_ids: Sequence[str] | None = None,
    include_disabled: bool | None = None,
    parameters: Sequence[OrganizationSettingsParameters]
    | None = None,
    return_external_data: Sequence[str] | None = None,
    timeout: float | None = None,
) -> OrganizationsSettingsResponse

Returns available to api-login user organizations specified settings.

POST /api/1/organizations/settings

Restriction group: Organizations: settings.

Parameters:

Name Type Description Default
organization_ids Sequence[str] | None

Organizations IDs which have to be returned. By default - all organizations from apiLogin.

None
include_disabled bool | None

Attribute that shows that response contains disabled organizations.

None
parameters Sequence[OrganizationSettingsParameters] | None

Parameters of information to be present in response.

None
return_external_data Sequence[str] | None

External data keys that have to be returned.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
OrganizationsSettingsResponse

The OrganizationsSettingsResponse response.

iikoCloud API reference

Terminal groups

Terminal groups API.

iiko.terminal_groups() async

__call__(
    *,
    organization_ids: Sequence[str],
    include_disabled: bool | None = None,
    return_external_data: Sequence[str] | None = None,
    timeout: float | None = None,
) -> TerminalGroupsResponse

Method that returns information on groups of delivery terminals.

POST /api/1/terminal_groups

Restriction group: Data: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

Organizations IDs for which information is requested. Can be obtained by /api/1/organizations operation.

required
include_disabled bool | None

Attribute that shows that response contains disabled terminal groups.

None
return_external_data Sequence[str] | None

External data keys that have to be returned.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
TerminalGroupsResponse

The TerminalGroupsResponse response.

iikoCloud API reference

iiko.terminal_groups.awake() async

awake(
    *,
    organization_ids: Sequence[str],
    terminal_group_ids: Sequence[str],
    timeout: float | None = None,
) -> AwakeTerminalGroupsResponse

Awake terminal groups from sleep mode.

POST /api/1/terminal_groups/awake

Restriction group: Organizations: settings.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

Organization IDs. Can be obtained by /api/1/organizations operation.

required
terminal_group_ids Sequence[str]

List of terminal groups IDs. Can be obtained by /api/1/terminal_groups operation.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
AwakeTerminalGroupsResponse

The AwakeTerminalGroupsResponse response.

iikoCloud API reference

iiko.terminal_groups.is_alive() async

is_alive(
    *,
    terminal_group_ids: Sequence[str],
    organization_id: str | None = None,
    organization_ids: Sequence[str] | None = None,
    timeout: float | None = None,
) -> TerminalGroupsIsAliveResponse

Returns information on availability of group of terminals.

POST /api/1/terminal_groups/is_alive

Restriction group: POS: availability.

Parameters:

Name Type Description Default
terminal_group_ids Sequence[str]

List of terminal groups IDs. Can be obtained by /api/1/terminal_groups operation.

required
organization_id str | None

Deprecated. Organization ID. Deprecated, use "organizationIds".

None
organization_ids Sequence[str] | None

Organization IDs. Can be obtained by /api/1/organizations operation.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
TerminalGroupsIsAliveResponse

The TerminalGroupsIsAliveResponse response.

iikoCloud API reference

Dictionaries

Dictionaries API.

iiko.cancel_causes() async

cancel_causes(
    *,
    organization_ids: Sequence[str],
    timeout: float | None = None,
) -> CancelCausesResponse

Delivery cancel causes.

POST /api/1/cancel_causes

Allowed from version 7.7.1.

Restriction group: Data: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

Organizations ids which delivery cancel causes needs to be returned. Can be obtained by /api/1/organizations operation.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
CancelCausesResponse

The CancelCausesResponse response.

iikoCloud API reference

iiko.deliveries.order_types() async

order_types(
    *,
    organization_ids: Sequence[str],
    timeout: float | None = None,
) -> OrderTypesResponse

Order types.

POST /api/1/deliveries/order_types

Restriction group: Data: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

Organizations IDs which payment types have to be returned. Can be obtained by /api/1/organizations operation.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
OrderTypesResponse

The OrderTypesResponse response.

iikoCloud API reference

iiko.discounts() async

discounts(
    *,
    organization_ids: Sequence[str],
    timeout: float | None = None,
) -> DiscountsResponse

Discounts / surcharges.

POST /api/1/discounts

Restriction group: Data: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

Organization IDs that require discounts return. Can be obtained by /api/1/organizations operation.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
DiscountsResponse

The DiscountsResponse response.

iikoCloud API reference

iiko.payment_types() async

payment_types(
    *,
    organization_ids: Sequence[str],
    timeout: float | None = None,
) -> PaymentTypesResponse

Payment types.

POST /api/1/payment_types

Restriction group: Data: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

Organizations IDs which payment types have to be returned. Can be obtained by /api/1/organizations operation.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
PaymentTypesResponse

The PaymentTypesResponse response.

iikoCloud API reference

iiko.removal_types() async

removal_types(
    *,
    organization_ids: Sequence[str],
    timeout: float | None = None,
) -> RemovalTypesResponse

Removal types (reasons for deletion).

POST /api/1/removal_types

Allowed from version 7.5.3.

Restriction group: Data: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

Organizations ids which removal types needs to be returned. Can be obtained by /api/1/organizations operation.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
RemovalTypesResponse

The RemovalTypesResponse response.

iikoCloud API reference

iiko.tips_types() async

tips_types(
    *, timeout: float | None = None
) -> TipsTypesResponse

Get tips types for api-login`s rms group.

POST /api/1/tips_types

Allowed from version 7.7.4.

Restriction group: Data: dictionaries.

Parameters:

Name Type Description Default
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
TipsTypesResponse

The TipsTypesResponse response.

iikoCloud API reference

Menu API.

iiko.combo() async

__call__(
    *,
    organization_id: str,
    extra_data: bool | None = None,
    timeout: float | None = None,
) -> GetCombosInfoResponse

Get combos info.

POST /api/1/combo

Get all organization's combos.

Restriction group: Data: menu.

Parameters:

Name Type Description Default
organization_id str

Organization id.

required
extra_data bool | None

Extra data.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
GetCombosInfoResponse

The GetCombosInfoResponse response.

iikoCloud API reference

iiko.combo.calculate() async

calculate(
    *,
    items: Sequence[OrderItem | Mapping[str, Any]],
    organization_id: str,
    timeout: float | None = None,
) -> CalculateComboPriceResponse

Calculate combo price.

POST /api/1/combo/calculate

Make combo price calculation.

Restriction group: Loyalty: order calculate.

Parameters:

Name Type Description Default
items Sequence[OrderItem | Mapping[str, Any]]

Items with modifiers included in combo.

required
organization_id str

Organization id.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
CalculateComboPriceResponse

The CalculateComboPriceResponse response.

iikoCloud API reference

iiko.menu() async

__call__(
    *, timeout: float | None = None
) -> MenusDataResponse

External menus with price categories.

POST /api/2/menu

Restriction group: Data: menu.

Parameters:

Name Type Description Default
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
MenusDataResponse

The MenusDataResponse response.

iikoCloud API reference

iiko.menu.by_id() async

by_id(
    *,
    external_menu_id: str,
    organization_id: str,
    price_category_id: str | None = None,
    timeout: float | None = None,
) -> MenuV3

Retrieve external menu V3 by ID.

POST /api/menu/v3/by_id

Generated from Plain menu converter.

Restriction group: Data: menu.

Parameters:

Name Type Description Default
external_menu_id str

External menu id Can be obtained by api/2/menu operation.

required
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
price_category_id str | None

Price category id. Can be obtained by api/2/menu operation.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
MenuV3

The MenuV3 response.

iikoCloud API reference

iiko.nomenclature() async

__call__(
    *,
    organization_id: str,
    start_revision: int | None = None,
    timeout: float | None = None,
) -> NomenclatureResponse

Menu.

POST /api/1/nomenclature

Sourced from RMS Data Exchange Export menu.

Restriction group: Data: menu.

Deprecated, use api/menu/v3/by_id method instead.

Warning

iikoCloud marks this endpoint as deprecated.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
start_revision int | None

The revision (version) of the menu saved on the integration side. Use 0 for the first request for each organization. In every subsequent request, the startRevision field should contain the value of the revision field received in the response to the previous request.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
NomenclatureResponse

The NomenclatureResponse response.

iikoCloud API reference

iiko.stop_lists() async

__call__(
    *,
    organization_ids: Sequence[str],
    return_size: bool | None = None,
    terminal_groups_ids: Sequence[str] | None = None,
    timeout: float | None = None,
) -> StopListsResponse

Out-of-stock items.

POST /api/1/stop_lists

Restriction group: Data: stoplists.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

Organizations for which out-of-stock lists will be requested. Can be obtained by /api/1/organizations operation.

required
return_size bool | None

Flag indicating the need to return the sizes of the dish.

None
terminal_groups_ids Sequence[str] | None

List of terminal groups for which you need to get out-of-stock lists. Can be obtained by /api/1/terminal_groups operation.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
StopListsResponse

The StopListsResponse response.

iikoCloud API reference

iiko.stop_lists.add() async

add(
    *,
    organization_id: str,
    terminal_group_id: str,
    items: Sequence[
        AddProductsToStopListItem | Mapping[str, Any]
    ],
    timeout: float | None = None,
) -> CorrelationIdResponse

Add items to out-of-stock list. (You should have extra rights to use this method).

POST /api/1/stop_lists/add

Allowed from version 8.6.1.

Restriction group: Data: changing stoplists.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
terminal_group_id str

Terminal group ID. Can be obtained by /api/1/terminal_groups operation.

required
items Sequence[AddProductsToStopListItem | Mapping[str, Any]]

Items for adding to out-of-stock list.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
CorrelationIdResponse

The CorrelationIdResponse response.

iikoCloud API reference

iiko.stop_lists.check() async

check(
    *,
    organization_id: str,
    terminal_group_id: str,
    items: Sequence[OrderItem | Mapping[str, Any]],
    timeout: float | None = None,
) -> CheckStopListResponse

Check items in out-of-stock list.

POST /api/1/stop_lists/check

Restriction group: Orders: creating.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
terminal_group_id str

Front group ID the order must be sent to. Can be obtained by /api/1/terminal_groups operation.

required
items Sequence[OrderItem | Mapping[str, Any]]

Order items.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
CheckStopListResponse

The CheckStopListResponse response.

iikoCloud API reference

iiko.stop_lists.clear() async

clear(
    *,
    organization_id: str,
    terminal_group_id: str,
    timeout: float | None = None,
) -> CorrelationIdResponse

Clear out-of-stock list. (You should have extra rights to use this method).

POST /api/1/stop_lists/clear

Allowed from version 8.6.1.

Restriction group: Data: changing stoplists.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
terminal_group_id str

Terminal group ID. Can be obtained by /api/1/terminal_groups operation.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
CorrelationIdResponse

The CorrelationIdResponse response.

iikoCloud API reference

iiko.stop_lists.remove() async

remove(
    *,
    organization_id: str,
    terminal_group_id: str,
    items: Sequence[
        RemoveProductsFromStopListItem | Mapping[str, Any]
    ],
    timeout: float | None = None,
) -> CorrelationIdResponse

Remove items from out-of-stock list. (You should have extra rights to use this method).

POST /api/1/stop_lists/remove

Allowed from version 8.6.1.

Restriction group: Data: changing stoplists.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
terminal_group_id str

Terminal group ID. Can be obtained by /api/1/terminal_groups operation.

required
items Sequence[RemoveProductsFromStopListItem | Mapping[str, Any]]

Items for removing from out-of-stock list.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
CorrelationIdResponse

The CorrelationIdResponse response.

iikoCloud API reference

Operations

Operations API.

iiko.commands.status() async

status(
    *,
    organization_id: str,
    correlation_id: str,
    timeout: float | None = None,
) -> GetCommandStatusResponse

Get status of command.

POST /api/1/commands/status

Response code 410 means that the correlationId value specified in the method is no longer supported. Please do not request methods that include such a value.

Restriction group: Commands.

Parameters:

Name Type Description Default
organization_id str

Organization id which "correlationId" belongs to. Can be obtained by /api/1/organizations operation.

required
correlation_id str

Operation ID obtained from any command supporting operations.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
GetCommandStatusResponse

The GetCommandStatusResponse response.

iikoCloud API reference

Employees

Employees API.

iiko.employees.couriers() async

__call__(
    *,
    organization_ids: Sequence[str],
    timeout: float | None = None,
) -> EmployeesResponse

Returns list of all employees which are delivery drivers in specified restaurants.

POST /api/1/employees/couriers

Restriction group: Drivers: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

List of organizations.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
EmployeesResponse

The EmployeesResponse response.

iikoCloud API reference

iiko.employees.couriers.active_location() async

__call__(
    *,
    organization_ids: Sequence[str],
    timeout: float | None = None,
) -> ActiveCourierLocationsResponse

Returns list of all active (courier session is opened) courier's locations which are delivery drivers in specified restaurants.

POST /api/1/employees/couriers/active_location

Restriction group: Drivers: location.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

List of organizations.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
ActiveCourierLocationsResponse

The ActiveCourierLocationsResponse response.

iikoCloud API reference

iiko.employees.couriers.active_location.by_terminal() async

by_terminal(
    *,
    organization_id: str,
    terminal_group_id: str,
    timeout: float | None = None,
) -> ActiveCourierLocationsResponse

Returns list of all active (courier session is opened) courier's locations which are delivery drivers in specified restaurant and are clocked in on specified delivery terminal.

POST /api/1/employees/couriers/active_location/by_terminal

Restriction group: Drivers: location.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
terminal_group_id str

iikoFront terminals group ID. Can be obtained by /api/1/terminal_groups operation.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
ActiveCourierLocationsResponse

The ActiveCourierLocationsResponse response.

iikoCloud API reference

iiko.employees.couriers.by_role() async

by_role(
    *,
    organization_ids: Sequence[str],
    roles_to_check: Sequence[str],
    timeout: float | None = None,
) -> EmployeesWithRoleSignResponse

Returns list of all employees which are delivery drivers in specified restaurants, and checks whether each employee has passed role.

POST /api/1/employees/couriers/by_role

Restriction group: Drivers: dictionaries.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

List of organizations. Can be obtained by /api/1/organizations operation.

required
roles_to_check Sequence[str]

Employee's roles for check. The short name of employee's position.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
EmployeesWithRoleSignResponse

The EmployeesWithRoleSignResponse response.

iikoCloud API reference

iiko.employees.couriers.locations.by_time_offset() async

by_time_offset(
    *,
    organization_ids: Sequence[str],
    offset_in_seconds: int | None = None,
    timeout: float | None = None,
) -> CourierLocationsByTimeOffsetResponse

Method of obtaining drivers' coordinates history.

POST /api/1/employees/couriers/locations/by_time_offset

Restriction group: Drivers: location.

Parameters:

Name Type Description Default
organization_ids Sequence[str]

List of organizations for drivers coordinates of which will be retrieved.

required
offset_in_seconds int | None

Interval in seconds from current server time. If driver coordinates were recorded in server storage within interval: ("current server time" - OffsetInSeconds, "current server time"], driver and their coordinates will be retrieved.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
CourierLocationsByTimeOffsetResponse

The CourierLocationsByTimeOffsetResponse response.

iikoCloud API reference

iiko.employees.info() async

info(
    *,
    organization_id: str,
    id: str,
    timeout: float | None = None,
) -> EmployeeInfoResponse

Returns employee info.

POST /api/1/employees/info

Restriction group: Employees: dictionaries.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
id str

Employee ID.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
EmployeeInfoResponse

The EmployeeInfoResponse response.

iikoCloud API reference

iiko.employees.shift.clockin() async

clockin(
    *,
    organization_id: str,
    terminal_group_id: str,
    employee_id: str,
    role_id: str | None = None,
    timeout: float | None = None,
) -> ChangePersonalSessionResponse

Open personal session.

POST /api/1/employees/shift/clockin

Restriction group: Employees: shifts.

Note

This method is a command: it only starts the operation. Pass the response to IikoCloud.wait() to wait for the result.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
terminal_group_id str

Delivery group ID. Can be obtained by /api/1/terminal_groups operation.

required
employee_id str

Employee ID.

required
role_id str | None

Employee role ID. Must be null if the restaurant doesn't use roles, otherwise not-null role must be specified.

None
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
ChangePersonalSessionResponse

The ChangePersonalSessionResponse response.

iikoCloud API reference

iiko.employees.shift.clockout() async

clockout(
    *,
    organization_id: str,
    terminal_group_id: str,
    employee_id: str,
    timeout: float | None = None,
) -> ChangePersonalSessionResponse

Close personal session.

POST /api/1/employees/shift/clockout

Restriction group: Employees: shifts.

Note

This method is a command: it only starts the operation. Pass the response to IikoCloud.wait() to wait for the result.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
terminal_group_id str

Delivery group ID. Can be obtained by /api/1/terminal_groups operation.

required
employee_id str

Employee ID.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
ChangePersonalSessionResponse

The ChangePersonalSessionResponse response.

iikoCloud API reference

iiko.employees.shift.is_open() async

is_open(
    *,
    organization_id: str,
    terminal_group_id: str,
    employee_id: str,
    timeout: float | None = None,
) -> GetPersonalSessionInfoResponse

Check if personal session is open.

POST /api/1/employees/shift/is_open

Restriction group: Employees: shifts.

Parameters:

Name Type Description Default
organization_id str

Organization ID. Can be obtained by /api/1/organizations operation.

required
terminal_group_id str

Delivery group ID. Can be obtained by /api/1/terminal_groups operation.

required
employee_id str

Employee ID.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
GetPersonalSessionInfoResponse

The GetPersonalSessionInfoResponse response.

iikoCloud API reference

iiko.employees.shifts.by_courier() async

by_courier(
    *, employee_id: str, timeout: float | None = None
) -> GetTerminalGroupsOfEmployeeResponse

Get terminal groups where employee session is opened.

POST /api/1/employees/shifts/by_courier

Restriction group: Employees: shifts.

Parameters:

Name Type Description Default
employee_id str

See the API reference.

required
timeout float | None

Server-side timeout in seconds (Timeout header). Defaults to the client setting.

None

Returns:

Type Description
GetTerminalGroupsOfEmployeeResponse

The GetTerminalGroupsOfEmployeeResponse response.

iikoCloud API reference