Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1325

Permissions for searching orders

$
0
0

I’m very new to Square API, I’m writing an app for my own restaurant. I created an app and am trying to access the API POST/v2/orders/search
curl https://connect.squareup.com/v2/orders/search
-X POST
-H ‘Square-Version: 2025-03-19’
-H ‘Authorization: Bearer XXXXXXXX’
-H ‘Content-Type: application/json’
-d ‘{
“location_ids”: [
“AAAAA”
]
}’

And I get the error

{
“errors”: [
{
“code”: “FORBIDDEN”,
“detail”: “You have insufficient permissions to perform that action.”,
“category”: “AUTHENTICATION_ERROR”
}
]
}

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1325

Trending Articles