GET
/
happy-returns
/
shipments
curl --request GET \
  --url https://api.loopreturns.com/api/v1/happy-returns/shipments \
  --header 'X-Authorization: <api-key>'
{
  "current_page": 1,
  "data": [
    {
      "loop_shipment_id": 12345,
      "happy_returns_shipment_id": "123456",
      "line_item_count": 2,
      "return_count": 1,
      "created_at": "2024-03-19dT12:34:56+00:00",
      "updated_at": "2024-03-20T12:34:56+00:00"
    }
  ],
  "first_page_url": "https://api.loopreturns.com/api/v1/happy-returns/shipments/list?from=2022-01-01&to=2023-03-01&page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "https://api.loopreturns.com/api/v1/happy-returns/shipments/list?from=2022-01-01&to=2023-03-01&page=1",
  "next_page_url": "<string>",
  "path": "https://api.loopreturns.com/api/v1/happy-returns/shipments/list",
  "per_page": 200,
  "prev_page_url": "<string>",
  "to": 1,
  "total": 1
}

Authorizations

X-Authorization
string
header
required

Query Parameters

from
string

The start date and time for the shipment list, using the ISO 8601 date format.

Examples:

"2024-01-01T00:00:00.000Z"

to
string

The end date and time for the shipment list, using the ISO 8601 date format.

Examples:

"2024-03-31T23:59:59.000Z"

Response

200
application/json
Success

The response is of type object.