> For the complete documentation index, see [llms.txt](https://help.openloyalty.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.openloyalty.io/integrations-and-data-exchange/imports-exports/imports/sample-import-files/issued-reward-status-change.md).

# Issued Reward Status Change

#### File Requirements

* **Format:** CSV (`.csv`)
* **Encoding:** `UTF-8`
* **Separator:** Comma (`,`)
* **Header Row:** Required (column headers must match the exact names below)

***

#### CSV File Structure

| Column Name          | Required | Description                                                                          |
| -------------------- | -------- | ------------------------------------------------------------------------------------ |
| **`issuedRewardId`** | **Yes**  | The unique ID (UUID) of the issued reward in your store.                             |
| **`status`**         | **Yes**  | The target status for the reward. Must be exact **lowercase** text (see list below). |
| **`comment`**        | No       | Optional note or reason for the status change. **Maximum 255 characters**.           |

**Allowed Status Values**

When filling in the `status` column, always write the value in **lowercase**:

* `issued`
* `pending`
* `approved`
* `rejected`
* `canceled`
* `packing`
* `awaiting_shipping`
* `shipped`
* `completed`
* `returned`

***

#### Sample CSV File

```csv
issuedRewardId,status,comment
bd1d343f-ae2f-4406-af37-34605aa21e63,issued,Received for processing
4e17028f-597d-4e30-b839-a2daf495a238,completed,
00fbafcd-b354-417c-b32b-d608657e091e,shipped,Sent via courier #123456789
832732b1-e3b7-432a-9c4b-b3f357a5db69,canceled,Customer canceled order
9d440517-2ac6-44e0-99fe-99554bbcd498,rejected,Out of stock in warehouse
```

> **Note:** Each line is processed independently. If one line contains an error (such as an incorrect ID or unknown status), only that specific row will fail. The rest of the valid rewards in your file will still update normally.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.openloyalty.io/integrations-and-data-exchange/imports-exports/imports/sample-import-files/issued-reward-status-change.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
