Skip to main content
GET
/
api
/
v1
/
products
/
count
Count products
curl --request GET \
  --url https://apix.us.amity.co/api/v1/products/count \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "count": 42
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

keyword
string

Search keyword for product name

Maximum string length: 200
isActive
boolean

Filter by active status

isDeleted
boolean

Filter by deleted status

Response

Successful response with product count

status
string
Example:

"success"

data
object