petro-prots/module-products-bulk-update

Products Bulk update extension by Petro Prots

1.0.1 2025-03-15 17:07 UTC

This package is auto-updated.

Last update: 2025-07-15 18:13:22 UTC


README

This extension implements products bulk attributes update by utilizing the Magento's build-in product_action_attribute.update queue.

API

The extension's functionality relies on the REST API connection. There is only one action available:

POST V1/products/update_attributes/bulk. Arguments:

  • products: List of products' attributes data to update. Example:
    {
        "id": 1,
        "attribute": "name",
        "value": "New name"
    }
  • scopeData: Data about the current working scope. Example:
    {
      "store_id": 1,
      "website_id": 1,
    }

Interfaces

There is a list of open Interfaces available for use:

  • \PetroProts\ProductsBulkUpdate\Api\UpdateProductAttributesActionInterface - Update attribute data action. Main working part
  • \PetroProts\ProductsBulkUpdate\Api\PayloadValidatorInterface - Payload data validator