POS Profiles
Add POS Profile
post /sites/{site_id}/posprofiles.jsonAdd a profile to be used by POS devices. Used for configuring specific settings for a group of POS devices or stores.
Site ID. (Use eshopid
of the site for this parameter).
A POS profile.
{ "name": "Concept Store Profile"}
2
HTTP Status Code Summary | |
---|---|
200 | Successful. Returns ID of the added POS profile. |
400 | Invalid request. Data sent from client is invalid. |
401 | Missing or bad authentication. |
404 | The specified resource was not found. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Get POS Profiles
get /sites/{site_id}/posprofiles.jsonReturns all POS profiles. Use the fields
parameter to query only the fields you are interested in.
The index of the item to start from. Used for pagination.
Number of items to return.
Search filter matching string fields for a POS Profile.
Sort the result.
- id
- -id
- name
- -name
- autologouttimer
- -autologouttimer
- logotype
- -logotype
- num_registers
- -num_registers
Comma separated list of fields to return. Use this to query only the fields you are using. See PosProfile object for all fields.
Site ID. (Use eshopid
of the site for this parameter).
{ "totalcount": 15, "items": [ { "id": 1, "name": "POS Profile #1", "logotype": "my-brand-logo.png", "receipt_pre": "www.example.com", "receipt_post": "Please come again!", "receipt_addbarcodeid": true, "receipt_showsku": true, "receipt_item_rendering": null, "receipt_salestax_rendering": null, "autologouttimer": 0, "auto_logout_after_commit": false, "productdisplaymode": 10, "stockstatusdisplaymode": 10, "printreceipt": 10, "printgiftreceipt": null, "rebuy_reasoncode": null, "dashboardid": null, "override_paymenttypes": [], "custom_metrics": null, "salesassociate_mode": 10, "shipments_show_costprice": false, "extra_sign_return_receipt": [], "pos_inventory_features": null, "pos_theme_id": null, "pos_theme_data": null, "tax_free_options": null } ]}
HTTP Status Code Summary | |
---|---|
200 | Successful. Returns an envelope for PosProfile objects. |
400 | Invalid request. Data sent from client is invalid. |
401 | Missing or bad authentication. |
404 | The specified resource was not found. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Get POS Profile
get /sites/{site_id}/posprofiles/{pos_profile_id}.jsonReturns the POS profile for the provided ID.
Site ID. (Use eshopid
of the site for this parameter).
POS Profile ID.
{ "id": 1, "name": "POS Profile #1", "logotype": "my-brand-logo.png", "receipt_pre": "www.example.com", "receipt_post": "Please come again!", "receipt_addbarcodeid": true, "receipt_showsku": true, "receipt_item_rendering": null, "receipt_salestax_rendering": null, "autologouttimer": 0, "auto_logout_after_commit": false, "productdisplaymode": 10, "stockstatusdisplaymode": 10, "printreceipt": 10, "printgiftreceipt": null, "rebuy_reasoncode": null, "dashboardid": null, "override_paymenttypes": [], "custom_metrics": null, "salesassociate_mode": 10, "shipments_show_costprice": false, "extra_sign_return_receipt": [], "pos_inventory_features": null, "pos_theme_id": null, "pos_theme_data": null, "tax_free_options": null}
HTTP Status Code Summary | |
---|---|
200 | Successful. Returns the POS profile for the provided ID. |
400 | Invalid request. Data sent from client is invalid. |
401 | Missing or bad authentication. |
404 | The specified resource was not found. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Update POS Profile
put /sites/{site_id}/posprofiles/{pos_profile_id}.jsonUpdates the POS profile for the provided ID. 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).
POS Profile ID.
A POS profile.
{ "name": "Concept Store Profile"}
true
HTTP Status Code Summary | |
---|---|
200 | Successful. Returns true. |
400 | Invalid request. Data sent from client is invalid. |
401 | Missing or bad authentication. |
404 | The specified resource was not found. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Delete POS Profile
delete /sites/{site_id}/posprofiles/{pos_profile_id}.jsonDeletes the POS profile for the provided ID.
Site ID. (Use eshopid
of the site for this parameter).
POS Profile ID.
true
HTTP Status Code Summary | |
---|---|
200 | Successful. Returns true. |
400 | Invalid request. Data sent from client is invalid. |
401 | Missing or bad authentication. |
404 | The specified resource was not found. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Objects
PosProfileobject
Profile (collection of settings) to be used by POS devices.
ID for the POS profile in Sitoo. NOTE! A POS profile is connected to a POS via the storesettingid
property on the POS (Cash Register) object.
Display name for the POS profile in Sitoo. The name cannot be empty and must be unique among POS profiles for a site.
Sitoo resource ID for the logotype image to be used for printed receipts.
Content printed in the header of a receipt. Use newline characters to separate lines.
Content printed in the footer of a receipt. Use newline characters to separate lines.
A boolean value indicating if a barcode containing the receipt ID should be printed on the receipt. Using a scanner, the barcode can then be used to initiate a return in the POS.
A boolean value indicating if the SKU should be rendered for each product in the cart and printed on receipts. For rendering custom properties for products, please refer to the following properties for the Settings object:
customattributes_list
customattributes_info
customattributes_details
customattributes_receipt
Nullable enum which controls how items and discounts will be rendered on the receipt
null
Default - One line rendered for each discount10
Compressed - SKU and variant on same line. All discounts applied on the item will be aggregated, showing the total discount
VALUES |
---|
10 |
Nullable enum which controls how sales tax will be rendered on the receipt. Only applies to accounts using the Sitoo Sales Tax engine instead of VAT
null
Default - All applied sales taxes are aggregated and shown as a total value10
Detailed - One line per applied sales tax
VALUES |
---|
10 |
The number of seconds of inactivity before a POS user will be automatically logged off. A value of 0 will turn the feature off. Allowed range is 0-1800 seconds.
If true, the POS user will be logged off after each completed sale or return.
Enum value which controls how the product search widget will be displayed in the POS (This setting does not affect the product search page available when using a custom theme for UI).
10
Tiles - Products are displayed as tiles with page views to navigate20
List - Products are displayed as a list
VALUES |
---|
10 |
20 |
Enum value which controls how product stock availability will be displayed for products in the POS.
10
Do not show stock status20
Show stock status
VALUES |
---|
10 |
20 |
Enum value which controls the option to print purchase/return receipts when completing a transaction. NOTE! Some legal requirements may require that receipts are printed and will therefore override this setting.
10
Print Automatically20
Print Option - Preselected30
Print Option - Deselected
VALUES |
---|
10 |
20 |
30 |
Enum value which controls the option to print gift receipts when completing a transaction.
10
Print Automatically20
Print Option - Preselected30
Print Option - Deselected50
Print Option - Specific Products
VALUES |
---|
10 |
20 |
30 |
50 |
Set this property with the reasoncode
property of the reason code to be used for triggering the rebuy feature when performing a validated return.
Defines a return policy for return of items in the POS.
Set this property with the ID for the dashboard that should be used in the POS.
Array of POS payment type IDs to be used in the POS. If array is empty, all payment types will be available.
Enter key
as property and display name for the custom metrics that it should be possible to enter values for from the POS UI. NOTE! The custom metrics must be pre-configured and exist.
Enum value which controls Sales Associate feature in the POS.
10
Feature not active20
Assign sales associate to entire cart21
Assign sales associate to entire cart (required to complete purchase)30
Assign sales associate to specific items31
Assign sales associate to specific items (required to complete purchase)
VALUES |
---|
10 |
20 |
21 |
30 |
31 |
If true, cost prices will be shown for shipments in the POS. NOTE! Only applies when using Shipments v3.
Array of titles for extra signature lines to be printed on return receipts in POS. Duplicate values are not allowed.
NOTE! If this property is set, it will override the pos_inventory_features
property in
the Settings object.
An array of inventory features that should be available in the POS. An empty array means no features are
available. A null
value indicates that the general settings object property should be used.
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 |
Override of the POS default theme, to be used for the POS UI, set in the Settings object. A null
value indicates that the general settings object property should be used.
Variables used by the POS theme if the pos_theme_id
has been configured. The variables are defined by the theme instance and the values can be of type string, integer, number, or boolean.
An array of tax free features that should be available in the POS. If set to null
, all features will be
available, and empty array means no tax free features will be available.
tax-free-export
Tax Free Exportduty-free
Duty Freetax-refund
Tax Refund
VALUES |
---|
tax-free-export |
duty-free |
tax-refund |
Read only field which contains the current number of cash registers that are using this POS Profile.
ReturnPolicyobject
Defines a return policy for return of items in the POS.
The default number of days that items can be returned after a purchase. A value of 0 means that returns are not allowed.
Used to override the default_days
with a specific date, for example having a more generous last return date during Christmas sale. This is only applied for purchases done between start_date
and end_date
.
The start date for a period when the last_date
policy should be applied. Required if last_date
is set.
The end date (inclusive) for a period when the last_date
policy should be applied. Required if last_date
is set.