Skip to main content
POST
/
upsells
Create an upsell
curl --request POST \
  --url https://api.pocketsflow.com/upsells \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "productId": "<string>",
  "upsellProductId": "<string>",
  "title": "<string>",
  "description": "<string>",
  "active": true
}
'

Authorizations

Authorization
string
header
required

Enter your Pocketsflow API key (format: pk_live_... or pk_test_...)

Body

application/json
productId
string
required

Main product ID

upsellProductId
string
required

Upsell product ID to offer

title
string

Upsell title

description
string

Upsell description

active
boolean

Whether active

Response

201

Upsell created successfully