REST API

The API package manages matrix headers, product-condition rows and direct customer assignments.

composer require mageb2b/pricesystem-productcustomermatrix-api:*
php bin/magento setup:upgrade
php bin/magento cache:flush
Resource Base endpoint
Matrix header /V1/pricesystem/productcustomermatrix
Product condition /V1/pricesystem/productcustomermatrixattribute
Customer assignment /V1/pricesystem/productcustomermatrixcustomer

Each resource supports:

  • GET /:id for one record;
  • GET /search with Magento search criteria;
  • POST to create;
  • PUT /:id to update;
  • DELETE /:id to remove.

Create the matrix header before its condition and customer rows. During synchronization, remove or update child rows deliberately so stale conditions do not continue matching products.

Use a Magento integration with the Product-Customer Matrix ACL resources. Calculated price operations are documented under Pricesystem REST.

Display preferences

Adjust how this website is displayed. Changes apply immediately.

Text size
Text spacing
Reading aids

Follows the pointer. Move it with Alt + Up/Down outside input fields. Hidden while a dialog is open.

Uses the voices provided by your browser, which may use an online service. Reading starts only when you press Read aloud.

Your choices are saved in this browser for this website.