I'm implementing checkout flow with the spree javascript sdk. I create a cart for the user with the following script:
await client.cart.create(). await client.cart.show({bearer_token:bearer}).
The second line gives an error that resource you are looking for does not exist . I'm able to successfully complete checkout in the guest model but couldn't create cart for a user.