API reference · Area

Quotes and orders

Create quotes, convert them to orders and update their status as the sale progresses.

133 endpointsStable throughout v1Updated 23 Nov 2026
Required permissionsRead quotesCreate and change quotesChange ordersSend emailsDelete recordsRead ordersCreate and change customersRead the InboxWork the InboxRead warranty claimsWork warranty claimsRecord and request paymentsRefunds and returnsPrices and exceptionsChange sales creditRead customersRead the catalogRead purchase ordersManage purchase ordersRead reportsManage webhooksSee costsEnter and correct costsSee commissionChange the catalogRead settingsChange settingsManage staffExport signed contractsExport customer data

Prepare your requests

Choose the required permissions

Create a key in Settings › API and integrations. To read records, choose Read quotes or Read orders. To make changes, choose Create and change quotes or Change orders.

Add separate permissions for these actions: Record and request payments, Refunds and returns, Send emails and Delete records.

Use the path for the current record type

Looking up a quote under /orders returns 404. The same applies to an order under /quotes.

Converting a quote moves it from /quotes to /orders without notice. Compare IDs when syncing to track the same record.

Read the three status fields

The store can change the status name. Use the unchanging status_id to identify it.

status_group contains one of seven fixed group keys, or null for a group created by the store.

Find quotes and orders

Lists return 25 records at a time, with the most recently changed first. Send next_cursor as cursor to get the next page.

6 endpoints

Create and update records

Changes must follow the store’s rules. If a rule prevents a change, the response includes the same message OrderPilot shows in the app. Send an Idempotency-Key to avoid repeating a change when you retry.

7 endpoints

Update statuses and send records

Read the store’s statuses with GET /statuses, then send the chosen status_id. To email a quote or order, also include Send emails permission.

9 endpoints

Payments and refunds

Payments are recorded on the Shopify order, and refunds go through Shopify. A key’s limits can restrict individual amounts and daily totals. Payment requests can send emails, which also require Send emails, or collect deposits. Canceling a request removes the Shopify invoice or deposit order. Payment links open checkout.

10 endpoints
POST/orders/{id}/paymentsRecord a paymentOmit the amount to record payment in full. Specify an amount for a partial payment on Shopify Plus.Record and request paymentsGET/orders/{id}/refund-optionsSee refund optionsRead each payment method and its remaining refundable amount.Refunds and returnsPOST/orders/{id}/refundsRefund an orderSplit a refund across up to 4 payment methods. Retry with the same key to avoid refunding twice.Refunds and returnsGET/quotes/{id}/payment-requestsList a quote’s payment requestsReturns balance, deposit, store credit and POS payment requests, newest first, with the amounts requested and paid; a split order includes both parts.Any ofRead quotesRecord and request paymentsPOST/quotes/{id}/payment-requestsRequest payment on a quoteWithout deposit, records a request for the balance, enables customer payment and sends the Request payment email, counting toward the key’s Emails per…Record and request paymentsGET/orders/{id}/payment-requestsList an order’s payment requestsReturns balance, deposit, store credit and POS payment requests, newest first, with the amounts requested and paid; a split order includes both parts.Any ofRead ordersRecord and request paymentsPOST/orders/{id}/payment-requestsRequest payment on an orderWithout deposit, records a request for the balance, enables customer payment and sends the Request payment email, counting toward the key’s Emails per…Record and request paymentsPOST/payment-requests/{id}/cancelCancel a payment requestCancels a pending request marked cancellable, disables its link and removes its Shopify invoice or deposit order.Record and request paymentsPOST/quotes/{id}/pay-linkGet a quote’s payment linkReturns a link to share with the customer and enables customer payment, revealing prices on a quote being priced.Record and request paymentsPOST/orders/{id}/pay-linkGet an order’s payment linkReturns a link to share with the customer and enables customer payment, revealing prices on a quote being priced.Record and request payments

Request signatures

Request signature emails a signing link and requires the customer to sign before paying. You can also get a signing link to share yourself. Both actions require Send emails.

4 endpoints

Hand-overs and serial numbers

Only waiting units can be handed over. Their full price and the deposit on the remaining units must be paid. Assign serial numbers only to fulfilled units. Serial numbers are saved together: either all succeed or none do.

4 endpoints

Documents and activity

Download customer PDFs, read the change history and add comments to a record.

6 endpoints

Get values for forms

Read the store’s settings to get the IDs and choices for quote and order forms.

7 endpoints

More endpoints

81 endpoints
GET/countriesList countriesEvery country Shopify takes on an address, A to Z, as the address forms’ Country picker lists them: its code (what an address’s country takes) and…Any ofRead quotesCreate and change quotesRead ordersChange ordersCreate and change customersRead the InboxWork the InboxRead warranty claimsWork warranty claimsRecord and request paymentsRefunds and returnsSend emailsDelete recordsPrices and exceptionsChange sales creditGET/line-attribute-syncs/{jobId}See a line sync’s progressWhere a line’s Sync Shopify attributes is: queued, running, synced (the values are written), refused (a check refused it, with why; nothing changed)…Any ofRead quotesRead ordersCreate and change quotesChange ordersPOST/orders/incoming-stockSee incoming stock for linesWhat open purchase orders still have to deliver of a quote’s or order’s lines, saved or not, as Create order and the order page show it: per line, the…Any ofCreate and change quotesChange ordersGET/orders/{id}/activity/restorePreview an order restoreWhat restoring the order to version revision (an entry’s version in GET /orders/{id}/activity) would change, as the Restore dialog shows it, with…Read ordersPOST/orders/{id}/activity/restoreRestore an order versionRestore the order to an earlier version, as the Restore dialog does: saved as a change to the order with every rule of one (rights, the status lock…Change ordersPATCH/orders/{id}/comments/{commentId}Change a comment on an orderChange the text of a comment the caller wrote, as the activity feed’s Edit: an API key edits only its own comments; a phone’s staff member their own…Change ordersDELETE/orders/{id}/comments/{commentId}Delete a comment on an orderDelete a comment the caller wrote, as the activity feed’s Delete (the same rule as editing it: an API key deletes only its own).Change ordersGET/orders/{id}/costsList an order’s additional costsThe order’s additional costs, as its Additional costs card lists them, oldest first: costs that came up after the sale (kind delivery, labour or…Any ofSee costsEnter and correct costsPOST/orders/{id}/costsAdd an additional costAdd an additional cost to the order (Additional costs › Add): what it was for, its kind and amount, on the whole order or on one of its lines…Enter and correct costsPATCH/orders/{id}/costs/{costId}Change an additional costChange an additional cost: only the fields sent change (the rest are kept); line_id: null moves it to the whole order.Enter and correct costsDELETE/orders/{id}/costs/{costId}Remove an additional costRemove an additional cost recorded in error.Enter and correct costsGET/orders/{id}/customer-paymentSee an order’s customer paymentWhether the customer may pay the order themselves, as its Customer payment row shows: enabled (turned on, when and by whom) and store_gates_payment…Any ofRead ordersRecord and request paymentsPOST/orders/{id}/customer-paymentTurn an order’s customer payment on or offTurn customer payment on or off on the order, as its Enable and Disable payment do.Record and request paymentsGET/orders/{id}/depositSee if an order can take a depositWhether a deposit can be asked for on the order now, as its Request deposit says: blocked_reason is why not (the reason the button is greyed out, and…Record and request paymentsPOST/orders/{id}/depositsRecord an order’s deposit paidRecord a deposit the customer already paid outside Shopify (cash, a cheque, a transfer), as Request deposit’s Already paid does.Record and request paymentsDELETE/orders/{id}/draftDelete an order’s Shopify draftDeletes the Shopify draft before it becomes a Shopify order and confirms deletion, leaving the order in OrderPilot, disabling its payment link and…Delete recordsGET/orders/{id}/email-placeholdersList an order’s merge fieldsThe merge fields the order’s email can use, each with this order’s value, as the composer shows them: items (the documented ones, such as {{customer.Change ordersAndSend emailsGET/orders/{id}/force-convertSee a force convert’s progressWhere a Force Convert to Order is, as the order page polls it: placed (it is an order now), converting (on the queue), failed (with the reason in…Any ofRead ordersRead quotesChange ordersCreate and change quotesPOST/orders/{id}/force-convertForce convert a draft orderForce Convert to Order: place the Draft Order now without the customer’s signature, as the admin’s ⋯ › Force Convert to Order.Change ordersAndPrices and exceptionsPOST/orders/{id}/invoice-numberGive an order its invoice numberGive the order its invoice number, for good, as the order page’s first invoice print does: the next number of the store’s own invoice numbering…Change ordersGET/orders/{id}/invoice-pdfDownload an order’s invoiceThe order’s invoice as it is now, as a PDF, as the order page prints it.Read ordersGET/orders/{id}/invoicesList an order’s invoice versionsThe order’s invoice versions, newest first, as the order page keeps them: a version is frozen when the order is created, revised after it was sent, or…Read ordersGET/orders/{id}/invoices/{snapshotId}Download an invoice versionOne frozen invoice version as a PDF (current: the version the customer has now), exactly as it was issued.Read ordersGET/orders/{id}/legal-holdGet an order’s legal holdThe order’s standing legal hold, or null: while it holds, none of its signature evidence is deleted at the end of the retention period.Read ordersPOST/orders/{id}/lines/{lineId}/sync-attributesSync an order line’s attributesSync Shopify attributes on a saved Shopify product line, as the order screen’s line menu does: its option values are refreshed from its product’s own…Change ordersGET/orders/{id}/payment-requests/scheduledList an order’s scheduled payment requestsThe order’s scheduled Request payment emails, newest first, as the composer’s Scheduled list shows them (the last 50 scheduled emails, Request payment…Any ofRead ordersRecord and request paymentsDELETE/orders/{id}/payment-requests/scheduled/{scheduleId}Cancel an order’s scheduled payment requestCancel a scheduled Request payment email on the order before it goes, as the composer’s Cancel.Record and request paymentsAndSend emailsGET/orders/{id}/profitSee an order’s profitThe order’s profit, as its Profit window shows it: the figures Analytics › Profit adds up for this order whatever its period (what its lines sold for…See commissionGET/orders/{id}/purchase-needsList an order’s purchasing needsReturns each order line’s vendor, product and stock-tracked options, with a component_key, any exclusion from purchasing and the quantity still needed…Any ofRead purchase ordersManage purchase ordersPATCH/orders/{id}/purchase-needsLeave a part off purchase ordersLeave a part of an order line off purchase orders, or put it back, as the purchase-order workbench does: the product itself (line: key) or one…Manage purchase ordersGET/orders/{id}/quickbooksSee an order in QuickBooksThe order in QuickBooks, as the order page’s QuickBooks card shows it: whether customer orders post there at all (posts), the order’s sync status and…Read ordersPOST/orders/{id}/quickbooks-syncSend an order to QuickBooksSend the order to QuickBooks again now, as the QuickBooks card’s Retry: it is marked pending and queued for the worker, which posts its invoice and…Change ordersGET/orders/{id}/return-optionsSee return optionsWhat can come back on a placed order, read from Shopify as the Refund or return dialog’s Return items tab reads it: each line’s returnable units, its…Refunds and returnsPOST/orders/{id}/returnsReturn itemsReturn items on a placed order and process the return in Shopify, as the Return items tab does: a Shopify return is made for the units (or…Refunds and returnsPOST/orders/{id}/returns/previewPreview a returnWork out a return before making it, as the Return items tab does, from Shopify: what it takes off for the units (items_total, tax included), the…Refunds and returnsPOST/orders/{id}/reviewDecide an order’s reviewA reviewer’s decision on the order, as the review queue’s Approve, Reject and Request changes: approve keeps it a order; reject and request_changes…Change ordersAndPrices and exceptionsGET/orders/{id}/scheduled-emailsList an order’s scheduled emailsThe order’s scheduled emails and texts, newest first (the last 50), as the composer’s Scheduled list: what goes, to whom, when, and its state.Read ordersDELETE/orders/{id}/scheduled-emails/{scheduleId}Cancel an order’s scheduled emailCancel a scheduled email (or text) on the order before it goes, as the composer’s Cancel.Change ordersAndSend emailsPOST/orders/{id}/send/previewPreview an order’s emailThe email as the order’s composer previews it, sending nothing: a template (template_key, from GET /email-templates) with its own words or yours…Change ordersAndSend emailsPOST/orders/{id}/send/testSend a test of an order’s emailSend a test of the order’s email to one address (test_to), as the composer’s Send test: the same body as the preview, marked a test, to nobody else.Change ordersAndSend emailsGET/orders/{id}/signaturesList an order’s signaturesThe order’s signature records, newest first, as its Signature history lists them: each signature given on it (online through the sign link, on the…Read ordersPOST/orders/{id}/signed-copy/sendEmail an order’s signed copyEmail the customer their signed PDF again, as the order menu’s Email signed copy (the one sent at signing failed, or the customer lost it).Change ordersAndSend emailsGET/orders/{id}/store-creditSee an order’s store creditThe customer’s Shopify store credit for the order, as Payments’ Store credit reads it: what they have in the order’s currency, the balance due, the…Record and request paymentsPOST/orders/{id}/store-creditPay an order with store creditPay the order from the customer’s Shopify store credit, as Payments’ Store credit does: a debit of their Shopify balance, recorded as a payment in…Record and request paymentsGET/orders/{id}/supplySee where an order’s items come fromWhere each line of the order is coming from, as the order page’s supply view shows it: state (received, on_the_way, from_stock or unknown), the…Read ordersPOST/orders/{id}/warrantyChange a line’s warrantyChange one line’s warranty on an order or a quote, as its Warranty card: add_plan (a plan at its set price: a priced fee), remove_plan, override_term…Any ofChange ordersCreate and change quotesPOST/payment-requests/{id}/mark-paidMark a deposit paidMark a pending deposit paid outside Shopify (cash after its link went out), as the deposit’s Mark as paid does: its deposit order is completed as paid…Record and request paymentsGET/quotes/{id}/activity/restorePreview a quote restoreWhat restoring the quote to version revision (an entry’s version in GET /quotes/{id}/activity) would change, as the Restore dialog shows it, with…Read quotesPOST/quotes/{id}/activity/restoreRestore a quote versionRestore the quote to an earlier version, as the Restore dialog does: the version is saved as a change to the quote, so every rule of a change applies…Create and change quotesPATCH/quotes/{id}/comments/{commentId}Change a comment on a quoteChange the text of a comment the caller wrote, as the activity feed’s Edit: an API key edits only its own comments; a phone’s staff member their own…Create and change quotesDELETE/quotes/{id}/comments/{commentId}Delete a comment on a quoteDelete a comment the caller wrote, as the activity feed’s Delete (the same rule as editing it: an API key deletes only its own).Create and change quotesGET/quotes/{id}/customer-paymentSee a quote’s customer paymentWhether the customer may pay the quote themselves, as its Customer payment row shows: enabled (turned on, when and by whom) and store_gates_payment…Any ofRead quotesRecord and request paymentsPOST/quotes/{id}/customer-paymentTurn a quote’s customer payment on or offTurn customer payment on or off on the quote, as its Enable and Disable payment do.Record and request paymentsGET/quotes/{id}/depositSee if a quote can take a depositWhether a deposit can be asked for on the quote now, as its Request deposit says: blocked_reason is why not (the reason the button is greyed out, and…Record and request paymentsPOST/quotes/{id}/depositsRecord a quote’s deposit paidRecord a deposit the customer already paid outside Shopify (cash, a cheque, a transfer), as Request deposit’s Already paid does.Record and request paymentsPOST/quotes/{id}/duplicateDuplicate a quoteDuplicate a quote, as the admin’s and the register’s Duplicate quote: a new Draft Quote (nothing in Shopify yet) with the source’s products, options…Create and change quotesGET/quotes/{id}/email-placeholdersList a quote’s merge fieldsThe merge fields the quote’s email can use, each with this quote’s value, as the composer shows them: items (the documented ones, such as {{customer.Create and change quotesAndSend emailsPOST/quotes/{id}/force-convertForce convert a quoteForce Convert to Order: place the quote now without the customer’s signature, as the admin’s ⋯ › Force Convert to Order.Change ordersAndPrices and exceptionsGET/quotes/{id}/legal-holdGet a quote’s legal holdThe quote’s standing legal hold, or null: while it holds, none of its signature evidence is deleted at the end of the retention period.Read quotesPOST/quotes/{id}/lines/{lineId}/sync-attributesSync a quote line’s attributesSync Shopify attributes on a saved Shopify product line, as the order screen’s line menu does: its option values are refreshed from its product’s own…Create and change quotesGET/quotes/{id}/payment-requests/scheduledList a quote’s scheduled payment requestsThe quote’s scheduled Request payment emails, newest first, as the composer’s Scheduled list shows them (the last 50 scheduled emails, Request payment…Any ofRead quotesRecord and request paymentsDELETE/quotes/{id}/payment-requests/scheduled/{scheduleId}Cancel a quote’s scheduled payment requestCancel a scheduled Request payment email on the quote before it goes, as the composer’s Cancel.Record and request paymentsAndSend emailsPOST/quotes/{id}/reviewDecide a quote’s reviewA reviewer’s decision on the quote, as the review queue’s Approve, Reject and Request changes: approve keeps it a quote; reject and request_changes…Create and change quotesAndPrices and exceptionsGET/quotes/{id}/scheduled-emailsList a quote’s scheduled emailsThe quote’s scheduled emails and texts, newest first (the last 50), as the composer’s Scheduled list: what goes, to whom, when, and its state.Read quotesDELETE/quotes/{id}/scheduled-emails/{scheduleId}Cancel a quote’s scheduled emailCancel a scheduled email (or text) on the quote before it goes, as the composer’s Cancel.Create and change quotesAndSend emailsPOST/quotes/{id}/send/previewPreview a quote’s emailThe email as the quote’s composer previews it, sending nothing: a template (template_key, from GET /email-templates) with its own words or yours…Create and change quotesAndSend emailsPOST/quotes/{id}/send/testSend a test of a quote’s emailSend a test of the quote’s email to one address (test_to), as the composer’s Send test: the same body as the preview, marked a test, to nobody else.Create and change quotesAndSend emailsGET/quotes/{id}/signaturesList a quote’s signaturesThe quote’s signature records, newest first, as its Signature history lists them: each signature given on it (online through the sign link, on the…Read quotesPOST/quotes/{id}/signed-copy/sendEmail a quote’s signed copyEmail the customer their signed PDF again, as the quote menu’s Email signed copy (the one sent at signing failed, or the customer lost it).Create and change quotesAndSend emailsGET/quotes/{id}/store-creditSee a quote’s store creditThe customer’s Shopify store credit for the quote, as Payments’ Store credit reads it: what they have in the quote’s currency, the balance due, the…Record and request paymentsPOST/quotes/{id}/store-creditPay a quote with store creditPay the quote from the customer’s Shopify store credit, as Payments’ Store credit does: a debit of their Shopify balance, recorded as a payment in…Record and request paymentsGET/signature-exportsList signature exportsThe store’s latest signature evidence exports (up to 10, newest first), as Settings › Account and data › Signature records lists them: what each…Export signed contractsPOST/signature-exportsStart a signature exportStart a signature evidence export, as Settings › Account and data › Signature records’ Export does: every signature signed between two days (the…Export signed contractsGET/signature-exports/{id}/parts/{part}Open a signature export’s partOne finished ZIP part of an export: its name, size, fingerprint and a link to download it through the API (GET…Export signed contractsGET/signature-exports/{id}/parts/{part}/fileDownload a signature export’s partAn export’s ZIP part, from the url GET /signature-exports/{id}/parts/{part} answered: no Authorization header, the link’s t is the credential.Any API keyGET/signatures/{id}Get a signature’s evidenceOne signature record’s evidence, as Signature history’s Download evidence gives it: the record, how that kind of signing works, and the SHA-256…Read quotes or ordersGET/signatures/{id}/paper-scanOpen a paper signature’s scanA paper signature’s attached scan: its name, type, fingerprint, who attached it and when, and a link to the file through the API (GET…Read quotes or ordersPOST/signatures/{id}/paper-scanUpload a paper signature’s scanAttach the scan or photo of a paper signature, as Signature history’s Attach scan does: send multipart/form-data with the file in a file field, a…Prices and exceptionsGET/signatures/{id}/paper-scan/fileDownload a paper signature’s scanThe paper scan itself, opened from the url GET /signatures/{id}/paper-scan answered: no Authorization header, the link’s t is the credential.Any API keyPOST/signatures/{id}/paper-scan/from-urlAdd a paper signature’s scan from a URLAttach the scan or photo of a paper signature, as Signature history’s Attach scan does: fetched from a public https address (not a private or local…Prices and exceptionsGET/signatures/{id}/pdfDownload a signed PDFThe stored signed PDF of a signature record (the document as signed, with its signature certificate page), never made again from the order.Read quotes or orders

Stuck?

Chip, the OrderPilot beaver

Send us your request, the response and the time you sent it. Remove your key before sharing.

Email support[email protected]