product.count
Count products in store.
Request
- Base URL: https://api.api2cart.com/v1.1
- URL: https://api.api2cart.com/v1.1/product.count.json
- Auth: API key in header x-api-key and API key in header x-store-key
Query parameters
Filter by product's sku
Counts products specified by product ids
Retrieve entities starting from the specified id.
Defines product add that is specified by comma-separated categories id
Counts products specified by category id
Counts products specified by store id
Counts products specified by vendor id
Counts products specified by language id
Specifies the set of visible/invisible products
Specifies the set of available/not available products for sale.<br/>On BigCommerce the count checks only whether the product is set as purchasable and ignores stock (pre-order products are counted neither as true nor as false), so it can differ from product.list with the same value, which also checks stock at all inventory locations
Specifies the set of products that are out of stock completely or partially. Only true is supported: it returns products tracked per product that have no stock, and products tracked per variant that have at least one out-of-stock variant, even while other variants of the same product still have stock. Stock is checked at the default inventory location only, so a product that still has stock at another location can be returned, and a product whose only variant is the base one is not matched. Unlike avail_sale, which answers for the product as a whole, this catches a product that still sells overall because some of its variants do
Retrieve entities from their creation date
Retrieve entities to their creation date
Retrieve entities from their modification date
Retrieve entities to their modification date
Retrieves brands specified by brand name
Defines product's manufacturer by manufacturer_id
Defines product attributes
Defines product's status
Defines products's type
Filter items by visibility status
Entity search that is specified by some value
Counts products that are searched specified by field
Report request id
Determines the type of products to be returned. If set to 'true', only global products will be returned; if set to 'false', only local products will be returned.
Disable report cache for current request
Use the latest platform API version
Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.