v1
latestOpenAPI 3.1.02026-07-2689175245.8 KBReturn Actions
Create Return Deep Link with QR Code
Generate a link to a QR code image file that, when scanned, will take the user directly to their order in Loop so they can initiate a return without requiring them to enter their order information.
The deep link URL is also returned. If type is not included in the request, or is a non-supported format, a png will be returned.
Required API key scope
- Orders
post/order/qr
Request body
Example request
{
"name": "Shopify Order Name",
"zip": "43215",
"type": "png",
"size": 250
}Response
Success
Example response
{
"qr": "https://api.loopreturns.com/api/v1/qr/i/example-uuid-for-qr-image",
"deeplink_url": "https://test-shop.loopreturns.com/#/link/examp1e-uu1d-h3r3"
}