curl --request GET \
--url https://api.getredo.com/v2.2/stores/{storeId}/returns \
--header 'Authorization: Bearer <token>'{
"orders": [
{
"customer": {
"name": {
"given": "<string>",
"surname": "<string>"
},
"emailAddress": "[email protected]",
"phoneNumber": "<string>"
},
"discounts": {
"amount": "<string>",
"currency": "<string>"
},
"id": "64e4da943dd822979a70bd12",
"items": [
{
"fulfillmentLocationId": "123",
"id": "<string>",
"price": {
"amount": "<string>",
"currency": "<string>"
},
"product": {
"name": "<string>",
"externalId": "<string>"
},
"quantity": 1,
"variant": {
"name": "<string>",
"externalId": "<string>",
"sku": "<string>",
"weight": {
"kg": 1
}
},
"externalId": "123"
}
],
"lineItemsTotal": {
"amount": "<string>",
"currency": "<string>"
},
"name": "<string>",
"shippingCost": {
"amount": "<string>",
"currency": "<string>"
},
"taxes": {
"amount": "<string>",
"currency": "<string>"
},
"total": {
"amount": "<string>",
"currency": "<string>"
},
"externalId": "<string>"
}
],
"returns": [
{
"createdAt": "2023-11-07T05:31:56Z",
"destination": {
"mailingAddress": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"postalCode": "<string>",
"state": "<string>",
"line2": ""
},
"phoneNumber": "<string>"
},
"giftCards": [
{
"amount": {
"amount": "<string>",
"currency": "<string>"
},
"code": "<string>",
"externalId": "<string>"
}
],
"id": "<string>",
"items": [
{
"id": "<string>",
"orderItem": {
"id": "<string>",
"line_item_id": "<string>"
},
"quantity": 123,
"reason": "<string>",
"assessments": [
{
"assignedUser": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"name": "<string>"
},
"responses": [
{
"type": "<string>",
"value": "<string>"
}
]
}
],
"customerComment": "<string>",
"exchangeItem": {
"product": {
"externalId": "<string>",
"name": "<string>"
},
"quantity": 123,
"variant": {
"externalId": "<string>",
"name": "<string>"
}
},
"greenReturn": true,
"multipleChoiceQuestions": [
{
"answer": "<string>",
"question": "<string>"
}
],
"productAdjustment": "<string>",
"productId": "<string>",
"reasonCode": "<string>",
"reasonCodes": [
"<string>"
],
"reasons": [
"<string>"
],
"refund": {
"amount": {
"amount": "<string>",
"currency": "<string>"
},
"type": "<string>"
},
"sku": "<string>",
"status": "<string>",
"variantId": "<string>"
}
],
"order": {
"id": "abc123"
},
"source": {
"emailAddress": "[email protected]",
"mailingAddress": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"postalCode": "<string>",
"state": "<string>",
"line2": ""
},
"name": {
"given": "<string>",
"surname": "<string>"
},
"phoneNumber": "<string>"
},
"status": "open",
"updatedAt": "2023-11-07T05:31:56Z",
"compensationMethods": [
"refund"
],
"exchange": {
"items": [
{
"id": "<string>",
"quantity": 1,
"variant": {
"name": "<string>",
"externalId": "<string>",
"sku": "<string>",
"weight": {
"kg": 1
}
},
"originalPrice": {
"amount": "<string>",
"currency": "<string>"
},
"price": {
"amount": "<string>",
"currency": "<string>",
"tax": "<string>"
},
"product": {
"name": "<string>",
"externalId": "<string>"
}
}
],
"provision": "deferred",
"itemCount": 123,
"order": {
"externalId": "<string>"
},
"totalTax": {
"amount": "<string>",
"currency": "<string>"
}
},
"externalOrderIds": [
"<string>"
],
"internalCreatedByName": "<string>",
"notes": [
{
"message": "<string>",
"image": "<string>"
}
],
"shipment": {
"carrier": "<string>",
"postageLabel": "<string>",
"status": "unknown",
"tracker": "<string>",
"trackingUrl": "<string>"
},
"shipments": [
{
"carrier": "<string>",
"postageLabel": "<string>",
"status": "unknown",
"tracker": "<string>",
"trackingUrl": "<string>"
}
],
"shopifyOrderIds": [
"<string>"
],
"totals": {
"charge": {
"amount": {
"amount": "<string>",
"currency": "<string>"
}
},
"exchange": {
"amount": {
"amount": "<string>",
"currency": "<string>"
}
},
"refund": {
"amount": {
"amount": "<string>",
"currency": "<string>"
}
},
"storeCredit": {
"amount": {
"amount": "<string>",
"currency": "<string>"
}
}
},
"type": "return"
}
]
}List returns, sorted by most recent to least recent.
curl --request GET \
--url https://api.getredo.com/v2.2/stores/{storeId}/returns \
--header 'Authorization: Bearer <token>'{
"orders": [
{
"customer": {
"name": {
"given": "<string>",
"surname": "<string>"
},
"emailAddress": "[email protected]",
"phoneNumber": "<string>"
},
"discounts": {
"amount": "<string>",
"currency": "<string>"
},
"id": "64e4da943dd822979a70bd12",
"items": [
{
"fulfillmentLocationId": "123",
"id": "<string>",
"price": {
"amount": "<string>",
"currency": "<string>"
},
"product": {
"name": "<string>",
"externalId": "<string>"
},
"quantity": 1,
"variant": {
"name": "<string>",
"externalId": "<string>",
"sku": "<string>",
"weight": {
"kg": 1
}
},
"externalId": "123"
}
],
"lineItemsTotal": {
"amount": "<string>",
"currency": "<string>"
},
"name": "<string>",
"shippingCost": {
"amount": "<string>",
"currency": "<string>"
},
"taxes": {
"amount": "<string>",
"currency": "<string>"
},
"total": {
"amount": "<string>",
"currency": "<string>"
},
"externalId": "<string>"
}
],
"returns": [
{
"createdAt": "2023-11-07T05:31:56Z",
"destination": {
"mailingAddress": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"postalCode": "<string>",
"state": "<string>",
"line2": ""
},
"phoneNumber": "<string>"
},
"giftCards": [
{
"amount": {
"amount": "<string>",
"currency": "<string>"
},
"code": "<string>",
"externalId": "<string>"
}
],
"id": "<string>",
"items": [
{
"id": "<string>",
"orderItem": {
"id": "<string>",
"line_item_id": "<string>"
},
"quantity": 123,
"reason": "<string>",
"assessments": [
{
"assignedUser": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"name": "<string>"
},
"responses": [
{
"type": "<string>",
"value": "<string>"
}
]
}
],
"customerComment": "<string>",
"exchangeItem": {
"product": {
"externalId": "<string>",
"name": "<string>"
},
"quantity": 123,
"variant": {
"externalId": "<string>",
"name": "<string>"
}
},
"greenReturn": true,
"multipleChoiceQuestions": [
{
"answer": "<string>",
"question": "<string>"
}
],
"productAdjustment": "<string>",
"productId": "<string>",
"reasonCode": "<string>",
"reasonCodes": [
"<string>"
],
"reasons": [
"<string>"
],
"refund": {
"amount": {
"amount": "<string>",
"currency": "<string>"
},
"type": "<string>"
},
"sku": "<string>",
"status": "<string>",
"variantId": "<string>"
}
],
"order": {
"id": "abc123"
},
"source": {
"emailAddress": "[email protected]",
"mailingAddress": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"postalCode": "<string>",
"state": "<string>",
"line2": ""
},
"name": {
"given": "<string>",
"surname": "<string>"
},
"phoneNumber": "<string>"
},
"status": "open",
"updatedAt": "2023-11-07T05:31:56Z",
"compensationMethods": [
"refund"
],
"exchange": {
"items": [
{
"id": "<string>",
"quantity": 1,
"variant": {
"name": "<string>",
"externalId": "<string>",
"sku": "<string>",
"weight": {
"kg": 1
}
},
"originalPrice": {
"amount": "<string>",
"currency": "<string>"
},
"price": {
"amount": "<string>",
"currency": "<string>",
"tax": "<string>"
},
"product": {
"name": "<string>",
"externalId": "<string>"
}
}
],
"provision": "deferred",
"itemCount": 123,
"order": {
"externalId": "<string>"
},
"totalTax": {
"amount": "<string>",
"currency": "<string>"
}
},
"externalOrderIds": [
"<string>"
],
"internalCreatedByName": "<string>",
"notes": [
{
"message": "<string>",
"image": "<string>"
}
],
"shipment": {
"carrier": "<string>",
"postageLabel": "<string>",
"status": "unknown",
"tracker": "<string>",
"trackingUrl": "<string>"
},
"shipments": [
{
"carrier": "<string>",
"postageLabel": "<string>",
"status": "unknown",
"tracker": "<string>",
"trackingUrl": "<string>"
}
],
"shopifyOrderIds": [
"<string>"
],
"totals": {
"charge": {
"amount": {
"amount": "<string>",
"currency": "<string>"
}
},
"exchange": {
"amount": {
"amount": "<string>",
"currency": "<string>"
}
},
"refund": {
"amount": {
"amount": "<string>",
"currency": "<string>"
}
},
"storeCredit": {
"amount": {
"amount": "<string>",
"currency": "<string>"
}
}
},
"type": "return"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page marker, from X-Page-Next header
Page size, defaults to 20
1 <= x <= 500Store ID
"64e5a8a1af49a89df37e4ee7"
Maximum updated time, exclusive
Minimum updated time, inclusive
Shopify specific order name
"XYZ1025"
Provider specific order name
"XYZ1025"
Success
Show child attributes
Show child attributes
Email address of customer.
Phone number of customer.
Order ID
"64e4da943dd822979a70bd12"
Show child attributes
ID of the location where the item was be fulfilled.
"123"
Line item ID
Item quantity.
1
"123"
Shopify name.
Shopify ID
Show child attributes
Time of creation.
Show child attributes
Mailing address to send the returned items.
Show child attributes
City name
Country code
Line 1
Postal or ZIP code
State or province
Line 2
Phone number of the destination.
Gift card(s) created for return
Show child attributes
Return identifier.
Return items
Show child attributes
Return item ID.
Quantity of items being returned
Primary return reason
Assessment records for this return item. Only applicable for warranties.
Show child attributes
User assigned to this assessment
Show child attributes
Assessment responses
Customer's comment about the return
Exchange item details if this return item is being exchanged
Show child attributes
Whether this is a green return (no physical return required)
Product adjustment details
Product ID
Return reason code
Array of return reason codes
Array of return reasons
Product SKU
Return item status
Product variant ID
Show child attributes
Email address.
Mailing address returned items are sent from.
Show child attributes
City name
Country code
Line 1
Postal or ZIP code
State or province
Line 2
Phone number of returner.
Return status.
open, in_transit, delivered, needs_review, in_review, complete, rejected, flagged, pre_shipment, deleted "open"
Time of last update.
Array of compensation methods available for this return
refund, store_credit, exchange Exchange order
Show child attributes
Show child attributes
Item quantity.
1
Show child attributes
instant, deferred "deferred"
Total quantity of all exchange items
Array of external order IDs associated with this return
Name of the internal team member who created this return
Shipment, if has been made
Show child attributes
Carrier code
Postage label URL
Status of shipment
unknown, pre_transit, in_transit, out_for_delivery, available_for_pickup, cancelled, delivered, error, failure, return_to_sender, expired Tracking number
Tracking URL
Array of all shipments associated with this return
Show child attributes
Carrier code
Postage label URL
Status of shipment
unknown, pre_transit, in_transit, out_for_delivery, available_for_pickup, cancelled, delivered, error, failure, return_to_sender, expired Tracking number
Tracking URL
Array of Shopify order IDs (deprecated, use externalOrderIds)
Calculated totals for the return
Show child attributes
Return type.
claim, return, warranty "return"
Was this page helpful?