The Ingrid API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.You can use the Ingrid API in test mode, which doesn't affect your live data or interact with carrier networks. The API key you use to authenticate the request determines whether the request is live mode or test mode.
Ingrid API (1.0.1)
Download OpenAPI description
Overview
Ingrid Support
License
Languages
Servers
Mock server
https://docs.ingrid.com/_mock/ingrid-api/openapi
https://next.ingrid.com/v1
Request
List available locations for a given service code and country with optional postal code. If latitude and longitude are provided, the locations will be sorted by distance from the given coordinates.
The supplied service code must be for a service that is location based, e.g. instabox pickup.
Change.
- Mock serverhttps://docs.ingrid.com/_mock/ingrid-api/openapi/v1/delivery/locations
- https://next.ingrid.com/v1/v1/delivery/locations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.ingrid.com/_mock/ingrid-api/openapi/v1/delivery/locations \
-H 'Content-Type: application/json' \
-d '{
"serviceCode": "svc_instabox-locker-se",
"country": "SE",
"postalCode": "11350",
"latitude": 59.329323,
"longitude": 18.06858,
"limit": 20
}'Response
application/json
{ "foo": "bar", "forServiceCode": "svc_instabox-locker-se", "forCountry": "SE", "forPostalCode": "11350", "forLatitude": 59.329323, "forLongitude": 18.06858, "locations": [ { … } ] }