Cannot access categories endpoint

sormunirsormunir Member Posts: 3

I am trying to use this command from the documentation to get a list of categories.

curl \
  -u key:secret

I am using my client ID and secret. I am able to get a list of all products with this info and my access token. But I keep getting:

error":{"code":401,"method":"READ","request":"\/en\/categories.json","message":"Could not authenticate you."}}

Am I missing something? The documentation doesn't show the token being used.


Sign In or Register to comment.