Read general upsell products

Changed on

This endpoint allows you to fetch a list of recommended upsell products from the general upsell profile.

get/2026-04/subscription/{subscriptionId}/upsell/product

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/upsell/product
  • Auth
    API key in header Authorization

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Query parameters

pageNointeger

The page number to fetch in a paginated response.

pageSizeinteger

The number of records to return per page. Maximum - 50

Response

Upsell products list fetched successfully

successboolean
messagestring
codestring

Example response

{
  "success": true,
  "message": "Fetched list of upsell products successfully",
  "data": [
    {
      "id": 4287,
      "productShopifyId": 8803707617589,
      "productTitle": "Preset Bundle Child Product 1 Final Testing",
      "upsellType": "BOTH",
      "onetime": {
        "discountedPrice": 18
      },
      "subscription": {
        "discountedPrice": 16
      },
      "totalVariantsCount": 1,
      "price": "20.00",
      "image": "https://cdn.shopify.com/s/files/1/0679/4779/0645/files/lunch_a876e6f3-6a7c-40c3-aa90-475a3787a12d.png?v=1696918669",
      "productOptions": [
        {
          "name": "Title",
          "values": [
            "Default Title"
          ],
          "position": 1
        }
      ]
    }
  ],
  "code": "SUCCESS",
  "pageInfo": {
    "hasNextPage": true,
    "hasPreviousPage": true
  }
}

Changes