[{"data":1,"prerenderedAt":1457},["ShallowReactive",2],{"navigation_docs_en":3,"-en-developers-typescript-sdk-error-handling":747,"-en-developers-typescript-sdk-error-handling-surround":1452},[4,634,674],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":40},"Guides","i-prime-book","\u002Fen\u002Fguides","en\u002F01.guides",[10,41,150,194,209,243,286,309,328,367,426,450],{"title":11,"icon":12,"path":13,"stem":14,"children":15,"page":40},"Get started","i-prime-flag","\u002Fen\u002Fguides\u002Fget-started","en\u002F01.guides\u002F01.get-started",[16,21,25,30,35],{"title":17,"path":18,"stem":19,"icon":20},"What Requiply is","\u002Fen\u002Fguides\u002Fget-started\u002Fwhat-is-requiply","en\u002F01.guides\u002F01.get-started\u002F01.what-is-requiply","i-prime-info-circle",{"title":22,"path":23,"stem":24,"icon":6},"Core concepts","\u002Fen\u002Fguides\u002Fget-started\u002Fcore-concepts","en\u002F01.guides\u002F01.get-started\u002F02.core-concepts",{"title":26,"path":27,"stem":28,"icon":29},"First setup checklist","\u002Fen\u002Fguides\u002Fget-started\u002Ffirst-setup-checklist","en\u002F01.guides\u002F01.get-started\u002F03.first-setup-checklist","i-rq-list-check",{"title":31,"path":32,"stem":33,"icon":34},"Your first booking","\u002Fen\u002Fguides\u002Fget-started\u002Ffirst-booking","en\u002F01.guides\u002F01.get-started\u002F04.first-booking","i-prime-directions",{"title":36,"path":37,"stem":38,"icon":39},"Signing in and resetting your password","\u002Fen\u002Fguides\u002Fget-started\u002Fsign-in-and-password","en\u002F01.guides\u002F01.get-started\u002F05.sign-in-and-password","i-prime-sign-in",false,{"title":42,"icon":43,"path":44,"stem":45,"children":46},"Booking","i-rq-calendar","\u002Fen\u002Fguides\u002Fbookings","en\u002F01.guides\u002F02.bookings\u002Findex",[47,49,54,58,80,104,124,140,145],{"title":48,"path":44,"stem":45,"icon":43},"Overview",{"title":50,"path":51,"stem":52,"icon":53},"Manage bookings","\u002Fen\u002Fguides\u002Fbookings\u002Fmanage","en\u002F01.guides\u002F02.bookings\u002F01.manage","i-rq-table",{"title":55,"path":56,"stem":57,"icon":43},"Calendar","\u002Fen\u002Fguides\u002Fbookings\u002Fcalendar","en\u002F01.guides\u002F02.bookings\u002F02.calendar",{"title":59,"icon":60,"path":61,"stem":62,"children":63},"Add booking","i-rq-calendar-plus","\u002Fen\u002Fguides\u002Fbookings\u002Fadd-booking","en\u002F01.guides\u002F02.bookings\u002F03.add-booking\u002Findex",[64,65,70,75],{"title":48,"path":61,"stem":62,"icon":60},{"title":66,"path":67,"stem":68,"icon":69},"Booking dates","\u002Fen\u002Fguides\u002Fbookings\u002Fadd-booking\u002Fbooking-dates","en\u002F01.guides\u002F02.bookings\u002F03.add-booking\u002F01.booking-dates","i-rq-set-calendar-clock",{"title":71,"path":72,"stem":73,"icon":74},"Scanning and pinning","\u002Fen\u002Fguides\u002Fbookings\u002Fadd-booking\u002Fscanning-and-pinning","en\u002F01.guides\u002F02.bookings\u002F03.add-booking\u002F02.scanning-and-pinning","i-prime-qrcode",{"title":76,"path":77,"stem":78,"icon":79},"Client and details","\u002Fen\u002Fguides\u002Fbookings\u002Fadd-booking\u002Fclient-and-details","en\u002F01.guides\u002F02.bookings\u002F03.add-booking\u002F03.client-and-details","i-rq-users",{"title":81,"icon":69,"path":82,"stem":83,"children":84,"page":40},"Changing a booking","\u002Fen\u002Fguides\u002Fbookings\u002Fchanging","en\u002F01.guides\u002F02.bookings\u002F04.changing",[85,89,94,99],{"title":86,"path":87,"stem":88,"icon":69},"Edit booking dates","\u002Fen\u002Fguides\u002Fbookings\u002Fchanging\u002Fdates","en\u002F01.guides\u002F02.bookings\u002F04.changing\u002F01.dates",{"title":90,"path":91,"stem":92,"icon":93},"Edit booking items","\u002Fen\u002Fguides\u002Fbookings\u002Fchanging\u002Fitems","en\u002F01.guides\u002F02.bookings\u002F04.changing\u002F02.items","i-rq-box",{"title":95,"path":96,"stem":97,"icon":98},"Edit booking services","\u002Fen\u002Fguides\u002Fbookings\u002Fchanging\u002Fservices","en\u002F01.guides\u002F02.bookings\u002F04.changing\u002F03.services","i-rq-briefcase",{"title":100,"path":101,"stem":102,"icon":103},"Booking cost adjustment","\u002Fen\u002Fguides\u002Fbookings\u002Fchanging\u002Fcost-adjustment","en\u002F01.guides\u002F02.bookings\u002F04.changing\u002F04.cost-adjustment","i-rq-set-percent",{"title":105,"icon":106,"path":107,"stem":108,"children":109,"page":40},"Payments and documents","i-rq-set-receipt","\u002Fen\u002Fguides\u002Fbookings\u002Fpayments-and-documents","en\u002F01.guides\u002F02.bookings\u002F05.payments-and-documents",[110,115,119],{"title":111,"path":112,"stem":113,"icon":114},"Money on a booking","\u002Fen\u002Fguides\u002Fbookings\u002Fpayments-and-documents\u002Fmoney-on-a-booking","en\u002F01.guides\u002F02.bookings\u002F05.payments-and-documents\u002F01.money-on-a-booking","i-prime-wallet",{"title":116,"path":117,"stem":118,"icon":106},"Invoice groups","\u002Fen\u002Fguides\u002Fbookings\u002Fpayments-and-documents\u002Finvoice-groups","en\u002F01.guides\u002F02.bookings\u002F05.payments-and-documents\u002F02.invoice-groups",{"title":120,"path":121,"stem":122,"icon":123},"Booking documents","\u002Fen\u002Fguides\u002Fbookings\u002Fpayments-and-documents\u002Fdocuments","en\u002F01.guides\u002F02.bookings\u002F05.payments-and-documents\u002F03.documents","i-rq-set-file-pdf",{"title":125,"icon":126,"path":127,"stem":128,"children":129},"Pickup and return checklists","i-rq-check-all","\u002Fen\u002Fguides\u002Fbookings\u002Fchecklists","en\u002F01.guides\u002F02.bookings\u002F06.checklists\u002Findex",[130,131,135],{"title":48,"path":127,"stem":128,"icon":126},{"title":132,"path":133,"stem":134,"icon":29},"Assigning and replacing at pickup","\u002Fen\u002Fguides\u002Fbookings\u002Fchecklists\u002Fpickup","en\u002F01.guides\u002F02.bookings\u002F06.checklists\u002F01.pickup",{"title":136,"path":137,"stem":138,"icon":139},"Returns","\u002Fen\u002Fguides\u002Fbookings\u002Fchecklists\u002Freturns","en\u002F01.guides\u002F02.bookings\u002F06.checklists\u002F02.returns","i-prime-undo",{"title":141,"path":142,"stem":143,"icon":144},"Subrentals","\u002Fen\u002Fguides\u002Fbookings\u002Fsubrentals","en\u002F01.guides\u002F02.bookings\u002F07.subrentals","i-rq-set-swap",{"title":146,"path":147,"stem":148,"icon":149},"Sell items on a booking","\u002Fen\u002Fguides\u002Fbookings\u002Fsell-items","en\u002F01.guides\u002F02.bookings\u002F08.sell-items","i-rq-cart-plus",{"title":151,"icon":93,"path":152,"stem":153,"children":154},"Inventory","\u002Fen\u002Fguides\u002Finventory","en\u002F01.guides\u002F03.inventory\u002Findex",[155,156,160,165,170,181,185,189],{"title":48,"path":152,"stem":153,"icon":93},{"title":157,"path":158,"stem":159,"icon":93},"Manage inventory","\u002Fen\u002Fguides\u002Finventory\u002Fmanage","en\u002F01.guides\u002F03.inventory\u002F01.manage",{"title":161,"path":162,"stem":163,"icon":164},"Add item","\u002Fen\u002Fguides\u002Finventory\u002Fadd-item","en\u002F01.guides\u002F03.inventory\u002F02.add-item","i-rq-box-plus",{"title":166,"path":167,"stem":168,"icon":169},"Bundles","\u002Fen\u002Fguides\u002Finventory\u002Fbundles","en\u002F01.guides\u002F03.inventory\u002F03.bundles","i-rq-set-layers",{"title":171,"icon":172,"path":173,"stem":174,"children":175},"Categories","i-rq-set-shapes","\u002Fen\u002Fguides\u002Finventory\u002Fcategories","en\u002F01.guides\u002F03.inventory\u002F04.categories\u002Findex",[176,177],{"title":48,"path":173,"stem":174,"icon":172},{"title":178,"path":179,"stem":180,"icon":172},"Add or edit category","\u002Fen\u002Fguides\u002Finventory\u002Fcategories\u002Fadd-or-edit","en\u002F01.guides\u002F03.inventory\u002F04.categories\u002F01.add-or-edit",{"title":182,"path":183,"stem":184,"icon":74},"QR codes and barcodes","\u002Fen\u002Fguides\u002Finventory\u002Fqr-and-barcodes","en\u002F01.guides\u002F03.inventory\u002F05.qr-and-barcodes",{"title":186,"path":187,"stem":188,"icon":29},"Inventory tasks","\u002Fen\u002Fguides\u002Finventory\u002Ftasks","en\u002F01.guides\u002F03.inventory\u002F06.tasks",{"title":190,"path":191,"stem":192,"icon":193},"Import inventory","\u002Fen\u002Fguides\u002Finventory\u002Fimport","en\u002F01.guides\u002F03.inventory\u002F07.import","i-prime-download",{"title":195,"icon":98,"path":196,"stem":197,"children":198},"Services","\u002Fen\u002Fguides\u002Fservices","en\u002F01.guides\u002F04.services\u002Findex",[199,200,204],{"title":48,"path":196,"stem":197,"icon":98},{"title":201,"path":202,"stem":203,"icon":98},"Manage services","\u002Fen\u002Fguides\u002Fservices\u002Fmanage","en\u002F01.guides\u002F04.services\u002F01.manage",{"title":205,"path":206,"stem":207,"icon":208},"Add or edit service","\u002Fen\u002Fguides\u002Fservices\u002Fadd-or-edit","en\u002F01.guides\u002F04.services\u002F02.add-or-edit","i-rq-briefcase-plus",{"title":210,"icon":79,"path":211,"stem":212,"children":213},"Clients","\u002Fen\u002Fguides\u002Fclients","en\u002F01.guides\u002F05.clients\u002Findex",[214,215,219,224,229,234,239],{"title":48,"path":211,"stem":212,"icon":79},{"title":216,"path":217,"stem":218,"icon":79},"Manage clients","\u002Fen\u002Fguides\u002Fclients\u002Fmanage","en\u002F01.guides\u002F05.clients\u002F01.manage",{"title":220,"path":221,"stem":222,"icon":223},"Client details","\u002Fen\u002Fguides\u002Fclients\u002Fclient-details","en\u002F01.guides\u002F05.clients\u002F02.client-details","i-rq-set-contact",{"title":225,"path":226,"stem":227,"icon":228},"Add or edit client","\u002Fen\u002Fguides\u002Fclients\u002Fadd-or-edit","en\u002F01.guides\u002F05.clients\u002F03.add-or-edit","i-rq-users-plus",{"title":230,"path":231,"stem":232,"icon":233},"Debt settlement","\u002Fen\u002Fguides\u002Fclients\u002Fdebt-settlement","en\u002F01.guides\u002F05.clients\u002F04.debt-settlement","i-rq-set-wallet",{"title":235,"path":236,"stem":237,"icon":238},"Calls","\u002Fen\u002Fguides\u002Fclients\u002Fcalls","en\u002F01.guides\u002F05.clients\u002F05.calls","i-rq-phone",{"title":240,"path":241,"stem":242,"icon":193},"Import clients","\u002Fen\u002Fguides\u002Fclients\u002Fimport","en\u002F01.guides\u002F05.clients\u002F06.import",{"title":244,"icon":245,"path":246,"stem":247,"children":248,"page":40},"Conversations","i-rq-comments","\u002Fen\u002Fguides\u002Fconversations","en\u002F01.guides\u002F06.conversations",[249,253,258,276,281],{"title":250,"path":251,"stem":252,"icon":245},"Conversations inbox","\u002Fen\u002Fguides\u002Fconversations\u002Finbox","en\u002F01.guides\u002F06.conversations\u002F01.inbox",{"title":254,"path":255,"stem":256,"icon":257},"AI assistant and handoff","\u002Fen\u002Fguides\u002Fconversations\u002Fai-and-handoff","en\u002F01.guides\u002F06.conversations\u002F02.ai-and-handoff","i-rq-set-ai-chat",{"title":259,"icon":260,"path":261,"stem":262,"children":263},"Channels","i-prime-inbox","\u002Fen\u002Fguides\u002Fconversations\u002Fchannels","en\u002F01.guides\u002F06.conversations\u002F03.channels\u002Findex",[264,266,271],{"title":265,"path":261,"stem":262,"icon":260},"Omnichannel inbox",{"title":267,"path":268,"stem":269,"icon":270},"Instagram","\u002Fen\u002Fguides\u002Fconversations\u002Fchannels\u002Finstagram","en\u002F01.guides\u002F06.conversations\u002F03.channels\u002F01.instagram","i-prime-instagram",{"title":272,"path":273,"stem":274,"icon":275},"OLX","\u002Fen\u002Fguides\u002Fconversations\u002Fchannels\u002Folx","en\u002F01.guides\u002F06.conversations\u002F03.channels\u002F02.olx","i-prime-shopping-bag",{"title":277,"path":278,"stem":279,"icon":280},"Comments","\u002Fen\u002Fguides\u002Fconversations\u002Fcomments","en\u002F01.guides\u002F06.conversations\u002F04.comments","i-prime-comment",{"title":282,"path":283,"stem":284,"icon":285},"Notifications","\u002Fen\u002Fguides\u002Fconversations\u002Fnotifications","en\u002F01.guides\u002F06.conversations\u002F05.notifications","i-prime-bell",{"title":287,"icon":288,"path":289,"stem":290,"children":291},"Sales","i-rq-cart","\u002Fen\u002Fguides\u002Fsales","en\u002F01.guides\u002F07.sales\u002Findex",[292,293,297,301,305],{"title":48,"path":289,"stem":290,"icon":288},{"title":294,"path":295,"stem":296,"icon":288},"Sales list","\u002Fen\u002Fguides\u002Fsales\u002Flist","en\u002F01.guides\u002F07.sales\u002F01.list",{"title":298,"path":299,"stem":300,"icon":149},"New sale","\u002Fen\u002Fguides\u002Fsales\u002Fnew-sale","en\u002F01.guides\u002F07.sales\u002F02.new-sale",{"title":302,"path":303,"stem":304,"icon":106},"Sale page","\u002Fen\u002Fguides\u002Fsales\u002Fsale-page","en\u002F01.guides\u002F07.sales\u002F03.sale-page",{"title":306,"path":307,"stem":308,"icon":93},"Sale items and stock","\u002Fen\u002Fguides\u002Fsales\u002Fitems-and-stock","en\u002F01.guides\u002F07.sales\u002F04.items-and-stock",{"title":310,"icon":311,"path":312,"stem":313,"children":314,"page":40},"Reports","i-rq-chart-line","\u002Fen\u002Fguides\u002Freports","en\u002F01.guides\u002F08.reports",[315,320,324],{"title":316,"path":317,"stem":318,"icon":319},"Dashboard","\u002Fen\u002Fguides\u002Freports\u002Fdashboard","en\u002F01.guides\u002F08.reports\u002F01.dashboard","i-rq-home",{"title":321,"path":322,"stem":323,"icon":311},"Analytics","\u002Fen\u002Fguides\u002Freports\u002Fanalytics","en\u002F01.guides\u002F08.reports\u002F02.analytics",{"title":310,"path":325,"stem":326,"icon":327},"\u002Fen\u002Fguides\u002Freports\u002Freports","en\u002F01.guides\u002F08.reports\u002F03.reports","i-prime-chart-bar",{"title":329,"icon":330,"path":331,"stem":332,"children":333},"Online booking","i-rq-globe","\u002Fen\u002Fguides\u002Fonline-booking","en\u002F01.guides\u002F09.online-booking\u002Findex",[334,336,341,345,350,354,359,363],{"title":335,"path":331,"stem":332,"icon":330},"Client portal",{"title":337,"path":338,"stem":339,"icon":340},"Portal settings","\u002Fen\u002Fguides\u002Fonline-booking\u002Fportal-settings","en\u002F01.guides\u002F09.online-booking\u002F01.portal-settings","i-rq-set-globe",{"title":342,"path":343,"stem":344,"icon":60},"Booking flow","\u002Fen\u002Fguides\u002Fonline-booking\u002Fbooking-flow","en\u002F01.guides\u002F09.online-booking\u002F02.booking-flow",{"title":346,"path":347,"stem":348,"icon":349},"Customer accounts","\u002Fen\u002Fguides\u002Fonline-booking\u002Fcustomer-accounts","en\u002F01.guides\u002F09.online-booking\u002F03.customer-accounts","i-rq-set-users",{"title":351,"path":352,"stem":353,"icon":257},"Booking assistant","\u002Fen\u002Fguides\u002Fonline-booking\u002Fbooking-assistant","en\u002F01.guides\u002F09.online-booking\u002F04.booking-assistant",{"title":355,"path":356,"stem":357,"icon":358},"Website embed","\u002Fen\u002Fguides\u002Fonline-booking\u002Fwebsite-embed","en\u002F01.guides\u002F09.online-booking\u002F05.website-embed","i-prime-code",{"title":360,"path":361,"stem":362,"icon":257},"AI web widget","\u002Fen\u002Fguides\u002Fonline-booking\u002Fweb-widget","en\u002F01.guides\u002F09.online-booking\u002F06.web-widget",{"title":364,"path":365,"stem":366,"icon":340},"Domains","\u002Fen\u002Fguides\u002Fonline-booking\u002Fcustom-domains","en\u002F01.guides\u002F09.online-booking\u002F07.custom-domains",{"title":368,"icon":369,"path":370,"stem":371,"children":372,"page":40},"Automations and templates","i-rq-set-flow","\u002Fen\u002Fguides\u002Fautomations","en\u002F01.guides\u002F10.automations",[373,394,405,416],{"title":374,"icon":369,"path":375,"stem":376,"children":377},"Workflows","\u002Fen\u002Fguides\u002Fautomations\u002Fworkflows","en\u002F01.guides\u002F10.automations\u002F01.workflows\u002Findex",[378,379,384,389],{"title":48,"path":375,"stem":376,"icon":369},{"title":380,"path":381,"stem":382,"icon":383},"Triggers and filters","\u002Fen\u002Fguides\u002Fautomations\u002Fworkflows\u002Ftriggers-and-filters","en\u002F01.guides\u002F10.automations\u002F01.workflows\u002F01.triggers-and-filters","i-prime-filter",{"title":385,"path":386,"stem":387,"icon":388},"Actions","\u002Fen\u002Fguides\u002Fautomations\u002Fworkflows\u002Factions","en\u002F01.guides\u002F10.automations\u002F01.workflows\u002F02.actions","i-prime-send",{"title":390,"path":391,"stem":392,"icon":393},"Recipes","\u002Fen\u002Fguides\u002Fautomations\u002Fworkflows\u002Frecipes","en\u002F01.guides\u002F10.automations\u002F01.workflows\u002F03.recipes","i-prime-lightbulb",{"title":395,"icon":396,"path":397,"stem":398,"children":399},"Email templates","i-rq-set-envelope","\u002Fen\u002Fguides\u002Fautomations\u002Femail-templates","en\u002F01.guides\u002F10.automations\u002F02.email-templates\u002Findex",[400,401],{"title":48,"path":397,"stem":398,"icon":396},{"title":402,"path":403,"stem":404,"icon":396},"Add or edit email template","\u002Fen\u002Fguides\u002Fautomations\u002Femail-templates\u002Fadd-or-edit","en\u002F01.guides\u002F10.automations\u002F02.email-templates\u002F01.add-or-edit",{"title":406,"icon":407,"path":408,"stem":409,"children":410},"Message templates","i-rq-set-message","\u002Fen\u002Fguides\u002Fautomations\u002Fmessage-templates","en\u002F01.guides\u002F10.automations\u002F03.message-templates\u002Findex",[411,412],{"title":48,"path":408,"stem":409,"icon":407},{"title":413,"path":414,"stem":415,"icon":407},"Add or edit message template","\u002Fen\u002Fguides\u002Fautomations\u002Fmessage-templates\u002Fadd-or-edit","en\u002F01.guides\u002F10.automations\u002F03.message-templates\u002F01.add-or-edit",{"title":417,"icon":123,"path":418,"stem":419,"children":420},"Custom export templates","\u002Fen\u002Fguides\u002Fautomations\u002Fexport-templates","en\u002F01.guides\u002F10.automations\u002F04.export-templates\u002Findex",[421,422],{"title":48,"path":418,"stem":419,"icon":123},{"title":423,"path":424,"stem":425,"icon":123},"Add or edit export template","\u002Fen\u002Fguides\u002Fautomations\u002Fexport-templates\u002Fadd-or-edit","en\u002F01.guides\u002F10.automations\u002F04.export-templates\u002F01.add-or-edit",{"title":427,"icon":428,"path":429,"stem":430,"children":431},"Mobile App","i-prime-mobile","\u002Fen\u002Fguides\u002Fmobile-app","en\u002F01.guides\u002F11.mobile-app\u002Findex",[432,433,437,441,446],{"title":48,"path":429,"stem":430,"icon":428},{"title":434,"path":435,"stem":436,"icon":43},"Bookings on the phone","\u002Fen\u002Fguides\u002Fmobile-app\u002Fbookings","en\u002F01.guides\u002F11.mobile-app\u002F01.bookings",{"title":438,"path":439,"stem":440,"icon":74},"Scanning barcodes and QR codes","\u002Fen\u002Fguides\u002Fmobile-app\u002Fscanning","en\u002F01.guides\u002F11.mobile-app\u002F02.scanning",{"title":442,"path":443,"stem":444,"icon":445},"Slow internet and no connection","\u002Fen\u002Fguides\u002Fmobile-app\u002Fslow-and-offline","en\u002F01.guides\u002F11.mobile-app\u002F03.slow-and-offline","i-prime-wifi",{"title":447,"path":448,"stem":449,"icon":245},"Conversations and comments","\u002Fen\u002Fguides\u002Fmobile-app\u002Fconversations-and-comments","en\u002F01.guides\u002F11.mobile-app\u002F04.conversations-and-comments",{"title":451,"icon":452,"path":453,"stem":454,"children":455},"Settings","i-rq-cog","\u002Fen\u002Fguides\u002Fsettings","en\u002F01.guides\u002F12.settings\u002Findex",[456,457,522,548,575,600,603,629],{"title":48,"path":453,"stem":454,"icon":452},{"title":458,"icon":459,"path":460,"stem":461,"children":462},"Organization settings","i-rq-set-building","\u002Fen\u002Fguides\u002Fsettings\u002Forganization","en\u002F01.guides\u002F12.settings\u002F01.organization\u002Findex",[463,464,468,473,488,499,504,508,518],{"title":48,"path":460,"stem":461,"icon":459},{"title":465,"path":466,"stem":467,"icon":459},"Organization info","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Finfo","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F01.info",{"title":469,"path":470,"stem":471,"icon":472},"Features","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Ffeatures","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F02.features","i-rq-set-toggle",{"title":474,"icon":349,"path":475,"stem":476,"children":477},"Accounts","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Faccounts","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F03.accounts\u002Findex",[478,479,484],{"title":48,"path":475,"stem":476,"icon":349},{"title":480,"path":481,"stem":482,"icon":483},"Permission groups","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Faccounts\u002Fpermission-groups","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F03.accounts\u002F01.permission-groups","i-prime-lock",{"title":485,"path":486,"stem":487,"icon":349},"Edit account","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Faccounts\u002Fedit-account","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F03.accounts\u002F02.edit-account",{"title":489,"icon":490,"path":491,"stem":492,"children":493},"Locations","i-rq-set-map-marker","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Flocations","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F04.locations\u002Findex",[494,495],{"title":48,"path":491,"stem":492,"icon":490},{"title":496,"path":497,"stem":498,"icon":490},"Add or edit location","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Flocations\u002Fadd-or-edit","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F04.locations\u002F01.add-or-edit",{"title":500,"path":501,"stem":502,"icon":503},"Localization","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Flocalization","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F05.localization","i-rq-set-language",{"title":505,"path":506,"stem":507,"icon":69},"Date & time settings","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Fdate-and-time","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F06.date-and-time",{"title":509,"icon":223,"path":510,"stem":511,"children":512},"Employees and subcontractors","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Femployees","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F07.employees\u002Findex",[513,514],{"title":48,"path":510,"stem":511,"icon":223},{"title":515,"path":516,"stem":517,"icon":223},"Add or edit employee or subcontractor","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Femployees\u002Fadd-or-edit","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F07.employees\u002F01.add-or-edit",{"title":519,"path":520,"stem":521,"icon":106},"Billing & plans","\u002Fen\u002Fguides\u002Fsettings\u002Forganization\u002Fbilling","en\u002F01.guides\u002F12.settings\u002F01.organization\u002F08.billing",{"title":523,"icon":524,"path":525,"stem":526,"children":527},"Integrations","i-prime-link","\u002Fen\u002Fguides\u002Fsettings\u002Fintegrations","en\u002F01.guides\u002F12.settings\u002F02.integrations\u002Findex",[528,529,534,539,544],{"title":48,"path":525,"stem":526,"icon":524},{"title":530,"path":531,"stem":532,"icon":533},"Payments","\u002Fen\u002Fguides\u002Fsettings\u002Fintegrations\u002Fpayments","en\u002F01.guides\u002F12.settings\u002F02.integrations\u002F01.payments","i-rq-set-card",{"title":535,"path":536,"stem":537,"icon":538},"Communications","\u002Fen\u002Fguides\u002Fsettings\u002Fintegrations\u002Fcommunications","en\u002F01.guides\u002F12.settings\u002F02.integrations\u002F02.communications","i-rq-set-comments",{"title":540,"path":541,"stem":542,"icon":543},"Document signing","\u002Fen\u002Fguides\u002Fsettings\u002Fintegrations\u002Fsigning","en\u002F01.guides\u002F12.settings\u002F02.integrations\u002F03.signing","i-rq-set-signature",{"title":545,"path":546,"stem":547,"icon":193},"Data migration","\u002Fen\u002Fguides\u002Fsettings\u002Fintegrations\u002Fdata-migration","en\u002F01.guides\u002F12.settings\u002F02.integrations\u002F04.data-migration",{"title":549,"icon":550,"path":551,"stem":552,"children":553},"Pricing","i-rq-set-tags","\u002Fen\u002Fguides\u002Fsettings\u002Fpricing","en\u002F01.guides\u002F12.settings\u002F03.pricing\u002Findex",[554,555,565],{"title":48,"path":551,"stem":552,"icon":550},{"title":556,"icon":550,"path":557,"stem":558,"children":559},"Pricing tiers","\u002Fen\u002Fguides\u002Fsettings\u002Fpricing\u002Fpricing-tiers","en\u002F01.guides\u002F12.settings\u002F03.pricing\u002F01.pricing-tiers\u002Findex",[560,561],{"title":48,"path":557,"stem":558,"icon":550},{"title":562,"path":563,"stem":564,"icon":550},"Add or edit pricing tier group","\u002Fen\u002Fguides\u002Fsettings\u002Fpricing\u002Fpricing-tiers\u002Fadd-or-edit","en\u002F01.guides\u002F12.settings\u002F03.pricing\u002F01.pricing-tiers\u002F01.add-or-edit",{"title":566,"icon":103,"path":567,"stem":568,"children":569},"Pricing discounts","\u002Fen\u002Fguides\u002Fsettings\u002Fpricing\u002Fpricing-discounts","en\u002F01.guides\u002F12.settings\u002F03.pricing\u002F02.pricing-discounts\u002Findex",[570,571],{"title":48,"path":567,"stem":568,"icon":103},{"title":572,"path":573,"stem":574,"icon":103},"Add or edit pricing discount","\u002Fen\u002Fguides\u002Fsettings\u002Fpricing\u002Fpricing-discounts\u002Fadd-or-edit","en\u002F01.guides\u002F12.settings\u002F03.pricing\u002F02.pricing-discounts\u002F01.add-or-edit",{"title":576,"icon":43,"path":577,"stem":578,"children":579},"Bookings","\u002Fen\u002Fguides\u002Fsettings\u002Fbookings","en\u002F01.guides\u002F12.settings\u002F04.bookings\u002Findex",[580,581,586,591,596],{"title":48,"path":577,"stem":578,"icon":43},{"title":582,"path":583,"stem":584,"icon":585},"Booking statuses","\u002Fen\u002Fguides\u002Fsettings\u002Fbookings\u002Fstatuses","en\u002F01.guides\u002F12.settings\u002F04.bookings\u002F01.statuses","i-rq-set-status",{"title":587,"path":588,"stem":589,"icon":590},"Booking creation","\u002Fen\u002Fguides\u002Fsettings\u002Fbookings\u002Fbooking-creation","en\u002F01.guides\u002F12.settings\u002F04.bookings\u002F02.booking-creation","i-rq-set-calendar-plus",{"title":592,"path":593,"stem":594,"icon":595},"Booking duration","\u002Fen\u002Fguides\u002Fsettings\u002Fbookings\u002Fbooking-duration","en\u002F01.guides\u002F12.settings\u002F04.bookings\u002F03.booking-duration","i-rq-set-clock",{"title":597,"path":598,"stem":599,"icon":233},"Deposits","\u002Fen\u002Fguides\u002Fsettings\u002Fbookings\u002Fdeposits","en\u002F01.guides\u002F12.settings\u002F04.bookings\u002F04.deposits",{"title":48,"path":601,"stem":602,"icon":93},"\u002Fen\u002Fguides\u002Fsettings\u002Finventory","en\u002F01.guides\u002F12.settings\u002F05.inventory",{"title":604,"icon":605,"path":606,"stem":607,"children":608},"Fields","i-rq-set-field","\u002Fen\u002Fguides\u002Fsettings\u002Ffields","en\u002F01.guides\u002F12.settings\u002F06.fields\u002Findex",[609,610,614,619,624],{"title":48,"path":606,"stem":607,"icon":605},{"title":611,"path":612,"stem":613,"icon":605},"Entity fields","\u002Fen\u002Fguides\u002Fsettings\u002Ffields\u002Fentity-fields","en\u002F01.guides\u002F12.settings\u002F06.fields\u002F01.entity-fields",{"title":615,"path":616,"stem":617,"icon":618},"Level configurations","\u002Fen\u002Fguides\u002Fsettings\u002Ffields\u002Flevel-configurations","en\u002F01.guides\u002F12.settings\u002F06.fields\u002F02.level-configurations","i-rq-set-level-tabs",{"title":620,"path":621,"stem":622,"icon":623},"Table column layout","\u002Fen\u002Fguides\u002Fsettings\u002Ffields\u002Ftable-columns","en\u002F01.guides\u002F12.settings\u002F06.fields\u002F03.table-columns","i-rq-set-table",{"title":625,"path":626,"stem":627,"icon":628},"Detail page fields","\u002Fen\u002Fguides\u002Fsettings\u002Ffields\u002Fdetail-page-fields","en\u002F01.guides\u002F12.settings\u002F06.fields\u002F04.detail-page-fields","i-rq-set-detail-page",{"title":630,"path":631,"stem":632,"icon":633},"Sidebar menu layout","\u002Fen\u002Fguides\u002Fsettings\u002Fmenu-layout","en\u002F01.guides\u002F12.settings\u002F07.menu-layout","i-prime-bars",{"title":635,"icon":636,"path":637,"stem":638,"children":639,"page":40},"AI & MCP","i-prime-sparkles","\u002Fen\u002Fai","en\u002F02.ai",[640,644,669],{"title":641,"path":642,"stem":643,"icon":636},"Requiply Assistant","\u002Fen\u002Fai\u002Frequiply-assistant","en\u002F02.ai\u002F01.requiply-assistant",{"title":645,"icon":646,"path":647,"stem":648,"children":649},"Requiply MCP","i-rq-set-mcp","\u002Fen\u002Fai\u002Fmcp","en\u002F02.ai\u002F02.mcp\u002Findex",[650,651,655,660,664],{"title":48,"path":647,"stem":648,"icon":646},{"title":652,"path":653,"stem":654,"icon":524},"Connecting","\u002Fen\u002Fai\u002Fmcp\u002Fconnecting","en\u002F02.ai\u002F02.mcp\u002F01.connecting",{"title":656,"path":657,"stem":658,"icon":659},"Tools","\u002Fen\u002Fai\u002Fmcp\u002Ftools","en\u002F02.ai\u002F02.mcp\u002F02.tools","i-prime-wrench",{"title":661,"path":662,"stem":663,"icon":393},"Use cases","\u002Fen\u002Fai\u002Fmcp\u002Fuse-cases","en\u002F02.ai\u002F02.mcp\u002F03.use-cases",{"title":665,"path":666,"stem":667,"icon":668},"Troubleshooting","\u002Fen\u002Fai\u002Fmcp\u002Ftroubleshooting","en\u002F02.ai\u002F02.mcp\u002F04.troubleshooting","i-prime-question-circle",{"title":670,"path":671,"stem":672,"icon":673},"AI usage","\u002Fen\u002Fai\u002Fai-usage","en\u002F02.ai\u002F03.ai-usage","i-rq-set-gauge",{"title":675,"icon":358,"path":676,"stem":677,"children":678,"page":40},"Developers","\u002Fen\u002Fdevelopers","en\u002F03.developers",[679,682,687,738,743],{"title":48,"path":680,"stem":681,"icon":358},"\u002Fen\u002Fdevelopers\u002Foverview","en\u002F03.developers\u002F00.overview",{"title":683,"path":684,"stem":685,"icon":686},"Authentication and API Keys","\u002Fen\u002Fdevelopers\u002Fauthentication-and-api-keys","en\u002F03.developers\u002F01.authentication-and-api-keys","i-rq-set-key",{"title":688,"icon":358,"path":689,"stem":690,"children":691},"TypeScript SDK","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk","en\u002F03.developers\u002F02.typescript-sdk\u002Findex",[692,693,697,701,705,709,713,717,721,724,727,731,735],{"title":48,"path":689,"stem":690,"icon":358},{"title":694,"path":695,"stem":696,"icon":358},"Installation","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Finstallation","en\u002F03.developers\u002F02.typescript-sdk\u002F01.installation",{"title":698,"path":699,"stem":700,"icon":358},"Quick Start","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Fquick-start","en\u002F03.developers\u002F02.typescript-sdk\u002F02.quick-start",{"title":702,"path":703,"stem":704,"icon":358},"Browser and Server Usage","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Fbrowser-and-server-usage","en\u002F03.developers\u002F02.typescript-sdk\u002F03.browser-and-server-usage",{"title":706,"path":707,"stem":708,"icon":358},"Error Handling","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Ferror-handling","en\u002F03.developers\u002F02.typescript-sdk\u002F04.error-handling",{"title":710,"path":711,"stem":712,"icon":358},"Request Options","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Frequest-options","en\u002F03.developers\u002F02.typescript-sdk\u002F05.request-options",{"title":714,"path":715,"stem":716,"icon":358},"Inventory and Categories","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Finventory-and-categories","en\u002F03.developers\u002F02.typescript-sdk\u002F06.inventory-and-categories",{"title":718,"path":719,"stem":720,"icon":358},"Availability and Pricing","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Favailability-and-pricing","en\u002F03.developers\u002F02.typescript-sdk\u002F07.availability-and-pricing",{"title":576,"path":722,"stem":723,"icon":358},"\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Fbookings","en\u002F03.developers\u002F02.typescript-sdk\u002F08.bookings",{"title":210,"path":725,"stem":726,"icon":358},"\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Fclients","en\u002F03.developers\u002F02.typescript-sdk\u002F09.clients",{"title":728,"path":729,"stem":730,"icon":358},"Sales and Goods for Sale","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Fsales","en\u002F03.developers\u002F02.typescript-sdk\u002F10.sales",{"title":732,"path":733,"stem":734,"icon":358},"Organization","\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Forganization","en\u002F03.developers\u002F02.typescript-sdk\u002F11.organization",{"title":310,"path":736,"stem":737,"icon":358},"\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Freports","en\u002F03.developers\u002F02.typescript-sdk\u002F12.reports",{"title":739,"path":740,"stem":741,"icon":742},"REST API Reference","\u002Fen\u002Fdevelopers\u002Fapi-reference","en\u002F03.developers\u002F03.api-reference","i-prime-server",{"title":744,"path":745,"stem":746,"icon":6},"Examples","\u002Fen\u002Fdevelopers\u002Fexamples","en\u002F03.developers\u002F04.examples",{"id":748,"title":706,"body":749,"description":1439,"extension":1440,"links":1441,"meta":1442,"navigation":1449,"path":707,"seo":1450,"stem":708,"__hash__":1451},"docs_en\u002Fen\u002F03.developers\u002F02.typescript-sdk\u002F04.error-handling.md",{"type":750,"value":751,"toc":1431},"minimark",[752,761,1016,1021,1129,1133,1142,1352,1360,1364,1381,1385,1403,1409,1427],[753,754,755,756,760],"p",{},"Failed API responses throw ",[757,758,759],"code",{},"RequiplyError",":",[762,763,768],"pre",{"className":764,"code":765,"language":766,"meta":767,"style":767},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { RequiplyError } from '@requiply\u002Fapi-sdk';\n\ntry {\n  await requiply.sales.create({ lines: [{ saleItemId, quantity: 1 }], paymentMethod: 'liqpay' });\n} catch (error) {\n  if (error instanceof RequiplyError && error.reason === 'client_email_required') {\n    console.error('LiqPay needs a client with an email');\n  } else {\n    throw error;\n  }\n}\n","ts","",[757,769,770,806,813,822,901,916,960,983,994,1004,1010],{"__ignoreMap":767},[771,772,775,779,783,787,790,793,796,800,803],"span",{"class":773,"line":774},"line",1,[771,776,778],{"class":777},"s7zQu","import",[771,780,782],{"class":781},"sMK4o"," {",[771,784,786],{"class":785},"sTEyZ"," RequiplyError",[771,788,789],{"class":781}," }",[771,791,792],{"class":777}," from",[771,794,795],{"class":781}," '",[771,797,799],{"class":798},"sfazB","@requiply\u002Fapi-sdk",[771,801,802],{"class":781},"'",[771,804,805],{"class":781},";\n",[771,807,809],{"class":773,"line":808},2,[771,810,812],{"emptyLinePlaceholder":811},true,"\n",[771,814,816,819],{"class":773,"line":815},3,[771,817,818],{"class":777},"try",[771,820,821],{"class":781}," {\n",[771,823,825,828,831,834,837,839,843,847,850,853,855,858,860,863,866,869,871,875,877,880,882,885,887,889,892,894,896,899],{"class":773,"line":824},4,[771,826,827],{"class":777},"  await",[771,829,830],{"class":785}," requiply",[771,832,833],{"class":781},".",[771,835,836],{"class":785},"sales",[771,838,833],{"class":781},[771,840,842],{"class":841},"s2Zo4","create",[771,844,846],{"class":845},"swJcz","(",[771,848,849],{"class":781},"{",[771,851,852],{"class":845}," lines",[771,854,760],{"class":781},[771,856,857],{"class":845}," [",[771,859,849],{"class":781},[771,861,862],{"class":785}," saleItemId",[771,864,865],{"class":781},",",[771,867,868],{"class":845}," quantity",[771,870,760],{"class":781},[771,872,874],{"class":873},"sbssI"," 1",[771,876,789],{"class":781},[771,878,879],{"class":845},"]",[771,881,865],{"class":781},[771,883,884],{"class":845}," paymentMethod",[771,886,760],{"class":781},[771,888,795],{"class":781},[771,890,891],{"class":798},"liqpay",[771,893,802],{"class":781},[771,895,789],{"class":781},[771,897,898],{"class":845},")",[771,900,805],{"class":781},[771,902,904,907,910,913],{"class":773,"line":903},5,[771,905,906],{"class":781},"}",[771,908,909],{"class":777}," catch",[771,911,912],{"class":785}," (error) ",[771,914,915],{"class":781},"{\n",[771,917,919,922,925,928,931,934,937,940,942,945,948,950,953,955,958],{"class":773,"line":918},6,[771,920,921],{"class":777},"  if",[771,923,924],{"class":845}," (",[771,926,927],{"class":785},"error",[771,929,930],{"class":781}," instanceof",[771,932,786],{"class":933},"sBMFI",[771,935,936],{"class":781}," &&",[771,938,939],{"class":785}," error",[771,941,833],{"class":781},[771,943,944],{"class":785},"reason",[771,946,947],{"class":781}," ===",[771,949,795],{"class":781},[771,951,952],{"class":798},"client_email_required",[771,954,802],{"class":781},[771,956,957],{"class":845},") ",[771,959,915],{"class":781},[771,961,963,966,968,970,972,974,977,979,981],{"class":773,"line":962},7,[771,964,965],{"class":785},"    console",[771,967,833],{"class":781},[771,969,927],{"class":841},[771,971,846],{"class":845},[771,973,802],{"class":781},[771,975,976],{"class":798},"LiqPay needs a client with an email",[771,978,802],{"class":781},[771,980,898],{"class":845},[771,982,805],{"class":781},[771,984,986,989,992],{"class":773,"line":985},8,[771,987,988],{"class":781},"  }",[771,990,991],{"class":777}," else",[771,993,821],{"class":781},[771,995,997,1000,1002],{"class":773,"line":996},9,[771,998,999],{"class":777},"    throw",[771,1001,939],{"class":785},[771,1003,805],{"class":781},[771,1005,1007],{"class":773,"line":1006},10,[771,1008,1009],{"class":781},"  }\n",[771,1011,1013],{"class":773,"line":1012},11,[771,1014,1015],{"class":781},"}\n",[1017,1018,1020],"h2",{"id":1019},"error-properties","Error properties",[1022,1023,1024,1037],"table",{},[1025,1026,1027],"thead",{},[1028,1029,1030,1034],"tr",{},[1031,1032,1033],"th",{},"Property",[1031,1035,1036],{},"What it holds",[1038,1039,1040,1068,1078,1091,1103,1113],"tbody",{},[1028,1041,1042,1048],{},[1043,1044,1045],"td",{},[757,1046,1047],{},"status",[1043,1049,1050,1051,1054,1055,1054,1058,1054,1061,1064,1065,833],{},"HTTP response status, for example ",[757,1052,1053],{},"400",", ",[757,1056,1057],{},"403",[757,1059,1060],{},"404",[757,1062,1063],{},"409",", or ",[757,1066,1067],{},"429",[1028,1069,1070,1075],{},[1043,1071,1072],{},[757,1073,1074],{},"message",[1043,1076,1077],{},"The API's human-readable message, with an HTTP-status fallback. Show it to people, but do not branch on its text.",[1028,1079,1080,1084],{},[1043,1081,1082],{},[757,1083,944],{},[1043,1085,1086,1087,1090],{},"Machine-readable reason, when the API gives one, for example ",[757,1088,1089],{},"feature_disabled",". Branch on this.",[1028,1092,1093,1098],{},[1043,1094,1095],{},[757,1096,1097],{},"data",[1043,1099,1100,1101,833],{},"Extra fields the API sent with the error, including ",[757,1102,944],{},[1028,1104,1105,1110],{},[1043,1106,1107],{},[757,1108,1109],{},"details",[1043,1111,1112],{},"The parsed response body, or the raw response text when it is not JSON.",[1028,1114,1115,1120],{},[1043,1116,1117],{},[757,1118,1119],{},"retryAfter",[1043,1121,1122,1123,1126,1127,833],{},"Seconds to wait, from the ",[757,1124,1125],{},"Retry-After"," header of a ",[757,1128,1067],{},[1017,1130,1132],{"id":1131},"error-reasons","Error reasons",[753,1134,1135,1137,1138,1141],{},[757,1136,944],{}," is set by booking requests from publishable keys, by the ",[1139,1140,287],"a",{"href":729}," endpoints, and by sale lines on quotes and bookings:",[1022,1143,1144,1158],{},[1025,1145,1146],{},[1028,1147,1148,1152,1155],{},[1031,1149,1150],{},[757,1151,944],{},[1031,1153,1154],{},"Status",[1031,1156,1157],{},"Meaning",[1038,1159,1160,1181,1198,1216,1238,1252,1266,1280,1294,1311,1325,1338],{},[1028,1161,1162,1167,1171],{},[1043,1163,1164],{},[757,1165,1166],{},"request_only",[1043,1168,1169],{},[757,1170,1057],{},[1043,1172,1173,1174,1177,1178,833],{},"A publishable key called ",[757,1175,1176],{},"bookings.create()"," without ",[757,1179,1180],{},"asRequest: true",[1028,1182,1183,1187,1191],{},[1043,1184,1185],{},[757,1186,1089],{},[1043,1188,1189],{},[757,1190,1057],{},[1043,1192,1193,1197],{},[1194,1195,1196],"strong",{},"Enable sales"," is off, or the organization is not on the Advanced plan.",[1028,1199,1200,1205,1209],{},[1043,1201,1202],{},[757,1203,1204],{},"selling_disabled",[1043,1206,1207],{},[757,1208,1057],{},[1043,1210,1211,1212,833],{},"A publishable key asked for goods for sale while the organization does not ",[1139,1213,1215],{"href":1214},"\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Fsales#with-a-publishable-key","sell to customers",[1028,1217,1218,1223,1227],{},[1043,1219,1220],{},[757,1221,1222],{},"out_of_stock",[1043,1224,1225],{},[757,1226,1063],{},[1043,1228,1229,1230,1233,1234,1237],{},"A publishable key asked for more units than are on the shelf. ",[757,1231,1232],{},"data.saleItemId"," names the product, ",[757,1235,1236],{},"data.availableQuantity"," says how many are left.",[1028,1239,1240,1245,1249],{},[1043,1241,1242],{},[757,1243,1244],{},"invalid_lines",[1043,1246,1247],{},[757,1248,1053],{},[1043,1250,1251],{},"A line has no product or a quantity that is not a whole number above zero.",[1028,1253,1254,1259,1263],{},[1043,1255,1256],{},[757,1257,1258],{},"duplicate_line",[1043,1260,1261],{},[757,1262,1053],{},[1043,1264,1265],{},"The same product appears in two lines.",[1028,1267,1268,1273,1277],{},[1043,1269,1270],{},[757,1271,1272],{},"sale_item_not_found",[1043,1274,1275],{},[757,1276,1060],{},[1043,1278,1279],{},"A product does not exist in this organization.",[1028,1281,1282,1287,1291],{},[1043,1283,1284],{},[757,1285,1286],{},"sale_item_archived",[1043,1288,1289],{},[757,1290,1063],{},[1043,1292,1293],{},"A product is archived and cannot be sold.",[1028,1295,1296,1301,1305],{},[1043,1297,1298],{},[757,1299,1300],{},"invalid_payment",[1043,1302,1303],{},[757,1304,1053],{},[1043,1306,1307,1310],{},[757,1308,1309],{},"paymentMethod"," is not a known method.",[1028,1312,1313,1318,1322],{},[1043,1314,1315],{},[757,1316,1317],{},"payment_method_unavailable",[1043,1319,1320],{},[757,1321,1053],{},[1043,1323,1324],{},"The organization has no active integration for that payment method.",[1028,1326,1327,1331,1335],{},[1043,1328,1329],{},[757,1330,952],{},[1043,1332,1333],{},[757,1334,1053],{},[1043,1336,1337],{},"LiqPay sends the invoice by email, so the sale needs a client with an email.",[1028,1339,1340,1345,1349],{},[1043,1341,1342],{},[757,1343,1344],{},"sale_not_found",[1043,1346,1347],{},[757,1348,1060],{},[1043,1350,1351],{},"The sale does not exist.",[753,1353,1354,1355,1357,1358,833],{},"New reasons can appear, so always keep a fallback branch. Most other errors, such as a missing field or an unknown booking, carry only ",[757,1356,1047],{}," and ",[757,1359,1074],{},[1017,1361,1363],{"id":1362},"rate-limits","Rate limits",[753,1365,1366,1367,1369,1370,1372,1373,1357,1375,1377,1378,1380],{},"Each key can make 100 requests per minute. Further requests throw a ",[757,1368,759],{}," with ",[757,1371,1047],{}," ",[757,1374,1067],{},[757,1376,1119],{}," in seconds. In browsers ",[757,1379,1119],{}," is missing, because the API does not expose the header across origins; wait a few seconds before retrying.",[1017,1382,1384],{"id":1383},"refused-bookings-are-not-errors","Refused bookings are not errors",[753,1386,1387,1389,1390,1393,1394,1396,1397,1399,1400,833],{},[757,1388,1176],{}," does not throw when the organization cannot accept a booking, for example because the items are taken for those dates or the pickup is outside working hours. It resolves with ",[757,1391,1392],{},"success: false",", a ",[757,1395,1074],{},", and sometimes a ",[757,1398,944],{},". See ",[1139,1401,576],{"href":1402},"\u002Fen\u002Fdevelopers\u002Ftypescript-sdk\u002Fbookings#handling-the-response",[1017,1404,1406,1407],{"id":1405},"errors-that-are-not-requiplyerror","Errors that are not ",[757,1408,759],{},[753,1410,1411,1412,1415,1416,1419,1420,1423,1424,1426],{},"Constructor validation and missing runtime APIs throw ",[757,1413,1414],{},"TypeError",": a missing or empty ",[757,1417,1418],{},"apiKey",", no available ",[757,1421,1422],{},"fetch",", or a secret key used in the browser. Network failures and aborted requests reject with the error your ",[757,1425,1422],{}," implementation throws.",[1428,1429,1430],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":767,"searchDepth":808,"depth":808,"links":1432},[1433,1434,1435,1436,1437],{"id":1019,"depth":808,"text":1020},{"id":1131,"depth":808,"text":1132},{"id":1362,"depth":808,"text":1363},{"id":1383,"depth":808,"text":1384},{"id":1405,"depth":808,"text":1438},"Errors that are not RequiplyError","Catch API failures, branch on the reason code, and handle refused bookings.","md",null,{"gitbook":1443,"aliases":1447},{"source":1444,"icon":1445,"url":1446},"developer-docs\u002Ftypescript-sdk\u002Ferror-handling.md","triangle-exclamation","https:\u002F\u002Frequiply.gitbook.io\u002Frequiply-docs\u002Fknowledge\u002Fdeveloper-documentation\u002Ftypescript-sdk\u002Ferror-handling",[1448],"\u002Fknowledge\u002Fdeveloper-documentation\u002Ftypescript-sdk\u002Ferror-handling",{"title":706,"icon":358},{"title":706,"description":1439},"-j49r6cfr-pRBUERU92fT1kIgXNYJQXnizwQbjtEyO8",[1453,1455],{"title":702,"path":703,"stem":704,"description":1454,"icon":358,"children":-1},"Which SDK methods a browser storefront can call with a publishable key, which belong on a server with a secret key, and how to wire both in Next.js or Nuxt.",{"title":710,"path":711,"stem":712,"description":1456,"icon":358,"children":-1},"Cancel requests and add metadata headers to SDK calls.",1792586009352]