Skip to Content
API ReferenceProducts

List all products

List your store's products, 15 per page by default.

List your store's products, 15 per page by default. Narrow the list with the min_price, max_price, stock, visibility[], and has_sales query parameters; prices are integer minor units, so 2500 means $25.00.

GET
/v2/products

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Query Parameters

limit?integer

Number of items to return per page.

Range1 <= value <= 100
Default15
page?integer

Page number to return.

Range1 <= value
Default1
with_drafts?boolean

Include draft products alongside published products.

only_drafts?boolean

Return only draft products.

min_price?integer

Only products whose every priced variant costs at least this much, in integer minor units of that variant's own currency: 999 means $9.99 for a USD variant. Draft variants count. A product without a priced variant never matches a price filter. Must not be greater than max_price.

Range0 <= value
max_price?integer

Only products whose every priced variant costs at most this much, in integer minor units of that variant's own currency: 2500 means $25.00 for a USD variant. Draft variants count. A product without a priced variant never matches a price filter.

Range0 <= value
stock?string

Filter by stock, draft variants included. in_stock: at least one variant can be bought (unlimited stock, or at least its minimum purchase quantity left). sold_out: no variant can be bought. any_variant_sold_out: at least one variant with a stock count is sold out. limited: at least one variant has a stock count. unlimited: no variant has a stock count.

Value in"in_stock""sold_out""any_variant_sold_out""limited""unlimited"
visibility[]?array<>

Only products with one of these visibilities. Repeat the parameter to select several. A single visibility=HIDDEN also works.

has_sales?boolean

true for products with at least one completed sale, false for products without one. Only purchase line items with status COMPLETED count, so pending or refunded ones do not.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*array<>
links*
meta*
Example Request
curl -X GET 'https://sell.app/api/v2/products' \  -H 'X-STORE: launch-lab'
{  "data": [    {      "id": 1,      "title": "Project Launch Kit",      "slug": "project-launch-kit",      "description": "<p>A practical guide to planning, testing and launching your project.</p>",      "images": [        {          "path": "store/1/listings/NM6TBKIMzpFJq1MKTV24oMJ1W4UrKCo7NS98nt4K.png",          "metadata": {            "size": 39289,            "filename": "NM6TBKIMzpFJq1MKTV24oMJ1W4UrKCo7NS98nt4K",            "extension": "png",            "mime_type": "image/png"          }        },        {          "path": "store/1/listings/ov6XMb68tRr80zl7sqfN1or7xfqqH5WbZygDEQ8X.png",          "metadata": {            "size": 422373,            "filename": "ov6XMb68tRr80zl7sqfN1or7xfqqH5WbZygDEQ8X",            "extension": "png",            "mime_type": "image/png"          }        }      ],      "order": 1,      "visibility": "PUBLIC",      "delivery_text": "Thanks for your purchase. Your download is ready.",      "additional_information": [        {          "required": true,          "key": "3aecffd000e00e2211e94558007ffc37",          "type": "checkbox",          "label": "Do you agree to the purchase terms?"        }      ],      "other_settings": {        "faq": [          {            "answer": "Yes. Adapt the included templates to your project.",            "question": "Can I use these templates for my own project?"          }        ],        "video_url": "https://example.com/launch-lab/product-tour",        "redirect_url": "https://example.com/post-launch?customer_email=[customer_email]&order_id=[order_id]",        "product_title": "Project Launch Kit",        "product_description": "Plan, test, and launch your next project."      },      "deleted_at": null,      "created_at": "2024-01-09T22:56:49.000000Z",      "updated_at": "2024-01-10T10:00:28.000000Z",      "store_id": 1,      "category_id": null,      "section_id": null,      "section_order": null,      "is_discoverable": true,      "variants": [        {          "id": 1,          "title": "Default"        }      ],      "url": "https://launch-lab.sell.app/product/project-launch-kit",      "type": "product",      "price_range": "$19.99",      "stock": null,      "sales": 12,      "sold_out": false    }  ],  "links": {    "first": "https://sell.app/api/v2/products?page=1",    "last": "https://sell.app/api/v2/products?page=1",    "prev": null,    "next": null  },  "meta": {    "current_page": 1,    "from": 1,    "last_page": 1,    "path": "https://sell.app/api/v2/products",    "per_page": 15,    "to": 1,    "total": 1,    "links": [      {        "url": null,        "label": "&laquo; Previous",        "active": false      },      {        "url": "https://sell.app/api/v2/products?page=1",        "label": "1",        "active": true      },      {        "url": null,        "label": "Next &raquo;",        "active": false      }    ]  }}