Referencia APIv1ProductsCount

Count products

Get the total number of products, optionally filtered by status.

GET
/v1/products/count
X-API-Key<token>

Per-store API key created in the dashboard at Settings > Developer > API Keys.

In: header

Query Parameters

status?string

Filter by product lifecycle status. Use active, draft, archived, or all.

Default"active"
Value in"draft" | "active" | "archived" | "all"

Response Body

application/json

curl -X GET "https://api.whatalo.com/v1/products/count"
{
  "data": {
    "count": 42
  }
}