Access Scope Question

I'm having some trouble pulling data from Sale.json
:
error: { "httpCode": "403", "httpMessage": "Forbidden", "message": "Not Authorized: Insufficient rights to perform the request", "errorClass": "InsufficientRightsException" }
I've tried using the following Access Tokens to retrieve this data:
employee:admin
employee:all
employee:inventory
employee:reports
I didn't see anything in the documentation that would lead me to believe that I wouldn't be able to retrieve this data: https://developers.lightspeedhq.com/retail/endpoints/Sale/
I am able to retrieve data from Item.json
, I'm just not sure what I'm doing wrong here.
3 comments
@mark_pernotto It's likely that the employee account used to authorize the API client did not have access privileges to Sales, especially since you are able to retrieve data from the Item endpoint. See the section highlighted in yellow in our Access Scopes documentation
Lightspeed HQ
Thanks for getting back to me @Leah .
Can you tell me specifically what access privileges I would need on my account to retrieve Sales?
Actually @Leah , I figured it out. Thanks!