Check Product Count​

Allows you to check the number of products you have in your feed.

API Parameters

API Endpoint

Method: GET Description: This API will provide the size of the uploaded feed. End Point: \{feed end point}/api/\{siteKey}/catalog/size

Error Codes

We use conventional HTTP response codes to indicate success or failure of an API request. 201 (Ok): Indicates the upload was successful.

401 (Authorization Error): Indicates you may have provided an invalid API key.

400 (Bad Request): Indicates you may have missed a required parameter.

500 (Internal Server Error): Though these are rare, this indicates we may have messed up.

Site Key
  1. siteKey: A unique identifier provided when you create an Unbxd account. This key can also be retrieved from the Console. This is a required field.
  2. size: Returns the number of products your feed has.
curl -X GET  https://feed.unbxd.io/api/{siteKey}/catalog/size 
Response: The response will have the number of products in the feed file.

Best Practices

  1. We should specify clearly whether the schema and catalog can be part of one document together or separately.
  2. We should document if there is a limit on file size, record count for schema, and catalog file.s
  3. We should document feed processing failures midway and their effect on indexing.
  4. Document the time taken to record the index file.