univoozAPI
Errors

unknown_endpoint

This API has no such endpoint.

HTTP 404invalid_request_error

Why it happens

  • The path has a spelling mistake, or the path has no /v1 prefix. All endpoints are below /v1.
  • The HTTP method is wrong. A GET to an endpoint that accepts POST gives this code. This API never returns 405.
  • You called an internal path. Only /v1 is public.

Univooz returns this code before it checks the API key. So this error tells you nothing about your key.

How to fix it

Compare your path and method with this list. The public API has nine endpoints:

MethodPath
POST/v1/orders
GET/v1/orders
GET/v1/orders/{reference}
PATCH/v1/orders/{reference}
POST/v1/orders/{reference}/cancel
POST/v1/orders/quote
POST/v1/addresses/validate
GET/v1/branches
POST/v1/test/orders/{reference}/advance

Example response

{
  "error": {
    "type": "invalid_request_error",
    "code": "unknown_endpoint",
    "message": "Unknown endpoint.",
    "doc_url": "https://docs.univooz.com/errors/unknown_endpoint",
    "request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
  }
}

On this page