Showing results for 
Search instead for 
Did you mean: 

S2S API `viewer_purchases` errors

Level 2

The documentation for this API suggests the following (from this page --😞



$ curl -G -d "access_token=$USER_ACCESSTOKEN"  -d "fields=id,item{sku}"$APPID/viewer_purchases


I have used the GetAccessToken() call (from Unity) to get what looks like a valid User Access Token. I then use that value and a valid $APPID, and get the following error:


"{"error":{"message":"Unsupported post request. Object with ID '$APPID' does not exist, cannot be loaded due to missing permissions, or does not support this operation","type":"OCApiException","code":100,"error_subcode":33,"fbtrace_id":"An4VQxosLHb9uiWeDYZO5ef"}}"",


The $APPID does exist, and i have been able to use other S2S API calls using it. What is the correct way to call the "viewer_purchases" method?