latestOpenAPI 3.1.02026-08-163864115.7 MB
c363cb2feb95
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
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"custom_cta": "order_now",
"custom_cta_url": "https://shinetime.example/book",
"custom_statement_descriptor": "WHOP*SHINETIME",
"description": "Full interior extraction, leather conditioning, and an ozone odor treatment.",
"global_affiliate_percentage": 10,
"global_affiliate_status": "enabled",
"headline": "Steam, shampoo, and odor removal in one visit",
"member_affiliate_percentage": 5,
"member_affiliate_status": "enabled",
"metadata": {
"bay": "1",
"duration_hours": "4"
},
"product_tax_code_id": "ptc_xxxxxxxxxxxxxx",
"redirect_purchase_url": "https://shinetime.example/thanks",
"route": "interior-deep-clean",
"send_welcome_message": true,
"title": "Interior Deep Clean",
"visibility": "visible"
}Response
product created
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",
"description": "Full interior extraction, leather conditioning, and an ozone odor treatment.",
"external_identifier": "SHINE-CERAMIC-01",
"gallery_images": [
{
"content_type": "image/png",
"id": "file_xxxxxxxxxxxxxx",
"url": "https://assets-2-rough.whop.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",
"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": "General - Digital Goods",
"product_type": "digital"
},
"route": "interior-deep-clean",
"title": "Interior Deep Clean",
"updated_at": "2026-01-01T12:00:00.000Z",
"visibility": "visible"
}