GraphQL

The GraphQL package provides read queries for matrices, product conditions and customer assignments.

composer require mageb2b/pricesystem-productcustomermatrix-graph-ql:*
php bin/magento setup:upgrade
php bin/magento cache:flush
Single record Paginated list
productCustomerMatrix(id) productCustomerMatrices(filter, pageSize, currentPage)
productCustomerMatrixAttribute(id) productCustomerMatrixAttributes(filter, pageSize, currentPage)
productCustomerMatrixCustomer(id) productCustomerMatrixCustomers(filter, pageSize, currentPage)

All queries require an admin or integration token with MageB2B_PricesystemProductCustomerMatrix::list. Customer and guest requests are rejected.

Filters cover stored fields such as matrix ID, name, customer attribute value, website, quantity, priority, product condition and customer assignment. Paginate list queries and request only the required fields.

The ProductCustomerMatrixAttribute type does not expose the condition operator (eq, neq, in, nin). The operator is stored on the record and maintained through the Admin or REST, but it is not readable through GraphQL.

For calculated storefront prices, use Pricesystem GraphQL.

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.