Request Timeout Requirements

For each method, a specific timeout is set, after which Yango Deli will consider the request as failed with a (Timeout Error).

Authorization:

  • POST /security/oauth/token – 3 seconds.

Nomenclature retrieval methods:

  • GET /nomenclature/{placeId}/composition
    For proper processing of composition requests, timeouts should be adjusted based on the number of locations. Currently expected timeouts are:

    • Up to 50 locations – 300 seconds.
    • Up to 100 locations – 100 seconds.
    • Over 100 locations – 60 seconds.
  • GET /nomenclature/{placeId}/availability – 120 seconds.

  • GET /nomenclature/{placeId}/prices – 120 seconds.

Order processing methods:

  • POST /order – 210 seconds.
  • GET /order/{orderId} – 5 seconds.
  • GET /order/{orderId}/status – 5 seconds.
  • PUT /order/{orderId}/status – 10 seconds.