Create a Goody for Business account
To sign up for a Goody for Business account in production or sandbox, go to the corresponding link:Environment | API Keys link |
---|---|
Production | https://www.ongoody.com/business/signup |
Sandbox | https://sandbox.ongoody.com/business/signup |
Create a commerce app and API key
Once you’re signed up, you’ll need to create a commerce app and an API key. Next to your account button on the top right, click the Organization link, and then navigate to Commerce API.Environment | API Keys link |
---|---|
Production | https://www.ongoody.com/plus/organization/api/commerce |
Sandbox | https://sandbox.ongoody.com/plus/organization/api/commerce |
Base URL
The base URL of the API depends on the environment you’re using:Environment | Base URL |
---|---|
Production | https://api.ongoody.com |
Sandbox | https://api.sandbox.ongoody.com |
Authentication header
This API uses bearer authentication. Send your API key in theAuthorization
HTTP header preceded by Bearer
:
Calling /me
To check that you’re authenticated, you can send a request to the /me
endpoint: