---
title: "Get Contracts for Order"
openapi: "GET /partner/api/v1/order"
---

## Headers

| Header | Description | Required |
|--------|-------------|----------|
| X-SureBright-Access-Token | Access token for authentication | Yes |

## Overview

Looks up the order SureBright has on record for one of your orders and returns its **active** warranty contracts. Contracts that have been cancelled are not included.

Pass the same `storeId` you used when creating the order, and your own order identifier as `partnerOrderId` (the `orderId` of the create request).

```bash
curl -G https://{HOST_NAME}/partner/api/v1/order \
  --data-urlencode 'storeId={storeId}' \
  --data-urlencode 'partnerOrderId=83737121380' \
  -H 'X-SureBright-Access-Token: sb_live_...'
```

<Note>
This endpoint reads the key from `X-SureBright-Access-Token` only. The same key you use for `POST` and `PUT /partner/api/v1/order` works here.
</Note>

## Response

- `storeId`, `partnerOrderId` – echoed from the request
- `data.order` – the order as stored by SureBright
- `data.contracts` – the active contracts on that order
- `data.processedAt` – when the lookup was served

A `404` with `errorCode: ORDER_NOT_FOUND` means no order exists for that `storeId` and `partnerOrderId`.
