Hi,
we’re currently migrating to Customer Account API. Before we were using Storefront API to manage customers.
This changelog states that it should be possible to use the Storefront API with a customer access token retrieved from the new Customer Account API. However, when I try to query the customer using Storefront API with the freshly retrieved access token I just get null.
query @inContext(buyer: {customerAccessToken:"[access_token_from_oauth]"}) {
customer(customerAccessToken: "[access_token_from_oauth]") {
id
firstName
}
}
Now my question: Am I just holding it wrong or is it not intended to use the access token from the new Customer Account API with the Storefront API?