Getting Started¶
Let's walk through core API concepts as we tackle some everyday use cases.
Overview¶
Most applications will use a higher level client library, but the best way to handle any potential case is by familiarizing yourself with the underlying API HTTP methods first.
In these examples, we will be using curl.
Hello World¶
Let's start by testing our setup. You will need an existing Fulfil merchant instance to run this test.
- Generate a personal access token
- Open up a command prompt and enter the following command:
curl -H "X-API-KEY:YOUR_API_KEY" https://{MERCHANT_ID}.fulfil.io/api/v2/test
The response will be a random selection from zen of python
{
"message": "Explicit is better than implicit.",
"success": true
}
Authentication¶
Authentication is required for all API calls. There are two types of access tokens.
You can read more about authentiation here.