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

# One-Time Product Endpoints

> Create and manage single-purchase products

One-time products represent single-purchase digital goods. Each product supports multi-currency pricing, immutable versioning, and separate test/production environments.

## Product Status Values

| Status     | Description                                                 |
| ---------- | ----------------------------------------------------------- |
| `active`   | Product is live and purchasable via checkout                |
| `inactive` | Product is hidden from checkout, existing orders unaffected |

## Typical Workflow

```mermaid theme={"system"}
sequenceDiagram
    participant M as Merchant
    participant T as Test Environment
    participant P as Production

    M->>T: Create Product (test)
    T-->>M: testStatus=active, prodStatus=inactive
    M->>T: Update Product (iterate)
    T-->>M: New version created (v2, v3...)
    M->>T: Publish Product
    T->>P: Copy test version to production
    P-->>M: prodStatus=active, testStatus=active
    M->>P: Update Product (X-Environment: prod)
    P-->>M: New production version
    M->>P: Update Status (inactive)
    P-->>M: Product hidden from checkout
```

## Endpoints

<CardGroup cols={2}>
  <Card title="Create Product" icon="plus" href="/api-reference/endpoints/onetime-products/create-product">
    Create a new one-time purchase product with multi-currency pricing.
  </Card>

  <Card title="Update Product" icon="pen-to-square" href="/api-reference/endpoints/onetime-products/update-product">
    Update product content. A new immutable version is created if content changes.
  </Card>

  <Card title="Publish Product" icon="rocket" href="/api-reference/endpoints/onetime-products/publish-product">
    Publish a product from the test environment to production.
  </Card>

  <Card title="Update Status" icon="toggle-on" href="/api-reference/endpoints/onetime-products/update-status">
    Activate or deactivate a product for checkout visibility.
  </Card>
</CardGroup>
