Sending product API from server

Descrioption

The server must send a POST request with product information when the user visits the product card. The product information in the request body must be in JSON format and identical to the information transmitted from all traffic sources: website, mobile application, etc..

If the Retail Rocket system successfully processes the request, the response should have the status 200/204.

Note that the product ID in the request path must match the product ID in the request body in the "id" tag.

🚧

Pay attention

If there are no out-of-stock product pages on the site, then it is necessary to additionally call a request as soon as the product goes out of stock.

Language
Click Try It! to start a request and see the response here!