Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.skynetparts.com/llms.txt

Use this file to discover all available pages before exploring further.

When something goes wrong, the response body looks like this:
{
  "success": false,
  "error": {
    "code": "...",
    "message": "...",
    "details": { }
  }
}
The details object is optional and varies per error for example, INSUFFICIENT_INVENTORY includes the items with stock shortfalls.

All error codes

CodeHTTPEndpointsPlain-English meaning
VALIDATION_FAILED400bothThe request body is missing a field or has the wrong type. The response says which field.
INVALID_PART_TOKEN400ordersA part_id you sent isn’t recognized. Look up the part again.
INVALID_API_KEY401bothYour API key is missing, malformed, or wrong.
KEY_REVOKED401bothThe API key you used was revoked. Email api@skynetparts.com for a replacement.
INSUFFICIENT_INVENTORY409ordersOne or more items don’t have enough stock. Response lists which.
IDEMPOTENCY_CONFLICT409ordersYou sent an Idempotency-Key we’ve already seen, but with a different order body.
UPSTREAM_ERROR502catalogCatalog lookup failed on our end. Safe to retry.
ORDER_FAILED502ordersOrder placement failed on our end. Your order was not placed. Safe to retry.
Note: parts that aren’t in our catalog are returned in the not_found array of a successful Look Up Parts response they are not an error. If you hit an error not in this list, email info@skynetparts.com with the response body and timestamp.