Before you begin
This tutorial builds upon the workflow described in the Order Processing with REST APIs tutorial. The Order Processing with Inventory Management tutorial provides additional steps that detail how to create stocks and sources, assign products to a custom source, and run the Source Selection Algorithms to recommend shipping options.
For more information about key inventory features, see Inventory Management overview.
This 14-step tutorial generally takes 1 hour.
Complete these prerequisites
Install Magento 2.4.0 or later.
Install a REST client. You can use any REST client to send calls to Magento. Postman is recommended.
Know how to construct a REST call in Magento. See Construct a request for details.
Obtain an admin authorization token. Multiple calls in this tutorial require administrator privileges. See Generate the admin token for more information.
- Magento uses Swagger to provide REST API documentation on local instances of Magento. See Generate a local API reference for more information. You can view the static REST API documentation, which displays reference information using ReDoc.