Skip to main content
GET
/
products
/
count
Count products
curl --request GET \
  --url https://api.salesive.com/api/v1/products/count \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "message": "Count products",
  "data": {
    "count": 58
  }
}
Returns the total number of non-deleted products in the store. Requires the READ_INVENTORY scope.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Response

Count products — success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Count products"

data
object
required
Example:
{ "count": 58 }