Most Abandoned Products

The /api/products/most-abandoned endpoint helps analyze products that match a specific behavioral trend — whether they are gaining popularity, underperforming, or being abandoned often.

Response model

  • Name
    product_id
    Type
    string
    Description

    Unique identifier of the product.

  • Name
    product_name
    Type
    string
    Description

    Display name of the product.

  • Name
    quantity
    Type
    integer
    Description

    Total quantity sold, viewed, or abandoned (depending on metric).

  • Name
    revenue
    Type
    float
    Description

    Total revenue (if applicable).

  • Name
    formatted_revenue
    Type
    string
    Description

    Human-friendly revenue format.


GET/api/products/most-abandoned

Retrieve most abandoned products

Returns a list of products matching the insight query for the selected period.

Optional query parameters

  • Name
    limit
    Type
    integer
    Description

    Number of products to return (default: 10).

  • Name
    period
    Type
    string
    Description

    Time window to analyze. Common values:

    • 7d
    • 30d
    • this_month
    View all periods →

Request

GET
/api/products/most-abandoned
curl -G http://localhost:3000/api/products/most-abandoned \
  -H "Authorization: Bearer {token}" \
  -d period=7d
[
  {
    "product_id": "SKU-789",
    "product_name": "ThermoCup Pro",
    "quantity": 132,
    "revenue": 1584.00,
    "formatted_revenue": "€ 1.584,00"
  }
]

Use cases

  • Track product performance by behavioral trend
  • Identify fast movers, poor sellers, or friction points
  • Support marketing, operations, and merchandising decisions

Was this page helpful?