General models¶
Models of the general endpoints: organizations, terminal groups, dictionaries, menu, notifications...
Generated by python -m codegen from the iikoCloud OpenAPI specification. Do not edit by hand.
GetCommandStatusResponse
module-attribute
¶
GetCommandStatusResponse = Annotated[
Annotated[InProgressCommandStatus, Tag("InProgress")]
| Annotated[SuccessCommandStatus, Tag("Success")]
| Annotated[ErrorCommandStatus, Tag("Error")]
| Annotated[GetCommandStatusResponseBase, Tag(UNKNOWN)],
discriminator(
"state", "state", ("InProgress", "Success", "Error")
),
]
Class containing information about command status.
One of InProgressCommandStatus, SuccessCommandStatus, ErrorCommandStatus, selected by state. Values unknown to this library are parsed as GetCommandStatusResponseBase.
SendNotificationRequest
module-attribute
¶
SendNotificationRequest = Annotated[
Annotated[
OrderAttentionNotificationRequest,
Tag("order_attention"),
]
| Annotated[SendNotificationRequestBase, Tag(UNKNOWN)],
discriminator(
"messageType", "message_type", ("order_attention",)
),
]
Request to notify external systems (iikoFront and iikoWeb).
One of OrderAttentionNotificationRequest, selected by message_type. Values unknown to this library are parsed as SendNotificationRequestBase.
ActiveCourierLocation
¶
Bases: IikoModel
Courier's location.
last_active_client_date
class-attribute
instance-attribute
¶
last_active_client_date: IikoDateTime | None = None
Client date and time.
ActiveCourierLocationsByTerminalGroupRequest
¶
Bases: IikoModel
Request for list of active drivers for front group with ID = TerminalGroupId.
ActiveCourierLocationsResponse
¶
Bases: IikoModel
Wrapping object to retrieve list of active courier locations.
active_courier_locations
instance-attribute
¶
active_courier_locations: list[
OrganizationItems[ActiveCourierLocation]
]
List of courier's locations.
AddProductsToStopListItem
¶
AddProductsToStopListRequest
¶
AwakeTerminalGroupsResponse
¶
BarcodeInfo
¶
CalculateComboPriceRequest
¶
CancelCause
¶
CancelCausesRequest
¶
CancelCausesResponse
¶
ChangePersonalSessionResponse
¶
CheckStopListRequest
¶
CheckStopListResponse
¶
Bases: IikoModel
Response for check items in out-of-stock list.
rejected_items
class-attribute
instance-attribute
¶
rejected_items: list[StopListItem] | None = None
Set of items in out-of-stock list.
If null, none of requested items are in out-of-stock list. Present in response only if not null.
ChildModifierInfo
¶
Bases: IikoModel
Child modifier details.
default_amount
class-attribute
instance-attribute
¶
default_amount: int | None = None
Default quantity.
free_of_charge_amount
class-attribute
instance-attribute
¶
free_of_charge_amount: int | None = None
Free of charge amount. This field is supported since 7.2.4 iikoRMS version.
ClosePersonalSessionRequest
¶
ComboCategory
¶
ComboComponentGroup
¶
Bases: IikoModel
Combo meal component group (e.g. "Burger", "Drink", "Fries"). Stored inline with original UUIDs for compatibility with external systems.
is_main_group
class-attribute
instance-attribute
¶
is_main_group: bool | None = None
Whether the group is the main one (primary combo product). The main group usually determines the combo name.
products
class-attribute
instance-attribute
¶
products: list[ComboComponentProduct] | None = None
List of products available for selection in this group. Contains combo-specific prices (different from retail prices).
ComboComponentProduct
¶
Bases: IikoModel
Product available for selection in a combo meal component group.
forbidden_modifiers
class-attribute
instance-attribute
¶
List of modifier IDs that cannot be applied to this product in a combo.
price_modification_amount
class-attribute
instance-attribute
¶
price_modification_amount: Decimal | None = None
Extra charge or discount for this product within the combo (in rubles). Positive = extra charge, negative = discount. Depends on PriceStrategy: always 0 for BY_COMPONENT.
product_id
instance-attribute
¶
product_id: str
Reference to a product from the Menu.products[] catalog.
size_prices
class-attribute
instance-attribute
¶
size_prices: list[ComboSizePrice] | None = None
Product prices in combo for different sizes. If absent or empty — the product is not available for sale in the combo. CRITICAL: prices differ from retail by 8-39%.
ComboPriceModificationType
¶
Bases: OpenIntEnum
ComboPriceModificationType values.
CHEAPEST_POSITION_DISCOUNT
class-attribute
instance-attribute
¶
Cheapest position discount.
FIXED_POSITION_PRICE
class-attribute
instance-attribute
¶
Fixed position price.
MOST_EXPENSIVE_POSITION_DISCOUNT
class-attribute
instance-attribute
¶
Most expensive position discount.
PERCENTAGE_DISCOUNT_FOR_EACH_POSITION
class-attribute
instance-attribute
¶
Percentage discount for each position.
ComboProduct
¶
ComboSize
¶
Bases: IikoModel
Combo size with visualization info. Used in Item.sizes[] for COMBO elements. Contains data specific to placement in a group.
button_image_url
class-attribute
instance-attribute
¶
button_image_url: str | None = None
Deprecated. Button image URL.
image
class-attribute
instance-attribute
¶
image: Image | None = None
Combo size image (placement-specific). Replaces ButtonImageUrl.
is_hidden
class-attribute
instance-attribute
¶
is_hidden: bool | None = None
Whether this size is hidden.
name
instance-attribute
¶
name: str
Size name. IMPORTANT: may be an empty string "" — this is a valid value.
ComboSizePrice
¶
Bases: IikoModel
Product price within a combo meal for a specific size combination.
ComboSpecification
¶
Bases: IikoModel
Information about combos of organization.
category_id
class-attribute
instance-attribute
¶
category_id: str | None = None
Combo's category id.
expiration_date
class-attribute
instance-attribute
¶
expiration_date: IikoDateTime | None = None
Expiration date.
include_modifiers
class-attribute
instance-attribute
¶
include_modifiers: bool | None = None
Include modifiers.
lacking_groups_to_suggest
class-attribute
instance-attribute
¶
lacking_groups_to_suggest: int | None = None
Lacking groups to suggest.
price_modification
class-attribute
instance-attribute
¶
price_modification: Decimal | None = None
Price modification.
price_modification_type
class-attribute
instance-attribute
¶
price_modification_type: (
ComboPriceModificationType | None
) = None
Price modification type.
0 - fixed combo price, 1 - fixed position price, 2 - cheapest position discount, 3 - most expensive position discount, 4 - percentage discount for each position.
CoordinateInfo
¶
CourierLocations
¶
CourierLocationsByTimeOffsetRequest
¶
Bases: IikoModel
Request for coordinates history of drivers in OrganizationIds organizations. If driver coordinates were recorded in server storage within interval: ["current server time" - OffsetInSeconds, "current server time"), driver and their coordinates will be retrieved.
offset_in_seconds
class-attribute
instance-attribute
¶
offset_in_seconds: int | None = 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.
CourierLocationsByTimeOffsetResponse
¶
Bases: IikoModel
DTO containing driver coordinates details for the last N seconds.
courier_locations
instance-attribute
¶
courier_locations: list[OrganizationItems[CourierLocations]]
List of drivers' coordinates broken down by organizations.
CouriersAndCheckRoleRequest
¶
Bases: IikoModel
Request for list of drivers for organizations in OrganizationIds.
CouriersRequest
¶
CustomerTagGroupItem
¶
DiscountCardMode
¶
DiscountCardTypeInfo
¶
Bases: IikoModel
Discount/surcharge DTO.
can_apply_by_card_number
instance-attribute
¶
can_apply_by_card_number: bool
Can be applied by card No. If true, it's enough to enter discount card No. (card swiping not required)
can_be_applied_selectively
instance-attribute
¶
can_be_applied_selectively: bool
Whether discount allows for selected application to individual items at user's discretion.
is_categorised_discount
instance-attribute
¶
is_categorised_discount: bool
Whether it is category discount or not. If true, "productCategoryDiscounts" discounts will apply.
min_order_sum
class-attribute
instance-attribute
¶
min_order_sum: Decimal | None = None
Minimum order amount required for discount application. If order amount is less than specified threshold, discount does not apply.
mode
instance-attribute
¶
mode: DiscountCardMode
Discount type.
Can be obtained by /api/1/discounts operation.
percent
instance-attribute
¶
percent: Decimal
Total discount rate. Ignored if "isCategorisedDiscount" specified.
product_category_discounts
instance-attribute
¶
product_category_discounts: list[ProductCategoryDiscount]
Category discount.
DiscountsRequest
¶
DiscountsResponse
¶
Bases: IikoModel
Response with list of discounts/surcharges.
discounts
instance-attribute
¶
discounts: list[OrganizationItems[DiscountCardTypeInfo]]
List of discounts/surcharges.
Employee
¶
EmployeeInfoRequest
¶
EmployeeWithCheckedRole
¶
EmployeesResponse
¶
EmployeesWithRoleSignResponse
¶
Bases: IikoModel
Wrapping object to retrieve list of drivers from iikoRMS with checked role.
employees_with_check_roles
instance-attribute
¶
employees_with_check_roles: list[
OrganizationItems[EmployeeWithCheckedRole]
]
List of drivers.
ErrorCommandStatus
¶
Bases: GetCommandStatusResponseBase
Command completed with error.
ExternalMenu
¶
GetAccessTokenV2Request
¶
Bases: IikoModel
Authentication token request.
api_key
instance-attribute
¶
api_key: str
API key generated in iikoWeb under "Integrations → API Keys". The key determines which restaurant organizations the token grants access to.
app_id
instance-attribute
¶
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.
client_secret
instance-attribute
¶
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.
GetAccessTokenV2Response
¶
GetCombosInfoRequest
¶
GetCombosInfoResponse
¶
Bases: IikoModel
Information about combos of organization.
combo_categories
class-attribute
instance-attribute
¶
combo_categories: list[ComboCategory] | None = None
Combo's categories.
combo_specifications
class-attribute
instance-attribute
¶
combo_specifications: list[ComboSpecification] | None = None
Full combo's specifications.
warnings
class-attribute
instance-attribute
¶
warnings: list[WarningInfo] | None = Field(
default=None, alias="Warnings"
)
Warnings about errors, not blocking loyalty calculation.
GetPersonalSessionInfoRequest
¶
GroupModifierInfo
¶
Bases: IikoModel
Information on group of modifiers.
child_modifiers
instance-attribute
¶
child_modifiers: list[ChildModifierInfo]
List of child modifiers.
child_modifiers_have_min_max_restrictions
class-attribute
instance-attribute
¶
child_modifiers_have_min_max_restrictions: bool | None = (
None
)
Presence of max/min quantity limitations of child modifiers.
default_amount
class-attribute
instance-attribute
¶
default_amount: int | None = None
Amount by default. This field is supported since 7.2.4 iikoRMS version.
free_of_charge_amount
class-attribute
instance-attribute
¶
free_of_charge_amount: int | None = None
Free amount. This field is supported since 7.2.4 iikoRMS version.
Image
¶
Bases: IikoModel
Unified image object. Replaces the deprecated buttonImageUrl field across all entities.
hash
class-attribute
instance-attribute
¶
hash: str | None = None
SHA-1 hash of the image file bytes. Used for detecting changes without re-downloading.
updated_at
class-attribute
instance-attribute
¶
updated_at: IikoDateTime | None = None
Date and time of the last image update (UTC).
InProgressCommandStatus
¶
Item
¶
Bases: IikoModel
Item in a group.
allergen_group_ids
class-attribute
instance-attribute
¶
Allergen group IDs.
combo_id
class-attribute
instance-attribute
¶
combo_id: str | None = None
Combo meal ID (from the Menu.combos[] array). REQUIRED for combo meals (itemType = "COMBO"). NULL for regular products.
is_hidden
class-attribute
instance-attribute
¶
is_hidden: bool | None = None
Flag indicating whether the item is hidden.
item_type
class-attribute
instance-attribute
¶
item_type: str | None = None
Item type: "PRODUCT" (default), "COMBO". If not set (null), treated as PRODUCT for backward compatibility with the old menu schema.
labels
class-attribute
instance-attribute
¶
List of website tags associated with the item.
menu_item_id
class-attribute
instance-attribute
¶
menu_item_id: str | None = None
Unique key of the menu item.
modifier_groups
class-attribute
instance-attribute
¶
modifier_groups: list[ModifierGroup] | None = None
Modifier groups.
product_id
class-attribute
instance-attribute
¶
product_id: str | None = None
Product ID. REQUIRED for regular products (itemType = null or "PRODUCT"). NULL for combo meals (itemType = "COMBO").
size_prices
class-attribute
instance-attribute
¶
size_prices: list[MenuSizePrice] | None = None
Prices by size.
sizes
class-attribute
instance-attribute
¶
Combo sizes with visual information (images, visibility). Used only when itemType = "COMBO". Ignored for PRODUCT (sizePrices[] is used instead). Contains information specific to placement in a group.
ItemsGroup
¶
Bases: IikoModel
Item group.
button_image_url
class-attribute
instance-attribute
¶
button_image_url: str | None = None
Deprecated. Button image URL.
image
class-attribute
instance-attribute
¶
image: Image | None = None
Group image. Replaces ButtonImageUrl.
is_hidden
class-attribute
instance-attribute
¶
is_hidden: bool | None = None
Flag indicating whether the group is hidden.
items
class-attribute
instance-attribute
¶
List of items in the group.
labels
class-attribute
instance-attribute
¶
List of website tags associated with the element.
MeasureUnitType
¶
MenuCombo
¶
Bases: IikoModel
Combo meal. Consists of component groups, each group offers a choice of products.
component_groups
class-attribute
instance-attribute
¶
component_groups: list[ComboComponentGroup] | None = None
Combo component groups (Burger, Drink, Fries, etc.).
id
instance-attribute
¶
id: str
Unique combo ID. Unique within the combos[] array — each combo appears only once.
price_strategy
class-attribute
instance-attribute
¶
price_strategy: PriceStrategy | None = None
Pricing strategy. BY_COMPONENT (default): price is composed from selected components. FIXED: fixed combo price.
MenuModifier
¶
Bases: IikoModel
Menu modifier.
allergen_group_ids
class-attribute
instance-attribute
¶
Allergen group IDs.
button_image_url
class-attribute
instance-attribute
¶
button_image_url: str | None = None
Button image URL.
customer_tag_groups
class-attribute
instance-attribute
¶
customer_tag_groups: list[CustomerTagGroupItem] | None = (
None
)
Customer tag groups.
image
class-attribute
instance-attribute
¶
image: Image | None = None
Modifier image. Replaces ButtonImageUrl. May be overridden by iikoTransport.PublicApi.Contracts.NomenclatureV3.ModifierItem.Image.
independent_quantity
class-attribute
instance-attribute
¶
independent_quantity: bool | None = None
Independent quantity.
is_hidden
class-attribute
instance-attribute
¶
is_hidden: bool | None = None
Flag indicating whether the modifier is hidden. May be overridden by iikoTransport.PublicApi.Contracts.NomenclatureV3.ModifierItem.IsHidden.
is_marked
class-attribute
instance-attribute
¶
is_marked: bool | None = None
Flag indicating whether the product is marked.
labels
class-attribute
instance-attribute
¶
List of website tags associated with the element. May be empty or absent.
measure_unit_type
class-attribute
instance-attribute
¶
measure_unit_type: MeasureUnitType | None = None
Unit of measurement. May be overridden by iikoTransport.PublicApi.Contracts.NomenclatureV3.ModifierItem.MeasureUnitType.
name
class-attribute
instance-attribute
¶
name: str | None = None
Modifier name. May be overridden by iikoTransport.PublicApi.Contracts.NomenclatureV3.ModifierItem.Name.
nutritions
class-attribute
instance-attribute
¶
nutritions: Nutritions | None = None
Nutritional value.
outer_ean_code
class-attribute
instance-attribute
¶
outer_ean_code: str | None = None
External EAN code.
payment_subject_code
class-attribute
instance-attribute
¶
payment_subject_code: str | None = None
Payment subject code.
product_category_id
class-attribute
instance-attribute
¶
product_category_id: str | None = None
Product category ID.
restrictions
class-attribute
instance-attribute
¶
restrictions: Restrictions | None = None
Modifier selection restrictions. May be overridden by iikoTransport.PublicApi.Contracts.NomenclatureV3.ModifierItem.Restrictions.
size_prices
class-attribute
instance-attribute
¶
size_prices: list[SizePriceShort] | None = None
Prices by size.
tags
class-attribute
instance-attribute
¶
List of tags associated with the element. May be empty or absent.
MenuOrderItemType
¶
MenuRequestV3
¶
MenuSizePrice
¶
Bases: IikoModel
Size price.
button_image_url
class-attribute
instance-attribute
¶
button_image_url: str | None = None
Deprecated. Button image URL.
image
class-attribute
instance-attribute
¶
image: Image | None = None
Product size image. Replaces ButtonImageUrl.
is_default
class-attribute
instance-attribute
¶
is_default: bool | None = None
Flag indicating whether this is the default size.
is_hidden
class-attribute
instance-attribute
¶
is_hidden: bool | None = None
Flag indicating whether the size is hidden.
measure_unit_type
class-attribute
instance-attribute
¶
measure_unit_type: MeasureUnitType | None = None
Unit of measurement.
menu_item_size_id
class-attribute
instance-attribute
¶
menu_item_size_id: str | None = None
Unique key of the size. Unlike SizeId, present even for non-sized items.
nutritions
class-attribute
instance-attribute
¶
nutritions: Nutritions | None = None
Nutritional value.
MenuV3
¶
Bases: IikoModel
Menu structure.
allergen_groups
class-attribute
instance-attribute
¶
allergen_groups: list[MenuAllergenGroup] | None = None
Allergen groups.
button_image_url
class-attribute
instance-attribute
¶
button_image_url: str | None = None
Deprecated. Button image URL.
customer_tag_groups
class-attribute
instance-attribute
¶
customer_tag_groups: list[CustomerTagGroup] | None = None
Customer tag groups.
image
class-attribute
instance-attribute
¶
image: Image | None = None
Menu image. Replaces ButtonImageUrl.
items_groups
class-attribute
instance-attribute
¶
items_groups: list[ItemsGroup] | None = None
Item groups. Placed after the reference dictionaries (products, modifiers, etc.) so that dictionaries are deserialized first.
modifiers
class-attribute
instance-attribute
¶
modifiers: list[MenuModifier] | None = None
Modifiers.
override_tax_categories
class-attribute
instance-attribute
¶
override_tax_categories: (
list[TaxCategoryOverride] | None
) = None
Tax category overrides of the organization.
product_categories
class-attribute
instance-attribute
¶
product_categories: list[ProductCategory] | None = None
Product categories.
tax_categories
class-attribute
instance-attribute
¶
tax_categories: list[MenuTaxCategory] | None = None
Tax categories.
MenusDataResponse
¶
Bases: IikoModel
Response with stock lists.
external_menus
class-attribute
instance-attribute
¶
external_menus: list[ExternalMenu] | None = None
External menu.
price_categories
class-attribute
instance-attribute
¶
price_categories: list[NomenclaturePriceCategory] | None = (
None
)
Price category.
ModifierGroup
¶
Bases: IikoModel
Modifier group.
child_modifiers_have_min_max_restrictions
class-attribute
instance-attribute
¶
child_modifiers_have_min_max_restrictions: bool | None = (
None
)
Flag indicating whether child modifiers have min/max restrictions.
is_hidden
class-attribute
instance-attribute
¶
is_hidden: bool | None = None
Flag indicating whether the group is hidden.
items
class-attribute
instance-attribute
¶
items: list[ModifierItem] | None = None
List of modifiers in the group.
restrictions
class-attribute
instance-attribute
¶
restrictions: Restrictions | None = None
Modifier selection restrictions.
ModifierItem
¶
Bases: IikoModel
Modifier item in a group. All fields except Id are optional overrides: when a field is null, its value must be taken from the reference Modifier (MenuV3.modifiers) with the same Id.
button_image_url
class-attribute
instance-attribute
¶
button_image_url: str | None = None
Deprecated. Button image URL. If null, the value is taken from the reference Modifier with the same Id.
description
class-attribute
instance-attribute
¶
description: str | None = None
Modifier description. If null, the value is taken from the reference Modifier with the same Id.
image
class-attribute
instance-attribute
¶
image: Image | None = None
Modifier image. Replaces ButtonImageUrl. If null, the value is taken from the reference Modifier with the same Id.
is_hidden
class-attribute
instance-attribute
¶
is_hidden: bool | None = None
Flag indicating whether the modifier is hidden. If null, the value is taken from the reference Modifier with the same Id.
measure_unit_type
class-attribute
instance-attribute
¶
measure_unit_type: MeasureUnitType | None = None
Unit of measurement. If null, the value is taken from the reference Modifier with the same Id.
name
class-attribute
instance-attribute
¶
name: str | None = None
Modifier name. If null, the value is taken from the reference Modifier with the same Id.
restrictions
class-attribute
instance-attribute
¶
restrictions: Restrictions | None = None
Modifier selection restrictions. If null, the value is taken from the reference Modifier with the same Id.
tags
class-attribute
instance-attribute
¶
List of tags associated with the element. If null, the value is taken from the reference Modifier with the same Id.
NomenclatureOrderItemType
¶
NomenclaturePriceCategory
¶
NomenclatureRequest
¶
Bases: IikoModel
Request for stock list by organization.
organization_id
instance-attribute
¶
organization_id: str
Organization ID.
Can be obtained by /api/1/organizations operation.
start_revision
class-attribute
instance-attribute
¶
start_revision: int | None = 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.
NomenclatureResponse
¶
Bases: IikoModel
Response with stock lists.
product_categories
instance-attribute
¶
product_categories: list[ProductCategoryInfo]
Menu item category.
revision
instance-attribute
¶
revision: int
The revison (version) of the menu recevied in the response of the request.
This value should be saved by the integration and passed in the startRevision field
of the next menu request. If the values in revision and startRevision are the same,
it means there have been no changes to the menu since the previous request.
In this case, the groups, productCategories, products and sizes fields
will not contain any data.
NomenclatureSizePrice
¶
Nutritions
¶
OpenPersonalSessionRequest
¶
Bases: IikoModel
Open personal session request.
organization_id
instance-attribute
¶
organization_id: str
Organization ID.
Can be obtained by /api/1/organizations operation.
OrderAttentionNotificationRequest
¶
Bases: SendNotificationRequestBase
Request to notify external systems (iikoFront and iikoWeb) about an order requiring attention.
OrderType
¶
Bases: IikoModel
Order type.
external_revision
class-attribute
instance-attribute
¶
external_revision: int | None = None
External system revision number.
is_default
class-attribute
instance-attribute
¶
is_default: bool | None = None
IsDefault attribute of order type.
OrderTypeServiceType
¶
OrderTypesRequest
¶
OrderTypesResponse
¶
OrganizationSettings
¶
Bases: IikoModel
Organization settings.
address_format_type
class-attribute
instance-attribute
¶
address_format_type: AddressFormatType | None = None
Address format type.
Available if AddressFormatType requested.
address_lookup
class-attribute
instance-attribute
¶
address_lookup: list[AddressHintsServiceType] | None = None
Available address lookup services.
Available if AddressLookup requested.
confirm_allowed_interval_in_minutes
class-attribute
instance-attribute
¶
confirm_allowed_interval_in_minutes: int | None = None
Confirm orders time interval.
Available if ConfirmAllowedIntervalInMinutes requested.
country
class-attribute
instance-attribute
¶
country: str | None = None
Country.
Available if Country requested.
country_phone_code
class-attribute
instance-attribute
¶
country_phone_code: str | None = None
Country dialing code.
Available if CountryPhoneCode requested.
currency_iso_name
class-attribute
instance-attribute
¶
currency_iso_name: str | None = None
ISO currency code (for example: RUB, USD, EUR).
default_call_center_payment_type_id
class-attribute
instance-attribute
¶
default_call_center_payment_type_id: str | None = None
Default payment type for CallCenter.
Available if DefaultCallCenterPaymentTypeId requested.
default_delivery_city_id
class-attribute
instance-attribute
¶
default_delivery_city_id: str | None = None
Default delivery city.
Available if DefaultDeliveryCityId requested.
delivery_city_ids
class-attribute
instance-attribute
¶
Delivery cities.
Available if DeliveryCityIds requested.
delivery_order_payment_settings
class-attribute
instance-attribute
¶
delivery_order_payment_settings: (
DeliveryOrderPaymentSettings | None
) = None
Delivery order payment settings.
Available if DeliveryOrderPaymentSettings requested.
delivery_service_type
class-attribute
instance-attribute
¶
delivery_service_type: (
DeliverySettingsServiceType | None
) = None
Delivery type.
Available if DeliveryServiceType requested.
external_data
class-attribute
instance-attribute
¶
external_data: list[ExternalDataEntry] | None = None
Organization`s external data.
is_anonymous_guests_allowed
class-attribute
instance-attribute
¶
is_anonymous_guests_allowed: bool | None = None
If the store allows orders for anonymous guests, then it is not necessary to transfer information about the guest as part of the delivery order. You can only transfer the phone number and optionally name of the guest, which will not be stored in the guest base and will only be used for the delivery of a current delivery order.
Available if IsAnonymousGuestsAllowed requested.
is_confirmation_enabled
class-attribute
instance-attribute
¶
is_confirmation_enabled: bool | None = None
Determines whether to use delivery confirmation.
Available if IsConfirmationEnabled requested.
latitude
class-attribute
instance-attribute
¶
latitude: Decimal | None = None
Latitude.
Available if Latitude requested.
longitude
class-attribute
instance-attribute
¶
longitude: Decimal | None = None
Longitude.
Available if Longitude requested.
loyalty_discount_affects_vat
class-attribute
instance-attribute
¶
loyalty_discount_affects_vat: bool | None = None
Determines whether organization loyalty discounts affects VAT.
Working only if "pricesVatInclusive" = false
Available if VAT requested.
marketing_source_required_in_delivery
class-attribute
instance-attribute
¶
marketing_source_required_in_delivery: bool | None = None
Require mandatory marketing source input when creating a delivery.
Available if MarketingSourceRequiredInDelivery requested.
name
class-attribute
instance-attribute
¶
name: str | None = None
Organization name.
Available if Name requested.
order_item_comment_enabled
class-attribute
instance-attribute
¶
order_item_comment_enabled: bool | None = None
Allow text comments for order items (in all restaurant sections).
Available if OrderItemCommentEnabled requested.
prices_vat_inclusive
class-attribute
instance-attribute
¶
prices_vat_inclusive: bool | None = None
Determines whether organization prices include VAT.
Available if VAT requested.
restaurant_address
class-attribute
instance-attribute
¶
restaurant_address: str | None = None
Restaurant address.
Available if RestaurantAddress requested.
use_business_hours_and_mapping
class-attribute
instance-attribute
¶
use_business_hours_and_mapping: bool | None = None
Determines whether the organization use a business hours and mapping settings.
OrganizationSettingsParameters
¶
OrganizationsSettingsRequest
¶
Bases: IikoModel
Request for organizations specified settings.
include_disabled
class-attribute
instance-attribute
¶
include_disabled: bool | None = None
Attribute that shows that response contains disabled organizations.
organization_ids
class-attribute
instance-attribute
¶
Organizations IDs which have to be returned. By default - all organizations from apiLogin.
parameters
class-attribute
instance-attribute
¶
parameters: list[OrganizationSettingsParameters] | None = (
None
)
Parameters of information to be present in response.
OrganizationsSettingsResponse
¶
PaymentProcessingType
¶
PaymentType
¶
Bases: IikoModel
DTO for payment type in iikoRMS
applicable_marketing_campaigns
instance-attribute
¶
Array of marketing campaigns associated with LoyaltyApp payment type applicable to this organization.
combinable
class-attribute
instance-attribute
¶
combinable: bool | None = None
Combinability attribute
external_revision
class-attribute
instance-attribute
¶
external_revision: int | None = None
External system revision number.
is_deleted
class-attribute
instance-attribute
¶
is_deleted: bool | None = None
IsDeleted attribute of payment type.
payment_processing_type
class-attribute
instance-attribute
¶
payment_processing_type: PaymentProcessingType | None = None
Describes operation processing type.
payment_type_kind
class-attribute
instance-attribute
¶
payment_type_kind: PaymentTypeCategory | None = None
Payment type category.
print_cheque
class-attribute
instance-attribute
¶
print_cheque: bool | None = None
If true, payment type is fiscal and bill will be printed.
terminal_groups
instance-attribute
¶
terminal_groups: list[TerminalGroup]
Terminal groups where this payment type is available.
PaymentTypeCategory
¶
PaymentTypesRequest
¶
PaymentTypesResponse
¶
Bases: IikoModel
Response to request for payment types by organization.
payment_types
instance-attribute
¶
payment_types: list[PaymentType]
List of payment types and terminal groups where they are available.
Period
¶
Price
¶
Bases: IikoModel
Price per this item size.
next_date_price
class-attribute
instance-attribute
¶
next_date_price: IikoDateTime | None = None
New price validity start date (Local for the terminal).
PriceStrategy
¶
Product
¶
Bases: IikoModel
Product.
can_set_open_price
class-attribute
instance-attribute
¶
can_set_open_price: bool | None = None
Flag indicating whether open price can be set.
customer_tag_groups
class-attribute
instance-attribute
¶
customer_tag_groups: list[CustomerTagGroupItem] | None = (
None
)
Customer tag groups.
is_marked
class-attribute
instance-attribute
¶
is_marked: bool | None = None
Flag indicating whether the product is marked.
measure_unit
class-attribute
instance-attribute
¶
measure_unit: str | None = None
Unit of measurement.
modifier_schema_id
class-attribute
instance-attribute
¶
modifier_schema_id: str | None = None
Modifier schema ID.
modifier_schema_name
class-attribute
instance-attribute
¶
modifier_schema_name: str | None = None
Modifier schema name.
order_item_type
class-attribute
instance-attribute
¶
order_item_type: MenuOrderItemType | None = None
Order item type.
outer_ean_code
class-attribute
instance-attribute
¶
outer_ean_code: str | None = None
External EAN code.
payment_subject_code
class-attribute
instance-attribute
¶
payment_subject_code: str | None = None
Payment subject code.
product_category_id
class-attribute
instance-attribute
¶
product_category_id: str | None = None
Product category ID.
splittable
class-attribute
instance-attribute
¶
splittable: bool | None = None
Flag indicating whether the product is splittable.
ProductCategory
¶
ProductCategoryDiscount
¶
ProductCategoryInfo
¶
ProductInfo
¶
Bases: IikoModel
DTO for outside transferring of external menu item details.
additional_info
class-attribute
instance-attribute
¶
additional_info: str | None = None
Additional information.
carbohydrates_amount
class-attribute
instance-attribute
¶
carbohydrates_amount: Decimal | None = None
Carbohydrate per 100g.
carbohydrates_full_amount
class-attribute
instance-attribute
¶
carbohydrates_full_amount: Decimal | None = None
Carbohydrate per item.
do_not_print_in_cheque
class-attribute
instance-attribute
¶
do_not_print_in_cheque: bool | None = None
Do not print on bill.
energy_amount
class-attribute
instance-attribute
¶
energy_amount: Decimal | None = None
Calories per 100g.
energy_full_amount
class-attribute
instance-attribute
¶
energy_full_amount: Decimal | None = None
Calories per item.
fat_full_amount
class-attribute
instance-attribute
¶
fat_full_amount: Decimal | None = None
Fat per item.
full_name_english
class-attribute
instance-attribute
¶
full_name_english: str | None = None
Full name in a foreign language.
group_modifiers
class-attribute
instance-attribute
¶
group_modifiers: list[GroupModifierInfo] | None = None
Modifier groups.
image_links
class-attribute
instance-attribute
¶
Links to images.
is_deleted
class-attribute
instance-attribute
¶
is_deleted: bool | None = None
Is-Deleted attribute.
measure_unit
class-attribute
instance-attribute
¶
measure_unit: str | None = None
Item's unit of measurement.
modifier_schema_id
class-attribute
instance-attribute
¶
modifier_schema_id: str | None = None
Modifier schema's ID.
modifier_schema_name
class-attribute
instance-attribute
¶
modifier_schema_name: str | None = None
Modifier schema's name.
modifiers
class-attribute
instance-attribute
¶
modifiers: list[SimpleModifierInfo] | None = None
Modifiers.
order
class-attribute
instance-attribute
¶
order: int | None = None
Product's order (priority) in menu.
order_item_type
class-attribute
instance-attribute
¶
order_item_type: NomenclatureOrderItemType | None = None
Product or compound. Depends on modifiers scheme existence.
parent_group
class-attribute
instance-attribute
¶
parent_group: str | None = None
External menu group.
payment_subject
class-attribute
instance-attribute
¶
payment_subject: str | None = None
Payment subject.
product_category_id
class-attribute
instance-attribute
¶
product_category_id: str | None = None
Product category in RMS.
proteins_amount
class-attribute
instance-attribute
¶
proteins_amount: Decimal | None = None
Protein per 100g.
proteins_full_amount
class-attribute
instance-attribute
¶
proteins_full_amount: Decimal | None = None
Protein per item.
seo_description
class-attribute
instance-attribute
¶
seo_description: str | None = None
SEO description for client.
size_prices
class-attribute
instance-attribute
¶
size_prices: list[NomenclatureSizePrice] | None = None
Prices.
ProductType
¶
ProductsGroupInfo
¶
Bases: IikoModel
DTO for outside transferring of external menu group details.
additional_info
class-attribute
instance-attribute
¶
additional_info: str | None = None
Additional information.
is_deleted
class-attribute
instance-attribute
¶
is_deleted: bool | None = None
Is-Deleted attribute.
is_group_modifier
instance-attribute
¶
is_group_modifier: bool
Is group modifier attribute. * true - group modifier. * false - external menu group.
RemovalType
¶
Bases: IikoModel
Removal type (aka reason for deletion).
can_writeoff_to_cafe
class-attribute
instance-attribute
¶
can_writeoff_to_cafe: bool | None = None
Can write off to cafe.
can_writeoff_to_user
class-attribute
instance-attribute
¶
can_writeoff_to_user: bool | None = None
Can write off to user.
RemovalTypesRequest
¶
RemovalTypesResponse
¶
RemoveProductsFromStopListItem
¶
RemoveProductsFromStopListRequest
¶
Bases: IikoModel
Request for remove items from out-of-stock list.
items
instance-attribute
¶
items: list[RemoveProductsFromStopListItem]
Items for removing from out-of-stock list.
Restrictions
¶
Bases: IikoModel
Modifier selection restrictions.
default_quantity
class-attribute
instance-attribute
¶
default_quantity: Decimal | None = None
Default quantity.
free_quantity
class-attribute
instance-attribute
¶
free_quantity: Decimal | None = None
Free quantity.
hide_if_default_quantity
class-attribute
instance-attribute
¶
hide_if_default_quantity: bool | None = None
Hide if quantity equals default quantity.
RoleCheckResult
¶
Schedule
¶
SendNotificationRequestBase
¶
SimpleModifierInfo
¶
Bases: IikoModel
Modifier details.
default_amount
class-attribute
instance-attribute
¶
default_amount: int | None = None
Default quantity.
free_of_charge_amount
class-attribute
instance-attribute
¶
free_of_charge_amount: int | None = None
Free of charge amount. This field is supported since 7.2.4 iikoRMS version.
Size
¶
StopListItem
¶
Bases: IikoModel
Out-of-stock list.
date_add
class-attribute
instance-attribute
¶
date_add: IikoDateTime | None = None
Date the product was added to the out-of-stock list (UTC).
StopListsRequest
¶
Bases: IikoModel
DTO of out-of-stock lists request.
StopListsResponse
¶
Bases: IikoModel
Status of out-of-stock lists for a specified organization
terminal_group_stop_lists
instance-attribute
¶
terminal_group_stop_lists: list[
OrganizationItems[TerminalGroupStopList]
]
Set of out-of-stock lists
SuccessCommandStatus
¶
TagItem
¶
TaxCategoryOverride
¶
Bases: IikoModel
Tax category override.
TerminalGroupAliveInfo
¶
Bases: IikoModel
DTO containing terminal group availability details.
TerminalGroupStopList
¶
TerminalGroupsIsAliveRequest
¶
Bases: IikoModel
Request for terminal group availability details.
TerminalGroupsIsAliveResponse
¶
TerminalGroupsRequest
¶
Bases: IikoModel
Request for list of terminal groups.
include_disabled
class-attribute
instance-attribute
¶
include_disabled: bool | None = None
Attribute that shows that response contains disabled terminal groups.
organization_ids
instance-attribute
¶
Organizations IDs for which information is requested.
Can be obtained by /api/1/organizations operation.
TipsType
¶
Bases: IikoModel
Tips type.
order_service_types
instance-attribute
¶
order_service_types: list[OrderTypeServiceType]
Supported order service types.
organization_ids
instance-attribute
¶
Supported organizations IDs.
Can be obtained by /api/1/organizations operation.