The partner API allows third-party applications to call Intuitive Shipping directly.
Request Headers
The request headers are used to authenticate the incoming request.
curl -X POST \ https://intuitiveshipping.io/ \
-H 'Content-Type: application/json; charset=UTF-8' \
-H 'Intuitive-Partner-Api-Key: 225fd46f-2eb0-4b6d-bd27-a57c6b04b8a8'\
-H 'Intuitive-Account-Api-Key: 387d195e-9359-4518-a52c-831a8e6186de' \
Header Parameters
Intuitive-Partner-Api-Key | guid | Your partner API key. This will be provided upon approval as an Intuitive Shipping partner. |
Intuitive-Account-Api-Key | guid | The account API key is located on the Partners page within the Intuitive Shipping console. |
Optional Header Parameters
Intuitive-Test-Status | bool | Set to true to not generate an activity record within the Intuitive Shipping console. |
Response Headers
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Intuitive-Api-Call-Limit: 40
Intuitive-Api-Call-Leak-Rate: 1
Intuitive-Request-Id: 3d545cbb-413e-4b49-9071-a09c03844040
Response Header Parameters
Intuitive-Api-Call-Limit | int | Leaky-bucket capacity. |
Intuitive-Api-Call-Leak-Rate | int | Leaky-bucket leak rate per second. |
Intuitive-Request-Id | guid | Matches the activity record generated in Intuitive Shipping. |
Responses for Invalid Requests
Below are examples of responses generated by invalid requests.
400 Invalid Request
This response type will return for invalid request methods. The rating endpoint only accepts a POST method.
HTTP/1.1 400 Invalid request
{
"error": {
"code": "invalid.request.method",
"message": "Invalid request method. This resource only accepts POST."
}
}
401 Unauthorized Access
This response type will return due to an invalid partner key or API key.
HTTP/1.1 401 Unauthorized Access
{
"error": {
"code": "unauthorized.access",
"message": "Unauthorized access."
}
}
429 Too Many Requests
This response type will return when the maximum capacity of the leaky-bucket has been exceeded. If you require an increase in your bucket capacity, please contact us.
HTTP/1.1 429 Too Many Requests
{
"error": {
"code": "rate.limit",
"message": "Too many requests."
}
}
Support
If you have any questions, please contact us for assistance.