logoSellhub
Products
background
Sellhub Docs
Sellhub Docs
Store Products
GET
/products

Authorization

Authorization<token>

In: header

Query Parameters

idstring

Generic ID filter (e.g., product, bundle, coupon, etc.)

createdAtFromstring

Earliest creation date (ISO 8601 datetime)

Format: "date-time"
createdAtTostring

Latest creation date (ISO 8601 datetime)

Format: "date-time"
curl -X GET "https://dash.sellhub.cx/api/sellhub/products?id=%3Cstring%3E&createdAtFrom=2019-08-24T14%3A15%3A22Z&createdAtTo=2019-08-24T14%3A15%3A22Z" \
  -H "Authorization: <token>"

A list of products

{
  "data": {
    "products": [
      {
        "id": "prod_123",
        "name": "Premium Widget",
        "description": "A high-quality widget for all your needs",
        "shortDescription": "Premium quality widget",
        "createdAt": "2023-06-15T14:30:00Z",
        "cheapestSubscription": 9.99,
        "hidden": false,
        "url": "https://store.sellhub.cx/products/premium-widget",
        "displayedStatus": "In Stock",
        "isFeatured": true,
        "images": [
          "https://store.sellhub.cx/images/widget1.jpg"
        ],
        "imageAspectRatio": 1.5
      }
    ]
  }
}