iVendNextDevelopers Request a sandbox

POS Profile

A register's settings: its store, price list, payment methods, the keys on its screen and what its cashiers may do.

Area: Till sales · Why it is here: openapi.yaml; contract receipt; guide chapter 04; recipe approvals_stores; recipe configure_no_code; recipe connected_app; recipe customers_by_store; recipe lucky_draw; recipe post_sale_feedback; recipe receipt_format; recipe required_sale_details; sample S49; the MCP server; the request collection; retail core · Fields: 92

Read and write it

Every call runs as your app's own user, with its key in one header, at the retailer's own address. The user reads and writes only what its role allows: your app's user, and the rights the retailer gives it.

Read a list (only name unless you ask for fields):

curl -s "https://⟨site⟩/api/resource/POS%20Profile?fields=%5B%22*%22%5D&limit_page_length=20" \
  -H "Authorization: token ⟨api key⟩:⟨api secret⟩"

Read one, with its tables:

curl -s "https://⟨site⟩/api/resource/POS%20Profile/⟨name⟩" -H "Authorization: token ⟨api key⟩:⟨api secret⟩"

Create one (the required fields first), if your app's role may:

curl -s -X POST "https://⟨site⟩/api/resource/POS%20Profile" -H "Authorization: token ⟨api key⟩:⟨api secret⟩" \
  -H "Content-Type: application/json" -d '{"company": …, "interface_profile": …, "warehouse": …, "payments": …, "write_off_account": …, "write_off_cost_center": …}'

Change one with PUT /api/resource/POS%20Profile/⟨name⟩ and the fields you change; a table sent there replaces its rows, so send its existing rows too. All the record calls and their answers: the API reference.

Samples that use it

s2_bins · s3_price_audit · s4_receipt_pack · s8_estate_rollout · s14_approvals_stores · s24_price_checker · s39_pharmacy_counter · s44_lucky_draw · s45_restaurant_back_office · s47_customers_by_store · s48_customer_code_check · s49_post_sale_feedback · s50_required_sale_details

Fields

Read from the product at POS 2.1.0.667 (till app 60147699c): its own fields, the fields iVendNext adds to it, and iVendNext's changes to any of them. Read-only fields are set by iVendNext; a hidden one is not on the form but can be read. Every record also has name (its id, in the address), owner, creation, modified, modified_by and docstatus (0 a draft, 1 submitted, 2 cancelled), all read-only.

Field Field name Type Required Read-only Hidden Links to
Company company Link yes Company
Customer customer Link Customer
Interface Profile (added by iVendNext) interface_profile Link yes Interface Profile
POS Dashboard (added by iVendNext) custom_dashboard Link Dashboard
Theme (added by iVendNext) custom_theme Select
Idle Screen Profile (added by iVendNext) custom_idle_screen_profile Link Interface Profile
Transaction Screen Profile (added by iVendNext) custom_transaction_screen_profile Link Interface Profile
QR Code Screen Profile (added by iVendNext) custom_qr_code_screen_profile Link Interface Profile
Feedback Screen Profile (added by iVendNext) custom_feedback_screen_profile Link Interface Profile
Feedback Screen Timeout (added by iVendNext) feedback_screen_timeout Int
QR Code Screen Timeout (added by iVendNext) custom_qr_code_screen_timeout Int
Default Sales Person (added by iVendNext) custom_default_sales_person Link Sales Person
Sales Person Mode (added by iVendNext) custom_sales_person_mode Select one of: Manual, Automatic
Country country Read Only yes
Disabled disabled Check
Warehouse warehouse Link yes Warehouse
Campaign campaign Link Campaign
Company Address company_address Link Address
Applicable for Team (added by iVendNext) custom_applicable_for_team Table POS Profile Team
Applicable for Users applicable_for_users Table POS Profile User
Payment Template (added by iVendNext) custom_payment_template Link Payment Template
Payment Methods payments Table yes POS Payment Method
POS Simulated Card (demo only) (added by iVendNext) custom_mpos_simulated_card Check
Hide Images hide_images Check
Hide Unavailable Items hide_unavailable_items Check
Automatically Add Filtered Item To Cart auto_add_item_to_cart Check
Validate Stock on Save validate_stock_on_save Check
Print Receipt on Order Complete print_receipt_on_order_complete Check
Update Stock update_stock Check yes yes
Ignore Pricing Rule ignore_pricing_rule Check
Allow User to Edit Rate allow_rate_change Check
Allow User to Edit Discount allow_discount_change Check
Item Groups item_groups Table POS Item Group
Customer Groups customer_groups Table POS Customer Group
Print Format print_format Link Print Format
Gift Receipt Format (added by iVendNext) custom_gift_receipt_format Link Print Format
Suspended Receipt Format (added by iVendNext) custom_suspended_receipt_format Link Print Format
Suppress All Prints (added by iVendNext) custom_suppress_all_prints Check yes
Receipt Header (added by iVendNext) custom_mpos_receipt_header Small Text
Letter Head letter_head Link Letter Head
Terms and Conditions tc_name Link Terms and Conditions
Print Heading select_print_heading Link Print Heading
Shift Count Print (added by iVendNext) custom_shift_count_print Link Print Format
Shift Summary Print (added by iVendNext) custom_shift_summary_print Link Print Format
X Report Format (added by iVendNext) custom_x_report_format Link Print Format
WhatsApp (added by iVendNext) custom_whatsapp_check Check
Email (added by iVendNext) custom_email_check Check
Email Notification (added by iVendNext) custom_email_notification Link Notification
Price List selling_price_list Link yes Price List
Currency currency Link yes yes Currency
Write Off Account write_off_account Link yes Account
Write Off Cost Center write_off_cost_center Link yes Cost Center
Write Off Limit write_off_limit Currency yes yes
Account for Change Amount account_for_change_amount Link Account
Disable Rounded Total disable_rounded_total Check
Income Account income_account Link Account
Expense Account expense_account Link Account
Taxes and Charges taxes_and_charges Link Sales Taxes and Charges Template
Tax Category tax_category Link Tax Category
Apply Discount On apply_discount_on Select one of: Grand Total, Net Total
Cost Center cost_center Link Cost Center
Cards Settle on the Bank's Card Machine (added by iVendNext) custom_card_manual_settle Check
POS Offline Selling (added by iVendNext) custom_mpos_offline_selling Select one of: Default, Enabled, Disabled
POS Card Terminal Adapter (added by iVendNext) custom_card_terminal_adapter Data
POS Card Terminal ID (added by iVendNext) custom_card_terminal_id Data
Cumulative Discount Threshold (%) (added by iVendNext) custom_mpos_aggregate_discount_threshold Percent
Call Numbers (added by iVendNext) custom_mpos_call_numbers Check
Item Options (added by iVendNext) custom_mpos_item_options Check
Service Modes (added by iVendNext) custom_mpos_service_modes Table Retail Service Mode
Refuse the Last Close While Checks Are Open (added by iVendNext) custom_mpos_close_refuses_open_checks Check
Scan every line before Hold (added by iVendNext) custom_mpos_scan_before_hold Check
Text a code to the customer (added by iVendNext) custom_mpos_customer_code Check
Kitchen Printers (added by iVendNext) custom_mpos_kitchen_printers Table Retail Kitchen Printer
Table Service (added by iVendNext) custom_mpos_table_service Check
Default Kitchen Station (added by iVendNext) custom_mpos_kitchen_station Link Retail Kitchen Station
POS Layaway (added by iVendNext) custom_mpos_layaway_selling Select one of: Default, Enabled, Disabled
Network Printer (added by iVendNext) custom_network_printer Link Network Printer Settings
A lot under the minimum (added by iVendNext) custom_mpos_lot_days_action Select one of: Warn, Refuse
Store for returned goods (added by iVendNext) custom_mpos_return_warehouse Link Warehouse
Minimum days left on a lot (added by iVendNext) custom_mpos_lot_min_days Int
Lot choice at the till (added by iVendNext) custom_mpos_lot_policy Select one of: Suggest, Enforce first expiry
Tenders Refused Beside a Payer (added by iVendNext) custom_mpos_payer_refused_tenders Small Text
Print lot expiry on the receipt (added by iVendNext) custom_mpos_receipt_lot_expiry Check
Receipt Footer (added by iVendNext) custom_mpos_receipt_footer Small Text
Theme (Till, Tablet and Phone) (added by iVendNext) custom_mpos_theme Link Retail POS Theme
Stores this till may see (added by iVendNext) custom_mpos_visible_stores Table Retail POS Profile Store
Success Auto Close (added by iVendNext) custom_success_auto_close Check
Error Auto Close (added by iVendNext) custom_error_auto_close Check
Info Auto Close (added by iVendNext) custom_info_auto_close Check
Success Auto Close Delay (added by iVendNext) custom_success_auto_close_delay Float
Error Auto Close Delay (added by iVendNext) custom_error_auto_close_delay Float
Info Auto Close Delay (added by iVendNext) custom_info_auto_close_delay Float

Table: POS Customer Group

The rows of customer_groups. Each row also has idx (its place), parent, parentfield and parenttype.

Field Field name Type Required Read-only Hidden Links to
Customer Group customer_group Link yes Customer Group

Table: POS Item Group

The rows of item_groups. Each row also has idx (its place), parent, parentfield and parenttype.

Field Field name Type Required Read-only Hidden Links to
Item Group item_group Link yes Item Group

Table: POS Payment Method

The rows of payments. Each row also has idx (its place), parent, parentfield and parenttype.

Field Field name Type Required Read-only Hidden Links to
Default default Check
Allow In Returns allow_in_returns Check
Mode of Payment mode_of_payment Link yes Mode of Payment
Type (added by iVendNext) custom_type Data yes

Table: POS Profile Team

The rows of custom_applicable_for_team. Each row also has idx (its place), parent, parentfield and parenttype.

Field Field name Type Required Read-only Hidden Links to
Team team Link Team

Table: POS Profile User

The rows of applicable_for_users. Each row also has idx (its place), parent, parentfield and parenttype.

Field Field name Type Required Read-only Hidden Links to
Default default Check
User user Link User

Table: Retail Kitchen Printer

The rows of custom_mpos_kitchen_printers. Each row also has idx (its place), parent, parentfield and parenttype.

Field Field name Type Required Read-only Hidden Links to
Station station Link yes Retail Kitchen Station
Network Printer network_printer Link Network Printer Settings
Till Printer counter_printer Data

Table: Retail POS Profile Store

The rows of custom_mpos_visible_stores. Each row also has idx (its place), parent, parentfield and parenttype.

Field Field name Type Required Read-only Hidden Links to
Store warehouse Link yes Warehouse

Table: Retail Service Mode

The rows of custom_mpos_service_modes. Each row also has idx (its place), parent, parentfield and parenttype.

Field Field name Type Required Read-only Hidden Links to
Service Mode service_mode Data yes
Tax Category tax_category Link Tax Category
Service Charge service_charge Link Surcharge
Default is_default Check

All record types · What you can use

This record type in the kit