> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /api/v1/warranties

> GET /api/v1/warranties

### Query parameters

<ParamField query="page" type="integer (int64)" />

<ParamField query="limit" type="integer (int64)" />

<ParamField query="status" type="string" />

### Responses

<ResponseField name="200" type="ApiResponse_PaginatedResponse_WarrantySummary">
  Warranties listed
</ResponseField>

<ResponseField name="401" type="ErrorResponse">
  Unauthorized
</ResponseField>

<ResponseField name="403" type="ErrorResponse">
  Forbidden
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.stateset.com/api/v1/warranties' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "items": [
        {
          "created_at": "2024-12-09T10:30:00Z",
          "customer_id": "123e4567-e89b-12d3-a456-426614174000",
          "description": "2-year manufacturer warranty covering defects in materials and workmanship",
          "end_date": "2026-12-09T00:00:00Z",
          "id": "aa0e8400-e29b-41d4-a716-446655440000",
          "product_id": "550e8400-e29b-41d4-a716-446655440000",
          "start_date": "2024-12-09T00:00:00Z",
          "status": "active",
          "terms": "Covers manufacturing defects only. Does not cover damage from misuse, accidents, or unauthorized modifications.",
          "updated_at": "2024-12-09T10:30:00Z",
          "warranty_number": "WRN-2024-001234"
        }
      ],
      "limit": 1,
      "page": 1,
      "total": 1,
      "total_pages": 1
    },
    "errors": null,
    "message": null,
    "meta": null,
    "success": true
  }
  ```
</ResponseExample>
