Authenticate with the AutoLeap Partner API to obtain access tokens.
All other endpoints require a valid access token.
API reference
/- Update inventory levels (bulk)
Get inventory levels (for stocked items)
Get inventory levels for a single item
Update inventory levels (...
Overview
The AutoLeap API uses the REST standard, which means you interact with it by making requests over HTTP.
A request usually includes:
- An HTTP method (like
GETorPOST) - A path (the address of the resource)
- Optional headers and parameters (in the path, query string, or request body)
When you send a request, the API responds with:
- A status code (to indicate success or failure)
- Response headers
- Sometimes a response body with useful data
The API reference describes the method, path, and parameters for each endpoint, and includes sample requests and responses you can use as a guide.
Languages
Servers
Production
https://partnerapi.myautoleap.com/v2/
- Productionhttps://partnerapi.myautoleap.com/v2/inventoryLevels
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://partnerapi.myautoleap.com/v2/inventoryLevels?companyId=string&locationId=string&restockLevel=above&sort=string&sortDirection=ASC&size=100&page=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "itemId": "ITEM123", "companyId": "SHOP5678", "itemType": "tire", "itemNumber": "GY12345", "itemName": "Goodyear Eagle F1", "stockDetails": [ { … } ] }
- Productionhttps://partnerapi.myautoleap.com/v2/inventoryLevels
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://partnerapi.myautoleap.com/v2/inventoryLevels \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"companyId": "string",
"items": [
{
"itemId": "string",
"locationId": "string",
"qtyAvailable": 0,
"minimumQtyLevel": 0,
"maximumQtyLevel": 0,
"updateNotes": "string"
}
]
}'Response
application/json
{ "success": true, "message": "Request completed successfully", "data": {} }
- Productionhttps://partnerapi.myautoleap.com/v2/inventoryLevels/{itemId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://partnerapi.myautoleap.com/v2/inventoryLevels/{itemId}?companyId=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "itemId": "ITEM123", "companyId": "SHOP5678", "itemType": "tire", "itemNumber": "GY12345", "itemName": "Goodyear Eagle F1", "stockDetails": [ { … } ] }