items

Count cart items

Returns the count of items in the customer's cart.

get/count-items

Response

Cart item count retrieved successfully.

string required

Numeric count as string when cart has items

OR
string required

Message when cart is empty

Example response

"5"

Changes