Currently, we use rest API to request granular access scopes using the below code
params = {
"requested_scopes": [
"write_assigned_fulfillment_orders",
"read_assigned_fulfillment_orders"
]
}
url = 'https://shop_name/admin/request_granular_access_scopes.json'
resp = requests.post(url, json=params, headers=headers)
May I know if we can do the same using graphQl?, I am able to consume other APIs using graphQL , but getting issue while using graphQL for request_granular_access_scopes