# Private API

### [Overview](#webhooks) <a href="#webhooks" id="webhooks"></a>

This reference documents the private API that can be used to access private data in Purple Dot.

### [Authentication](#authentication) <a href="#authentication" id="authentication"></a>

Include your Purple Dot store's private access token as `X-Purple-Dot-Access-Token` header in all requests.

### [Versioning](#versioning) <a href="#versioning" id="versioning"></a>

The API is versioned using a URL prefix. The current version is `v1`, and all endpoints use the `/admin/api/v1/` namespace.

### [Response Format](#response-format) <a href="#response-format" id="response-format"></a>

All responses follow a common format:

{% code overflow="wrap" %}

```json
{
  "meta": {
    "success": true
  },
  "data": /* Response data */
}
```

{% endcode %}

### [Endpoints](#endpoints) <a href="#endpoints" id="endpoints"></a>

[/waitlists](/docs/purple-dot-apis/private-api/waitlists.md)

[/pre-orders](/docs/purple-dot-apis/private-api/pre-orders.md)

[/pre-orders/count](/docs/purple-dot-apis/private-api/pre-orders-count.md)

[/pre-orders/count-units/sku/:sku](/docs/purple-dot-apis/private-api/pre-orders-count-units-sku-sku.md)

[/inventory](/docs/purple-dot-apis/private-api/inventory.md)

[/fulfillment-orders](/docs/purple-dot-apis/private-api/fulfillment-orders.md)

[/fulfillment-orders/:id(uuid)](/docs/purple-dot-apis/private-api/fulfillment-orders-id-uuid.md)

[/fulfillment](/docs/purple-dot-apis/private-api/fulfillment.md)

[/refund](/docs/purple-dot-apis/private-api/refund.md)

####


---

# Agent Instructions: 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:

```
GET https://docs.getpurpledot.com/docs/purple-dot-apis/private-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
