---
title: "Sell This List"
method: POST
path: "/api/v1/commerce/sell"
tags: ["commerce", "commerce"]
---

# Sell This List

`POST /api/v1/commerce/sell`

## Request

- Base URL: `https://app.goodleads.club` (the document declares no server; this is the origin it was published from)
- URL: `https://app.goodleads.club/api/v1/commerce/sell`
- Auth: API key in header `X-API-Key`

Mint a payment link for the exact filtered list (admin-only).

Creates a hidden ad-hoc product (the sale's frozen filter + price), an order,
and a Stripe Checkout Session — test-mode by default so the link is safe to
click before going live. Returns the hosted checkout URL to send the buyer.

## Request body

- SellRequest: Operator 'Sell this list' — mint a payment link for the exact filtered cohort. Admin-only. Creates a hidden ad-hoc product carrying this sale's frozen filter + price, then a live Stripe Checkout Session whose link the operator sends to the buyer. On payment the webhook delivers by delivery_method.
  - `label` string, required
  - `state` string, nullable
  - `filters` object[]
  - `entity_ids` string[], nullable
  - `price_cents` integer, required
  - `lead_count` integer, nullable
  - `delivery_method` string
  - `audience` string
  - `crm_connection_id` string, nullable
  - `billing` string
  - `buyer_email` string, nullable
  - `test_mode` boolean
  - `success_url` string, nullable
  - `cancel_url` string, nullable

## Response `200`

Successful Response

- SellResponse
  - `order_id` string, required
  - `product_id` string, required
  - `session_id` string, required
  - `checkout_url` string, required
  - `matched_count` integer, required
  - `test_mode` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/goodleads/apis/formation-gtm-api.md) · [All operations](https://skmtc.dev/goodleads/apis/formation-gtm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/goodleads/apis/formation-gtm-api/revisions/2068d13a82cf?raw)
