Skip to main content
GET
/
v1
/
upsells
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/upsells/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "068eb06b-e015-466b-90cd-4c7535a425b5",
  "object": "upsell",
  "amount_off": 500,
  "duplicate_purchase_behavior": "allow",
  "fee_description": "Upsell Offer",
  "metadata": {},
  "percent_off": null,
  "replacement_behavior": "none",
  "step": "initial",
  "price": "1d2af902-57c5-4d0e-bb3f-85af322764cf",
  "upsell_funnel": "c5acf0e6-9b22-4bb5-bf72-eff990ecdf30",
  "discarded_at": null,
  "created_at": 1767909786,
  "updated_at": 1767909786
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

amount_off
integer | null

Amount (in the currency of the price) that will be taken off line items associated with this upsell.

duplicate_purchase_behavior
string

How to handle duplicate purchases of the product – can be one of allow, block_within_checkout, or block.

fee_description
string

The description for this upsell which will be visible to customers.

percent_off
number | null

Percent that will be taken off line items associated with this upsell.

replacement_behavior
string

Whether or not to replace line items in the associated checkout. Replacement occurs when a line item is upsold. Possible values include:

  • none (default): No line items will be replaced.
  • all: All line items will be replaced.
step
string

Where this upsell falls in position within the upsell funnel – can be one of initial, accepted, or declined.

metadata
object

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

price

Expandable – The associated price ID.

upsell_funnel

Expandable – The associated upsell funnel ID.

discarded_at
integer | null

Time at which the object was discarded. Measured in seconds since the Unix epoch.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.