Products

Updates an existing product.

patch/products/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

The unique identifier of the product.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Request body

object required
banner_image, object nullable

A wide image for the product, shown on the product page and on listing cards. Pass { id } for an existing attachment or { direct_upload_id } for a completed direct upload; null removes it.

description, string nullable

A written description displayed on the product page. Maximum 1,500 characters.

gallery_images, object[] nullable

Images or videos displayed in the product gallery, in display order. Replaces the existing gallery. Send an empty array to clear it; omit or pass null to leave it unchanged. A banner image does not populate the gallery.

headline, string nullable

A short marketing headline for the product page. Maximum 80 characters.

labels, string[] nullable

Labels used to group products into collections. Replaces the existing labels. Send an empty array to clear them.

metadata, object nullable

Custom key-value pairs to store on the product.

product_tax_code_id, string nullable

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

send_welcome_message, boolean nullable

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

title, string

The display name of the product. Maximum 80 characters.

visibility, string

Whether the product is visible to customers.

Example request

{
  "banner_image": {
    "direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "id": "file_xxxxxxxxxxxxxx"
  },
  "description": "Full interior extraction, leather conditioning, and an ozone odor treatment.",
  "gallery_images": [
    {
      "direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "id": "file_xxxxxxxxxxxxxx"
    }
  ],
  "headline": "Steam, shampoo, and odor removal in one visit",
  "metadata": {
    "bay": "1",
    "duration_hours": "4"
  },
  "product_tax_code_id": "ptc_xxxxxxxxxxxxxx",
  "send_welcome_message": true,
  "title": "Interior Deep Clean",
  "visibility": "visible"
}

Response

product tax code updated

Product required
account, object nullable required

Account that sells this product.

average_review_rating, number required

Average star rating across published reviews for this product, from 1.0 to 5.0. Returns 0.0 when no published-review rating is available.

created_at, string 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_url, string nullable required

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

custom_statement_descriptor, string nullable required

Custom text label on customer's bank statement.

default_variant, ProductPublicVariant nullable required
description, string nullable required

Written description displayed on the product page. null if none is set.

experiences, ProductExperience[] required
external_identifier, string nullable required

External identifier stored on the product for your own reference.

gallery_images, ProductGalleryImage[] required
global_affiliate_percentage, number 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.

headline, string nullable required

Short marketing headline displayed on product page.

id, string required

Product ID, prefixed prod_.

labels, string[] required
logo_url, string nullable required

Logo image URL shown on product pages and in search results. null when the product has no logo.

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_percentage, number 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_count, number required

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

metadata, object nullable required

Custom key-value pairs stored on the product.

owner_user, object nullable required

User who owns the account selling this product.

product_tax_code, object nullable required

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

published_reviews_count, number required

Published customer reviews for this product.

route, string required

URL slug for the product's public link.

title, string required

Product display name shown to customers.

updated_at, string required

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

variant_attributes, object nullable required

The option set the product's variants span, as a map of attribute name to the values in use, e.g. {"color": ["Blue", "Red"], "size": ["S", "M", "L"]}. Derived from the visible, non-invoice variants that carry attributes: keys alphabetical, values in the order the variants were created. Read-only. null when the product has no variants.

variants, VariantListItem[] nullable required
verified, boolean required

Whether the product has been verified by Whop.

visibility, string nullable required

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

Example response

{
  "account": {
    "id": "biz_xxxxxxxxxxxxxx",
    "route": "biz_xxxxxxxxxxxxxx",
    "title": "Shine Time Auto Detailing"
  },
  "created_at": "2026-01-01T12:00:00.000Z",
  "custom_cta": "order_now",
  "custom_cta_url": "https://shinetime.example/book",
  "custom_statement_descriptor": "WHOP*SHINETIME",
  "default_variant": {
    "billing_period": 30,
    "billing_type": "renewal",
    "id": "plan_xxxxxxxxxxxxxx",
    "initial_price": {
      "amount": "-1234.56",
      "currency": "usd",
      "decimals": 2,
      "display_decimals": 2
    },
    "renewal_price": {
      "amount": "-1234.56",
      "currency": "usd",
      "decimals": 2,
      "display_decimals": 2
    },
    "unlimited_stock": true,
    "visibility": "visible"
  },
  "description": "Full interior extraction, leather conditioning, and an ozone odor treatment.",
  "experiences": [
    {
      "app": {
        "icon": {
          "url": "https://pub-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.r2.dev/custom-perk-icon.svg"
        },
        "id": "app_xxxxxxxxxxxxxx",
        "name": "Chat"
      },
      "id": "exp_xxxxxxxxxxxxxx",
      "name": "Ceramic Coating Care"
    }
  ],
  "external_identifier": "SHINE-CERAMIC-01",
  "gallery_images": [
    {
      "content_type": "image/png",
      "id": "file_xxxxxxxxxxxxxx",
      "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
  ],
  "global_affiliate_percentage": 10,
  "global_affiliate_status": "enabled",
  "headline": "Steam, shampoo, and odor removal in one visit",
  "id": "prod_xxxxxxxxxxxxxx",
  "labels": [
    "interior"
  ],
  "marketplace_status": "not_available",
  "member_affiliate_percentage": 5,
  "member_affiliate_status": "enabled",
  "metadata": {
    "bay": "1",
    "duration_hours": "4"
  },
  "owner_user": {
    "id": "user_xxxxxxxxxxxxxx",
    "name": "Marcus Webb",
    "username": "marcuswebb"
  },
  "product_tax_code": {
    "id": "ptc_xxxxxxxxxxxxxx",
    "name": "Services",
    "product_type": "services"
  },
  "route": "interior-deep-clean",
  "title": "Interior Deep Clean",
  "updated_at": "2026-01-01T12:00:00.000Z",
  "variant_attributes": {
    "color": [
      "Red",
      "Blue"
    ],
    "size": [
      "M",
      "S"
    ]
  },
  "variants": [
    {
      "account": {
        "id": "biz_xxxxxxxxxxxxxx",
        "title": "Shine Time Auto Detailing"
      },
      "adaptive_pricing_enabled": true,
      "attributes": {
        "color": "Blue",
        "size": "S"
      },
      "billing_period": 30,
      "billing_type": "renewal",
      "cancel_discount_intervals": 3,
      "cancel_discount_percentage": 20,
      "checkout_styling": {
        "background_color": "#0f172a",
        "border_style": "rounded",
        "button_color": "#f59e0b",
        "font_family": "roboto"
      },
      "created_at": "2026-01-01T12:00:00.000Z",
      "currency": "usd",
      "custom_fields": [
        {
          "field_type": "text",
          "id": "field_xxxxxxxxxxxxxx",
          "name": "Link your website or main social profile",
          "order": 1,
          "placeholder": "https://"
        }
      ],
      "description": "Two hand washes a month, interior vacuum, and a quarterly sealant top-up.",
      "expiration_days": 365,
      "formatted_price": "$59.00 / month",
      "id": "plan_xxxxxxxxxxxxxx",
      "image": {
        "blurhash": "LA6bDXT$E3b:R6i+RibEIWbp%ej1",
        "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      },
      "initial_price_due": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "internal_notes": "Maintenance tier. Upsell the interior shampoo add-on at renewal.",
      "metadata": {
        "custom_cta": "subscribe",
        "custom_cta_url": "https://shinetime.example/wash-club"
      },
      "offer_cancel_discount": true,
      "payment_method_configuration": {
        "disabled": [
          "crypto"
        ],
        "enabled": [
          "card"
        ],
        "include_platform_defaults": true
      },
      "product": {
        "id": "prod_xxxxxxxxxxxxxx",
        "title": "Ceramic Coating Package"
      },
      "purchase_url": "https://whop.com/checkout/plan_xxxxxxxxxxxxxx",
      "release_method": "buy_now",
      "renewal_price": 59,
      "sku": "CERAMIC-COATING-S-BLUE",
      "split_pay_required_payments": 4,
      "strike_through_initial_price": 99,
      "strike_through_renewal_price": 79,
      "three_ds_level": "frictionless_if_required",
      "title": "Unlimited Wash Club",
      "trial_period_days": 7,
      "updated_at": "2026-01-01T12:00:00.000Z",
      "visibility": "visible"
    }
  ],
  "visibility": "visible"
}

Changes

    • info

      added the required property variants/items/redirect_url to the response with the status

    • info

      added the required property default_variant/oneOf[#/components/schemas/ProductPublicVariant]/trial_period_days to the response with the status