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

# Enums & Constants

> Delivery types, themes, domain statuses, and other shared constants.

## Delivery types

```ts theme={null}
'delivery_instructions' | 'license_key' | 'download_file' | 'custom_fields' | 'manual_delivery'
```

Source: `DELIVERY_TYPES` in `lib/domains/products/delivery.ts`.

## Embed / checkout theme

```ts theme={null}
'light' | 'dark' | 'auto'
```

Used by `data-markt-theme`, `Markt.open({ theme })`, and `?theme=` on checkout URLs.

## Custom domain status

```ts theme={null}
'pending' | 'active' | 'failed'
```

## Product visibility (storefront)

Products expose a `visibility` string on the public catalog. Values that block purchase include on-hold style holds enforced in embed/checkout start — private / on-hold products are rejected server-side.

## Stock sentinel

Public catalog `stock: -1` means unlimited (typical for non license-key delivery). License-key stock is a non-negative count of unused keys.

## Order status

See [Order Status](/api/order-status) for the full string set used in analytics and payment completion.

## Affiliate cookie / query

| Mechanism      | Name                                             |
| -------------- | ------------------------------------------------ |
| Query          | `?ref=`                                          |
| Cookie         | `markt_affiliate`                                |
| Embed override | `affiliateCode` → stored as order `referralCode` |
