POST
/
v2
/
products
/
{id}
curl --request POST \
  --url https://api.whop.com/api/v2/products/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "page": 123,
  "per": 123,
  "name": "<string>",
  "one_per_user": true,
  "visibility": "visible",
  "shuffleable": true
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "visibility": "visible",
    "created_at": 123,
    "experiences": [
      [
        "<any>"
      ]
    ],
    "plans": [
      [
        "<any>"
      ]
    ]
  }
}

Headers

Authorization
string

Your API key, which can be found on the Whop Business Dashboard. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************

Path Parameters

id
string
required

The ID of the Product, which will look like prod_************* or pass_*************

Query Parameters

expand
enum<string>[]

Whether or not to expand the Experiences and Plans on the returned Product(s). Pass an array with each object(s) you want to expand, e.g. [experiences, plans]

Available options:
experiences,
plans

Body

application/json
page
integer
default: 1

The page number to retrieve

per
integer
default: 10

The number of resources to return per page. There is a limit of 50 results per page.

name
string

The name of the Product

one_per_user
boolean

Whether or not a user can purchase multiple of the same Product

visibility
enum<string>

The visibility of the Product

Available options:
visible,
hidden,
archived,
quick_link
shuffleable
boolean

Whether or not license keys attached to this Product should be shuffleable by users (So if the key is leaked and the user does not want anyone else to use their key, they can have their key remade under the same membership)

Response

201 - application/json
data
object

Product model