> ## 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.

# Checkout links

> Deep-link buyers into a Join Markt storefront cart or product without embedding JavaScript.

Checkout links are the lightest integration: a normal URL that lands the buyer on your store with a product (or cart) ready to purchase.

Unlike a third-party hosted “checkout session” platform, Join Markt storefronts live on **your subdomain or custom domain**. Links therefore target that host.

## Integration overview

When a customer opens a product or invoice link:

1. They land on your Join Markt storefront (or hosted checkout)
2. Cart / product context is already set
3. They complete payment with your connected methods
4. Delivery runs after settlement

No JavaScript SDK required for the basic case — use a button, anchor, email CTA, or ad destination.

## HTML integration

```html theme={null}
<a
  href="https://{subdomain}.joinmarkt.com/products/{product-slug}"
  target="_blank"
  rel="noopener noreferrer"
>
  <span>Buy now</span>
</a>
```

On a custom domain:

```html theme={null}
<a href="https://shop.yourbrand.com/products/{product-slug}">Buy now</a>
```

## Invoice / hosted checkout

For multi-item or scripted flows, create an order through your backend, then send the buyer to the hosted invoice:

```txt theme={null}
https://joinmarkt.com/checkout/{invoiceId}
```

<Note>
  `/checkout/[invoiceId]` is served on the platform host and is **not** rewritten through store subdomains. Always use the platform origin for invoice URLs.
</Note>

## Optional parameters

| Parameter            | Use                                    |
| -------------------- | -------------------------------------- |
| UTM tags             | Attribution in analytics               |
| Coupon codes         | If your theme / checkout reads them    |
| Locale               | If your theme supports it              |
| Affiliate / referral | When your store has affiliates enabled |

Keep links HTTPS-only in production.

## When to use what

| Need                                    | Approach                               |
| --------------------------------------- | -------------------------------------- |
| Single product CTA in email / Discord   | Product URL on store host              |
| Embedded buy button on an external site | [Embed SDK](/embed/overview)           |
| Server-built cart with custom pricing   | Create order server-side → invoice URL |
| Theme-native cart page                  | Theme cart / `checkout()` client       |

## Example with marketing params

```txt theme={null}
https://fivexx.joinmarkt.com/products/premium-key?utm_source=discord&utm_campaign=launch
```

## Related

* [Embed SDK](/embed/overview)
* [Create Embed Checkout](/api/embed-checkout)
* [Custom domain](/guides/custom-domain)
