Delivery Solutions Account Authentication
- Contact Delivery Solutions for Account Setup and Access.
- Receive API Keys via email.
- Maintain API Keys securely and do not embed API Key in client-side code.
- You must pass the
x-api-key
in the request header with the provided API key as shown below tenantId
is the unique identifier for the business
Example Request
curl -X GET https://<base_url>/api/v2/store \
--header "Content-Type:application/json" \
--header "x-api-key:YOUR_API_KEY"
--header "tenantid:YOUR_TENANT_ID"
Error Response
{
"type": "UNAUTHORIZED",
"message": "Invalid Api Key!",
"errors": [
{
"type": "UNAUTHORIZED",
"message": "Invalid Api Key!"
}
]
}
{
"type": "FORBIDDEN",
"message": "Invalid Api Key!",
"errors": [
{
"type": "FORBIDDEN",
"message": "Invalid Api Key!"
}
]
}
- Requests made with a valid API key will return
2XX Success response
.- Requests made with an invalid API key will return
401 Unauthorized response
.- Requests made without an API key will return
403 Forbidden
.
- Please replace YOUR_API_KEY with the actual business API key.
- Please replace YOUR_ACCOUNT_API_KEY with the actual account API key.
- Please replace YOUR_TENANT_ID with the actual tenant Id of your business