Sending product API from server (with grouped products)

Description

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 group ID in the request path must match the group ID of the product in the request body in the "groupId" 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!