iVendNextDevelopers Request a sandbox

Retail Setting

The till's settings for the whole site: one record.

Area: The retailer's setup · Why it is here: card staff-discount-monthly-allowance; guide chapter 04; recipe configure_no_code · Fields: 73 · One record (a settings record): read it at its own name.

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/Retail%20Setting?fields=%5B%22*%22%5D&limit_page_length=20" \
  -H "Authorization: token ⟨api key⟩:⟨api secret⟩"

Read one:

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

Create one, if your app's role may:

curl -s -X POST "https://⟨site⟩/api/resource/Retail%20Setting" -H "Authorization: token ⟨api key⟩:⟨api secret⟩" \
  -H "Content-Type: application/json" -d '{"⟨field⟩": …}'

Change one with PUT /api/resource/Retail%20Setting/⟨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

s5_config_pack · s8_estate_rollout

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
Tax Inclusive Pricing tax_inclusive_pricing Check
Complete Tendering On Zero Balance complete_tendering_on_zero_balance Check
Confirmation Required For Transaction Completion confirmation_required_for_transaction_completion Check
Bypass Credit Limit Check at Sales bypass_credit_limit_check_at_sales Check yes
Collect Entire Sale Order in Advance collect_entire_sale_order_in_advance Check yes
Allow Zero Price Sale allow_zero_price_sale Check yes
Allow Selling an Expired Batch allow_selling_expired_batch Check
Use Inter Store transactions use_inter_store_transactions Check
New Row For Scan new_row_for_scan Check
Multiple Transaction Mode multiple_transaction_mode Check
Save Voided Transaction save_voided_transaction Check
Allow Multiple Tender allow_multiple_tender Check yes
Balancing Account balancing_account Link yes Account
Quotation Validity in Days quotation_validity_in_days Int
Allow Conversion of Expired Quotation allow_conversion_of_expired_quotation Check
Refund for promotional Items refund_for_promotional_items Check
Apply Promotions Bonus Buys on Quotations apply_promotions_bonus_buys_on_quotations Check
Create Quotation for POS Quotation create_quotation Check
Reserve Stock for Orders reserve_stock_for_orders Check
Keep Classic POS Interface keep_classic_pos_interface Check
Enable Suspend / Recall Transactions enable_suspend_recall_transaction Check
Allow Recalling Multiple Suspended Transactions allow_recalling_multiple_suspended_transactions Check
Delete Suspended Transaction at Day End delete_suspended_transaction_at_day_end Check
Refuse End of Day While Sales Are Held (added by iVendNext) custom_mpos_close_refuses_held_sales Check
Print Suspended Transaction print_suspended_transaction Check
Open Product Search if Barcode is not recognised open_product_search Check
Prevent further scan if Barcode is not recognised prevent_further_scan Check
Allow Product Scanning allow_product_scanning Check
Allow Customer Scanning allow_customer_scanning Check
Allow Transaction Scanning allow_transaction_scanning Check
Allow Barcode Scanning of Loyalty Card allow_barcode_scanning_of_loyalty_card Check yes
Auto Add Cashier as Sales Person auto_add_cashier_as_sales_person Check
Allow Multiple Sales Person on Transaction allow_multiple_sale_person_on_transaction_item Check
Mandatory Sales Person per Transaction mandatory_sales_person_per_transaction Check
Warn if Transaction has no Sales Person warn_if_no_sales_person_on_transaction Check
Allow Sales Person Scanning allow_sales_person_scanning Check
Multi-Person Allocation Mode multi_person_allocation_mode Select yes yes one of: Total, Each
Exclude Returns from Commission exclude_returns_from_commission Check
Use Original Sales Person on Returns use_original_sales_person_on_returns Select one of: Original, Active Cashier
Cash In reason_cash_in Check
Cash Out reason_cash_out Check
Void Sale reason_void_sale Check
Item Return reason_item_return Check
Sale Return reason_sale_return Check
Sale Discount reason_sale_discount Check
Item Discount reason_item_discount Check
Price Override reason_price_override Check
Reason Suspend Transaction reason_suspend_transaction Check
Cumulative Discount Threshold (%) (added by iVendNext) custom_mpos_aggregate_discount_threshold Percent
Approval Valid For (Minutes) (added by iVendNext) custom_mpos_approval_ttl_minutes Int
Employee Discount (%) (added by iVendNext) custom_mpos_employee_discount_pct Percent
Employee Monthly Allowance (added by iVendNext) custom_mpos_employee_discount_monthly_allowance Currency
Open Price Ceiling (No-List Items) (added by iVendNext) custom_mpos_open_price_max_amount Currency
Split Tender Max Legs (added by iVendNext) custom_mpos_split_max_legs Int
Exchange Replacement Price (added by iVendNext) custom_mpos_exchange_replacement_price Select one of: Price paid, Today's price
Cancellation Fee (%) (added by iVendNext) custom_mpos_layaway_cancel_fee_pct Percent
Forfeit After (Days Past Final Due) (added by iVendNext) custom_mpos_layaway_forfeit_after_days Int
Forfeiture Income Account (added by iVendNext) custom_mpos_layaway_forfeiture_income_account Link Account
Instalment Interval (Days) (added by iVendNext) custom_mpos_layaway_instalment_interval_days Int
Deposit Quick Chips (%) (added by iVendNext) custom_mpos_layaway_deposit_chips Data
Instalment Count (added by iVendNext) custom_mpos_layaway_instalment_count Int
Layaway Enabled (added by iVendNext) custom_mpos_layaway_enabled Check
Minimum Deposit (%) (added by iVendNext) custom_mpos_layaway_min_deposit_pct Percent
Catalog Staleness Horizon (Hours) (added by iVendNext) custom_mpos_offline_catalog_horizon_hours Int
Offline Customer Book Scope (added by iVendNext) custom_mpos_offline_customer_book_scope Select one of: This Store, Full Book
Take Coupons Offline (added by iVendNext) custom_mpos_offline_coupons Check
Take Coupons Offline Turned Off At (added by iVendNext) custom_mpos_offline_coupons_off_at Datetime yes yes
Boot Snapshot Validity (Hours) (added by iVendNext) custom_mpos_offline_snapshot_validity_hours Int
Require Encrypted Customer Book At Rest (added by iVendNext) custom_mpos_offline_customer_book_encrypted Check
Drain Clock-Skew Ceiling (Minutes) (added by iVendNext) custom_mpos_offline_skew_minutes Int
POS: Sell Only When Connected (Item Field) (added by iVendNext) custom_mpos_online_only_field Data
Promise Vouchers Offline (added by iVendNext) custom_mpos_offline_promise_vouchers Check
Offline Selling Enabled (added by iVendNext) custom_mpos_offline_selling_enabled Check

All record types · What you can use

This record type in the kit