---
updatedAt: 2026-08-03T19:35:36.000Z
---

# Get all returns with cursor mark

 <div class="amber-callout" aria-label="Migration notice"><p><strong>Migrate to Global APIs:</strong> New sellers and approved Solution Providers should use Global APIs. Existing users must migrate to avoid disruption and access new capabilities coming to your market. Explore <a href ="https://developer.walmart.com/global-marketplace/docs/global-marketplace-apis" style="text-decoration: underline !important; font-weight: 700;">Global Marketplace migration resources</a>.</p></div>  <p> Retrieves the details of all return orders for the specified filter criteria. With this API you can get all orders in response, it returns nextCursorMark for the next 100 orders so on and so forth upto the last order. The same API can be used to search a single order based on returnOrderId/ customerOrderId.

[block:html]
{
  "html": "<a\n  href=\"https://god.gw.postman.com/run-collection/34477757-14231a08-eb1b-40f0-82b8-2c5f870d123f?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D34477757-14231a08-eb1b-40f0-82b8-2c5f870d123f%26entityType%3Dcollection%26workspaceId%3D956a886d-5b0c-4e87-a28b-d31688fc1cc8\"\n  target=\"_blank\"\n  style=\"text-decoration: none\"\n>\n  <button>\n    <img\n      src=\"https://run.pstmn.io/button.svg\"\n      alt=\"Run In Postman\"\n      style=\"width: 128px; height: 32px\"\n    />\n  </button>\n</a>"
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "1.0",
    "title": "Returns Management",
    "description": "Returns can be initiated from Walmart.com, even for items purchased from marketplace sellers (Except for HAZMAT or FREIGHT items)."
  },
  "x-readme": {
    "samples-languages": [
      "shell"
    ],
    "proxy-enabled": false,
    "explorer-enabled": true
  },
  "servers": [
    {
      "url": "https://marketplace.walmartapis.com",
      "description": "Production URL"
    },
    {
      "url": "https://sandbox.walmartapis.com",
      "description": "Sandbox URL"
    }
  ],
  "security": [
    {
      "basicScheme": []
    }
  ],
  "paths": {
    "/v3/returns/cursor": {
      "get": {
        "tags": [
          "Returns/Refunds"
        ],
        "summary": "Get all returns with cursor mark",
        "description": " <div class=\"amber-callout\" aria-label=\"Migration notice\"><p><strong>Migrate to Global APIs:</strong> New sellers and approved Solution Providers should use Global APIs. Existing users must migrate to avoid disruption and access new capabilities coming to your market. Explore <a href =\"https://developer.walmart.com/global-marketplace/docs/global-marketplace-apis\" style=\"text-decoration: underline !important; font-weight: 700;\">Global Marketplace migration resources</a>.</p></div>  <p> Retrieves the details of all return orders for the specified filter criteria. With this API you can get all orders in response, it returns nextCursorMark for the next 100 orders so on and so forth upto the last order. The same API can be used to search a single order based on returnOrderId/ customerOrderId.",
        "operationId": "getAllReturnsUsingCursor",
        "parameters": [
          {
            "name": "returnCreationStartDate",
            "in": "query",
            "description": "Start Date for querying all return orders after that date. Either both the returnCreationStartDate, returnCreationEndDate must be present in the query params or none present. If passed must be in the format - 'yyyy-MM-dd'T'HH:mm:ss.SSSXXX' (Ex. 2022-01-29T10:53:12.355-09:30 ). Use URI encoded time format.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "NOW-180DAYS"
            }
          },
          {
            "name": "returnCreationEndDate",
            "in": "query",
            "description": "End Date for querying all return orders after that date. Either both the returnCreationStartDate, returnCreationEndDate must be present in the query params or none present. If passed must be in the format - 'yyyy-MM-dd'T'HH:mm:ss.SSSXXX' (Ex. 2022-01-29T10:53:12.355-09:30 ). Use URI encoded time format.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "NOW"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The number of orders to be returned. Cannot be greater than 100.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "10"
            }
          },
          {
            "name": "cursorMark",
            "in": "query",
            "description": "The cursor from which next set of records to be retrieved.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "*"
            }
          },
          {
            "name": "customerOrderId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "returnOrderId",
            "in": "query",
            "description": "The return order ID.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statusCodeFilter",
            "in": "query",
            "description": "The status code filter to apply. Valid values will be Initiated, Completed and Cancelled.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isWFSEnabled",
            "in": "query",
            "description": "Flag to get WFS returns. Valid value is Y",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "WM_MARKET",
            "in": "header",
            "schema": {
              "type": "string",
              "enum": [
                "mx"
              ]
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "description": "Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Basic YzcyOTFjNmItNzI5MC00...."
          },
          {
            "in": "header",
            "name": "WM_SEC.ACCESS_TOKEN",
            "description": "The access token retrieved in the Token API call",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....."
          },
          {
            "in": "header",
            "name": "WM_CONSUMER.CHANNEL.TYPE",
            "description": "A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "WM_QOS.CORRELATION_ID",
            "description": "A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b3261d2d-028a-4ef7-8602-633c23200af6"
          },
          {
            "in": "header",
            "name": "WM_SVC.NAME",
            "description": "Walmart Service Name",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Walmart Service Name"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "meta",
                    "returnOrders"
                  ],
                  "type": "object",
                  "properties": {
                    "meta": {
                      "required": [
                        "limit",
                        "nextCursor",
                        "totalCount"
                      ],
                      "type": "object",
                      "properties": {
                        "totalCount": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "limit": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "nextCursor": {
                          "type": "string"
                        }
                      }
                    },
                    "returnOrders": {
                      "type": "array",
                      "description": "List of returns for the seller.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "returnOrderId": {
                            "type": "string",
                            "description": "Return order identifier of the return order. This is the same as RMA number."
                          },
                          "customerEmail": {
                            "type": "string",
                            "description": "Customer email address"
                          },
                          "customerName": {
                            "type": "object",
                            "properties": {
                              "firstName": {
                                "type": "string",
                                "description": "Customer first name"
                              },
                              "lastName": {
                                "type": "string",
                                "description": "Customer last name"
                              }
                            },
                            "description": "Customer information"
                          },
                          "customerOrderId": {
                            "type": "string",
                            "description": "A unique ID associated with the sales order for specified customer"
                          },
                          "returnOrderDate": {
                            "type": "string",
                            "description": "Date for return order date"
                          },
                          "returnOrderLines": {
                            "type": "array",
                            "description": "A list of order lines in the return order",
                            "items": {
                              "type": "object",
                              "properties": {
                                "returnOrderLineNumber": {
                                  "type": "string",
                                  "description": "The returns order line number for that return"
                                },
                                "primeLineNumber": {
                                  "type": "string",
                                  "description": "The purchase order line number for the return created"
                                },
                                "returnReason": {
                                  "type": "string",
                                  "description": "Gives the reason that was selected during the return creation.",
                                  "enum": [
                                    "Cliente no satisfecho/Garantía al cliente",
                                    "Daño durante el traslado",
                                    "Defecto de fábrica",
                                    "Duda de entrega/Entrega no reconocida",
                                    "Error al crear la venta",
                                    "Error de características en el sitio",
                                    "Error del Cliente",
                                    "Excepción de entrega/ No se pudo entregar",
                                    "Modelo surtido no corresponde al comprado",
                                    "No respeta parcialización a MSI",
                                    "Pedido extraviado por Courier",
                                    "Pedido llego incompleto",
                                    "Pedido robado",
                                    "Problema al aplicar cupón o promocion",
                                    "Robo o extravío de mercancía en tienda",
                                    "Retraso de Surtido",
                                    "Actividad Sospechosa",
                                    "Error de Precio",
                                    "Retraso en Entrega (fecha promesa excedida)",
                                    "Llegó Tarde (fecha promesa excedida)",
                                    "Sin Inventario"
                                  ]
                                },
                                "reasonCode": {
                                  "type": "string",
                                  "description": "Gives the return reason code associated with returnReason",
                                  "enum": [
                                    "CUSTOMER_GUARANTEE",
                                    "DAMAGED_TRANSFER",
                                    "FACTORY_DEFECT",
                                    "DELIVERY_DOUBT",
                                    "SALES_ERROR",
                                    "SITE_FEATURE",
                                    "CUSTOMER_ERROR",
                                    "DELIVERY_EXCEPTION",
                                    "ASSORTED_MODEL",
                                    "WITHOUT_INTEREST",
                                    "COURIER_LOST",
                                    "ORDER_INCOMPLETE",
                                    "COURIER_STOLEN",
                                    "PROMO_PROBLEM",
                                    "STORE_LOST",
                                    "DELAY_FULFILLMENT",
                                    "SUSPICIOUS_ACTIVITY",
                                    "PRICE ERROR",
                                    "DELAY_DELIVERY",
                                    "ARRIVED_LATE",
                                    "NO_INVENTORY"
                                  ]
                                },
                                "purchaseOrderId": {
                                  "type": "string",
                                  "description": "The purchase order ID for the return created"
                                },
                                "purchaseOrderLineNumber": {
                                  "type": "string",
                                  "description": "The purchase order line number for the return created"
                                },
                                "item": {
                                  "type": "object",
                                  "properties": {
                                    "upc": {
                                      "type": "string"
                                    },
                                    "offerId": {
                                      "type": "string"
                                    },
                                    "productName": {
                                      "type": "string",
                                      "description": "The name of the product associated with the line item. Example: 'Kenmore CF1' or '2086883 Canister Secondary Filter Generic 2 Pack'"
                                    },
                                    "sku": {
                                      "type": "string",
                                      "description": "An arbitrary alphanumeric unique ID, specified by the seller, which identifies each item. This will be used by the seller in the XSD file to refer to each item. Special characters hyphen (-), space ( ), and period (.) are not allowed."
                                    }
                                  },
                                  "description": "Details of the item to be returned"
                                },
                                "charges": {
                                  "type": "array",
                                  "description": "Information relating to the charge for the orderLine",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "chargeType": {
                                        "type": "string",
                                        "description": "The category type. (e.g., 'PRODUCT' or 'FEE')"
                                      },
                                      "chargeName": {
                                        "type": "string",
                                        "description": "If chargeType is PRODUCT, chargeName is Item Price. If chargeType is SHIPPING, chargeName is Shipping"
                                      },
                                      "chargeAmount": {
                                        "type": "object",
                                        "properties": {
                                          "currency": {
                                            "type": "string",
                                            "description": "Currency information"
                                          },
                                          "amount": {
                                            "type": "string",
                                            "description": "Amount to be refunded. It can be upto two decimal points."
                                          }
                                        },
                                        "description": "The details about the charges for the line item"
                                      },
                                      "tax": {
                                        "type": "array",
                                        "description": "Taxes for each charge",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "taxName": {
                                              "type": "string",
                                              "description": "Name of the tax"
                                            },
                                            "taxAmount": {
                                              "type": "object",
                                              "properties": {
                                                "currency": {
                                                  "type": "string",
                                                  "description": "Currency information"
                                                },
                                                "amount": {
                                                  "type": "string",
                                                  "description": "Amount to be refunded. It can be upto two decimal points."
                                                }
                                              },
                                              "description": "Actual tax amount"
                                            }
                                          },
                                          "description": "Taxes for each charge"
                                        }
                                      }
                                    },
                                    "description": "Information relating to the charge for the orderLine"
                                  }
                                },
                                "unitPrice": {
                                  "type": "object",
                                  "properties": {
                                    "currency": {
                                      "type": "string",
                                      "description": "Currency information"
                                    },
                                    "amount": {
                                      "type": "string",
                                      "description": "Amount to be refunded. It can be upto two decimal points."
                                    }
                                  },
                                  "description": "Price of One unit of item, in this order line"
                                },
                                "chargeTotals": {
                                  "type": "array",
                                  "description": "Contains name value pairs of calculated charges for the line. Eg: if order line has 3 Qty, this will have a shipping charge = 3 * shipping charge per unit (This is present in the line level charges).",
                                  "items": {
                                    "required": [
                                      "name",
                                      "value"
                                    ],
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string",
                                        "description": "Charge Names: lineUnitPrice, lineProductTaxes, lineTotalTaxes, lineRestockingFee, lineShippingFee, lineSubTotal, lineTotal."
                                      },
                                      "value": {
                                        "type": "object",
                                        "properties": {
                                          "currency": {
                                            "type": "string",
                                            "description": "Currency information"
                                          },
                                          "amount": {
                                            "type": "string",
                                            "description": "Amount to be refunded. It can be upto two decimal points."
                                          }
                                        },
                                        "description": "Price of One unit of item, in this order line"
                                      }
                                    },
                                    "description": "Contains name value pairs of calculated charges for the line. Eg: if order line has 3 Qty, this will have a shipping charge = 3 * shipping charge per unit (This is present in the line level charges)."
                                  }
                                },
                                "quantity": {
                                  "type": "object",
                                  "properties": {
                                    "unitOfMeasurement": {
                                      "type": "string",
                                      "description": "The unit of measure in the item's weight (e.g., 'POUND' or 'OUNCE')"
                                    },
                                    "amount": {
                                      "type": "string",
                                      "description": "The quantity of the unit of measure for the item"
                                    }
                                  },
                                  "description": "Total quantity returned in this return line"
                                },
                                "status": {
                                  "type": "string",
                                  "description": "Current status of return. (e.g., 'INITIATED')"
                                },
                                "statusTime": {
                                  "type": "string",
                                  "description": "Timestamp of listed status change"
                                },
                                "refundAmount": {
                                  "type": "object",
                                  "properties": {
                                    "currency": {
                                      "type": "string",
                                      "description": "Currency information"
                                    },
                                    "amount": {
                                      "type": "string",
                                      "description": "Amount to be refunded. It can be upto two decimal points."
                                    }
                                  },
                                  "description": "Refunded Amount without charges."
                                },
                                "soPrimeLineSubLineNo": {
                                  "type": "string"
                                },
                                "isWFSEnabled": {
                                  "type": "string",
                                  "description": "Determines Walmart Fulfilled vs Seller Fulfilled returns. Valid values are: Y, N"
                                }
                              },
                              "description": "A list of order lines in the return order"
                            }
                          },
                          "returnOrderShipments": {
                            "type": "array",
                            "description": "The shipments for return orders",
                            "items": {
                              "type": "object",
                              "properties": {
                                "shipmentLines": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "primeLineNo": {
                                        "type": "string",
                                        "description": "The number to identify the associated order line for the shipment line. Example: 'primeLineNo=1 means the shipment line is associated with orderLine having primeLineNumber=1'"
                                      },
                                      "shipmentLineNo": {
                                        "type": "string",
                                        "description": "The unique number for the shipment line in a given shipment"
                                      },
                                      "quantity": {
                                        "type": "object",
                                        "properties": {
                                          "unitOfMeasurement": {
                                            "type": "string",
                                            "description": "The unit with which the orderLine is measured"
                                          },
                                          "amount": {
                                            "type": "string",
                                            "description": "The amount with witch the orderLine is measured along with unitofMeasurement"
                                          }
                                        },
                                        "description": "The quantity associated with the shipment line"
                                      }
                                    }
                                  }
                                },
                                "shipmentNo": {
                                  "type": "string"
                                },
                                "status": {
                                  "type": "string"
                                },
                                "packageNo": {
                                  "type": "string"
                                },
                                "isSellerOwnedShipment": {
                                  "type": "string"
                                },
                                "shipDateTime": {
                                  "type": "string"
                                },
                                "carrier": {
                                  "type": "string"
                                },
                                "methodCode": {
                                  "type": "string"
                                },
                                "carrierMethodCode": {
                                  "type": "string"
                                },
                                "trackingNumber": {
                                  "type": "string"
                                },
                                "trackingUrl": {
                                  "type": "string"
                                },
                                "shipmentAdditionalDate": {
                                  "type": "object",
                                  "properties": {
                                    "shipmentActualCreatedDate": {
                                      "type": "string"
                                    },
                                    "expectedShipmentACKDate": {
                                      "type": "string"
                                    },
                                    "shipmentACKDate": {
                                      "type": "string"
                                    },
                                    "expectedShipmentShippedDate": {
                                      "type": "string"
                                    },
                                    "shipmentShippedDate": {
                                      "type": "string"
                                    }
                                  }
                                }
                              },
                              "description": "The shipments for return orders"
                            }
                          }
                        },
                        "description": "List of returns for the seller."
                      }
                    }
                  }
                },
                "example": {
                  "meta": {
                    "totalCount": 29,
                    "limit": 10,
                    "nextCursorMark": "AoJ4vrKqkv0CMzYxNjA1ODk1MjM2NDM2Nzk3NzA="
                  },
                  "returnOrders": [
                    {
                      "returnOrderId": "R100643236",
                      "customerEmail": "danduaparna9@gmail.com",
                      "customerName": {
                        "firstName": "Aparna",
                        "lastName": "Dandu"
                      },
                      "customerOrderId": "100050881383",
                      "returnOrderDate": "2021-12-28T02:41:54.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "2",
                          "primeLineNumber": "2",
                          "returnReason": "Pedido extraviado por Courrier",
                          "reasonCode": "COURIER_LOST",
                          "purchaseOrderId": "P100569002",
                          "purchaseOrderLineNumber": "1",
                          "item": {
                            "upc": "00019065300019",
                            "offerId": "9C9EAAE97E724107981A8F67D8E12C6A",
                            "productName": "DT110",
                            "sku": "SKU_28072021"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "COUPON_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "SHIP_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "13.93"
                                  }
                                },
                                {
                                  "taxName": "IEPS_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                },
                                {
                                  "taxName": "STATE_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "101"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "1"
                          },
                          "status": "Initiated",
                          "statusTime": "2021-12-28T02:42:03.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "101"
                          },
                          "soPrimeLineSubLineNo": "100050881383-2-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778549936",
                          "status": "IN_TRANSIT",
                          "trackingNumber": "6930427755"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100589300",
                      "customerEmail": "danduaparna9@gmail.com",
                      "customerName": {
                        "firstName": "Aparna",
                        "lastName": "Dandu"
                      },
                      "customerOrderId": "100050883094",
                      "returnOrderDate": "2021-11-24T03:51:31.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "1",
                          "primeLineNumber": "1",
                          "returnReason": "Duda de entrega/Entrega no reconocida",
                          "reasonCode": "DELIVERY_DOUBT",
                          "purchaseOrderId": "P100569524",
                          "purchaseOrderLineNumber": "1",
                          "item": {
                            "upc": "00019065300019",
                            "offerId": "9C9EAAE97E724107981A8F67D8E12C6A",
                            "productName": "DT110",
                            "sku": "SKU_28072021"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "COUPON_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "SHIP_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "13.93"
                                  }
                                },
                                {
                                  "taxName": "IEPS_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                },
                                {
                                  "taxName": "STATE_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "101"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "1"
                          },
                          "status": "Completed",
                          "statusTime": "2021-11-24T03:53:12.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "101"
                          },
                          "soPrimeLineSubLineNo": "100050883094-1-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778495111",
                          "status": "DELIVERED",
                          "trackingNumber": "794689364702",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794689364702"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100578675",
                      "customerEmail": "alka.dubey@walmart.com",
                      "customerName": {
                        "firstName": "fname",
                        "lastName": "lname"
                      },
                      "customerOrderId": "202111030001",
                      "returnOrderDate": "2021-11-17T08:45:25.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "10",
                          "primeLineNumber": "10",
                          "returnReason": "Duda de entrega/Entrega no reconocida",
                          "reasonCode": "DELIVERY_DOUBT",
                          "purchaseOrderId": "P100557201",
                          "purchaseOrderLineNumber": "2",
                          "item": {
                            "upc": "00694214743438",
                            "offerId": "00694214743438",
                            "productName": "HISENSE 32 H"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "100"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "1"
                          },
                          "status": "Initiated",
                          "statusTime": "2021-11-17T08:45:33.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "100"
                          },
                          "soPrimeLineSubLineNo": "202111030001-10-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778485077",
                          "status": "IN_TRANSIT",
                          "trackingNumber": "794686913065",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794686913065"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100578674",
                      "customerEmail": "alka.dubey@walmart.com",
                      "customerName": {
                        "firstName": "fname",
                        "lastName": "lname"
                      },
                      "customerOrderId": "202111030001",
                      "returnOrderDate": "2021-11-17T08:42:54.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "10",
                          "primeLineNumber": "10",
                          "returnReason": "Duda de entrega/Entrega no reconocida",
                          "reasonCode": "DELIVERY_DOUBT",
                          "purchaseOrderId": "P100557201",
                          "purchaseOrderLineNumber": "2",
                          "item": {
                            "upc": "00694214743438",
                            "offerId": "00694214743438",
                            "productName": "HISENSE 32 H"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "100"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "0"
                          },
                          "status": "Cancelled",
                          "statusTime": "2021-11-17T08:44:13.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "0"
                          },
                          "soPrimeLineSubLineNo": "202111030001-10-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778485076",
                          "trackingNumber": "794686909176",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794686909176"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100578673",
                      "customerEmail": "alka.dubey@walmart.com",
                      "customerName": {
                        "firstName": "fname",
                        "lastName": "lname"
                      },
                      "customerOrderId": "202111030001",
                      "returnOrderDate": "2021-11-17T08:40:53.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "3",
                          "primeLineNumber": "3",
                          "returnReason": "Llego Tarde (fecha promesa excedida)",
                          "reasonCode": "ARRIVED_LATE",
                          "purchaseOrderId": "P100557201",
                          "purchaseOrderLineNumber": "5",
                          "item": {
                            "upc": "00694214743438",
                            "offerId": "00694214743438",
                            "productName": "HISENSE 32 H"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "100"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "0"
                          },
                          "status": "Cancelled",
                          "statusTime": "2021-11-17T08:44:40.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "0"
                          },
                          "soPrimeLineSubLineNo": "202111030001-3-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778485075",
                          "trackingNumber": "794686906199",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794686906199"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100578672",
                      "customerEmail": "alka.dubey@walmart.com",
                      "customerName": {
                        "firstName": "fname",
                        "lastName": "lname"
                      },
                      "customerOrderId": "202111030001",
                      "returnOrderDate": "2021-11-17T08:38:21.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "4",
                          "primeLineNumber": "4",
                          "returnReason": "Duda de entrega/Entrega no reconocida",
                          "reasonCode": "DELIVERY_DOUBT",
                          "purchaseOrderId": "P100557201",
                          "purchaseOrderLineNumber": "3",
                          "item": {
                            "upc": "00694214743438",
                            "offerId": "00694214743438",
                            "productName": "HISENSE 32 H"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "100"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "0"
                          },
                          "status": "Cancelled",
                          "statusTime": "2021-11-17T08:44:27.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "0"
                          },
                          "soPrimeLineSubLineNo": "202111030001-4-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778485074",
                          "trackingNumber": "794686902837",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794686902837"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100576704",
                      "customerEmail": "alka.dubey@walmart.com",
                      "customerName": {
                        "firstName": "fname",
                        "lastName": "lname"
                      },
                      "customerOrderId": "202111030001",
                      "returnOrderDate": "2021-11-16T04:47:35.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "1",
                          "primeLineNumber": "1",
                          "returnReason": "Duda de entrega/Entrega no reconocida",
                          "reasonCode": "DELIVERY_DOUBT",
                          "purchaseOrderId": "P100557201",
                          "purchaseOrderLineNumber": "8",
                          "item": {
                            "upc": "00694214743438",
                            "offerId": "00694214743438",
                            "productName": "HISENSE 32 H"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "100"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "1"
                          },
                          "status": "Completed",
                          "statusTime": "2021-11-17T02:00:07.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "100"
                          },
                          "soPrimeLineSubLineNo": "202111030001-1-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778483255",
                          "status": "DELIVERED",
                          "trackingNumber": "794686083641",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794686083641"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100575600",
                      "customerEmail": "danduaparna9@gmail.com",
                      "customerName": {
                        "firstName": "Aparna",
                        "lastName": "Dandu"
                      },
                      "customerOrderId": "100050881383",
                      "returnOrderDate": "2021-11-15T11:47:26.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "3",
                          "primeLineNumber": "3",
                          "returnReason": "Pedido llego incompleto",
                          "reasonCode": "ORDER_INCOMPLETE",
                          "purchaseOrderId": "P100569002",
                          "purchaseOrderLineNumber": "3",
                          "item": {
                            "upc": "00019065300019",
                            "offerId": "9C9EAAE97E724107981A8F67D8E12C6A",
                            "productName": "DT110",
                            "sku": "SKU_28072021"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "COUPON_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "SHIP_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                },
                                {
                                  "taxName": "IEPS_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                },
                                {
                                  "taxName": "STATE_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "101"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "0"
                          },
                          "status": "Cancelled",
                          "statusTime": "2021-12-28T02:40:10.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "0"
                          },
                          "soPrimeLineSubLineNo": "100050881383-3-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778482201",
                          "trackingNumber": "794685795111",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794685795111"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100575599",
                      "customerEmail": "danduaparna9@gmail.com",
                      "customerName": {
                        "firstName": "Aparna",
                        "lastName": "Dandu"
                      },
                      "customerOrderId": "100050881383",
                      "returnOrderDate": "2021-11-15T11:44:48.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "2",
                          "primeLineNumber": "2",
                          "returnReason": "Defecto de fábrica",
                          "reasonCode": "FACTORY_DEFECT",
                          "purchaseOrderId": "P100569002",
                          "purchaseOrderLineNumber": "1",
                          "item": {
                            "upc": "00019065300019",
                            "offerId": "9C9EAAE97E724107981A8F67D8E12C6A",
                            "productName": "DT110",
                            "sku": "SKU_28072021"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "COUPON_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "SHIP_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                },
                                {
                                  "taxName": "IEPS_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                },
                                {
                                  "taxName": "STATE_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "101"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "0"
                          },
                          "status": "Cancelled",
                          "statusTime": "2021-12-28T02:40:29.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "0"
                          },
                          "soPrimeLineSubLineNo": "100050881383-2-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778482200",
                          "trackingNumber": "794685794527",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794685794527"
                        }
                      ]
                    },
                    {
                      "returnOrderId": "R100575598",
                      "customerEmail": "danduaparna9@gmail.com",
                      "customerName": {
                        "firstName": "Aparna",
                        "lastName": "Dandu"
                      },
                      "customerOrderId": "100050879225",
                      "returnOrderDate": "2021-11-15T11:33:53.000-06:00",
                      "returnOrderLines": [
                        {
                          "returnOrderLineNumber": "1",
                          "primeLineNumber": "1",
                          "returnReason": "Error del Cliente",
                          "reasonCode": "CUSTOMER_ERROR",
                          "purchaseOrderId": "P100568938",
                          "purchaseOrderLineNumber": "1",
                          "item": {
                            "upc": "00694214743438",
                            "offerId": "0E93281A7BF64DBFA66EC2442B93B191",
                            "productName": "HISENSE 32 H",
                            "sku": "SKU_02082021_10900030838"
                          },
                          "charges": [
                            {
                              "chargeType": "SHIPPING",
                              "chargeName": "SHIPPING_CH",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              },
                              "tax": [
                                {
                                  "taxName": "SHIP_IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "COUPON_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "DISCOUNT",
                              "chargeName": "SHIP_DISC",
                              "chargeAmount": {
                                "currency": "MXN",
                                "amount": "0"
                              }
                            },
                            {
                              "chargeType": "PRODUCT",
                              "chargeName": "ItemPrice",
                              "tax": [
                                {
                                  "taxName": "IVA_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "275.86"
                                  }
                                },
                                {
                                  "taxName": "IEPS_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                },
                                {
                                  "taxName": "STATE_TAX",
                                  "taxAmount": {
                                    "currency": "MXN",
                                    "amount": "0"
                                  }
                                }
                              ]
                            }
                          ],
                          "unitPrice": {
                            "currency": "MXN",
                            "amount": "2000"
                          },
                          "quantity": {
                            "unitOfMeasurement": "EACH",
                            "amount": "1"
                          },
                          "status": "Initiated",
                          "statusTime": "2021-11-15T11:34:09.000-06:00",
                          "refundAmount": {
                            "currency": "MXN",
                            "amount": "2000"
                          },
                          "soPrimeLineSubLineNo": "100050879225-1-1",
                          "isWFSEnabled": "N"
                        }
                      ],
                      "returnOrderShipments": [
                        {
                          "shipmentNo": "778482197",
                          "status": "IN_TRANSIT",
                          "trackingNumber": "794685789973",
                          "trackingUrl": "https://www.fedex.com/apps/fedextrack/?cntry_code=mx&tab=1&tracknums=794685789973"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Failure Operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "field": {
                          "type": "string"
                        },
                        "description": {
                          "type": "string"
                        },
                        "info": {
                          "type": "string"
                        },
                        "severity": {
                          "type": "string"
                        },
                        "category": {
                          "type": "string"
                        },
                        "errorIdentifiers": {
                          "type": "object",
                          "properties": {
                            "entry": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Failure Operation 500",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "field": {
                          "type": "string"
                        },
                        "description": {
                          "type": "string"
                        },
                        "info": {
                          "type": "string"
                        },
                        "severity": {
                          "type": "string"
                        },
                        "category": {
                          "type": "string"
                        },
                        "errorIdentifiers": {
                          "type": "object",
                          "properties": {
                            "entry": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```