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.
For a calculated storefront price rather than stored records, use the shared Pricesystem GraphQL package.