Quotes and orders
Create quotes, convert them to orders and update their status as the sale progresses.
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.
customer_id, status_id or updated_since.Read quotesGET/quotes/{id}Get a quoteRead line items, options, totals, fees and custom fields. Costs aren’t included.Read quotesGET/ordersList ordersUse the same filters as for quotes. Split orders appear as a single order.Read ordersGET/orders/{id}Get an orderRead the same fields as a quote, with kind set to order.Read ordersGET/orders/{id}/fulfillmentsList an order’s fulfillmentsCheck quantities ordered, fulfilled and delivered for each line. Fulfill orders in Shopify.Read ordersGET/orders/{id}/warrantySee an order’s warrantyRead each line’s warranty coverage and the store’s preset terms.Read orders or quotesCreate 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.
expected_updated_at.Create and change quotesPATCH/orders/{id}Change an orderUpdate the same fields before the order becomes a Shopify order.Change ordersPOST/quotes/{id}/expirySet a quote’s expiration dateSet the quote’s last valid day or restore the store’s default.Create and change quotesDELETE/quotes/{id}Delete a quoteDelete the quote and its Shopify draft. Orders can never be deleted.Delete recordsPOST/quotes/{id}/sync-retryRetry a quote’s Shopify syncRetries creating or updating the Shopify draft when sync_status is failed.Create and change quotesPOST/orders/{id}/sync-retryRetry an order’s Shopify syncRetries creating or updating the Shopify draft when sync_status is failed.Change ordersUpdate 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.
status_id to change status the same way the app does.Create and change quotesPOST/orders/{id}/statusChange an order’s statusChange an order’s status, including canceling it.Change ordersGET/quotes/{id}/next-stepSee a quote’s next stepRead the available actions shown by Next action in the app.Read quotesGET/orders/{id}/next-stepSee an order’s next stepRead the available actions for an order.Read ordersPOST/quotes/{id}/convertTurn into an orderCreate an unpaid Shopify order with payment terms. Converting from review or a locked status also requires Prices and exceptions.Change ordersGET/email-templatesList email templatesRead the customer email templates for sending quotes and orders.Send emailsPOST/quotes/{id}/sendSend to customerQueue an email using your chosen template, addressed to the customer or up to 5 addresses.Create and change quotesAndSend emailsPOST/orders/{id}/sendSend an order to the customerQueue an order email with the same template and recipient options.Change ordersAndSend emailsPOST/quotes/{id}/accept-changesAccept a quote’s requested changesIn InboxAccept all open change requests together. See the Inbox reference.Create and change quotesAndWork the InboxSend emailsPayments 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.
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.
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.
Documents and activity
Download customer PDFs, read the change history and add comments to a record.
Get values for forms
Read the store’s settings to get the IDs and choices for quote and order forms.
status_id.Read quotes or ordersGET/payment-termsList payment termsRead Shopify payment term templates, with payment_terms_id.Read quotes or ordersGET/fee-templatesList fee templatesRead fees from Settings › Custom fees, such as White Glove Delivery.Read quotes or ordersGET/custom-fieldsList custom fieldsRead the text, number and dropdown fields you can fill in.Read quotes or ordersGET/locationsList locationsRead the locations available for a sale, with location_id.Any ofRead quotesCreate and change quotesRead ordersChange ordersRead customersCreate and change customersRead the catalogRead purchase ordersManage purchase ordersRead the InboxWork the InboxRead warranty claimsWork warranty claimsRead reportsManage webhooksRecord and request paymentsRefunds and returnsSend emailsDelete recordsPrices and exceptionsSee costsEnter and correct costsSee commissionChange sales creditChange the catalogRead settingsChange settingsManage staffExport signed contractsExport customer dataGET/staffList staffRead the staff who can receive sales credit, with salesperson_ids.Any ofRead quotesRead ordersCreate and change quotesChange ordersGET/tagsList tagsRead up to 500 tags used on quotes and orders.Any ofRead quotesRead ordersCreate and change quotesChange ordersMore endpoints
Guides for your integration
next_cursor and updated_since, and track quotes that become orders.Retry without duplicate changesUse Idempotency-Key, retrieve responses for 24 hours and handle 409 OUTCOME_UNKNOWN.Receive updates through webhooksTrack changes to sales, customers, payments, Inbox messages, purchase orders and warranty claims.Stuck?

Send us your request, the response and the time you sent it. Remove your key before sharing.
Email support[email protected]