API reference · Area

Warranty

Manage a claim from the reported problem and decision through repairs, replacements, refunds or store credit. Track vendor answers and reimbursements, parts and replacement goods, pickups and deliveries.

56 endpointsSome endpoints are in preview
Required permissionsRead warranty claimsWork warranty claimsRefunds and returnsEnter and correct costsSend emailsManage purchase ordersPrices and exceptionsRead ordersSee costsCreate and change quotesChange orders

Before you start

Decide the claim and track the vendor’s response

Ask the vendor before deciding, or record why you are proceeding without asking. Keep reimbursement requests with the claim; the amount becomes fixed when the request is first emailed or recorded as sent another way.

Have the goods ready before delivery

Order parts and replacements from the vendor or take them from stock. Receive a replacement or take it from stock before scheduling delivery. Pickups can be scheduled for refunds, store credit or workshop repairs.

Record a refund or issue credit

Record a claim’s refund or credit records money or credit already given and does not move money. Issue store credit for a claim gives credit in Shopify in the order’s currency. Both end coverage on the claim’s units.

Find records

7 endpoints

Create records

5 endpoints

Record actions

36 endpoints
POST/warranty/claims/{id}/adopt-planUpdate a claim’s workflowMoves an open claim decided under the older workflow to the current one, using its $0 replacement order or paid repair quote as its warranty order and…Refunds and returnsPOST/warranty/claims/{id}/attachmentsUpload a file to a claimUploads a photo or file of up to 10 MB, with up to 30 files per claim, and returns 201 with the file.Work warranty claimsPOST/warranty/claims/{id}/attachments/from-urlAdd a claim file from a URLAdds a JPEG, PNG, WebP, GIF or PDF of up to 10 MB from a public http or https URL and returns 201 with the file; include fix_id to attach it to a…Work warranty claimsPOST/warranty/claims/{id}/costsAdd a cost to a claimAdds a part, labor, shipping, replacement or other cost, with its label, amount and payer, and returns it.Work warranty claimsAndEnter and correct costsPOST/warranty/claims/{id}/decisionDecide a warranty claimRecords a decision of covered, partly covered, goodwill, paid repair or declined with a reason, plus any supplied fix plan, goodwill share and…Refunds and returnsPOST/warranty/claims/{id}/deliveryBook a replacement deliverySchedules delivery with a date, time window, staff member and optional pickup of the old unit, and returns the updated step; booking again changes the…Work warranty claimsPOST/warranty/claims/{id}/delivery/deliveredMark a replacement deliveredRecords delivery on a date no later than today, completes the replacement, ends coverage on the replaced units and starts coverage on the new ones…Work warranty claimsPOST/warranty/claims/{id}/emailsEmail the customer about a claimSends a claim email and returns the sending result and what the claim is waiting on; requests for information or a suitable time make it wait on the…Work warranty claimsAndSend emailsPOST/warranty/claims/{id}/fixes/{fixId}/finish-setupFinish setting up a replacementFinishes a replacement whose $0 order exists but whose warranty and claim updates are incomplete, and returns the updated step.Work warranty claimsPOST/warranty/claims/{id}/fixes/{fixId}/visit-resultRecord a repair visit’s resultRecords whether the repair succeeded, needs another visit or failed, with minutes spent and notes.Work warranty claimsPOST/warranty/claims/{id}/goodsOrder parts and replacements for a claimOrders outstanding replacements and parts in the decision’s lines from the product’s vendor on one purchase order to the store, returning its details…Work warranty claimsAndManage purchase ordersPOST/warranty/claims/{id}/goods/from-stockTake a claim’s goods from stockTakes the parts and replacements still needed from store stock and returns the updated claim status.Work warranty claimsPOST/warranty/claims/{id}/goods/{purchaseOrderId}/problemReport damaged or incorrect claim goodsReverses receipt of damaged or incorrect goods on the same purchase order, removes their stock, makes the purchase order wait on the vendor again and…Work warranty claimsAndManage purchase ordersPOST/warranty/claims/{id}/goods/{purchaseOrderId}/receiveReceive a claim’s goodsReceives all outstanding claim goods on the purchase order, adding stock and recording the receipt and costs, and returns the updated claim and…Work warranty claimsAndManage purchase ordersPOST/warranty/claims/{id}/goods/{purchaseOrderId}/sendSend a claim’s purchase orderSends the draft purchase order and its PDF to the vendor, returning the purchase order status and whether the email was queued; it moves from Draft to…Work warranty claimsAndManage purchase ordersSend emailsPOST/warranty/claims/{id}/money-backRecord a claim’s refund or creditRecords a refund or store credit already given in Shopify, ends warranty coverage on the claim’s units and returns the updated step.Work warranty claimsPOST/warranty/claims/{id}/notesAdd a note to a claimAdds an internal note to the claim’s timeline.Work warranty claimsPOST/warranty/claims/{id}/partsOrder a part for a claimCreates a draft purchase order for a part from the product’s vendor at the order’s location, with “For claim WC-…” in its notes and delivery to the…Work warranty claimsAndManage purchase ordersPOST/warranty/claims/{id}/pickupBook a claim pickupSchedules pickup before a refund, credit or workshop repair with a date, time window and staff member, and returns the updated step.Work warranty claimsPOST/warranty/claims/{id}/pickup/collectedMark a claim’s product collectedRecords collection from the customer on a date no later than today and returns the updated step.Work warranty claimsPOST/warranty/claims/{id}/pickup/returnedMark a repaired product returnedRecords the return of a workshop repair to the customer on a date no later than today, completes the pickup and returns the updated step.Work warranty claimsPOST/warranty/claims/{id}/quote/signature-requestEmail a warranty quote for signatureEmails the customer a request to sign the claim’s warranty quote and returns confirmation.Work warranty claimsAndSend emailsPOST/warranty/claims/{id}/quote/signed-copyRecord a signed warranty quoteRecords a warranty quote signed in store, including who signed, the date and how, and returns confirmation.Work warranty claimsAndPrices and exceptionsPOST/warranty/claims/{id}/reopenReopen a warranty claimReopens a resolved or declined claim and returns its updated status.Refunds and returnsPOST/warranty/claims/{id}/repair-orderLink a claim’s repair quote or orderLinks an older paid repair claim to a quote or order for the same customer and returns its ID.Work warranty claimsPOST/warranty/claims/{id}/replacementCreate a free replacementCreates a $0 Shopify order at the original order’s location, with warranty coverage, for all claim units or those in unit_ids, and returns the…Work warranty claimsAndPrices and exceptionsPOST/warranty/claims/{id}/statusChange a claim’s statusChanges a claim’s status when the transition is allowed.Work warranty claimsPOST/warranty/claims/{id}/store-creditIssue store credit for a claimIssues Shopify store credit in the order’s currency, records it on the claim, ends coverage on its units and returns the updated step.Work warranty claimsAndRefunds and returnsPOST/warranty/claims/{id}/vendor-askAsk the vendor about a claimEmails the vendor before a decision, or sends a reminder, and returns the vendor request; an undecided claim waits on the vendor until an answer is…Work warranty claimsAndManage purchase ordersSend emailsPOST/warranty/claims/{id}/vendor-ask/answerRecord the vendor’s answerRecords approval, partial approval or denial received by email, phone or vendor portal, and whether the vendor will send a replacement, send a part…Work warranty claimsPOST/warranty/claims/{id}/vendor-ask/skipSkip asking the vendorRecords why the store is proceeding without asking the vendor and ends that wait, while allowing a request later.Work warranty claimsPOST/warranty/claims/{id}/vendor-claim/askedRecord a reimbursement request to the vendorRecords when and how reimbursement was requested outside the claim email, such as by phone or vendor portal, and returns the vendor claim.Work warranty claimsPOST/warranty/claims/{id}/vendor-claim/sendEmail a vendor reimbursement claimEmails a reimbursement claim to the vendor, or sends a reminder, and returns the vendor claim.Work warranty claimsAndManage purchase ordersSend emailsPOST/warranty/claims/{id}/vendor-emailEmail a claim’s vendorEmails the vendor about a claim step, records it in the timeline and returns confirmation; collect_old_unit tells the vendor the old unit is ready for…Work warranty claimsAndManage purchase ordersSend emailsPOST/warranty/claims/{id}/visitsBook a repair visitBooks a repair visit with a date, time window and technician, or a workshop repair when the product is collected first.Work warranty claimsPOST/warranty/claims/{id}/warranty-orderCreate or update a warranty orderCreates the warranty order from the decision’s lines and covered prices at the original order’s location, or updates an existing one to match, and…Work warranty claimsAndPrices and exceptions

Update or delete records

8 endpoints
PATCH/warranty/claims/{id}Update a warranty claimUpdates the supplied assignee, waiting-on value or status, using the same status rules as POST /warranty/claims/{id}/status, and returns the updated…Work warranty claimsDELETE/warranty/claims/{id}/attachments/{attachmentId}Delete a claim’s fileRemoves a claim file and records the removal in the timeline.Work warranty claimsPATCH/warranty/claims/{id}/costs/{costId}Change a claim’s costUpdates the supplied label, amount or payer and returns the cost.Work warranty claimsAndEnter and correct costsDELETE/warranty/claims/{id}/costs/{costId}Remove a claim’s costRemoves a cost from the claim, records the removal in its timeline and returns confirmation.Work warranty claimsAndEnter and correct costsPATCH/warranty/claims/{id}/fixes/{fixId}Change a claim’s fixUpdates only the supplied details of a fix: status (done, canceled or reopened), visit date, time window, technician or notes.Work warranty claimsPATCH/warranty/claims/{id}/reportCorrect a claim’s reportUpdates the supplied customer description, reason, problem start date or reporting channel on an open claim and returns the corrected report.Work warranty claimsPATCH/warranty/claims/{id}/unitsChange a claim’s unitsReplaces the units on an undecided claim and returns them with their coverage checked again.Work warranty claimsPATCH/warranty/claims/{id}/vendor-claimUpdate a claim’s vendor reimbursementUpdates the supplied vendor reference, note, response, credited amount or payment method and returns the vendor claim.Work warranty claims

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]