We've released our Cross-Selling and Up-selling APIs to all our customers and partners. Using these sales techniques, you will be able to display in your showcase several offers with some simple API calls.
The new APIs
Now you can make Cross-selling and Up-selling requests in REST APIs. These requests work in the same way as all other VTEX APIs.
Below there's a list of the new available requests.
Who Saw Also Saw:
GET
http://{{AccountName}}.{{environment}}.com.br/api/catalog_system/pub/products/crossselling/whosawalsosaw/{{productId}}
This API will return the products that have been seen by customers that also saw a certain product.
Who Saw Also Bought:
GET
http://{{AccountName}}.{{environment}}.com.br/api/catalog_system/pub/products/crossselling/whosawalsobought/{{productId}}
This API will return the products that have been purchased by customers that have seen a particular product.
Who Bought Also Bought:
GET
http://{{AccountName}}.{{environment}}.com.br/api/catalog_system/pub/products/crossselling/whoboughtalsobought/{{productId}}
This API will return the products that also have been purchased by customers who have bought a particular product.
Accessories:
GET
http://{{AccountName}}.{{environment}}.com.br/api/catalog_system/pub/products/crossselling/accessories/{{productId}}
This API will return the products that were registered as accessories or complements of a certain product.
Similar Products:
GET
http://{{AccountName}}.{{environment}}.com.br/api/catalog_system/pub/products/crossselling/similars/{{productId}}
This API will return products that have been registered as similar products in a particular product.
Suggestions:
GET
http://{{AccountName}}.{{environment}}.com.br/api/catalog_system/pub/products/crossselling/suggestions/{{productId}}
This API will return the products that were registered as Up-selling suggestions. It is worth mentioning that this product will only be shown if the value of the suggestion is greater than that of the product where the suggestion was registered.
Go further
For more details on the requests, please visit our API documentation.
For more information on the Cross-selling and Up-Selling techniques described above, access the VTEX Help article