Settings
Get Settings
get /sites/{site_id}/settings.jsonEndpoint for reading settings for a site in Sitoo. Use the fields
parameter to query only the fields you are interested in.
{ "eshopid": 1, "eshopname": "Sitoo Example", "eshoptype": "main", "emailfrom": "info@example.com", "emailfromdisplay": "", "doroundoff": false, "creditnotesalestype": 20, "creditnotevalidmonths": 12, "creditnoterequirespin": false, "giftcardsalestype": 20, "giftcardvalidmonths": 12, "giftcardrequirespin": false, "giftcardproductids_email": [], "giftcardproductids_sms": [], "paymenttypeid_split": 36, "warehouseid": 2, "numdaysreserved": 14, "currencycode": "USD", "currency_rates": [], "timezone": "Europe/Stockholm", "pricesstoredwithvat": true, "uistrings": {}, "permissions": { "store_manager": { "manual_price": "on", "validated_return": "on", "validated_return_any_payment": "on", "manual_return": "on", "salestax_exemption": "on", "explicit_open_cash_drawer": "on", "cash_management": "on", "inventory_management": "on" }, "store_staff": { "manual_price": "on", "validated_return": "on", "validated_return_any_payment": "on", "manual_return": "on", "salestax_exemption": "on", "explicit_open_cash_drawer": "on", "cash_management": "on", "inventory_management": "on" } }, "other_delivery_online": "enable_all", "other_delivery_stores": "enable_all", "cart_item_price_display_mode": "default", "cart_print_pick_list_mode": "disabled", "cash_counting_mode": "enter-total-amount", "bank_bag_id_mode": "disabled", "copy_discounts_to_exchange_sale": "enabled", "transfer_gift_receipt_customer": "enabled", "receipt_staff_display": null, "pickup_printout_barcode": "order-id", "compress_variant_info": false, "limit_open_cash_drawer": false, "mixed_delivery_disabled": false, "warn_close_with_open_orders": false, "scanner_ean13_remove_leading_zero": false, "num_days_until_pickup_expires": 7, "customattributes_list": [], "customattributes_info": [], "customattributes_details": [], "customattributes_receipt": [], "customattributes_in_store_replenishment": [], "allow_store_manager_campaigns": false, "campaigns_exclude_product_groups": [], "dashboard_ignore_product_groups": [], "shipment_print_confirmation_receipt": "disabled", "shipment_print_delivery_note": "disabled", "shipment_auto_generate_barcodes": "disabled", "required_fields_booking": [ "name-first", "name-last", "phone", "email" ], "required_fields_pickup": [ "name-first", "name-last" ], "required_fields_delivery": [ "name-first", "name-last" ], "payments_refund_manual": [], "payments_refund_validated": [], "payments_refund_validated_omni": [], "payments_sales_gift_card": [], "payments_sales_non_delivered": [], "pin_days_valid": 60, "pin_days_warning": 10, "pin_hours_offline": 72}
HTTP Status Code Summary | |
---|---|
200 | Successful. Returns Settings object. |
400 | Invalid request. Data sent from client is invalid. |
401 | Missing or bad authentication. |
403 | User is not authorized to perform operation. |
404 | The specified resource was not found. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Update Settings
put /sites/{site_id}/settings.jsonEndpoint for updating settings for a site in Sitoo. Please note that the endpoint will accept a partial object to update only the properties that are sent in the request (like a PATCH). Also note that a call to this endpoint will automatically trigger data synchronisation for all POS clients that are connected to the site, and therefore it is recommended to only make a request for it when there is an actual change needed.
Site ID. (Use eshopid
of the site for this parameter).
The Settings object.
{ "cart_item_price_display_mode": "price-to-pay", "pin_days_valid": 60, "pin_days_warning": 10, "pin_hours_offline": 72}
true
HTTP Status Code Summary | |
---|---|
200 | Successful. Returns true. |
400 | Invalid request. Data sent from client is invalid. |
401 | Missing or bad authentication. |
403 | User is not authorized to perform operation. |
404 | The specified resource was not found. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Objects
CrmChannelobject
Settings for a CRM channel.
The ID of the CRM channel. A unique ID to use for this CRM channel, required together with the customer ID for identifying a customer. Matches the crm-channelid
additionaldata set on orders. Note that if the ID for a channel is changed, the secret/password for the handler needs to be provided in the request (if required by the handler), since it will otherwise be lost.
The title for the CRM channel. Shown in POS UI when searching for a customer.
POS client settings for the CRM channel.
The handler to implement the service for this CRM channel. One (and only one) of the handler properties should be set.
CrmClientSettingsobject
POS client settings for a CRM channel.
The search type to use for performing a CRM Lookup when adding a new customer not found in the CRM. The search type needs to match one of the items in the search_types
property.
The title presented for the member number in the POS UI (also printed on the customer receipt).
A bool indicating if the age of a customer should be hidden in the POS UI (the birthday can still be shown).
A list of search types (and the order of them) to be used when searching for a customer in the POS UI. The first one will be default.
Field configuration to be used when adding a new customer.
Field configuration to be used for overriding adding a new customer, when a lookup has been made to pre-fill the form with customer details.
Field configuration to be used when updating an existing customer.
CrmFieldConfigobject
Configuration for which CRM fields should be used in the POS UI. All properties are optional.
Email for a customer.
Member number for a customer.
Name of a customer.
Personal ID property for a customer.
Company name for a customer.
Company ID for a customer.
Mobile phone for a customer.
Phone property for a customer.
Invoice address for a customer.
Delivery address for a customer.
Gender of a customer.
Birthday of a customer.
Preference for accepting email for a customer.
Preference for accepting SMS for a customer.
Preference for accepting postal correspondence for a customer.
Consents for a customer.
Additional options for a customer.
CrmFieldSettingstring
An enum to decide how a CRM fields should be presented in the POS UI.
editable
Field is shown and editableeditable_required
Field is shown, editable and requiredreadonly
Field is shown, but NOT editablehidden
Field is NOT shown, but sent in request to backend API
CrmHandlerobject
An object defining which handler is to be used for a CRM channel. One, and only one of the properties must be set. NOTE! crm_v1
has been deprecated and when implementing a custom CRM, the crm_v2
handler should be used.
Handler when using Sitoo Users API as CRM.
Handler when using Voyado as CRM (with built-in integration by Sitoo).
Handler when using a CRM SPI v1 (deprecated).
Handler when using a CRM SPI v2. See documentation here.
CrmHandlerSitooobject
Handler when using Sitoo users as CRM.
Set this value to true to activate Sitoo CRM handler.
CrmHandlerSpiobject
Handler when using a CRM Service Provider Interface (SPI).
Base URL for API service implementation.
API Token (basic authentication header) for the SPI (e.g. Authorization: Basic <token>
).
CrmHandlerVoyadoobject
Handler when using Voyado as CRM (with built-in integration by Sitoo).
Base URL for Voyado API.
API Key for accessing Voyado API.
Locale used for the Voyado API.
Currency code (ISO 4217, alpha-3 uppercased).
Contact type to be used in Voyado (See Voyado documentation for valid values).
An array of Sitoo campaign (voucher) passwords to be applied when a customer is added to the cart in the POS.
Mapping from Voyado labels to Sitoo campaign (voucher) passwords to be used for the customer being added to the cart in the POS.
Label name in Voyado.
An array of Sitoo campaign (voucher) passwords to be applied for the customer.
An array of information sections to be displayed when viewing customer information in the POS.
The title to be displayed for the section.
An array of fields to be displayed for this section.
CrmSearchKeyTypestring
The type of search for the CRM.
personal_id
Personal identifiermobile
Mobile phone numberemail
Email addressmember_number
Member numbercompany_id
Company identifier
CrmSelfCheckoutobject
Settings for self checkout in the POS.
The ID of the CRM channel to be used for self checkout.
Text to be displayed on the CRM button.
Text to be displayed on the CRM button when a customer has been added.
Title to be used for the self checkout dialog.
Placeholder text to show for the customer to enter information to identify themselves.
Description to show for the customer to enter information to identify themselves.
Message shown to the customer when no campaigns or bonus checks are available.
CrmVoyadoSectionFieldMappingobject
An object used to map information in Voyado to section fields in Sitoo.
Title to be shown for the property.
Attribute in Voyado from which to get the value to be displayed.
If set, this string will be shown instead of the value (if there is a value for the property).
If set, this string will be shown instead of a non value (or a value interpreted as false).
CustomAttributeMappingobject
An object used to indicate mapping between product custom attributes and how they should be displayed.
The ID of the custom attribute.
Boolean value indicating whether to display the title for the value or not.
Optional additional data name used to put the value for the custom attribute on the receipt and order. Only used for the customattributes_receipt
property.
Errorobject
A status code for the error. Usually HTTP status code.
A textual description of the error.
An optional internal code for the error.
ExchangeRatestring
An exchange rate value (8 fixed decimal points).
Moneystring
OtherDeliveryOptionstring
The option for which type of other delivery should be available.
enable_all
Enable All - Both Pickup and Delivery are availablepickup
Pickup Only - Only Pickup is availabledelivery
Delivery Only - Only Delivery is availabledisable
Disabled - The function for other delivery is turned off
PosOrderFieldstring
Order field to be required.
name-first
First namename-last
Last lamephone
Phone numberemail
Email addressphone-or-email
Phone number or email address (at least one will be required)
PosPermissionOptionLevelstring
The level for a permission option.
on
Allowedon_self_auth
Requires PINon_dual_auth
Requires two PINoff
Not Allowed
PosPermissionOptionsobject
Object containing permission levels for different features in the POS.
Permission to perform manual price adjustments in the POS.
Permission to perform validated returns in the POS.
Permission to use all (including unvalidated) payment options when performing validated returns in the POS. NOTE! Only allows options on
and off
.
Permission to perform manual (unvalidated) returns in the POS.
Permission to remove sales tax from the cart in the POS. NOTE! Only allows options on
and off
.
Permission to use functions for explicitly opening the cash drawer in the POS. NOTE! Only allows options on
and off
.
Permission to use cash management features in the POS. This includes withdrawal and deposit of cash and also closing of the cash register.
Permission to use inventory management features in the POS.
PosPermissionsobject
POS Permissions for store manager and store staff.
The permission to be used for store managers (and above).
The permission to be used for store staff.
PosUiobject
POS UI Configuration.
Array of tags to put on orders when displayed in lists.
Array of tags to put on orders when displayed in detailed view.
PosUiColorstring
Color used for a tag.
black
Blackgray
Grayred
Redgreen
Greenblue
Blueorange
Orange
PosUiOrderDetailTagobject
An object defining which order additional data property and what color should be used to display a tag.
The title to be displayed for the additional data property.
The name of the additional data property of the order to get the display value for the tag from.
The color to use for the tag.
PosUiOrderListTagobject
An object defining which order additional data property and what color should used to display a tag.
The name of the additional data property of the order to get the display value for the tag from.
The color to use for the tag.
Settingsobject
A settings object.
The site (eshop) ID for these settings.
The name of the site (organisation).
The type of the site (organisation).
main
A main site (default)franchise
A franchise sitecommon
A common site used for shared resources (products, prices, ...) for franchise sites
VALUES |
---|
main |
franchise |
common |
Reference to a common site used for franchise organisations to share a common set of products and prices.
The sender email address used for sending digital receipts, delivery notes and order confirmations.
The sender name used for sending digital receipts, delivery notes and order confirmations.
If set to true, then roundoff will be applied to orders added in the API. It is recommended to have this value set to false
.
The sales type for credit notes.
10
Custom - Manual handling.20
Vouchers - Credit Note will be printed on the receipt printer30
Pre-printed cards - Activated at time of sale
VALUES |
---|
10 |
20 |
30 |
The number of months that a credit note should be valid. NOTE! Only applies to Sitoo Credit Notes.
A boolean value indicating whether PIN is required to redeem a credit note.
The sales type for gift cards.
10
Custom - Manual handling. (No gift cards are created by the cash register)20
Vouchers - Voucher for gift card will be printed on the receipt printer30
Pre-printed cards - Activated at time of sale
VALUES |
---|
10 |
20 |
30 |
The number of months that a gift card should be valid. NOTE! Only applies to Sitoo Gift Cards.
A boolean value indicating whether PIN is required to redeem a gift card.
Array of Sitoo Product IDs to be used for when delivering gift cards using email.
Array of Sitoo Product IDs to be used for when delivering gift cards using SMS.
ID for product used to register down payment purchases.
ID for payment type used to handle sale and return in the same transaction. (Only cash and custom methods are allowed).
Default warehouse ID. Also used for orders where warehouseid
property is null.
The number of days that products should be reserved from stock when put in bookings and non-delivered orders.
Default currency code for this site (ISO 4217, alpha-3 uppercased).
Array of currencies and their conversion rates against the default currency for the site.
Currency code (ISO 4217, alpha-3 uppercased).
The exchange rate for the specified currency in comparison to the default currency (i.e. how much will 1 of the specified currency be exchanged to in the default currency). Example when having SEK as the default currency would exchange as 1 EUR = 11.9289 SEK (rate = "11.92890000"
).
The default time zone for the site (https://www.iana.org/time-zones).
Flag indicating if the prices are stored including VAT for this site. (A value of false
for this property is deprecated).
A mapping of properties custom1-5 for the product to be used in the POS. A non-empty value will show as the title for the property.
Title to be used for displaying product property custom1
in the POS.
Title to be used for displaying product property custom2
in the POS.
Title to be used for displaying product property custom3
in the POS.
Title to be used for displaying product property custom4
in the POS.
Title to be used for displaying product property custom5
in the POS.
POS permissions used to control different use cases in the POS.
Option in POS for handling other delivery to online stores.
Option in POS for handling other delivery to stores.
Option for how cart item price should be displayed in the cart.
default
Default - Displays the total price of the cart item before applied discountsprice-to-pay
Price To Pay - Displays the price of the cart item after discounts have been applied
VALUES |
---|
default |
price-to-pay |
Option for printing a pick list for the items in the cart.
disabled
Disabledactive
Active - Functionality for printing a pick list is active
VALUES |
---|
disabled |
active |
Option for how to count cash in the POS.
enter-total-amount
Enter total amountcount-denominations-optional
Count denominations (optional)count-denominations-required
Count denominations (required)
VALUES |
---|
enter-total-amount |
count-denominations-optional |
count-denominations-required |
Option to indicate how to use bank bag identifiers when closing the cash register and withdrawing cash to bank.
disabled
Not usedoptional
Optionalrequired
Required
VALUES |
---|
disabled |
optional |
required |
When performing an exchange sale (during a return of a previous purchase), this option controls the possibility to copy vouchers and discounts from the original sales to new sale.
disabled
Disabledenabled
Enabled - Discounts and vouchers can be selectively copied to exchange sale
VALUES |
---|
disabled |
enabled |
Option to add customer from original sale to return and exchange sale, if a gift receipt is used as basis for the return.
disabled
Do not transfer customerenabled
Transfer customer
VALUES |
---|
disabled |
enabled |
Select how the staff should be displayed on the receipt. The option examples within parenthesis are generated using a staff named "John Doe" with external ID "123456".
null
Default - The first name on a customer receipt and first and last name on the store copy.externalid:64
Option 1 (123456)firstname:2+lastname:2
Option 2 (JODO)firstname:2+lastname:2+externalid:1
Option 3 (JODO1)firstname:2+lastname:2+externalid:-1
Option 4 (JODO6)firstname:2+lastname:2+externalid:2
Option 5 (JODO12)firstname:2+lastname:2+externalid:-2
Option 6 (JODO56)firstname:2+lastname:2+externalid:3
Option 7 (JODO123)firstname:2+lastname:2+externalid:-3
Option 8 (JODO456)
VALUES |
---|
externalid:64 |
firstname:2+lastname:2 |
firstname:2+lastname:2+externalid:1 |
firstname:2+lastname:2+externalid:-1 |
firstname:2+lastname:2+externalid:2 |
firstname:2+lastname:2+externalid:-2 |
firstname:2+lastname:2+externalid:3 |
firstname:2+lastname:2+externalid:-3 |
Option for which order identifier should be used for the barcode that is printed on pick lists for pickup.
order-id
Sitoo Order IDexternal-id
External Order ID
VALUES |
---|
order-id |
external-id |
Compress the product variant information added to order items to not include the title. Example: "Size: Large" will become "Large".
Limit the automatic opening of the cash drawer to only open when cash has been used as tender.
Disable mixed mode for delivery status of items in the cart. If set to true, then all items in the cart have to be either "delivered" or "not delivered".
Show a warning when closing a POS which has open orders (Parked/Bookings).
Convert EAN-13 codes with a leading zero to UPC-A format when using built-in iOS camera as scanner.
Number of days until a store pickup is considered to be overdue.
The attributes that should be shown in the product list of the POS and whether to display the title or not.
The attributes that should be shown in the product info view of the POS and whether to display the title or not.
The attributes that should be shown in the additional information view of the POS.
The attributes that should be shown for products on receipts and whether to display the title or not.
Custom product attributes available for display in the "In Store Replenishment" feature in the back office.
Array of eshop ID for sites allowed to create bookings against.
Array of eshop ID for sites allowed to create delivery orders against.
Flag indicating if store managers should be allowed to create local campaigns.
Array of product group IDs (vatid
). Products belonging to these product groups will be excluded from
campaigns/discounts in the POS.
Array of product group IDs (vatid
) that should be excluded from dashboard calculations. The POS will add the additionaldata property "dashboard-ignore": "true"
to the receipt and order items.
Option to use for printing a confirmation slip when receiving items for a shipment. The printout will contain the received items and their respective quantities.
disabled
Not Useddeselected
Print Option - Deselectedpreselected
Print Option - Preselectedauto
Print Automatically
VALUES |
---|
disabled |
deselected |
preselected |
auto |
Option to use for printing delivery note when confirming an outbound shipment.
disabled
Not Useddeselected
Print Option - Deselectedpreselected
Print Option - Preselectedauto
Print Automatically
VALUES |
---|
disabled |
deselected |
preselected |
auto |
Option for automatically generating barcodes for shipment and packages where they have not been provided when confirming an outbound shipment.
disabled
Disabledactive
Active - Functionality for generating barcodes for shipment is active
VALUES |
---|
disabled |
active |
An array of inventory features that should be available in the POS. If set to null
, all features will be
available, and empty array means no features are available.
manual-in
Manual Inmanual-out
Manual Outmove
Movestocktaking
Stocktakingshipment-in
Inbound Shipmentsshipment-out
Outbound Shipments
VALUES |
---|
manual-in |
manual-out |
move |
stocktaking |
shipment-in |
shipment-out |
POS default theme to be used for the POS UI. The theme can be overridden for specific POS profiles.
Variables used by the default POS theme (as specified in the theme instance).
Array of required fields when creating a booking.
Array of required fields when creating a pickup order.
Array of required fields when creating a delivery order.
Array of payments allowed for Manual Returns - Used when total to pay is negative and the return is non-validated (manual).
Array of payments allowed for Validated Returns - Used when total to pay is negative and the return is validated.
Array of payments allowed for Validated Returns for Web Orders - Used when total to pay is negative and the return is validated, on order which has not been created by a Sitoo POS.
Array of payments allowed for Gift Card Sales - Used when total to pay is greater than or equal to 0 and cart includes item with product of type "Gift Card".
Array of payments allowed for Non-delivered Sales - Used when total to pay is greater than or equal to 0 and cart includes an item which is marked as "not delivered".
Number of days that a newly created PIN will be valid for. NOTE! This setting is only valid when authentication with OIDC or Sitoo Login is used to access the POS.
Number of days before the POS will start giving a warning about when the PIN expires. A value of 0 will result in no warning. This value should be set to a value lower than pin_days_valid
. NOTE! This setting is only valid when authentication with OIDC or Sitoo Login is used to access the POS.
Number of hours that the PIN is allowed to be used when the POS is offline. Set to 0 for no limit. NOTE! This setting is only valid when authentication with OIDC or Sitoo Login is used to access the POS.
CRM configuration for the POS.
Array of CRM channels to be used by the POS.
Self checkout configuration.
An array with the web apps to be used in the POS.
Configuration for the Tax Free Export feature.
Configuration for the Duty Free feature.
Configuration for POS UI.
TaxFreeCustomerFieldSettingstring
Setting for Tax Free Customer field to be collected.
editable
Field available, but not requirededitable_required
Required field
TaxFreeDutyFreeobject
Configuration for the Duty Free feature.
An array of country IDs for which the feature should be allowed (ISO 3166-1, alpha-2 uppercased).
An array of country IDs for which the feature should NOT be allowed (ISO 3166-1, alpha-2 uppercased).
An object defining which customer fields should be collected for the Duty Free feature.
The name of the customer.
The email for the customer.
The phone number for the customer.
The delivery address for the customer.
The country for the customer.
The flight number for the customer.
Array of collected customer information that should also be printed on the receipt.
name
Full nameemail
Email addressphone
Phone numberdelivery_address
Delivery addresscountry
Countryflight_number
Flight Number
VALUES |
---|
name |
phone |
delivery_address |
country |
flight_number |
TaxFreeExportobject
Configuration for the Tax Free Export feature.
Warehouse ID of the warehouse that should be set for the order created by the feature. A value of null
will use the register warehouse ID for the order.
An array of country IDs for which the feature should be allowed (ISO 3166-1, alpha-2 uppercased).
An array of country IDs for which the feature should NOT be allowed (ISO 3166-1, alpha-2 uppercased).
Timestampinteger
Number of seconds since the Unix Epoch.
WebAppobject
An object defining a web app to be used within the POS. Note that when changing the URL for a web app, any secret previously stored for it will be removed. If a secret is required for the web app, it needs to be provided in the request when changing URL.
URL for the web app. Needs to be unique within the array of web apps.
Secret used for handling authentication/authorization in the web app.
Object describing how the web app should appear in the menu of the POS.
The title of the menu button. Slash ('/') character can be used to create sub menus for the app.