EDistribution API

Get a priced order#

GET/v1/orders/{orderId}

Re-reads a previously created order's current price. An order belonging to another agent group comes back 404, identically to one that doesn't exist at all.

Request

cURL
curl -X GET 'https://partner-api.elivaas.com/v1/orders/{orderId}' \
  -u "$ELIVAAS_API_KEY:" \
  -H 'Content-Type: application/json'
Response 200
{
  "orderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "validUntil": "2026-07-27T05:30:00Z",
  "currency": "INR",
  "items": [
    {
      "listingId": "string",
      "checkIn": "2026-08-01",
      "checkOut": "2026-08-01",
      "nights": 0,
      "soldOut": true,
      "itemSubtotal": 0,
      "cancellationPlanId": "string",
      "cancellationPlanDiscount": 0,
      "cancellationPolicy": [
        {
          "cancelBy": "2026-08-01",
          "refundPercentage": 0,
          "label": "string"
        }
      ]
    }
  ],
  "summary": {
    "baseSubtotal": 0,
    "mealsSubtotal": 0,
    "vasSubtotal": 0,
    "cancellationPlanDiscount": 0,
    "stayAfterCancellationPlan": 0,
    "bankOffer": {
      "code": "HDFC10",
      "title": "10% off with HDFC credit cards",
      "discountType": "PERCENTAGE",
      "discount": 1000,
      "applied": true,
      "reason": "string"
    },
    "priceAfterBankOffer": 0,
    "offersDiscount": 0,
    "taxableSubtotal": 0,
    "gst": 0,
    "grandTotal": 0
  }
}

Path parameters#

orderIdstring<uuid>required

No description in the spec.

Responses#

StatusMeaning
200OK
400Validation failure. The message names the offending parameter. Limits are rejected, never silently clamped: an over-length id list, a page size above 100 or a date window longer than 365 days all land here rather than coming back quietly truncated.
401Missing, malformed, revoked or unknown API key, or an agent group whose distribution access is disabled. Pass the key as the HTTP Basic username with an empty password.
429Rate limit exhausted for this credential. Wait Retry-After seconds before retrying; the budget is per credential, not per IP.

See Errors for the error body shape and which statuses are worth retrying.