Details about the product(s) being sent to the customer. This can be a result of an even exchange, replacements for returned items, or new purchases made through the app.
The commerce platform's numeric location ID for the return shipping destination
(the same destination as destination_id), when that destination has a linked Loop location.
null when no location is linked or when the return has no destination. This is separate from
line_items[].provider_location_id, which describes fulfillment/origin context per line item.
If the return is not being sent back through boxing and shipping, this field describes the way in which the item is being returned. These are usually pick-up or drop-off options.
Return a 200 status to indicate that the data was received successfully
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Loop Returns Documentation","colors":{"primary":"#0672FF","light":"#FFFCF7","dark":"#000000"},"logo":{"light":"https://mintcdn.com/loopreturns/mWP1nZGNp75FiB-l/logo/loop-logo-lapis-charcoal.svg?fit=max\u0026auto=format\u0026n=mWP1nZGNp75FiB-l\u0026q=85\u0026s=5113cc3f8f2d70a65c2c774e471a13c4","dark":"https://mintcdn.com/loopreturns/mWP1nZGNp75FiB-l/logo/loop-logo-lapis-newsprint.svg?fit=max\u0026auto=format\u0026n=mWP1nZGNp75FiB-l\u0026q=85\u0026s=c2197689146b468c5df1b8581f091743"},"favicon":"https://mintcdn.com/loopreturns/mWP1nZGNp75FiB-l/favicon.svg?fit=max\u0026auto=format\u0026n=mWP1nZGNp75FiB-l\u0026q=85\u0026s=93b43e224efe823b43c6d1b9c45799f9","navbar":{"links":[{"href":"https://help.loopreturns.com","label":"Support"}],"primary":{"type":"button","label":"Request Demo","href":"https://www.loopreturns.com/book-a-demo-today/"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/loop-returns","instagram":"https://www.instagram.com/loopreturns"}},"fonts":{"heading":{"family":"ABC Ginto","weight":900,"source":"fonts/ABCGinto-Black.woff2","format":"woff2"},"body":{"family":"Matter","weight":400,"source":"fonts/Matter-Regular.woff2","format":"woff2"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"System Status","icon":"radar","href":"https://status.loopreturns.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"loopreturns","hasAudioNarration":false,"actualSubdomain":"loopreturns","customDomains":["docs.loopreturns.com"],"gitSource":{"type":"gitlab","owner":"loopreturns/documentation","repo":"public-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":67355043,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4ca2de9bd8b42e55fc8cc","collectionId":"07592d87-410d-45be-9292-bab2557b7a91","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4ca2de9bd8b42e55fc8cc"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4ca2de9bd8b42e55fc8cc","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":173},{"language":"default","tag":"APIs","count":165},{"language":"default","tag":"Commerce Data","count":68},{"language":"default","tag":"Return Create (HAL-Forms)","count":30},{"language":"default","tag":"Guides","count":30},{"language":"default","tag":"Return Create","count":22},{"language":"default","tag":"Products","count":17},{"language":"default","tag":"Webhook Reference","count":13},{"language":"default","tag":"Collections","count":12},{"language":"default","tag":"Orders","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"webhook-reference/topics/return-webhook","slug":"/webhook-reference/topics/return-webhook","pageMetadata":{"title":"Return","openapi":"webhook Return","description":null,"href":"/webhook-reference/topics/return-webhook"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Return","openapi":"webhook Return","description":null,"href":"/webhook-reference/topics/return-webhook"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/loopreturns/d7dc6883aeaefe8b/scripts/generate-unstable-nav.js","/_mintlify/custom/loopreturns/eb155f0b6d2849a4/scripts/update-openapi-servers.js"],"openApiReferenceData":{"operation":{"requestBody":"49af8153-d8b8-4872-ae8b-35b36d3aea1c","responses":{"200":"9cdca9ae-8bee-4a0d-8ecc-9c2bb221c4e7"},"method":"post","type":"webhook","servers":[],"security":[],"path":"Return","baseUrlOptions":[],"title":"","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"language":"json","filename":"Example","code":"{\n \"topic\": \"return\",\n \"trigger\": \"return.created\",\n \"shop_id\": 12345,\n \"id\": \"1673\",\n \"state\": \"open\",\n \"refund_before_inspection\": false,\n \"created_at\": \"2019-04-01T12:00:00+00:00\",\n \"edited_at\": \"2019-04-01T12:00:00+00:00\",\n \"total\": \"48.81\",\n \"order_id\": \"2871\",\n \"order_name\": \"#47727779\",\n \"taxes_included\": false,\n \"provider_order_id\": \"58997314\",\n \"order_number\": \"7078\",\n \"provider_order_number\": 8078,\n \"provider_order_external_id\": \"12354567890\",\n \"provider_order_sales_channel\": \"Example Online Store\",\n \"customer\": \"me@myself.com\",\n \"customer_detail\": {\n \"email\": \"jf@example.com\",\n \"first_name\": \"Jean\",\n \"last_name\": \"Launier\"\n },\n \"address\": {\n \"name\": \"J.F. Launier\",\n \"company\": \"Universal Exports\",\n \"address1\": \"1234 Example Street\",\n \"address2\": \"Unit 19\",\n \"city\": \"Townsville\",\n \"state\": \"Louisiana\",\n \"zip\": \"90210\",\n \"country\": \"United States\",\n \"country_code\": \"US\",\n \"phone\": \"+1-678-999-8212\"\n },\n \"currency\": \"USD\",\n \"return_product_total\": \"50.00\",\n \"return_discount_total\": \"5.00\",\n \"return_tax_total\": \"2.50\",\n \"return_total\": \"47.50\",\n \"return_credit_total\": \"47.50\",\n \"status_page_url\": \"https://example.loopreturns.com/#/return/b3e4764e-7adf-4b8c-802a-553305b6db49\",\n \"exchange_product_total\": \"60.00\",\n \"exchange_discount_total\": \"10.00\",\n \"exchange_tax_total\": \"3.00\",\n \"exchange_total\": \"53.00\",\n \"exchange_credit_total\": \"53.00\",\n \"gift_card\": \"25.00\",\n \"handling_fee\": \"5.00\",\n \"refund\": \"20.00\",\n \"upsell\": \"10.00\",\n \"is_gift_return\": true,\n \"refunds\": [\n {\n \"gateway\": \"Stripe\",\n \"amount\": \"20.00\",\n \"currency\": \"USD\",\n \"provider_refund_id\": \"987654321\",\n \"provider\": \"stripe\"\n }\n ],\n \"labels\": [\n {\n \"status\": \"new\",\n \"updated_at\": \"2024-02-02T21:19:04.000Z\",\n \"url\": \"https://partner.loopreturns.com/label/12345456\",\n \"rate\": 1093,\n \"carrier\": \"USPS\",\n \"tracking_number\": \"123456789101112\",\n \"line_items\": [\n 987654321\n ]\n }\n ],\n \"line_items\": [\n {\n \"line_item_id\": \"123456789\",\n \"provider_line_item_id\": \"12149029339269\",\n \"product_id\": \"5107813056645\",\n \"variant_id\": \"34404555554949\",\n \"sku\": \"new-sku\",\n \"barcode\": \"barcode1234\",\n \"title\": \"Retro Laser - Big\",\n \"weight_in_grams\": 226,\n \"price\": \"35.38\",\n \"discount\": \"0.00\",\n \"tax\": \"2.65\",\n \"refund\": \"38.03\",\n \"returned_at\": \"2024-01-11T22:47:02+00:00\",\n \"exchange_variant\": \"23141001\",\n \"return_reason\": \"I didn't like how the item looked\",\n \"provider_restock_location_id\": 6543,\n \"is_in_store_return\": false,\n \"provider_location_id\": 1456,\n \"parent_return_reason\": \"I didn't like the item\",\n \"return_comment\": \"N/A\",\n \"outcome\": \"default\",\n \"taxes\": [\n {\n \"title\": \"State Tax\",\n \"amount\": 265,\n \"rate\": 0.0625\n }\n ],\n \"fulfillment_sku\": \"FULFIL-SKU-123\"\n }\n ],\n \"exchanges\": [\n {\n \"exchange_id\": \"1417\",\n \"product_id\": \"69713389\",\n \"variant_id\": \"9502968\",\n \"exchange_order_name\": \"#EXC-5551-1\",\n \"exchange_order_id\": \"459765194\",\n \"sku\": \"example-sku-123\",\n \"type\": \"exchange\",\n \"title\": \"T-Shirt - Large\",\n \"price\": \"99.11\",\n \"discount\": \"0.00\",\n \"tax\": \"0.00\",\n \"total\": \"99.11\",\n \"out_of_stock\": true,\n \"out_of_stock_resolution\": \"credited\"\n }\n ],\n \"shipment_id\": \"SHIP-001\",\n \"carrier\": \"USPS\",\n \"tracking_number\": \"28735625627856237856287\",\n \"label_status\": \"pre_transit\",\n \"label_updated_at\": \"2025-11-07T01:47:42+00:00\",\n \"destination_id\": 2232,\n \"destination_provider_location_id\": 987654321,\n \"return_method\": {\n \"provider\": \"happy-returns\",\n \"return_method_type\": \"drop-off\",\n \"scannable_id\": \"23124100124923\",\n \"address\": {\n \"name\": \"Staples 0152\",\n \"company\": null,\n \"address1\": \"7881 Edinger Ave.Ste.130\",\n \"address2\": \"Bella Terra Mall\",\n \"city\": \"Huntington Beach\",\n \"state\": \"CA\",\n \"zip\": \"92647\",\n \"country\": \"United States of America\",\n \"country_code\": \"US\",\n \"phone\": \"\",\n \"latitude\": 33.7313927,\n \"longitude\": -117.9910687\n },\n \"state\": \"new\",\n \"rma_id\": \"HRABC123\",\n \"qr_code_url\": \"https://partner.happyreturns.com/barcode/qr?code=HRABC123\",\n \"updated_at\": \"2024-02-02 21:19:04\",\n \"scheduled_at\": null\n },\n \"package_reference\": \"PKG-12345\",\n \"type\": \"standard\"\n}"}],"requestExampleType":"webhook","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"topic":{"type":"string","description":"The webhook type.","examples":["return"],"uniqueKey":"topic","typeLabel":"string"},"trigger":{"type":"string","description":"The event that triggered the webhook.","examples":["return.created","return.updated","return.closed"],"uniqueKey":"trigger","typeLabel":"string"},"shop_id":{"type":"integer","description":"The ID of the shop the return belongs to.","examples":[12345],"uniqueKey":"shop_id","typeLabel":"integer"},"id":{"type":"string","description":"The Loop return ID.","examples":["1673"],"uniqueKey":"id","typeLabel":"string"},"state":{"type":"string","description":"The state of the return.\n\nPossible values:\n- `open`: Requests have yet to be processed (Loop has not fully processed all the outcomes).\n- `cancelled`: Refers to any return requests that have been cancelled in the Loop admin.\n- `closed`: Typically refers to any return request/outcome that has been processed or closed manually.\n No further action is required for these returns.\n\n- `review`: Refers to a return that has been flagged for review.\n- `expired`: The return did not complete before the shop return window ended.\n A `return.updated` webhook fires for this state change.\n","enum":["open","cancelled","closed","review","expired"],"examples":["open","cancelled","closed","review","expired"],"uniqueKey":"state","typeLabel":"enum\u003cstring>"},"refund_before_inspection":{"type":"boolean","description":"Whether the return is configured to refund before the items are inspected.","examples":[false],"uniqueKey":"refund_before_inspection","typeLabel":"boolean"},"created_at":{"type":"string","description":"The date and time (ISO 8601 format) when the return was created in Loop.","examples":["2019-04-01T12:00:00+00:00"],"uniqueKey":"created_at","typeLabel":"string"},"edited_at":{"oneOf":[{"type":"string","description":"Date and time (ISO 8601 format) when the return was last edited inside Loop. `null` when the return has not been edited.\n","examples":["2019-04-01T12:00:00+00:00",null],"uniqueKey":"edited_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Date and time (ISO 8601 format) when the return was last edited inside Loop. `null` when the return has not been edited.\n","examples":["2019-04-01T12:00:00+00:00",null],"uniqueKey":"edited_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"edited_at","typeLabel":"string | null"},"total":{"type":"string","description":"The total cost of the return.","examples":["48.81"],"uniqueKey":"total","typeLabel":"string"},"order_id":{"type":"string","description":"The Loop order ID.","examples":["2871"],"uniqueKey":"order_id","typeLabel":"string"},"order_name":{"type":"string","description":"The order name from the commerce provider (e.g. Shopify).","examples":["#47727779"],"uniqueKey":"order_name","typeLabel":"string"},"taxes_included":{"type":"boolean","description":"Whether taxes are included in the order's prices. Defaults to false.","examples":[false],"uniqueKey":"taxes_included","typeLabel":"boolean"},"provider_order_id":{"type":"string","description":"The order ID from the commerce provider (e.g. Shopify).","examples":["58997314"],"uniqueKey":"provider_order_id","typeLabel":"string"},"order_number":{"type":"string","description":"The order number from the commerce provider (e.g. Shopify).","examples":["7078"],"uniqueKey":"order_number","typeLabel":"string"},"provider_order_number":{"oneOf":[{"type":"integer","description":"The order number from the commerce provider (e.g. Shopify).","examples":[8078],"uniqueKey":"provider_order_number.oneOf.0","typeLabel":"integer"},{"type":"string","description":"The order number from the commerce provider (e.g. Shopify).","examples":[8078],"uniqueKey":"provider_order_number.oneOf.1","typeLabel":"string"}],"uniqueKey":"provider_order_number","typeLabel":"integer | string"},"provider_order_external_id":{"oneOf":[{"type":"string","description":"The external order ID from the commerce provider (e.g. Shopify). `null` when the order has no external identifier.\n","examples":["12354567890",null],"uniqueKey":"provider_order_external_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The external order ID from the commerce provider (e.g. Shopify). `null` when the order has no external identifier.\n","examples":["12354567890",null],"uniqueKey":"provider_order_external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_order_external_id","typeLabel":"string | null"},"provider_order_sales_channel":{"oneOf":[{"type":"string","description":"The name of the sales channel that the order was created in.","examples":["Example Online Store",null],"uniqueKey":"provider_order_sales_channel.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the sales channel that the order was created in.","examples":["Example Online Store",null],"uniqueKey":"provider_order_sales_channel.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_order_sales_channel","typeLabel":"string | null"},"customer":{"type":"string","description":"The email address of the customer.","examples":["me@myself.com"],"uniqueKey":"customer","typeLabel":"string"},"customer_detail":{"type":"object","description":"The customer's email, first name, and last name.","properties":{"email":{"type":"string","description":"The customer's email address.","examples":["jf@example.com"],"uniqueKey":"customer_detail.email","typeLabel":"string"},"first_name":{"type":"string","description":"The customer's first name.","examples":["Jean"],"uniqueKey":"customer_detail.first_name","typeLabel":"string"},"last_name":{"type":"string","description":"The customer's last name.","examples":["Launier"],"uniqueKey":"customer_detail.last_name","typeLabel":"string"}},"uniqueKey":"customer_detail","typeLabel":"object"},"address":{"type":"object","description":"The original customer's shipping address or the address that the customer inputs in the case of a gift return.","properties":{"name":{"oneOf":[{"type":"string","maxLength":100,"description":"The name associated with the address.","examples":["J.F. Launier"],"uniqueKey":"address.name.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"The name associated with the address.","examples":["J.F. Launier"],"uniqueKey":"address.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.name","typeLabel":"string | null"},"company":{"oneOf":[{"type":"string","maxLength":100,"description":"The name of the company residing at the address.","examples":["Universal Exports"],"uniqueKey":"address.company.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"The name of the company residing at the address.","examples":["Universal Exports"],"uniqueKey":"address.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.company","typeLabel":"string | null"},"address1":{"type":"string","maxLength":125,"description":"Line 1 of the address.","examples":["1234 Example Street"],"uniqueKey":"address.address1","typeLabel":"string"},"address2":{"oneOf":[{"type":"string","maxLength":125,"description":"Line 2 of the address.","examples":["Unit 19"],"uniqueKey":"address.address2.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":125,"description":"Line 2 of the address.","examples":["Unit 19"],"uniqueKey":"address.address2.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.address2","typeLabel":"string | null"},"city":{"type":"string","maxLength":100,"description":"The city in which the address is located.","examples":["Townsville"],"uniqueKey":"address.city","typeLabel":"string"},"state":{"type":"string","maxLength":100,"description":"The state or region in which the address is located.","examples":["Louisiana"],"uniqueKey":"address.state","typeLabel":"string"},"zip":{"oneOf":[{"type":"string","maxLength":16,"description":"The ZIP or postal code associated with the address.","examples":["90210"],"uniqueKey":"address.zip.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":16,"description":"The ZIP or postal code associated with the address.","examples":["90210"],"uniqueKey":"address.zip.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.zip","typeLabel":"string | null"},"country":{"type":"string","description":"The country in which the address is located.","examples":["United States"],"uniqueKey":"address.country","typeLabel":"string"},"country_code":{"type":"string","maxLength":2,"description":"The country code associated with the address.","examples":["US"],"uniqueKey":"address.country_code","typeLabel":"string"},"phone":{"type":"string","description":"The phone number associated with the address.","examples":["+1-678-999-8212"],"uniqueKey":"address.phone","typeLabel":"string"}},"uniqueKey":"address","typeLabel":"object"},"currency":{"type":"string","description":"The currency of the store at the time of the order.","examples":["USD"],"uniqueKey":"currency","typeLabel":"string"},"return_product_total":{"type":"string","description":"The value of returned line items, excluding order discounts and taxes.","examples":["50.00"],"uniqueKey":"return_product_total","typeLabel":"string"},"return_discount_total":{"type":"string","description":"The sum of all discounts on returned items.","examples":["5.00"],"uniqueKey":"return_discount_total","typeLabel":"string"},"return_tax_total":{"type":"string","description":"The value of order taxes on returned line items.","examples":["2.50"],"uniqueKey":"return_tax_total","typeLabel":"string"},"return_total":{"type":"string","description":"The return total after taxes and discounts.","examples":["47.50"],"uniqueKey":"return_total","typeLabel":"string"},"return_credit_total":{"type":"string","description":"The value of total return credit (product + honored discount + tax).","examples":["47.50"],"uniqueKey":"return_credit_total","typeLabel":"string"},"status_page_url":{"type":"string","description":"The link to the return status page.","examples":["https://example.loopreturns.com/#/return/b3e4764e-7adf-4b8c-802a-553305b6db49"],"uniqueKey":"status_page_url","typeLabel":"string"},"exchange_product_total":{"type":"string","description":"The value of exchange items before discounts and taxes.","examples":["60.00"],"uniqueKey":"exchange_product_total","typeLabel":"string"},"exchange_discount_total":{"type":"string","description":"The discount on exchange items.","examples":["10.00"],"uniqueKey":"exchange_discount_total","typeLabel":"string"},"exchange_tax_total":{"type":"string","description":"The tax on exchange items.","examples":["3.00"],"uniqueKey":"exchange_tax_total","typeLabel":"string"},"exchange_total":{"type":"string","description":"The exchange total after taxes and discounts.","examples":["53.00"],"uniqueKey":"exchange_total","typeLabel":"string"},"exchange_credit_total":{"type":"string","description":"The total exchange items value after discounts and taxes, which is used by the customer.","examples":["53.00"],"uniqueKey":"exchange_credit_total","typeLabel":"string"},"gift_card":{"type":"string","description":"The amount of store credit to be issued to the customer on a gift card.","examples":["25.00"],"uniqueKey":"gift_card","typeLabel":"string"},"handling_fee":{"type":"string","description":"The handling fee amount set in Loop admin.","examples":["5.00"],"uniqueKey":"handling_fee","typeLabel":"string"},"refund":{"type":"string","description":"The total refund value of the return.","examples":["20.00"],"uniqueKey":"refund","typeLabel":"string"},"upsell":{"type":"string","description":"The additional amount paid by customer when exchange credit total is greater than return credit total.\n","examples":["10.00"],"uniqueKey":"upsell","typeLabel":"string"},"is_gift_return":{"type":"boolean","description":"Whether or not the return is a gift return.","examples":[true,false],"uniqueKey":"is_gift_return","typeLabel":"boolean"},"refunds":{"type":"array","description":"The breakdown of refunds across payment gateways.","items":{"type":"object","properties":{"gateway":{"type":"string","description":"The payment gateway in which a refund was processed.","examples":["Stripe"],"uniqueKey":"refunds.items.[INDEX].gateway","typeLabel":"string"},"amount":{"type":"string","description":"The refund amount issued to a gateway.","examples":["20.00"],"uniqueKey":"refunds.items.[INDEX].amount","typeLabel":"string"},"currency":{"type":"string","description":"The currency used in the refund.","examples":["USD"],"uniqueKey":"refunds.items.[INDEX].currency","typeLabel":"string"},"provider_refund_id":{"oneOf":[{"type":"string","examples":["987654321","refr_01j82vdkny7jn4yn69hwgtc84b"],"description":"The unique identifier associated with the refund, assigned by the commerce provider (e.g. Shopify).\n","uniqueKey":"refunds.items.[INDEX].provider_refund_id.oneOf.0","typeLabel":"string"},{"type":"null","examples":["987654321","refr_01j82vdkny7jn4yn69hwgtc84b"],"description":"The unique identifier associated with the refund, assigned by the commerce provider (e.g. Shopify).\n","uniqueKey":"refunds.items.[INDEX].provider_refund_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"refunds.items.[INDEX].provider_refund_id","typeLabel":"string | null"},"provider":{"type":"string","examples":["stripe","reshop","shopify_payments","loop"],"description":"The provider who the handled the refund.","uniqueKey":"refunds.items.[INDEX].provider","typeLabel":"string"}},"uniqueKey":"refunds.items.[INDEX]","typeLabel":"object"},"uniqueKey":"refunds","typeLabel":"object[]"},"labels":{"type":"array","description":"Details on each label associated with the return.","items":{"type":"object","properties":{"status":{"type":"string","description":"The status of the return shipping label.","examples":["new"],"uniqueKey":"labels.items.[INDEX].status","typeLabel":"string"},"updated_at":{"type":"string","description":"The date and time at which the label was last updated, in `Y-m-d H:i:s` format.","examples":["2024-02-02T21:19:04.000Z"],"uniqueKey":"labels.items.[INDEX].updated_at","typeLabel":"string"},"url":{"type":"string","description":"The link to the label details.","examples":["https://partner.loopreturns.com/label/12345456"],"uniqueKey":"labels.items.[INDEX].url","typeLabel":"string"},"rate":{"oneOf":[{"type":"integer","description":"The shipping rate paid for the label.","examples":[1093],"uniqueKey":"labels.items.[INDEX].rate.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The shipping rate paid for the label.","examples":[1093],"uniqueKey":"labels.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"labels.items.[INDEX].rate","typeLabel":"integer | null"},"carrier":{"type":"string","description":"The carrier associated with the label.","examples":["USPS"],"uniqueKey":"labels.items.[INDEX].carrier","typeLabel":"string"},"tracking_number":{"oneOf":[{"type":"string","description":"The tracking number associated with the label.","examples":["123456789101112"],"uniqueKey":"labels.items.[INDEX].tracking_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tracking number associated with the label.","examples":["123456789101112"],"uniqueKey":"labels.items.[INDEX].tracking_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"labels.items.[INDEX].tracking_number","typeLabel":"string | null"},"line_items":{"type":"array","description":"A list of line item IDs associated with the label.","items":{"type":"integer","examples":[987654321,123456789],"uniqueKey":"labels.items.[INDEX].line_items.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"labels.items.[INDEX].line_items","typeLabel":"integer[]"}},"uniqueKey":"labels.items.[INDEX]","typeLabel":"object"},"uniqueKey":"labels","typeLabel":"object[]"},"line_items":{"type":"array","description":"Details on items being sent to Loop as part of the return.","items":{"type":"object","properties":{"line_item_id":{"type":"string","description":"The Loop line item ID.","examples":["123456789"],"uniqueKey":"line_items.items.[INDEX].line_item_id","typeLabel":"string"},"provider_line_item_id":{"type":"string","description":"The order line item ID from the commerce provider (e.g. Shopify).","examples":["12149029339269"],"uniqueKey":"line_items.items.[INDEX].provider_line_item_id","typeLabel":"string"},"product_id":{"type":"string","description":"The product ID from the commerce provider (e.g. Shopify).","examples":["5107813056645"],"uniqueKey":"line_items.items.[INDEX].product_id","typeLabel":"string"},"variant_id":{"type":"string","description":"The variant ID from the commerce provider (e.g. Shopify).","examples":["34404555554949"],"uniqueKey":"line_items.items.[INDEX].variant_id","typeLabel":"string"},"sku":{"type":"string","description":"The variant SKU from the commerce provider (e.g. Shopify). Empty string when the line item has no SKU.\n","examples":["new-sku",""],"uniqueKey":"line_items.items.[INDEX].sku","typeLabel":"string"},"barcode":{"type":"string","description":"The barcode from the commerce provider (e.g. Shopify). Empty string when the line item has no barcode.\n","examples":["barcode1234",""],"uniqueKey":"line_items.items.[INDEX].barcode","typeLabel":"string"},"title":{"type":"string","description":"The product title from the commerce provider (e.g. Shopify).","examples":["Retro Laser - Big"],"uniqueKey":"line_items.items.[INDEX].title","typeLabel":"string"},"weight_in_grams":{"oneOf":[{"type":"integer","description":"The weight of the line item in grams.","examples":[226,null],"uniqueKey":"line_items.items.[INDEX].weight_in_grams.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The weight of the line item in grams.","examples":[226,null],"uniqueKey":"line_items.items.[INDEX].weight_in_grams.oneOf.1","typeLabel":"null"}],"uniqueKey":"line_items.items.[INDEX].weight_in_grams","typeLabel":"integer | null"},"price":{"type":"string","description":"The price paid by customer before discounts and tax.","examples":["35.38"],"uniqueKey":"line_items.items.[INDEX].price","typeLabel":"string"},"discount":{"type":"string","description":"The discount on the item.","examples":["0.00"],"uniqueKey":"line_items.items.[INDEX].discount","typeLabel":"string"},"tax":{"type":"string","description":"The tax on the item.","examples":["2.65"],"uniqueKey":"line_items.items.[INDEX].tax","typeLabel":"string"},"refund":{"type":"string","description":"The amount refunded to customer for this item.","examples":["38.03"],"uniqueKey":"line_items.items.[INDEX].refund","typeLabel":"string"},"returned_at":{"type":"string","description":"The date and time (ISO 8601 format) when the return was created in Loop.","examples":["2024-01-11T22:47:02+00:00"],"uniqueKey":"line_items.items.[INDEX].returned_at","typeLabel":"string"},"exchange_variant":{"type":"string","description":"The variant ID (from the commerce provider, e.g. Shopify) for the replacement product when the item is an exchange. Empty string when there is no exchange variant.\n","examples":["23141001",""],"uniqueKey":"line_items.items.[INDEX].exchange_variant","typeLabel":"string"},"return_reason":{"type":"string","description":"The reason for return as selected by the customer in Loop.","examples":["I didn't like how the item looked"],"uniqueKey":"line_items.items.[INDEX].return_reason","typeLabel":"string"},"provider_restock_location_id":{"oneOf":[{"type":"integer","description":"The location ID from the commerce provider (e.g. Shopify) for line item restocking.","examples":[6543,null],"uniqueKey":"line_items.items.[INDEX].provider_restock_location_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The location ID from the commerce provider (e.g. Shopify) for line item restocking.","examples":[6543,null],"uniqueKey":"line_items.items.[INDEX].provider_restock_location_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"line_items.items.[INDEX].provider_restock_location_id","typeLabel":"integer | null"},"is_in_store_return":{"type":"boolean","description":"True if the return is made in-store through the Loop Point of Sale application; false if made online through the returns portal.","examples":[false],"uniqueKey":"line_items.items.[INDEX].is_in_store_return","typeLabel":"boolean"},"provider_location_id":{"oneOf":[{"type":"integer","description":"The location ID from the commerce provider (e.g. Shopify) for the line item (fulfillment / origin context). Not the return shipping destination; see `destination_provider_location_id` for that.\n","examples":[1456,null],"uniqueKey":"line_items.items.[INDEX].provider_location_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The location ID from the commerce provider (e.g. Shopify) for the line item (fulfillment / origin context). Not the return shipping destination; see `destination_provider_location_id` for that.\n","examples":[1456,null],"uniqueKey":"line_items.items.[INDEX].provider_location_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"line_items.items.[INDEX].provider_location_id","typeLabel":"integer | null"},"parent_return_reason":{"oneOf":[{"type":"string","description":"The parent reason for return as selected by the customer in Loop.","examples":["I didn't like the item",null],"uniqueKey":"line_items.items.[INDEX].parent_return_reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent reason for return as selected by the customer in Loop.","examples":["I didn't like the item",null],"uniqueKey":"line_items.items.[INDEX].parent_return_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"line_items.items.[INDEX].parent_return_reason","typeLabel":"string | null"},"return_comment":{"type":"string","description":"The return reason comment.","examples":["N/A"],"uniqueKey":"line_items.items.[INDEX].return_comment","typeLabel":"string"},"outcome":{"type":"string","description":"The line item outcome, representing the action determined for this item. When multiple outcomes apply (e.g. a workflow adds \"keep\" alongside the initial \"default\"), this field reflects the most specific outcome.\n\nPossible values:\n- `default`: Standard return — the item is expected to be shipped back.\n- `keep`: The customer keeps the item (Keep Item policy or workflow).\n- `donate`: The customer donates the item.\n- `review`: The item has been flagged for manual review.\n- `reject`: The item has been rejected (not eligible for return).\n","examples":["default","keep","donate","review","reject"],"uniqueKey":"line_items.items.[INDEX].outcome","typeLabel":"string"},"taxes":{"type":"array","description":"The tax information for the line item.","items":{"type":"object","properties":{"title":{"type":"string","description":"The name of the tax.","examples":["State Tax"],"uniqueKey":"line_items.items.[INDEX].taxes.items.[INDEX].title","typeLabel":"string"},"amount":{"type":"integer","description":"The tax amount in minor units (cents).","examples":[265],"uniqueKey":"line_items.items.[INDEX].taxes.items.[INDEX].amount","typeLabel":"integer"},"rate":{"oneOf":[{"type":"number","description":"The tax rate.","examples":[0.0625],"uniqueKey":"line_items.items.[INDEX].taxes.items.[INDEX].rate.oneOf.0","typeLabel":"number"},{"type":"null","description":"The tax rate.","examples":[0.0625],"uniqueKey":"line_items.items.[INDEX].taxes.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"line_items.items.[INDEX].taxes.items.[INDEX].rate","typeLabel":"number | null"}},"uniqueKey":"line_items.items.[INDEX].taxes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"line_items.items.[INDEX].taxes","typeLabel":"object[]"},"fulfillment_sku":{"type":"string","description":"The fulfillment SKU mapped from the customer SKU. Only present when the shop has the \"Include fulfillment SKU in return data\" setting enabled.\n","examples":["FULFIL-SKU-123"],"uniqueKey":"line_items.items.[INDEX].fulfillment_sku","typeLabel":"string"}},"uniqueKey":"line_items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"line_items","typeLabel":"object[]"},"exchanges":{"type":"array","description":"Details about the product(s) being sent to the customer. This can be a result of an even exchange, replacements for returned items, or new purchases made through the app.","items":{"type":"object","properties":{"exchange_id":{"type":"string","description":"The Loop exchange ID.","examples":["1417"],"uniqueKey":"exchanges.items.[INDEX].exchange_id","typeLabel":"string"},"product_id":{"type":"string","description":"The product ID from the commerce provider (e.g. Shopify).","examples":["69713389"],"uniqueKey":"exchanges.items.[INDEX].product_id","typeLabel":"string"},"variant_id":{"type":"string","description":"The variant ID from the commerce provider (e.g. Shopify).","examples":["9502968"],"uniqueKey":"exchanges.items.[INDEX].variant_id","typeLabel":"string"},"exchange_order_name":{"type":"string","description":"The new exchange order name from the commerce provider (e.g. Shopify).","examples":["#EXC-5551-1"],"uniqueKey":"exchanges.items.[INDEX].exchange_order_name","typeLabel":"string"},"exchange_order_id":{"type":"string","description":"The new exchange order ID from the commerce provider (e.g. Shopify).","examples":["459765194"],"uniqueKey":"exchanges.items.[INDEX].exchange_order_id","typeLabel":"string"},"sku":{"type":"string","description":"The variant SKU from the commerce provider (e.g. Shopify). Empty string when the exchange item has no SKU.\n","examples":["example-sku-123",""],"uniqueKey":"exchanges.items.[INDEX].sku","typeLabel":"string"},"type":{"type":"string","description":"The exchange type.","examples":["exchange"],"uniqueKey":"exchanges.items.[INDEX].type","typeLabel":"string"},"title":{"type":"string","description":"The product title from the commerce provider (e.g. Shopify).","examples":["T-Shirt - Large"],"uniqueKey":"exchanges.items.[INDEX].title","typeLabel":"string"},"price":{"type":"string","description":"The price of exchange item before discounts and tax.","examples":["99.11"],"uniqueKey":"exchanges.items.[INDEX].price","typeLabel":"string"},"discount":{"type":"string","description":"The discount on the exchange item.","examples":["0.00"],"uniqueKey":"exchanges.items.[INDEX].discount","typeLabel":"string"},"tax":{"type":"string","description":"The tax on the exchange item.","examples":["0.00"],"uniqueKey":"exchanges.items.[INDEX].tax","typeLabel":"string"},"total":{"type":"string","description":"The price of exchange item after discounts and tax.","examples":["99.11"],"uniqueKey":"exchanges.items.[INDEX].total","typeLabel":"string"},"out_of_stock":{"type":"boolean","description":"Whether the item is out of stock.","examples":[true],"uniqueKey":"exchanges.items.[INDEX].out_of_stock","typeLabel":"boolean"},"out_of_stock_resolution":{"oneOf":[{"type":"string","description":"The resolution if the item is out of stock; `null` if not applicable.","examples":["credited","refunded",null],"uniqueKey":"exchanges.items.[INDEX].out_of_stock_resolution.oneOf.0","typeLabel":"string"},{"type":"null","description":"The resolution if the item is out of stock; `null` if not applicable.","examples":["credited","refunded",null],"uniqueKey":"exchanges.items.[INDEX].out_of_stock_resolution.oneOf.1","typeLabel":"null"}],"uniqueKey":"exchanges.items.[INDEX].out_of_stock_resolution","typeLabel":"string | null"}},"uniqueKey":"exchanges.items.[INDEX]","typeLabel":"object"},"uniqueKey":"exchanges","typeLabel":"object[]"},"shipment_id":{"type":"string","description":"The Happy Returns shipment ID.","examples":["SHIP-001"],"uniqueKey":"shipment_id","typeLabel":"string"},"carrier":{"type":"string","description":"The name of the carrier or N/A if the carrier has not yet been assigned.","examples":["USPS","N/A"],"uniqueKey":"carrier","typeLabel":"string"},"tracking_number":{"type":"string","description":"The tracking number provided by the carrier or N/A if the carrier has not yet been assigned.","examples":["28735625627856237856287","N/A"],"uniqueKey":"tracking_number","typeLabel":"string"},"label_status":{"type":"string","description":"Status of the shipment according to EasyPost:\n- no shipment status\n- pre_transit\n- in_transit\n- out_for_delivery\n- delivered\n- error\n- failure\n\nN/A if no label status has been provided yet.\n","examples":["pre_transit","delivered"],"uniqueKey":"label_status","typeLabel":"string"},"label_updated_at":{"type":"string","description":"The date and time (ISO 8601 format) when the last status update occurred.\n\n\nN/A: label not yet updated.\n","examples":["2025-11-07T01:47:42+00:00","N/A"],"uniqueKey":"label_updated_at","typeLabel":"string"},"destination_id":{"oneOf":[{"type":"integer","description":"The Loop destination ID. `null` when the return has no destination.","examples":[2232,null],"uniqueKey":"destination_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The Loop destination ID. `null` when the return has no destination.","examples":[2232,null],"uniqueKey":"destination_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"destination_id","typeLabel":"integer | null"},"destination_provider_location_id":{"oneOf":[{"type":"integer","description":"The commerce platform's numeric location ID for the **return shipping destination**\n(the same destination as `destination_id`), when that destination has a linked Loop location.\n`null` when no location is linked or when the return has no destination. This is separate from\n`line_items[].provider_location_id`, which describes fulfillment/origin context per line item.\n","examples":[987654321,null],"uniqueKey":"destination_provider_location_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The commerce platform's numeric location ID for the **return shipping destination**\n(the same destination as `destination_id`), when that destination has a linked Loop location.\n`null` when no location is linked or when the return has no destination. This is separate from\n`line_items[].provider_location_id`, which describes fulfillment/origin context per line item.\n","examples":[987654321,null],"uniqueKey":"destination_provider_location_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"destination_provider_location_id","typeLabel":"integer | null"},"return_method":{"oneOf":[{"type":"object","description":"If the return is not being sent back through boxing and shipping, this field describes the way in which the item is being returned. These are usually pick-up or drop-off options.","properties":{"provider":{"type":"string","description":"The provider of the return method.","examples":["happy-returns"],"uniqueKey":"return_method.oneOf.0.provider","typeLabel":"string"},"return_method_type":{"type":"string","description":"The return method type.","examples":["drop-off","pick-up"],"uniqueKey":"return_method.oneOf.0.return_method_type","typeLabel":"string"},"scannable_id":{"oneOf":[{"type":"string","description":"The identifier that can be scanned at the warehouse to connect to the return data.","examples":["23124100124923"],"uniqueKey":"return_method.oneOf.0.scannable_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The identifier that can be scanned at the warehouse to connect to the return data.","examples":["23124100124923"],"uniqueKey":"return_method.oneOf.0.scannable_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.scannable_id","typeLabel":"string | null"},"address":{"type":"object","description":"If the return method is a drop-off, this is the destination where it can be dropped off at.","properties":{"name":{"oneOf":[{"type":"string","description":"The name associated with the address.","uniqueKey":"return_method.oneOf.0.address.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name associated with the address.","uniqueKey":"return_method.oneOf.0.address.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.address.name","typeLabel":"string | null"},"company":{"oneOf":[{"type":"string","description":"The name of the company residing at the address.","uniqueKey":"return_method.oneOf.0.address.company.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the company residing at the address.","uniqueKey":"return_method.oneOf.0.address.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.address.company","typeLabel":"string | null"},"address1":{"type":"string","description":"Line 1 of the address.","uniqueKey":"return_method.oneOf.0.address.address1","typeLabel":"string"},"address2":{"oneOf":[{"type":"string","description":"Line 2 of the address.","uniqueKey":"return_method.oneOf.0.address.address2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 2 of the address.","uniqueKey":"return_method.oneOf.0.address.address2.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.address.address2","typeLabel":"string | null"},"city":{"type":"string","description":"The city in which the address is located.","uniqueKey":"return_method.oneOf.0.address.city","typeLabel":"string"},"state":{"oneOf":[{"type":"string","description":"The state or region in which the address is located.","uniqueKey":"return_method.oneOf.0.address.state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state or region in which the address is located.","uniqueKey":"return_method.oneOf.0.address.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.address.state","typeLabel":"string | null"},"zip":{"type":"string","description":"The ZIP or postal code associated with the address.","uniqueKey":"return_method.oneOf.0.address.zip","typeLabel":"string"},"country":{"type":"string","description":"The country in which the address is located.","uniqueKey":"return_method.oneOf.0.address.country","typeLabel":"string"},"country_code":{"oneOf":[{"type":"string","description":"The country code associated with the address.","uniqueKey":"return_method.oneOf.0.address.country_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country code associated with the address.","uniqueKey":"return_method.oneOf.0.address.country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.address.country_code","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"The phone number associated with the address.","uniqueKey":"return_method.oneOf.0.address.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number associated with the address.","uniqueKey":"return_method.oneOf.0.address.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.address.phone","typeLabel":"string | null"},"latitude":{"oneOf":[{"type":"number","description":"The latitude of the drop-off location.","uniqueKey":"return_method.oneOf.0.address.latitude.oneOf.0","typeLabel":"number"},{"type":"null","description":"The latitude of the drop-off location.","uniqueKey":"return_method.oneOf.0.address.latitude.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.address.latitude","typeLabel":"number | null"},"longitude":{"oneOf":[{"type":"number","description":"The longitude of the drop-off location.","uniqueKey":"return_method.oneOf.0.address.longitude.oneOf.0","typeLabel":"number"},{"type":"null","description":"The longitude of the drop-off location.","uniqueKey":"return_method.oneOf.0.address.longitude.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.address.longitude","typeLabel":"number | null"}},"example":{"name":"Staples 0152","company":null,"address1":"7881 Edinger Ave.Ste.130","address2":"Bella Terra Mall","city":"Huntington Beach","state":"CA","zip":"92647","country":"United States of America","country_code":"US","phone":"","latitude":33.7313927,"longitude":-117.9910687},"uniqueKey":"return_method.oneOf.0.address","typeLabel":"object"},"state":{"type":"string","description":"The state of the return method at the current time, similar to label status.","examples":["new","in_transit"],"uniqueKey":"return_method.oneOf.0.state","typeLabel":"string"},"rma_id":{"type":"string","description":"The ID of the return record in the related system.","examples":["HRABC123"],"uniqueKey":"return_method.oneOf.0.rma_id","typeLabel":"string"},"qr_code_url":{"type":"string","description":"If the return method has a QR code, this is the link; otherwise null.","examples":["https://partner.happyreturns.com/barcode/qr?code=HRABC123",null],"uniqueKey":"return_method.oneOf.0.qr_code_url","typeLabel":"string"},"updated_at":{"oneOf":[{"type":"string","description":"The date and time at which the return method was last updated.","examples":["2024-02-02 21:19:04",null],"uniqueKey":"return_method.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date and time at which the return method was last updated.","examples":["2024-02-02 21:19:04",null],"uniqueKey":"return_method.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.updated_at","typeLabel":"string | null"},"scheduled_at":{"oneOf":[{"type":"string","description":"If this return method needs to be scheduled for pick up or drop off; otherwise null.","examples":[null,"2019-04-01T12:00:00+00:00"],"uniqueKey":"return_method.oneOf.0.scheduled_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"If this return method needs to be scheduled for pick up or drop off; otherwise null.","examples":[null,"2019-04-01T12:00:00+00:00"],"uniqueKey":"return_method.oneOf.0.scheduled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method.oneOf.0.scheduled_at","typeLabel":"string | null"}},"uniqueKey":"return_method.oneOf.0","typeLabel":"object"},{"type":"null","description":"If the return is not being sent back through boxing and shipping, this field describes the way in which the item is being returned. These are usually pick-up or drop-off options.","properties":{"provider":{"type":"string","description":"The provider of the return method.","examples":["happy-returns"]},"return_method_type":{"type":"string","description":"The return method type.","examples":["drop-off","pick-up"]},"scannable_id":{"oneOf":[{"type":"string","description":"The identifier that can be scanned at the warehouse to connect to the return data.","examples":["23124100124923"]},{"type":"null","description":"The identifier that can be scanned at the warehouse to connect to the return data.","examples":["23124100124923"]}]},"address":{"type":"object","description":"If the return method is a drop-off, this is the destination where it can be dropped off at.","properties":{"name":{"oneOf":[{"type":"string","description":"The name associated with the address."},{"type":"null","description":"The name associated with the address."}]},"company":{"oneOf":[{"type":"string","description":"The name of the company residing at the address."},{"type":"null","description":"The name of the company residing at the address."}]},"address1":{"type":"string","description":"Line 1 of the address."},"address2":{"oneOf":[{"type":"string","description":"Line 2 of the address."},{"type":"null","description":"Line 2 of the address."}]},"city":{"type":"string","description":"The city in which the address is located."},"state":{"oneOf":[{"type":"string","description":"The state or region in which the address is located."},{"type":"null","description":"The state or region in which the address is located."}]},"zip":{"type":"string","description":"The ZIP or postal code associated with the address."},"country":{"type":"string","description":"The country in which the address is located."},"country_code":{"oneOf":[{"type":"string","description":"The country code associated with the address."},{"type":"null","description":"The country code associated with the address."}]},"phone":{"oneOf":[{"type":"string","description":"The phone number associated with the address."},{"type":"null","description":"The phone number associated with the address."}]},"latitude":{"oneOf":[{"type":"number","description":"The latitude of the drop-off location."},{"type":"null","description":"The latitude of the drop-off location."}]},"longitude":{"oneOf":[{"type":"number","description":"The longitude of the drop-off location."},{"type":"null","description":"The longitude of the drop-off location."}]}},"example":{"name":"Staples 0152","company":null,"address1":"7881 Edinger Ave.Ste.130","address2":"Bella Terra Mall","city":"Huntington Beach","state":"CA","zip":"92647","country":"United States of America","country_code":"US","phone":"","latitude":33.7313927,"longitude":-117.9910687}},"state":{"type":"string","description":"The state of the return method at the current time, similar to label status.","examples":["new","in_transit"]},"rma_id":{"type":"string","description":"The ID of the return record in the related system.","examples":["HRABC123"]},"qr_code_url":{"type":"string","description":"If the return method has a QR code, this is the link; otherwise null.","examples":["https://partner.happyreturns.com/barcode/qr?code=HRABC123",null]},"updated_at":{"oneOf":[{"type":"string","description":"The date and time at which the return method was last updated.","examples":["2024-02-02 21:19:04",null]},{"type":"null","description":"The date and time at which the return method was last updated.","examples":["2024-02-02 21:19:04",null]}]},"scheduled_at":{"oneOf":[{"type":"string","description":"If this return method needs to be scheduled for pick up or drop off; otherwise null.","examples":[null,"2019-04-01T12:00:00+00:00"]},{"type":"null","description":"If this return method needs to be scheduled for pick up or drop off; otherwise null.","examples":[null,"2019-04-01T12:00:00+00:00"]}]}},"uniqueKey":"return_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"return_method","typeLabel":"object | null"},"package_reference":{"oneOf":[{"type":"string","description":"The value that identifies the physical package that the return is in regardless if it was returned via box \u0026 ship or a different return method.\n","examples":["PKG-12345"],"uniqueKey":"package_reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value that identifies the physical package that the return is in regardless if it was returned via box \u0026 ship or a different return method.\n","examples":["PKG-12345"],"uniqueKey":"package_reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"package_reference","typeLabel":"string | null"},"type":{"type":"string","description":"The return type.","examples":["standard","warranty"],"uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"topic":"return","trigger":"return.created","shop_id":12345,"id":"1673","state":"open","refund_before_inspection":false,"created_at":"2019-04-01T12:00:00+00:00","edited_at":"2019-04-01T12:00:00+00:00","total":"48.81","order_id":"2871","order_name":"#47727779","taxes_included":false,"provider_order_id":"58997314","order_number":"7078","provider_order_number":8078,"provider_order_external_id":"12354567890","provider_order_sales_channel":"Example Online Store","customer":"me@myself.com","customer_detail":{"email":"jf@example.com","first_name":"Jean","last_name":"Launier"},"address":{"name":"J.F. Launier","company":"Universal Exports","address1":"1234 Example Street","address2":"Unit 19","city":"Townsville","state":"Louisiana","zip":"90210","country":"United States","country_code":"US","phone":"+1-678-999-8212"},"currency":"USD","return_product_total":"50.00","return_discount_total":"5.00","return_tax_total":"2.50","return_total":"47.50","return_credit_total":"47.50","status_page_url":"https://example.loopreturns.com/#/return/b3e4764e-7adf-4b8c-802a-553305b6db49","exchange_product_total":"60.00","exchange_discount_total":"10.00","exchange_tax_total":"3.00","exchange_total":"53.00","exchange_credit_total":"53.00","gift_card":"25.00","handling_fee":"5.00","refund":"20.00","upsell":"10.00","is_gift_return":true,"refunds":[{"gateway":"Stripe","amount":"20.00","currency":"USD","provider_refund_id":"987654321","provider":"stripe"}],"labels":[{"status":"new","updated_at":"2024-02-02T21:19:04.000Z","url":"https://partner.loopreturns.com/label/12345456","rate":1093,"carrier":"USPS","tracking_number":"123456789101112","line_items":[987654321]}],"line_items":[{"line_item_id":"123456789","provider_line_item_id":"12149029339269","product_id":"5107813056645","variant_id":"34404555554949","sku":"new-sku","barcode":"barcode1234","title":"Retro Laser - Big","weight_in_grams":226,"price":"35.38","discount":"0.00","tax":"2.65","refund":"38.03","returned_at":"2024-01-11T22:47:02+00:00","exchange_variant":"23141001","return_reason":"I didn't like how the item looked","provider_restock_location_id":6543,"is_in_store_return":false,"provider_location_id":1456,"parent_return_reason":"I didn't like the item","return_comment":"N/A","outcome":"default","taxes":[{"title":"State Tax","amount":265,"rate":0.0625}],"fulfillment_sku":"FULFIL-SKU-123"}],"exchanges":[{"exchange_id":"1417","product_id":"69713389","variant_id":"9502968","exchange_order_name":"#EXC-5551-1","exchange_order_id":"459765194","sku":"example-sku-123","type":"exchange","title":"T-Shirt - Large","price":"99.11","discount":"0.00","tax":"0.00","total":"99.11","out_of_stock":true,"out_of_stock_resolution":"credited"}],"shipment_id":"SHIP-001","carrier":"USPS","tracking_number":"28735625627856237856287","label_status":"pre_transit","label_updated_at":"2025-11-07T01:47:42+00:00","destination_id":2232,"destination_provider_location_id":987654321,"return_method":{"provider":"happy-returns","return_method_type":"drop-off","scannable_id":"23124100124923","address":{"name":"Staples 0152","company":null,"address1":"7881 Edinger Ave.Ste.130","address2":"Bella Terra Mall","city":"Huntington Beach","state":"CA","zip":"92647","country":"United States of America","country_code":"US","phone":"","latitude":33.7313927,"longitude":-117.9910687},"state":"new","rma_id":"HRABC123","qr_code_url":"https://partner.happyreturns.com/barcode/qr?code=HRABC123","updated_at":"2024-02-02 21:19:04","scheduled_at":null},"package_reference":"PKG-12345","type":"standard"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9cdca9ae-8bee-4a0d-8ecc-9c2bb221c4e7":{"description":"Return a 200 status to indicate that the data was received successfully","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{}},"originalFileLocation":"openapi/return-webhook.yaml"},"subdomain":"loopreturns","siteName":"Loop Returns Documentation","title":"Return - Loop Returns Documentation","navMaps":{"firstHrefInVersion":{"2026-07":{"href":"/webhook-reference/topics/return-webhook","matchLevel":0},"2026-10":{"href":"/webhook-reference/topics/return-webhook","matchLevel":0},"unstable":{"href":"/webhook-reference/topics/return-webhook","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T21:40:54.817Z","originalFileLocation":"webhook-reference/topics/return-webhook.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Loop Returns Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Return - Loop Returns Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Loop Returns Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://loopreturns.mintlify.app/_mintlify/api/og/v2?division=Webhook+Payloads\u0026amp;title=Return\u0026amp;theme=5ccacdea69e246fe33e6ab29\u0026amp;signature=3749ba4263f69e7f69afedacb3a29ad78c134f5d09e584c37dc22012bedf7548\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Return - Loop Returns Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://loopreturns.mintlify.app/_mintlify/api/og/v2?division=Webhook+Payloads\u0026amp;title=Return\u0026amp;theme=5ccacdea69e246fe33e6ab29\u0026amp;signature=3749ba4263f69e7f69afedacb3a29ad78c134f5d09e584c37dc22012bedf7548\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/loopreturns/X0rUYkP1UIsEaMhI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Loop Returns Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0672FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/webhook-reference/topics/return-webhook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.loopreturns.com/#organization\",\"name\":\"Loop Returns Documentation\",\"url\":\"https://docs.loopreturns.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/loopreturns/mWP1nZGNp75FiB-l/logo/loop-logo-lapis-charcoal.svg?fit=max\u0026auto=format\u0026n=mWP1nZGNp75FiB-l\u0026q=85\u0026s=5113cc3f8f2d70a65c2c774e471a13c4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.loopreturns.com#website\",\"name\":\"Loop Returns Documentation\",\"url\":\"https://docs.loopreturns.com\",\"publisher\":{\"@id\":\"https://docs.loopreturns.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook#webpage\",\"url\":\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook\",\"name\":\"Return\",\"dateModified\":\"2026-10-29T21:40:54.817Z\",\"isPartOf\":{\"@id\":\"https://docs.loopreturns.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Loop Returns Documentation\",\"item\":\"https://docs.loopreturns.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Return\",\"item\":\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook#apireference\",\"headline\":\"Return\",\"name\":\"Return\",\"url\":\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook\",\"mainEntityOfPage\":{\"@id\":\"https://docs.loopreturns.com/webhook-reference/topics/return-webhook#webpage\"},\"dateModified\":\"2026-10-29T21:40:54.817Z\",\"publisher\":{\"@id\":\"https://docs.loopreturns.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.loopreturns.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Loop Returns Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Loop Returns Documentation","nav":{"global":{"anchors":[{"anchor":"System Status","icon":"radar","href":"https://status.loopreturns.com"}]},"versions":[{"version":"2026-07","tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/welcome"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/integration-guides/overview"}]},{"tab":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/getting-started"}]},{"tab":"Webhook Reference","groups":[{"group":"Webhook Reference","pages":[{"title":"Getting Started","href":"/webhook-reference/getting-started"},{"title":"Create a webhook subscription","href":"/webhook-reference/setting-up"},{"title":"Validate webhooks from Loop","description":null,"href":"/webhook-reference/validation"}]},{"group":"Webhook Payloads","pages":[{"title":"Return","openapi":"webhook Return","href":"/webhook-reference/topics/return-webhook"},{"title":"Return processing","openapi":"webhook ReturnProcessing","description":null,"href":"/webhook-reference/topics/return-processing-webhook"},{"title":"Label","openapi":"webhook Label","href":"/webhook-reference/topics/label-webhook"},{"title":"Label requests","openapi":"webhook LabelRequests","href":"/webhook-reference/topics/label-requests-webhook"},{"title":"Happy Returns Shipment","openapi":"webhook HappyReturnsShipmentProcessed","href":"/webhook-reference/topics/happy-returns-shipment-webhook"},{"title":"Gift card","openapi":"webhook GiftCardRequested","href":"/webhook-reference/topics/gift-card-webhook"},{"title":"Restock","openapi":"webhook Restocking","href":"/webhook-reference/topics/restock-webhook"}]}]}]},{"version":"2026-10","default":true,"tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/welcome"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/integration-guides/overview"}]},{"tab":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/getting-started"}]},{"tab":"Webhook Reference","groups":[{"group":"Webhook Reference","pages":[{"title":"Getting Started","href":"/webhook-reference/getting-started"},{"title":"Create a webhook subscription","href":"/webhook-reference/setting-up"},{"title":"Validate webhooks from Loop","description":null,"href":"/webhook-reference/validation"}]},{"group":"Webhook Payloads","pages":[{"title":"Return","openapi":"webhook Return","href":"/webhook-reference/topics/return-webhook"},{"title":"Return processing","openapi":"webhook ReturnProcessing","description":null,"href":"/webhook-reference/topics/return-processing-webhook"},{"title":"Label","openapi":"webhook Label","href":"/webhook-reference/topics/label-webhook"},{"title":"Label requests","openapi":"webhook LabelRequests","href":"/webhook-reference/topics/label-requests-webhook"},{"title":"Happy Returns Shipment","openapi":"webhook HappyReturnsShipmentProcessed","href":"/webhook-reference/topics/happy-returns-shipment-webhook"},{"title":"Gift card","openapi":"webhook GiftCardRequested","href":"/webhook-reference/topics/gift-card-webhook"},{"title":"Restock","openapi":"webhook Restocking","href":"/webhook-reference/topics/restock-webhook"}]}]}]},{"version":"unstable","tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/welcome"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/integration-guides/overview"}]},{"tab":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/unstable/changes"}]},{"tab":"Webhook Reference","groups":[{"group":"Webhook Reference","pages":[{"title":"Getting Started","href":"/webhook-reference/getting-started"},{"title":"Create a webhook subscription","href":"/webhook-reference/setting-up"},{"title":"Validate webhooks from Loop","description":null,"href":"/webhook-reference/validation"}]},{"group":"Webhook Payloads","pages":[{"title":"Return","openapi":"webhook Return","href":"/webhook-reference/topics/return-webhook"},{"title":"Return processing","openapi":"webhook ReturnProcessing","description":null,"href":"/webhook-reference/topics/return-processing-webhook"},{"title":"Label","openapi":"webhook Label","href":"/webhook-reference/topics/label-webhook"},{"title":"Label requests","openapi":"webhook LabelRequests","href":"/webhook-reference/topics/label-requests-webhook"},{"title":"Happy Returns Shipment","openapi":"webhook HappyReturnsShipmentProcessed","href":"/webhook-reference/topics/happy-returns-shipment-webhook"},{"title":"Gift card","openapi":"webhook GiftCardRequested","href":"/webhook-reference/topics/gift-card-webhook"},{"title":"Restock","openapi":"webhook Restocking","href":"/webhook-reference/topics/restock-webhook"}]}]}]}]},"basePath":"","title":"Return - Loop Returns Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}