everything is working today ><""""
i able to set the scope to 'transactions_r' now. And for this scope, i can retrieve shop details, listing as well as transaction details.
these are my code
...
$client->ResetAccessToken();
//$client->scope = 'listings_r'; //working yesterday, but i din try today, worried not able to reset again and not able to retrieve transaction
//$client->scope = 'transactions_r'; //not working yesterday, but working today.
$client->scope = 'email_r%20listings_r%20listings_w%20transactions_r%20'; //not working? but from the documentation, email_r%20listings_r is the example scope?
...
//working today ><""""
$success = $client->CallAPI(
'https://openapi.etsy.com/v2/shops/6167973/transactions',
'GET', array(), array('FailOnAccessError'=>true), $user);
}
...
below is the Etsy API Documentation Page:
etsy.com/developers/documentation/g ...
New Question:
1) Can i run this as cron job? will it ask me to allow access since there is no interface for me to click in cron job? or session is also available in cron job, so i do not need to keep the data manually?
2) if i want to update listing (scope = listings_w), i need to reset the access token again? what if fail again as yesterday i was not able to reset to 'transaction_r'?
Deeply appreciate your help..
Best Rgds
Gar Kit