> For the complete documentation index, see [llms.txt](https://changelog.shopwaive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.shopwaive.com/posts/quickstart-13.md). Agents can also search and read this documentation through its [MCP server](https://changelog.shopwaive.com/~gitbook/mcp).

# Shopwaive API reference: Test it, API keys and safe retries

October 26, 2026

The Shopwaive API reference is updated. Every supported request is documented with its fields, answers and errors, and you can test each one with your own key.

{% hint style="info" %}
Questions about this update? Reach out to our team at <support@shopwaive.com>
{% endhint %}

### What's new

* **Shopwaive API keys.** Every request takes a key from <mark style="color:blue;">**Settings**</mark> > <mark style="color:blue;">**Developers**</mark> > <mark style="color:blue;">**Shopwaive API keys**</mark>, sent in the `X-Shopwaive-Access-Token` header
* **Test it.** Every request in the reference has a <mark style="color:blue;">**Test it**</mark> button. It sends a real request to your store with your own key
* **Loyalty API and Flow API** are now in the reference
* **Retry safely.** Send an `Idempotency-Key` header with `POST` and `PUT /api/customer` and `POST /api/trigger`. A retry with the same key changes nothing twice

[Learn more](https://api.shopwaive.com/reference/rest-api-documentation)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://changelog.shopwaive.com/posts/quickstart-13.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
