GraphQL

The GraphQL package adds read queries for customer and customer-group category price records.

composer require mageb2b/pricesystem-categoryprice-graph-ql:*
php bin/magento setup:upgrade
php bin/magento cache:flush
Single record Paginated list
categoryprice(id) categoryprices(filter, pageSize, currentPage)
categorypriceCustomergroup(id) categorypriceCustomergroups(filter, pageSize, currentPage)

Filters can target fields such as category entity ID, customer or group ID, quantity, website and date. Request only the required fields and paginate lists.

All four queries require an admin or integration token. Customer and guest calls are rejected with an authorization error — storefronts should not call these queries.

For a calculated storefront price rather than stored records, 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.