v8

OpenAPI 3.1.02026-08-033623795.0 MB
Products

Create Product

Creates a new product for an account.

post/products

Headers

Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383

A unique key that makes this request safe to retry. See Idempotent requests.

Request body

account_idstring

The unique identifier of the account to create this product for.

collect_shipping_addressboolean nullable

Whether to collect a shipping address at checkout.

custom_cta'get_access' | 'join' | 'order_now' | 'shop_now' | 'call_now' | 'donate_now' | 'contact_us' | 'sign_up' | 'subscribe' | 'purchase' | 'get_offer' | 'apply_now' | 'complete_order' | 'null' nullable

The call-to-action button label.

custom_cta_urlstring nullable

A URL the call-to-action button links to.

custom_statement_descriptorstring nullable

Custom bank statement descriptor. Must start with WHOP*.

descriptionstring nullable

A written description displayed on the product page.

global_affiliate_percentagenumber nullable

The commission rate affiliates earn.

global_affiliate_status'enabled' | 'disabled'

The enrollment status in the global affiliate program.

headlinestring nullable

A short marketing headline for the product page.

member_affiliate_percentagenumber nullable

The commission rate members earn.

member_affiliate_status'enabled' | 'disabled'

The enrollment status in the member affiliate program.

metadataobject nullable

Custom key-value pairs to store on the product.

product_tax_code_idstring nullable

The unique identifier of the tax classification code. See the available product categories.

redirect_purchase_urlstring nullable

A URL to redirect the customer to after purchase.

routestring nullable

The URL slug for the product's public link.

send_welcome_messageboolean nullable

Whether to send an automated welcome message via support chat when a user joins this product. Defaults to true.

titlestring required

The display name of the product. Maximum 80 characters.

visibilitystring

Whether the product is visible to customers.

Response

product created

accountobject nullable required

Account that sells this product.

created_atstring required

When the product was created, as an ISO 8601 timestamp.

custom_cta'get_access' | 'join' | 'order_now' | 'shop_now' | 'call_now' | 'donate_now' | 'contact_us' | 'sign_up' | 'subscribe' | 'purchase' | 'get_offer' | 'apply_now' | 'complete_order' | 'null' nullable required

Call-to-action button label shown on the product purchase page.

custom_cta_urlstring nullable required

URL the call-to-action button links to instead of checkout.

custom_statement_descriptorstring nullable required

Custom text label on customer's bank statement.

descriptionstring nullable required

Written description displayed on product page.

external_identifierstring nullable required

External identifier stored on the product for your own reference.

global_affiliate_percentagenumber nullable required

Commission rate affiliates earn through the global affiliate program.

global_affiliate_status'enabled' | 'disabled' | 'null' nullable required

Enrollment status in the global affiliate program.

headlinestring nullable required

Short marketing headline displayed on product page.

idstring required

Product ID, prefixed prod_.

marketplace_status'not_available' | 'pending_review' | 'live_marketplace' required

Listing state on the whop.com marketplace. pending_review means submitted and awaiting review; live_marketplace means approved and discoverable.

member_affiliate_percentagenumber nullable required

Commission rate members earn through the member affiliate program.

member_affiliate_status'enabled' | 'disabled' | 'null' nullable required

Enrollment status in the member affiliate program.

member_countnumber required

Active memberships for this product; 0 if public member counts are disabled.

metadataobject nullable required

Custom key-value pairs stored on the product.

owner_userobject nullable required

User who owns the account selling this product.

product_tax_codeobject nullable required

Tax classification code for this product, or null if no tax code is set.

published_reviews_countnumber required

Published customer reviews for this product.

routestring required

URL slug for the product's public link.

titlestring required

Product display name shown to customers.

updated_atstring required

When the product was last updated, as an ISO 8601 timestamp.

verifiedboolean required

Whether the product has been verified by Whop.

visibilitystring nullable required

Whether the product is publicly visible, hidden, or archived.

Example response

{
  "custom_cta": "get_access",
  "global_affiliate_status": "enabled",
  "marketplace_status": "not_available",
  "member_affiliate_status": "enabled"
}