Updating Products
While Nosto's crawler attempts to keep its copy of your catalog as fresh as possible, there are scenarios where we may not be able to update all the information as quickly as needed.
In these scenarios, we recommend that you implement our enhanced Products API which allows you push all your product metadata and have the changes instantly reflect across our entire engine.
For example, if you add a discount of -10% to all the products in your "Shirts" category, you can use the Products API to bulk update all the products.
Here's an example of a Curl request.
Sending the categories
Categories must always be delimited by a slash. For example, Home/Accessories
or sale/summer/shirts/long-sleeve-shirts
is a valid category while Home > Accessories
is not.
How can I get an API token?
You can request an API token (API_PRODUCTS) by getting in touch with our support personnel. Once the token has been granted, you will be able to find it listed in the authentication tokens section in the admin.
How many items can I update at a time?
The Products API takes an array of product metadata and has no hard limit on the number of items that you can specify and is only limited by the maximum size of the payload of 2 MB.
How often can I update products?
You can update products as often as you need although, initially you'll need to send the entire catalog to populate the replica of your catalog on Nosto.
When should I make an API call?
You should make an API call when any product information changes. If a non-critical field of the product e.g. description, has changed, you can delay the product update as descriptions are rarely visible to the end customer. When the price or availability of the product changes, you should make an API call right away as this will instantly reflect in the recommendations.
Is there any additional benefit of using the product API?
While the product API contains the full superset of the information in the tagging, it also allows you to pass sensitive information to us. Sensitive information is fields such as the supplier cost (margin) and the inventory level. These fields are only mutable via the API.
What fields are required?
The following fields are required:
product_id
name
url
image_url
availability
price
price_currency_code
Last updated