GraphQL

The GraphQL package provides read queries for lists, products and assignments.

composer require mageb2b/pricesystem-pricelist-graph-ql:*
php bin/magento setup:upgrade
php bin/magento cache:flush
Single record Paginated list
pricelist(id) pricelists(filter, pageSize, currentPage)
pricelistProduct(id) pricelistProducts(filter, pageSize, currentPage)
pricelistCustomer(id) pricelistCustomers(filter, pageSize, currentPage)
pricelistGroup(id) pricelistGroups(filter, pageSize, currentPage)

All queries require an admin or integration token. Customer and guest requests are rejected. Grant the ACL resource for the records being read:

Records ACL resource
Price lists MageB2B_PricesystemPricelist::manage
Product rows MageB2B_PricesystemPricelist::product_manage
Customer assignments MageB2B_PricesystemPricelist::customer_manage
Group assignments MageB2B_PricesystemPricelist::group_manage

Filters use standard GraphQL filter inputs for fields such as list ID, product ID, customer ID, group ID and active state. Paginate list queries and request only the fields needed by the client.

These queries expose stored Price List records. For calculated storefront prices, use the shared Pricesystem GraphQL package.

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.