Skip to main content
GET
/
v1
/
upsells
List
curl --request GET \
  --url https://{defaultHost}/v1/upsells \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/upsells"
  },
  "data": [
    {
      "id": "b727f070-2331-42f2-bd1d-96c6ab533268",
      "object": "upsell",
      "amount_off": 500,
      "duplicate_purchase_behavior": "allow",
      "fee_description": "Upsell Offer",
      "metadata": {},
      "percent_off": null,
      "replacement_behavior": "none",
      "step": "initial",
      "price": "f4bff9a9-a474-485a-9b08-4ea8f2f5eb51",
      "upsell_funnel": "af80efb4-6c3e-4414-ac13-f36f4330c04d",
      "discarded_at": null,
      "created_at": 1778010941,
      "updated_at": 1778010941
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Query Parameters

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

page
integer

The page of items you want returned.

product_ids[]
string[]

Only return objects that belong to the given products.

upsell_funnel_ids[]
string[]

Only return objects that belong to the given upsell funnels.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.