Skip to content

petro-prots/products-bulk-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PetroProts Products Bulk Update extension

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

About

Products Bulk attributes update via REST API

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages