GET
/
preorder
/
{preorderId}
curl --request GET \
  --url https://api.ekhodealer.com/preorder/{preorderId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "datePurchased": 123,
  "buyerId": "<string>",
  "buyerFullName": "<string>",
  "oemId": "<string>",
  "checkoutCartId": "<string>",
  "orderFee": 123,
  "variantId": "<string>",
  "productId": "<string>",
  "name": "<string>",
  "specs": [
    {
      "name": "<string>",
      "price": 123,
      "option": "<string>"
    }
  ],
  "externalStatus": "PENDING_INVITATION",
  "vehicle": [
    {}
  ],
  "orderSessionId": "<string>",
  "ecommOrderId": 123,
  "sku": "<string>",
  "status": "CANCELED",
  "paymentInfo": {
    "id": "<string>",
    "baseAmount": 123,
    "amountReceived": 123,
    "processingFeeInc": true,
    "paymentType": "STANDARD_RESERVATION",
    "status": "processing",
    "platform": "brex",
    "recipient": "OEM",
    "receiptId": "<string>",
    "paymentIntentClientSecret": "<string>"
  },
  "accessories": [
    {
      "productId": "<string>",
      "name": "<string>",
      "basePrice": 123,
      "specs": [
        {
          "name": "<string>",
          "price": 123,
          "option": "<string>"
        }
      ],
      "imgUrl": "<string>",
      "description": "<string>",
      "count": 123,
      "variantId": "<string>"
    }
  ],
  "convertedCheckoutCartId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

preorderId
string
required

Unique identifier of the preorder to retrieve.

Query Parameters

oemKey
string
required

Key to identify and authenticate the OEM admin.

Response

200
application/json

Successfully retrieved the preorder details.

The response is of type object.