G4EBAY Defaults

Most of the defaults for G4EBAY are stored in data areas. Those data areas are as follows:

  • G4EBAYLAUR - This is the G4EBAY Live Authorization URL. This is used during authorization of your live account when it is first set up. This can be retrieved using the #g4ebay_getAuthURL() function. This value is normally https://auth.ebay.com/oauth2/authorize
  • G4EBAYLURL - This is the G4EBAY Live Root URL. This is used as the URL Root when making requests to Live EBay RESTful APIs. This can be retrieved using the #g4ebay_getBaseURL() function. This value is normally https://api.ebay.com:443
  • G4EBAYSAUR - This is the G4EBAY Sandbox Authorization URL. This is used during authorization of your sandbox account when it is first set up. This can be retrieved using the #g4ebay_getAuthURL() function. This value is normally https://auth.sandbox.ebay.com/oauth2/authorize
  • G4EBAYSURL - This is the G4EBAY SandboxRoot URL. This is used as the URL Root when making requests to Sandbox EBay RESTful APIs. This can be retrieved using the #g4ebay_getBaseURL() function. This value is normally https://api.sandbox.ebay.com:443
  • G4EBAYTURL - This is the G4EBAY Token URL. This is used when requesting a new OAuth 2.0 Token, or refreshing a token. The appropriate Root URL is used when making requests depending on if the account is a Sandbox account or a Live account. This can be retrieved using the #g4ebay_getToken() function. This value is normally /identity/v1/oauth2/token
  • OAURL1 - This is the OAuth 2.0 Callback URL that is used when requesting an initial or new OAuth 2.0 Token. This callback normally goes to a BVSTools website unless you have set up your own system to handle callbacks. This can be retrieved using the #g4ebay_getOAuthLinkURL() function. This value is normally: https://www.bvstools.com/cgi-bin/g4ebayrsvc
  • OAURL2 - This is a webservice OAuth 2.0 URL used when requesting OAuth 2.0 Tokens. This can be retrieved using the #g4ebay_getOAuthWSURL() function. Again, this is a BVSTools URL and is normally ws.bvstools.com/g4ebayoauth/