[{"data":1,"prerenderedAt":1058},["ShallowReactive",2],{"versions":3,"nav-guides":8,"nav-ref-v1":86,"op-v1-list-order-warranties":618},[4],{"id":5,"label":5,"file":6,"status":7},"v1","cartirra-v1.json","current",[9,14,19,24,29,34,39,44,49,55,60,65,70,75,80],{"path":10,"title":11,"group":11,"order":12,"description":13},"\u002Fguides\u002Fgetting-started","Getting started",1,"What the Cartirra API does, how requests look, and the three things to set up first.",{"path":15,"title":16,"group":11,"order":17,"description":18},"\u002Fguides\u002Fquickstart","Quickstart",2,"Create a checkout session from your server, let the shopper pay, and read the order. About ten minutes, all in test mode.",{"path":20,"title":21,"group":11,"order":22,"description":23},"\u002Fguides\u002Fembed-checkout","Cartirra Popup and Redirect",2.5,"Open the checkout over your own page with one script tag (Cartirra Popup), or send shoppers to Cartirra's checkout page (Cartirra Redirect). Then confirm the order on your server.",{"path":25,"title":26,"group":11,"order":27,"description":28},"\u002Fguides\u002Fad-tracking","Track checkouts in your ads",2.6,"Your Meta, Google and TikTok pixels see every checkout step and purchase, in the browser and from Cartirra's server, counted once.",{"path":30,"title":31,"group":11,"order":32,"description":33},"\u002Fguides\u002Fpay-at-table","Pay at table",2.7,"Tables with QR codes, bills guests pay from their phone (all at once or split), the live board, refunds and the day's reconciliation. An add-on, per store.",{"path":35,"title":36,"group":11,"order":37,"description":38},"\u002Fguides\u002Fwarranties","Warranties",2.8,"Give a warranty with an item at checkout, or add one after the sale. The shopper keeps it in their Cartirra account and is reminded before it ends. Growth and above.",{"path":40,"title":41,"group":11,"order":42,"description":43},"\u002Fguides\u002Fauthentication","Authentication",3,"Secret and public keys, test and live mode, rotating keys without downtime, and keeping them safe.",{"path":45,"title":46,"group":11,"order":47,"description":48},"\u002Fguides\u002Ftest-mode","Test mode",4,"Build and test your integration with test keys. Payments, refunds and payouts are simulated; no real money moves.",{"path":50,"title":51,"group":52,"order":53,"description":54},"\u002Fguides\u002Fpagination","Pagination and filtering","Core concepts",10,"Lists are newest first and use cursors. Ask for up to 100 items a page and follow next_cursor.",{"path":56,"title":57,"group":52,"order":58,"description":59},"\u002Fguides\u002Fidempotency","Idempotency",11,"Retry creates and refunds safely. The same Idempotency-Key always gets the same response, and the action happens once.",{"path":61,"title":62,"group":52,"order":63,"description":64},"\u002Fguides\u002Ferrors","Errors and troubleshooting",12,"One error shape everywhere. Branch on code, show message, and quote request_id when you contact support.",{"path":66,"title":67,"group":52,"order":68,"description":69},"\u002Fguides\u002Frate-limits","Rate limits",13,"Each secret key gets its own request budget. Back off on 429 using Retry-After.",{"path":71,"title":72,"group":52,"order":73,"description":74},"\u002Fguides\u002Fversioning","Versioning",14,"The version is in the path. Within v1 we only add things, and anything removed is announced with Deprecation and Sunset headers first.",{"path":76,"title":77,"group":77,"order":78,"description":79},"\u002Fguides\u002Fwebhooks","Webhooks",20,"Cartirra posts signed events to your endpoint when orders, payments, refunds, payouts and customers change. Verify, deduplicate, answer fast.",{"path":81,"title":82,"group":83,"order":84,"description":85},"\u002Fguides\u002Fchangelog","Changelog","Resources",30,"Changes to the Cartirra API and these docs. Within v1, changes are additive only.",{"title":87,"version":88,"tags":89,"webhooks":536},"Cartirra API","1.0.0",[90,112,136,171,239,313,345,355,369,384,409,432,446,456,481,496,511,526],{"name":91,"slug":92,"description":93,"operations":94},"Checkout sessions","checkout-sessions","Open a checkout for a cart; the shopper pays in Cartirra Popup on your page or through Cartirra Redirect.",[95,101,107],{"operationId":96,"slug":97,"method":98,"path":99,"summary":100,"tag":91},"createCheckoutSession","create-checkout-session","post","\u002Fv1\u002Fcheckout-sessions","Create a checkout session",{"operationId":102,"slug":103,"method":104,"path":105,"summary":106,"tag":91},"getCheckoutSession","get-checkout-session","get","\u002Fv1\u002Fcheckout-sessions\u002F{id}","Retrieve a checkout session",{"operationId":108,"slug":109,"method":98,"path":110,"summary":111,"tag":91},"expireCheckoutSession","expire-checkout-session","\u002Fv1\u002Fcheckout-sessions\u002F{id}\u002Fexpire","Expire a checkout session",{"name":113,"slug":114,"description":115,"operations":116},"Payment links","payment-links","Carts you share as a link (WhatsApp, Instagram, SMS): no code needed.",[117,122,126,131],{"operationId":118,"slug":119,"method":104,"path":120,"summary":121,"tag":113},"listPaymentLinks","list-payment-links","\u002Fv1\u002Fpayment-links","List payment links",{"operationId":123,"slug":124,"method":98,"path":120,"summary":125,"tag":113},"createPaymentLink","create-payment-link","Create a payment link",{"operationId":127,"slug":128,"method":104,"path":129,"summary":130,"tag":113},"getPaymentLink","get-payment-link","\u002Fv1\u002Fpayment-links\u002F{id}","Retrieve a payment link",{"operationId":132,"slug":133,"method":134,"path":129,"summary":135,"tag":113},"updatePaymentLink","update-payment-link","patch","Update a payment link",{"name":137,"slug":138,"description":139,"operations":140},"Tables","tables","Pay at table: your tables and the QR code printed on each.",[141,146,152,157,161,166],{"operationId":142,"slug":143,"method":104,"path":144,"summary":145,"tag":137},"listPayAtTableStores","list-pay-at-table-stores","\u002Fv1\u002Fpay-at-table\u002Fstores","List Pay at table stores",{"operationId":147,"slug":148,"method":149,"path":150,"summary":151,"tag":137},"setStorePayAtTable","set-store-pay-at-table","put","\u002Fv1\u002Fstores\u002F{store_id}\u002Fpay-at-table","Turn Pay at table on or off at a store",{"operationId":153,"slug":154,"method":104,"path":155,"summary":156,"tag":137},"listTables","list-tables","\u002Fv1\u002Fstores\u002F{store_id}\u002Ftables","List tables",{"operationId":158,"slug":159,"method":98,"path":155,"summary":160,"tag":137},"createTables","create-tables","Add tables",{"operationId":162,"slug":163,"method":134,"path":164,"summary":165,"tag":137},"updateTable","update-table","\u002Fv1\u002Ftables\u002F{id}","Update a table",{"operationId":167,"slug":168,"method":98,"path":169,"summary":170,"tag":137},"rotateTableQr","rotate-table-qr","\u002Fv1\u002Ftables\u002F{id}\u002Frotate-qr","Replace a table’s QR link",{"name":172,"slug":173,"description":174,"operations":175},"Bills","bills","Pay at table: bills guests pay from the table QR (all at once or split), the live board, refunds and the day’s reconciliation.",[176,181,185,190,195,200,205,210,215,220,224,229,234],{"operationId":177,"slug":178,"method":104,"path":179,"summary":180,"tag":172},"listBills","list-bills","\u002Fv1\u002Fbills","List bills",{"operationId":182,"slug":183,"method":98,"path":179,"summary":184,"tag":172},"openBill","open-bill","Open a bill",{"operationId":186,"slug":187,"method":104,"path":188,"summary":189,"tag":172},"getBillBoard","get-bill-board","\u002Fv1\u002Fbills\u002Fboard","Retrieve the table board",{"operationId":191,"slug":192,"method":104,"path":193,"summary":194,"tag":172},"lookupBillPayments","lookup-bill-payments","\u002Fv1\u002Fbills\u002Fpayments","Find a table payment",{"operationId":196,"slug":197,"method":104,"path":198,"summary":199,"tag":172},"getBillReconciliation","get-bill-reconciliation","\u002Fv1\u002Fbills\u002Freconciliation","Retrieve the day’s reconciliation",{"operationId":201,"slug":202,"method":104,"path":203,"summary":204,"tag":172},"listBillRefunds","list-bill-refunds","\u002Fv1\u002Fbills\u002Frefunds","List the refund queue",{"operationId":206,"slug":207,"method":98,"path":208,"summary":209,"tag":172},"refundBillRefund","refund-bill-refund","\u002Fv1\u002Fbills\u002Frefunds\u002F{id}\u002Frefund","Send a queued refund",{"operationId":211,"slug":212,"method":98,"path":213,"summary":214,"tag":172},"dismissBillRefund","dismiss-bill-refund","\u002Fv1\u002Fbills\u002Frefunds\u002F{id}\u002Fdismiss","Dismiss a queued refund",{"operationId":216,"slug":217,"method":104,"path":218,"summary":219,"tag":172},"getBill","get-bill","\u002Fv1\u002Fbills\u002F{id}","Retrieve a bill",{"operationId":221,"slug":222,"method":134,"path":218,"summary":223,"tag":172},"updateBill","update-bill","Update a bill",{"operationId":225,"slug":226,"method":98,"path":227,"summary":228,"tag":172},"recordBillOutsidePayment","record-bill-outside-payment","\u002Fv1\u002Fbills\u002F{id}\u002Foutside","Record a payment outside Cartirra",{"operationId":230,"slug":231,"method":98,"path":232,"summary":233,"tag":172},"closeBill","close-bill","\u002Fv1\u002Fbills\u002F{id}\u002Fclose","Close a bill",{"operationId":235,"slug":236,"method":98,"path":237,"summary":238,"tag":172},"voidBill","void-bill","\u002Fv1\u002Fbills\u002F{id}\u002Fvoid","Void a bill",{"name":240,"slug":241,"description":242,"operations":243},"Orders","orders","Orders placed through checkout: read them and move them through fulfilment, and answer problems shoppers report.",[244,249,254,259,264,269,274,279,284,289,294,298,303,308],{"operationId":245,"slug":246,"method":104,"path":247,"summary":248,"tag":240},"getOrderRelated","get-order-related","\u002Fv1\u002Forders\u002F{id}\u002Frelated","Retrieve order extras",{"operationId":250,"slug":251,"method":104,"path":252,"summary":253,"tag":240},"listOrders","list-orders","\u002Fv1\u002Forders","List orders",{"operationId":255,"slug":256,"method":104,"path":257,"summary":258,"tag":240},"getOrder","get-order","\u002Fv1\u002Forders\u002F{id}","Retrieve an order",{"operationId":260,"slug":261,"method":104,"path":262,"summary":263,"tag":240},"listOrderActivity","list-order-activity","\u002Fv1\u002Forders\u002F{id}\u002Factivity","List order activity",{"operationId":265,"slug":266,"method":98,"path":267,"summary":268,"tag":240},"updateOrderStatus","update-order-status","\u002Fv1\u002Forders\u002F{id}\u002Fstatus","Update order status",{"operationId":270,"slug":271,"method":98,"path":272,"summary":273,"tag":240},"acceptOrder","accept-order","\u002Fv1\u002Forders\u002F{id}\u002Faccept","Accept an order",{"operationId":275,"slug":276,"method":149,"path":277,"summary":278,"tag":240},"updateOrderDeliveryAddress","update-order-delivery-address","\u002Fv1\u002Forders\u002F{id}\u002Fdelivery-address","Update delivery address",{"operationId":280,"slug":281,"method":98,"path":282,"summary":283,"tag":240},"cancelOrder","cancel-order","\u002Fv1\u002Forders\u002F{id}\u002Fcancel","Cancel an order",{"operationId":285,"slug":286,"method":104,"path":287,"summary":288,"tag":240},"listOrderIssues","list-order-issues","\u002Fv1\u002Forder-issues","List problem reports",{"operationId":290,"slug":291,"method":104,"path":292,"summary":293,"tag":240},"getOrderIssue","get-order-issue","\u002Fv1\u002Forder-issues\u002F{id}","Retrieve a problem report",{"operationId":295,"slug":296,"method":134,"path":292,"summary":297,"tag":240},"updateOrderIssue","update-order-issue","Update a problem report",{"operationId":299,"slug":300,"method":98,"path":301,"summary":302,"tag":240},"markPayOnDeliveryCollected","mark-pay-on-delivery-collected","\u002Fv1\u002Forders\u002F{id}\u002Fpay-on-delivery\u002Fcollected","Mark pay on delivery collected",{"operationId":304,"slug":305,"method":98,"path":306,"summary":307,"tag":240},"markPayOnDeliveryNotPaid","mark-pay-on-delivery-not-paid","\u002Fv1\u002Forders\u002F{id}\u002Fpay-on-delivery\u002Fnot-paid","Mark pay on delivery not paid",{"operationId":309,"slug":310,"method":98,"path":311,"summary":312,"tag":240},"rejectOrder","reject-order","\u002Fv1\u002Forders\u002F{id}\u002Freject","Reject an order",{"name":36,"slug":314,"description":315,"operations":316},"warranties","Warranties on what you sold: sent on checkout lines or added afterwards. Shoppers keep them in their Cartirra account.",[317,322,327,331,336,341],{"operationId":318,"slug":319,"method":104,"path":320,"summary":321,"tag":36},"listWarranties","list-warranties","\u002Fv1\u002Fwarranties","List warranties",{"operationId":323,"slug":324,"method":104,"path":325,"summary":326,"tag":36},"getWarranty","get-warranty","\u002Fv1\u002Fwarranties\u002F{id}","Retrieve a warranty",{"operationId":328,"slug":329,"method":134,"path":325,"summary":330,"tag":36},"updateWarranty","update-warranty","Update a warranty",{"operationId":332,"slug":333,"method":98,"path":334,"summary":335,"tag":36},"voidWarranty","void-warranty","\u002Fv1\u002Fwarranties\u002F{id}\u002Fvoid","Void a warranty",{"operationId":337,"slug":338,"method":104,"path":339,"summary":340,"tag":36},"listOrderWarranties","list-order-warranties","\u002Fv1\u002Forders\u002F{id}\u002Fwarranties","List an order's warranties",{"operationId":342,"slug":343,"method":98,"path":339,"summary":344,"tag":36},"createWarranty","create-warranty","Add a warranty to an order",{"name":346,"slug":347,"description":348,"operations":349},"Payments","payments","The payment behind an order (bank transfer or card).",[350],{"operationId":351,"slug":352,"method":104,"path":353,"summary":354,"tag":346},"getPayment","get-payment","\u002Fv1\u002Fpayments\u002F{id}","Retrieve a payment",{"name":356,"slug":357,"description":358,"operations":359},"Refunds","refunds","Return money to the shopper, in full or in part.",[360,365],{"operationId":361,"slug":362,"method":104,"path":363,"summary":364,"tag":356},"listRefunds","list-refunds","\u002Fv1\u002Forders\u002F{id}\u002Frefunds","List refunds",{"operationId":366,"slug":367,"method":98,"path":363,"summary":368,"tag":356},"createRefund","create-refund","Create a refund",{"name":370,"slug":371,"description":372,"operations":373},"Receipts","receipts","Receipts and credit notes issued for orders.",[374,379],{"operationId":375,"slug":376,"method":104,"path":377,"summary":378,"tag":370},"getOrderReceipt","get-order-receipt","\u002Fv1\u002Forders\u002F{id}\u002Freceipt","Retrieve a receipt",{"operationId":380,"slug":381,"method":104,"path":382,"summary":383,"tag":370},"listOrderCreditNotes","list-order-credit-notes","\u002Fv1\u002Forders\u002F{id}\u002Fcredit-notes","List credit notes",{"name":385,"slug":386,"description":387,"operations":388},"Customers","customers","Shoppers who shared their details with your business.",[389,394,399,404],{"operationId":390,"slug":391,"method":104,"path":392,"summary":393,"tag":385},"listCustomerActivity","list-customer-activity","\u002Fv1\u002Fcustomers\u002F{id}\u002Factivity","List customer activity",{"operationId":395,"slug":396,"method":104,"path":397,"summary":398,"tag":385},"listCustomerAddresses","list-customer-addresses","\u002Fv1\u002Fcustomers\u002F{id}\u002Faddresses","List customer addresses",{"operationId":400,"slug":401,"method":104,"path":402,"summary":403,"tag":385},"listCustomers","list-customers","\u002Fv1\u002Fcustomers","List customers",{"operationId":405,"slug":406,"method":104,"path":407,"summary":408,"tag":385},"getCustomer","get-customer","\u002Fv1\u002Fcustomers\u002F{id}","Retrieve a customer",{"name":410,"slug":411,"description":412,"operations":413},"Promotions","promotions","Discount codes and automatic promotions.",[414,419,423,428],{"operationId":415,"slug":416,"method":104,"path":417,"summary":418,"tag":410},"listPromotions","list-promotions","\u002Fv1\u002Fpromotions","List promotions",{"operationId":420,"slug":421,"method":98,"path":417,"summary":422,"tag":410},"createPromotion","create-promotion","Create a promotion",{"operationId":424,"slug":425,"method":104,"path":426,"summary":427,"tag":410},"getPromotion","get-promotion","\u002Fv1\u002Fpromotions\u002F{id}","Retrieve a promotion",{"operationId":429,"slug":430,"method":134,"path":426,"summary":431,"tag":410},"updatePromotion","update-promotion","Update a promotion",{"name":433,"slug":434,"description":435,"operations":436},"Gift cards","gift-cards","Issue and list gift cards.",[437,442],{"operationId":438,"slug":439,"method":104,"path":440,"summary":441,"tag":433},"listGiftCards","list-gift-cards","\u002Fv1\u002Fgift-cards","List gift cards",{"operationId":443,"slug":444,"method":98,"path":440,"summary":445,"tag":433},"createGiftCard","create-gift-card","Issue a gift card",{"name":447,"slug":448,"description":449,"operations":450},"Reviews","reviews","Ratings shoppers left on completed orders.",[451],{"operationId":452,"slug":453,"method":104,"path":454,"summary":455,"tag":447},"listReviews","list-reviews","\u002Fv1\u002Freviews","List reviews",{"name":457,"slug":458,"description":459,"operations":460},"Balance","balance","Your Cartirra balance and its movements.",[461,466,471,476],{"operationId":462,"slug":463,"method":104,"path":464,"summary":465,"tag":457},"getBalance","get-balance","\u002Fv1\u002Fbalance","Retrieve balance",{"operationId":467,"slug":468,"method":104,"path":469,"summary":470,"tag":457},"listBalanceTransactions","list-balance-transactions","\u002Fv1\u002Fbalance\u002Ftransactions","List balance transactions",{"operationId":472,"slug":473,"method":104,"path":474,"summary":475,"tag":457},"getBalanceTransaction","get-balance-transaction","\u002Fv1\u002Fbalance\u002Ftransactions\u002F{id}","Retrieve a balance transaction",{"operationId":477,"slug":478,"method":104,"path":479,"summary":480,"tag":457},"getDeposit","get-deposit","\u002Fv1\u002Fbalance\u002Fdeposits\u002F{id}","Retrieve a deposit",{"name":482,"slug":483,"description":484,"operations":485},"Payouts","payouts","Money sent from your balance to your bank account.",[486,491],{"operationId":487,"slug":488,"method":104,"path":489,"summary":490,"tag":482},"listPayouts","list-payouts","\u002Fv1\u002Fpayouts","List payouts",{"operationId":492,"slug":493,"method":104,"path":494,"summary":495,"tag":482},"getPayout","get-payout","\u002Fv1\u002Fpayouts\u002F{id}","Retrieve a payout",{"name":497,"slug":498,"description":499,"operations":500},"Stores","stores","Your business's stores.",[501,506],{"operationId":502,"slug":503,"method":104,"path":504,"summary":505,"tag":497},"listStores","list-stores","\u002Fv1\u002Fstores","List stores",{"operationId":507,"slug":508,"method":104,"path":509,"summary":510,"tag":497},"getStore","get-store","\u002Fv1\u002Fstores\u002F{store_id}","Retrieve a store",{"name":512,"slug":513,"description":514,"operations":515},"Events","events","Everything Cartirra sent (or would send) to your webhook endpoint.",[516,521],{"operationId":517,"slug":518,"method":104,"path":519,"summary":520,"tag":512},"listEvents","list-events","\u002Fv1\u002Fevents","List events",{"operationId":522,"slug":523,"method":104,"path":524,"summary":525,"tag":512},"getEvent","get-event","\u002Fv1\u002Fevents\u002F{id}","Retrieve an event",{"name":527,"slug":528,"description":529,"operations":530},"Account","account","The business and mode your key belongs to.",[531],{"operationId":532,"slug":533,"method":104,"path":534,"summary":535,"tag":527},"getContext","get-context","\u002Fv1\u002Fme\u002Fcontext","Retrieve key context",[537,540,543,546,549,552,555,558,561,564,567,570,573,576,579,582,585,588,591,594,597,600,603,606,609,612,615],{"event":538,"slug":539,"summary":538},"order.created","order-created",{"event":541,"slug":542,"summary":541},"order.updated","order-updated",{"event":544,"slug":545,"summary":544},"payment.succeeded","payment-succeeded",{"event":547,"slug":548,"summary":547},"payment.failed","payment-failed",{"event":550,"slug":551,"summary":550},"payment.expired","payment-expired",{"event":553,"slug":554,"summary":553},"refund.succeeded","refund-succeeded",{"event":556,"slug":557,"summary":556},"refund.failed","refund-failed",{"event":559,"slug":560,"summary":559},"payout.paid","payout-paid",{"event":562,"slug":563,"summary":562},"payout.failed","payout-failed",{"event":565,"slug":566,"summary":565},"webhook.test","webhook-test",{"event":568,"slug":569,"summary":568},"customer.created","customer-created",{"event":571,"slug":572,"summary":571},"customer.updated","customer-updated",{"event":574,"slug":575,"summary":574},"bill.opened","bill-opened",{"event":577,"slug":578,"summary":577},"bill.updated","bill-updated",{"event":580,"slug":581,"summary":580},"bill.payment_received","bill-payment-received",{"event":583,"slug":584,"summary":583},"bill.closed","bill-closed",{"event":586,"slug":587,"summary":586},"bill.voided","bill-voided",{"event":589,"slug":590,"summary":589},"customer.consent_revoked","customer-consent-revoked",{"event":592,"slug":593,"summary":592},"order.issue_reported","order-issue-reported",{"event":595,"slug":596,"summary":595},"order.issue_updated","order-issue-updated",{"event":598,"slug":599,"summary":598},"warranty.created","warranty-created",{"event":601,"slug":602,"summary":601},"warranty.updated","warranty-updated",{"event":604,"slug":605,"summary":604},"warranty.voided","warranty-voided",{"event":607,"slug":608,"summary":607},"order.accepted","order-accepted",{"event":610,"slug":611,"summary":610},"order.rejected","order-rejected",{"event":613,"slug":614,"summary":613},"loyalty.tier_changed","loyalty-tier-changed",{"event":616,"slug":617,"summary":616},"loyalty.reward_redeemed","loyalty-reward-redeemed",{"operation":619,"serverUrl":1016,"samples":1017,"examples":1040,"tag":1047,"previous":1055,"next":1056,"summary":1057},{"operationId":337,"slug":338,"method":104,"path":339,"tag":36,"summary":340,"description":620,"deprecated":621,"permissions":622,"idempotency":624,"parameters":625,"requestBody":624,"responses":632,"security":1014},"",false,[623],"warranties:read",null,[626],{"name":627,"in":628,"required":629,"schema":630},"id","path",true,{"type":631},"string",[633,715,885,910,935,960,989],{"status":634,"description":635,"schema":636,"example":710,"headers":714},"200","OK",{"type":637,"items":638},"array",{"type":639,"properties":640,"required":698,"x-schema-name":709},"object",{"id":641,"reference":643,"order":645,"store_id":654,"customer_id":656,"line_index":659,"item_name":663,"serial_number":665,"starts_on":668,"ends_on":671,"terms":674,"covered_by":676,"provider":680,"source":683,"state":687,"void_reason":694,"created_at":696,"updated_at":697},{"type":631,"example":642},"wty_0193a1b2c3d47e8f9a0b1c2d3e4f5a6b",{"type":631,"example":644},"WRN-20261027-001",{"type":639,"properties":646,"required":651,"x-schema-name":653},{"id":647,"reference":649},{"type":631,"example":648},"ord_0193…",{"type":631,"example":650},"ORD-X3RK9D5P",[627,652],"reference","WarrantyOrderRef",{"type":631,"format":655},"uuid",{"type":657,"format":655},[631,658],"null",{"type":660,"description":662},[661,658],"number","The order line it covers",{"type":631,"example":664},"Samsung Galaxy A15",{"type":666,"example":667},[631,658],"R58W30ABCDE",{"type":631,"example":669,"description":670},"2026-10-27","First covered day (Lagos)",{"type":631,"example":672,"description":673},"2027-10-26","Last covered day (Lagos)",{"type":675},[631,658],{"type":631,"enum":677},[678,679],"merchant","manufacturer",{"type":681,"example":682},[631,658],"Samsung Nigeria",{"type":631,"enum":684,"description":686},[685,678],"checkout","From the checkout line, or added afterwards",{"type":631,"enum":688,"description":693},[689,690,691,692],"active","ending_soon","expired","voided","ending_soon: 30 days or less left",{"type":695},[631,658],{"type":631},{"type":631},[627,652,699,700,701,702,703,704,705,706,707,708],"order","store_id","item_name","starts_on","ends_on","covered_by","source","state","created_at","updated_at","WarrantyResponse",[711],{"id":642,"reference":644,"order":712,"store_id":713,"customer_id":713,"line_index":12,"item_name":664,"serial_number":667,"starts_on":669,"ends_on":672,"terms":631,"covered_by":678,"provider":682,"source":685,"state":689,"void_reason":631,"created_at":631,"updated_at":631},{"id":648,"reference":650},"0193a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",{},{"status":716,"description":717,"schema":718,"example":878,"headers":884},"400","The request is malformed or a field is invalid (`VALIDATION_FAILED`).",{"type":639,"required":719,"properties":721,"x-schema-name":877},[720],"error",{"error":722},{"type":639,"required":723,"properties":727},[724,725,726],"code","message","request_id",{"code":728,"message":863,"details":866,"request_id":874},{"type":631,"enum":729,"description":862},[730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861],"validation_failed","not_found","conflict","concurrency_conflict","rate_limited","internal","invalid_amount","currency_mismatch","unsupported_currency","unauthenticated","credential_not_accepted","invalid_public_key","permission_denied","tenant_required","tenant_access_denied","merchant_suspended","invalid_mode","mode_mismatch","live_mode_not_enabled","store_not_assigned","mfa_required","feature_not_available","plan_limit_reached","idempotency_key_required","idempotency_key_reused","idempotency_request_in_progress","ledger_account_not_found","ledger_account_code_taken","ledger_account_inactive","ledger_unbalanced","ledger_insufficient_balance","ledger_idempotency_conflict","ledger_transaction_not_found","ledger_already_reversed","email_taken","phone_taken","email_not_verified","invalid_credentials","account_locked","invalid_code","code_expired","too_many_attempts","password_incorrect","password_reused","refresh_token_invalid","mfa_already_enabled","mfa_not_enabled","verification_required","business_name_locked","deletion_blocked","headquarters_protected","store_inactive","invitation_invalid","invitation_email_mismatch","already_member","role_not_assignable","role_system_protected","cannot_remove_self","compliance_locked","compliance_incomplete","file_too_large","unsupported_file_type","file_not_usable","store_closed","fulfilment_not_available","payment_method_not_available","wallet_insufficient_balance","wallet_not_available","checkout_session_expired","checkout_session_completed","checkout_incomplete","consent_required","provider_key_invalid","provider_not_connected","provider_unavailable","payment_already_succeeded","payment_expired","order_not_cancellable","order_issue_not_allowed","order_issue_already_open","order_issue_closed","warranty_not_allowed","warranty_voided","marketing_consent_required","marketing_setup_required","marketing_limit_reached","order_not_editable","order_awaiting_acceptance","order_not_awaiting_acceptance","slot_full","invalid_status_transition","webhook_signature_invalid","webhook_url_invalid","test_mode_only","embed_origin_not_allowed","bank_account_required","bank_account_cooling_down","bank_account_not_resolved","insufficient_balance","refund_not_allowed","payout_refused","customer_blocked","checkout_changed","minimum_order_not_met","payment_link_inactive","payment_link_expired","payment_link_used_up","checkout_already_paid","pay_on_delivery_not_available","pay_request_closed","bill_not_open","bill_nothing_to_pay","bill_balance_changed","bill_edit_not_allowed","bill_has_pending_payments","table_name_taken","pay_at_table_not_enabled","shopper_social_email_unverified","shopper_identity_linked_elsewhere","shopper_last_sign_in_method","shopper_wallet_not_empty","gift_card_linked_elsewhere","pay_request_claimed","app_handoff_closed","app_handoff_claimed","pay_on_delivery_not_payable","sign_in_provider_unavailable","undeliverable_address","promotion_not_eligible","role_in_use","last_owner","bank_name_mismatch","Stable, machine-readable; switch on this, not on the message",{"type":631,"description":864,"example":865},"Human-readable, may change","The request is not valid",{"type":639,"additionalProperties":629,"description":867,"example":868},"Extra context. Validation errors list `fields: [{ field, problems: [] }]`.",{"fields":869},[870],{"field":871,"problems":872},"lines[0].quantity",[873],"quantity must not be greater than 999",{"type":631,"description":875,"example":876},"Quote it when contacting support","01a16e8a-0c57-7682-99ff-a0f5e9abb52e","Error",{"error":879},{"code":730,"message":865,"details":880,"request_id":876},{"fields":881},[882],{"field":871,"problems":883},[873],{},{"status":886,"description":887,"schema":888,"example":903,"headers":909},"401","Missing, malformed, revoked or expired API key (`UNAUTHENTICATED`), or a key this route does not accept, such as a public key (`CREDENTIAL_NOT_ACCEPTED`).",{"type":639,"required":889,"properties":890,"x-schema-name":877},[720],{"error":891},{"type":639,"required":892,"properties":893},[724,725,726],{"code":894,"message":896,"details":897,"request_id":902},{"type":631,"enum":895,"description":862},[730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861],{"type":631,"description":864,"example":865},{"type":639,"additionalProperties":629,"description":867,"example":898},{"fields":899},[900],{"field":871,"problems":901},[873],{"type":631,"description":875,"example":876},{"error":904},{"code":730,"message":865,"details":905,"request_id":876},{"fields":906},[907],{"field":871,"problems":908},[873],{},{"status":911,"description":912,"schema":913,"example":928,"headers":934},"403","The key may not do this (`PERMISSION_DENIED`, `LIVE_MODE_NOT_ENABLED`, `PLAN_LIMIT_REACHED`, …).",{"type":639,"required":914,"properties":915,"x-schema-name":877},[720],{"error":916},{"type":639,"required":917,"properties":918},[724,725,726],{"code":919,"message":921,"details":922,"request_id":927},{"type":631,"enum":920,"description":862},[730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861],{"type":631,"description":864,"example":865},{"type":639,"additionalProperties":629,"description":867,"example":923},{"fields":924},[925],{"field":871,"problems":926},[873],{"type":631,"description":875,"example":876},{"error":929},{"code":730,"message":865,"details":930,"request_id":876},{"fields":931},[932],{"field":871,"problems":933},[873],{},{"status":936,"description":937,"schema":938,"example":953,"headers":959},"404","No such resource in this business and mode (`NOT_FOUND`).",{"type":639,"required":939,"properties":940,"x-schema-name":877},[720],{"error":941},{"type":639,"required":942,"properties":943},[724,725,726],{"code":944,"message":946,"details":947,"request_id":952},{"type":631,"enum":945,"description":862},[730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861],{"type":631,"description":864,"example":865},{"type":639,"additionalProperties":629,"description":867,"example":948},{"fields":949},[950],{"field":871,"problems":951},[873],{"type":631,"description":875,"example":876},{"error":954},{"code":730,"message":865,"details":955,"request_id":876},{"fields":956},[957],{"field":871,"problems":958},[873],{},{"status":961,"description":962,"schema":963,"example":978,"headers":984},"429","Too many requests for this key (`RATE_LIMITED`); wait for `Retry-After` seconds.",{"type":639,"required":964,"properties":965,"x-schema-name":877},[720],{"error":966},{"type":639,"required":967,"properties":968},[724,725,726],{"code":969,"message":971,"details":972,"request_id":977},{"type":631,"enum":970,"description":862},[730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861],{"type":631,"description":864,"example":865},{"type":639,"additionalProperties":629,"description":867,"example":973},{"fields":974},[975],{"field":871,"problems":976},[873],{"type":631,"description":875,"example":876},{"error":979},{"code":730,"message":865,"details":980,"request_id":876},{"fields":981},[982],{"field":871,"problems":983},[873],{"Retry-After":985},{"schema":986,"description":988},{"type":987},"integer","Seconds to wait",{"status":990,"description":991,"schema":992,"example":1007,"headers":1013},"500","Something went wrong on our side (`INTERNAL`). Safe to retry with the same `Idempotency-Key`.",{"type":639,"required":993,"properties":994,"x-schema-name":877},[720],{"error":995},{"type":639,"required":996,"properties":997},[724,725,726],{"code":998,"message":1000,"details":1001,"request_id":1006},{"type":631,"enum":999,"description":862},[730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861],{"type":631,"description":864,"example":865},{"type":639,"additionalProperties":629,"description":867,"example":1002},{"fields":1003},[1004],{"field":871,"problems":1005},[873],{"type":631,"description":875,"example":876},{"error":1008},{"code":730,"message":865,"details":1009,"request_id":876},{"fields":1010},[1011],{"field":871,"problems":1012},[873],{},[1015],"secretKey","https:\u002F\u002Fapi.cartirra.com",[1018,1024,1030,1035],{"language":1019,"label":1020,"highlight":1021,"code":1022,"html":1023},"curl","cURL","bash","curl https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Forders\u002Ford_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\u002Fwarranties \\\n  -H \"Authorization: Bearer YOUR_SECRET_KEY\"","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">curl\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Forders\u002Ford_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\u002Fwarranties\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> \\\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  -H\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> \"Authorization: Bearer YOUR_SECRET_KEY\"\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"language":1025,"label":1026,"highlight":1027,"code":1028,"html":1029},"node","Node.js","javascript","const response = await fetch('https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Forders\u002Ford_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\u002Fwarranties', {\n  method: 'GET',\n  headers: {\n    Authorization: `Bearer ${process.env.CARTIRRA_SECRET_KEY}`,\n  },\n});\nconst data = await response.json();\nif (!response.ok) throw new Error(`${data.error.code}: ${data.error.message} (request ${data.error.requestId})`);\nconsole.log(data);","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> response\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> await\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> fetch\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Forders\u002Ford_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\u002Fwarranties'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">, {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  method: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'GET'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  headers: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    Authorization: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">`Bearer ${\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">process\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">env\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">CARTIRRA_SECRET_KEY\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">}`\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> data\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> await\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> response.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">json\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">if\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> (\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">!\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">response.ok) \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">throw\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> new\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> Error\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">`${\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">data\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">error\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">code\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">}: ${\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">data\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">error\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">message\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">} (request ${\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">data\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">error\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">requestId\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">})`\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">console.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">log\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(data);\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"language":1031,"label":1032,"highlight":1031,"code":1033,"html":1034},"php","PHP","\u003C?php\n$ch = curl_init('https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Forders\u002Ford_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\u002Fwarranties');\ncurl_setopt_array($ch, [\n    CURLOPT_CUSTOMREQUEST => 'GET',\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_HTTPHEADER => [\n        'Authorization: Bearer ' . getenv('CARTIRRA_SECRET_KEY'),\n    ],\n]);\n$data = json_decode(curl_exec($ch), true);\n$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\nif ($status >= 400) throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);\nprint_r($data);","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">&#x3C;?\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">php\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">$ch \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> curl_init\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Forders\u002Ford_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\u002Fwarranties'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">curl_setopt_array\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">($ch, [\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    CURLOPT_CUSTOMREQUEST\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> =>\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> 'GET'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    CURLOPT_RETURNTRANSFER\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> =>\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> true\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    CURLOPT_HTTPHEADER\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> =>\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> [\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">        'Authorization: Bearer '\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> .\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> getenv\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'CARTIRRA_SECRET_KEY'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">),\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    ],\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">]);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">$data \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> json_decode\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">curl_exec\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">($ch), \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">true\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">$status \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> curl_getinfo\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">($ch, \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">CURLINFO_RESPONSE_CODE\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">if\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> ($status \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">>=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> 400\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">) \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">throw\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> new\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> RuntimeException\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">($data[\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'error'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">][\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'code'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">] \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> ': '\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> .\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> $data[\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'error'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">][\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'message'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">]);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">print_r\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">($data);\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"language":1036,"label":1037,"highlight":1036,"code":1038,"html":1039},"python","Python","import os\nimport requests\n\nresponse = requests.get(\n    \"https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Forders\u002Ford_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\u002Fwarranties\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['CARTIRRA_SECRET_KEY']}\",\n    },\n    timeout=30,\n)\ndata = response.json()\nif not response.ok:\n    raise RuntimeError(f\"{data['error']['code']}: {data['error']['message']}\")\nprint(data)","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> os\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> requests\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">response \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> requests.get(\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">    \"https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Forders\u002Ford_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\u002Fwarranties\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#E36209;--shiki-dark:#FFAB70\">    headers\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">{\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">        \"Authorization\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">f\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"Bearer \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">{\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">os.environ[\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'CARTIRRA_SECRET_KEY'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">]\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">}\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#E36209;--shiki-dark:#FFAB70\">    timeout\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">30\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">data \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> response.json()\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">if\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> not\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> response.ok:\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">    raise\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> RuntimeError\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">f\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">{\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">data[\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'error'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">][\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'code'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">]\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">}\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">{\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">data[\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'error'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">][\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'message'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">]\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">}\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">print\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(data)\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",[1041,1044],{"status":634,"json":1042,"html":1043},"[\n  {\n    \"id\": \"wty_0193a1b2c3d47e8f9a0b1c2d3e4f5a6b\",\n    \"reference\": \"WRN-20261027-001\",\n    \"order\": {\n      \"id\": \"ord_0193…\",\n      \"reference\": \"ORD-X3RK9D5P\"\n    },\n    \"store_id\": \"0193a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b\",\n    \"customer_id\": \"0193a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b\",\n    \"line_index\": 1,\n    \"item_name\": \"Samsung Galaxy A15\",\n    \"serial_number\": \"R58W30ABCDE\",\n    \"starts_on\": \"2026-10-27\",\n    \"ends_on\": \"2027-10-26\",\n    \"terms\": \"string\",\n    \"covered_by\": \"merchant\",\n    \"provider\": \"Samsung Nigeria\",\n    \"source\": \"checkout\",\n    \"state\": \"active\",\n    \"void_reason\": \"string\",\n    \"created_at\": \"string\",\n    \"updated_at\": \"string\"\n  }\n]","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">[\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"id\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"wty_0193a1b2c3d47e8f9a0b1c2d3e4f5a6b\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"reference\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"WRN-20261027-001\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"order\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">      \"id\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"ord_0193…\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">      \"reference\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"ORD-X3RK9D5P\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"store_id\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"0193a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"customer_id\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"0193a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"line_index\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">1\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"item_name\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"Samsung Galaxy A15\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"serial_number\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"R58W30ABCDE\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"starts_on\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"2026-10-27\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"ends_on\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"2027-10-26\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"terms\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"string\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"covered_by\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"merchant\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"provider\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"Samsung Nigeria\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"source\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"checkout\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"state\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"active\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"void_reason\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"string\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"created_at\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"string\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"updated_at\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"string\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">]\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"status":877,"json":1045,"html":1046},"{\n  \"error\": {\n    \"code\": \"validation_failed\",\n    \"message\": \"The request is not valid\",\n    \"details\": {\n      \"fields\": [\n        {\n          \"field\": \"lines[0].quantity\",\n          \"problems\": [\n            \"quantity must not be greater than 999\"\n          ]\n        }\n      ]\n    },\n    \"request_id\": \"01a16e8a-0c57-7682-99ff-a0f5e9abb52e\"\n  }\n}","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">{\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"error\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"code\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"validation_failed\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"message\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"The request is not valid\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"details\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">      \"fields\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: [\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">        {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">          \"field\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"lines[0].quantity\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">          \"problems\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: [\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">            \"quantity must not be greater than 999\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">          ]\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">        }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">      ]\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"request_id\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"01a16e8a-0c57-7682-99ff-a0f5e9abb52e\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">}\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"name":36,"slug":314,"description":315,"operations":1048},[1049,1050,1051,1052,1053,1054],{"operationId":318,"slug":319,"method":104,"path":320,"summary":321,"tag":36},{"operationId":323,"slug":324,"method":104,"path":325,"summary":326,"tag":36},{"operationId":328,"slug":329,"method":134,"path":325,"summary":330,"tag":36},{"operationId":332,"slug":333,"method":98,"path":334,"summary":335,"tag":36},{"operationId":337,"slug":338,"method":104,"path":339,"summary":340,"tag":36},{"operationId":342,"slug":343,"method":98,"path":339,"summary":344,"tag":36},{"operationId":332,"slug":333,"method":98,"path":334,"summary":335,"tag":36},{"operationId":342,"slug":343,"method":98,"path":339,"summary":344,"tag":36},{"operationId":337,"slug":338,"method":104,"path":339,"summary":340,"tag":36},1795864572564]