MageSmith
POSTInventoryLowQuantityNotificationApi · Magento 2.4.9 Admin · Magento_InventoryLowQuantityNotificationApi::stock_create_low_quantity_notification

POST /V1/inventory/low-quantity-notification

POST /V1/inventory/low-quantity-notification is a Magento 2 REST endpoint in the InventoryLowQuantityNotificationApi module. Save an array of SourceItemConfigurationInterface objects passed as parameter. Requires an admin Bearer token with ACL Magento_InventoryLowQuantityNotificationApi::stock_create_low_quantity_notification.

Last verified: against Magento 2.4.9.

Returns

void

Service contract

Magento\InventoryLowQuantityNotificationApi\Api\SourceItemConfigurationsSaveInterface::execute

Authorization

Admin Bearer token with ACL:

  • Magento_InventoryLowQuantityNotificationApi::stock_create_low_quantity_notification

Body parameters

sourceItemConfigurations Magento\InventoryLowQuantityNotificationApi\Api\Data\SourceItemConfigurationInterface[] Required

Example request

Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.

Headers

Accept
application/json
Content-Type
application/json
Authorization
Bearer <ACCESS_TOKEN> admin token with ACL: Magento_InventoryLowQuantityNotificationApi::stock_create_low_quantity_notification

Path

/V1/inventory/low-quantity-notification

Body

{
  "sourceItemConfigurations": [
    {
      "extension_attributes": {},
      "notify_stock_qty": 0,
      "sku": "",
      "source_code": ""
    }
  ]
}

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.