I got an answer from Shopify support. “View unit costs” permission is a reference to the permission given to store staff account and this cannot be used for limiting access to the unit cost field in the inventory item in GraphQl queries. So, the answer is no, it is not possible to limit API user’s access to inventory item unit cost field.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Public App cannot access inventory item "unit cost" using GraphQL | 1 | 86 | July 19, 2023 | |
| AcessScope and cost price for products | 7 | 124 | February 16, 2021 | |
| "Cost per item" should be a property on a variant, not the inventory object. Please explain | 1 | 56 | June 27, 2023 | |
| Access the cost per item field through the API | 0 | 73 | April 15, 2021 | |
| Inbound Inventory and Unit Costs | 4 | 119 | December 21, 2022 |