Add scopes

This commit is contained in:
JBP
2019-08-17 19:19:15 +02:00
parent 6fb68652e0
commit 7484ba3df6
2 changed files with 17 additions and 10 deletions
+8
View File
@@ -19,6 +19,14 @@ const (
sandboxBaseURL = "https://api.sandbox.ebay.com/"
)
// Some eBay API scopes.
//
// eBay API docs: https://developer.ebay.com/api-docs/static/oauth-scopes.html
const (
ScopeRoot = "https://api.ebay.com/oauth/api_scope"
ScopeBuyOfferAuction = "https://api.ebay.com/oauth/api_scope/buy.offer.auction"
)
// BuyAPI regroups the eBay Buy APIs.
//
// eBay API docs: https://developer.ebay.com/api-docs/buy/static/buy-landing.html