This api is used for updating stock status of product via sku list.

1. Get admin token

Using for authentication, we need token from an admin with roles allowed for Magento_Catalog::products or admin user with all resources.

Api Call:

For more information, please read more in this link (Magento token-based authentication).

Notes: Admin token has expiration time or being clear in admin portal, afterthat you need to get new token for all usages.


2. Update stock status

This api allow user to update stock status of product in Magento with specified skus list.

3. API Response:


4. Exception Message: