Update a Product
/v2/products/{id}
curl --request POST \
--url https://api.whop.com/v2/products/{id} \
--header 'Content-Type: application/json'
{
"data": {
"created_at": "integer",
"experiences": [
"array"
],
"id": "string",
"name": "string",
"plans": [
"array"
],
"visibility": "visible"
}
}
Headers
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
The ID of the Product, which will look like prod_*************
or pass_*************
Query Parameters
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]
Body
The name of the Product
Whether or not a user can purchase multiple of the same Product
The page number to retrieve
The number of resources to return per page. There is a limit of 50 results per page.
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)
The visibility of the Product
visible
, hidden
, archived
, quick_link
Response
Product model
curl --request POST \
--url https://api.whop.com/v2/products/{id} \
--header 'Content-Type: application/json'
{
"data": {
"created_at": "integer",
"experiences": [
"array"
],
"id": "string",
"name": "string",
"plans": [
"array"
],
"visibility": "visible"
}
}