---
title: "Retrieve the status of an order"
method: GET
path: "/orders/{orderId}/status"
tags: ["Orders"]
---

# Retrieve the status of an order

`GET /orders/{orderId}/status`

The status of an order with specified `orderId` will be returned. 

> See response of `200 OK` for status definitions.

## Path parameters

- `orderId` string, required

## Response `200`

OK

- OrderStatus
  - `status` 'cancelled' | 'completed' | 'error' | 'pending' — | status | description | |-----------|----------------------------------| |`pending` | the order is to be paid | |`cancelled`| manually cancelled or timed out | |`completed`| paid order | |`error` | some error happened to the order |
  - `paymentId` string, nullable
  - `lastUpdated` string, date-time — Update date-time when order status ast last changed. It should be in ISO 8601 format (UTC).

## Other responses

- `404` — Not Found

## Changes

- **2021-07-20** `704267da2188` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/newpathfly/apis/virtual-interlining-api/changes/orders/:orderId/status/get.md)

---

[API](https://skmtc.dev/newpathfly/apis/virtual-interlining-api.md) · [All operations](https://skmtc.dev/newpathfly/apis/virtual-interlining-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/newpathfly/virtual-interlining-api/revisions/704267da2188/schema)
