---
title: "Check the status of a card inventory order."
method: GET
path: "/programs/{programCode}/order/{orderIdentifier}"
tags: ["Order"]
---

# Check the status of a card inventory order.

`GET /programs/{programCode}/order/{orderIdentifier}`

This API is used to get inventory order information from partners.

 ****** 
***Http Status Code***
<table><thead><tr><th>Name</th><th>Comment</th></tr></thead><tbody><tr><td>200</td><td>success</td></tr><tr><td>400</td><td>bad request, like unsupported operation</td></tr><tr><td>401</td><td>Unauthorized</td></tr></tbody></table>

## Path parameters

- `programCode` string, required
- `orderIdentifier` string, required

## Headers

- `X-GD-RequestId` string, required

## Response `200`

OK

- GetOrderResponse — Represents the response returned after requesting order details in the order management API. Contains customer, company, delivery, and order information, as well as tracking and response details. Inherits standard response metadata from Gd.Bos.DataTransfer.Response.ResponseBase.
  - `clientReferenceNumber` string, nullable — Gets or sets the client reference number associated with the order.
  - `email` string, nullable — Gets or sets the email address of the customer who placed the order.
  - `phone` string, nullable — Gets or sets the phone number of the customer who placed the order.
  - `company` string, nullable — Gets or sets the name of the company associated with the order.
  - `companyId` string, nullable — Gets or sets the unique identifier of the company associated with the order.
  - `lines` Line[], nullable — Gets or sets the list of line items included in the order.
    - `lineType` string, required — Gets or sets the type of the line.
    - `productCode` string, required — Gets or sets the product code associated with the line.
    - `inventoryCode` string, required — Gets or sets the inventory code for the line.
    - `quantity` integer, required — Gets or sets the quantity for the line.
  - `deliveryAddress` DeliveryAddress — Represents a delivery address including contact information and location details.
    - `contactName` string, required — Gets or sets the name of the contact person for the delivery.
    - `addressLine1` string, required — Gets or sets the first line of the delivery address.
    - `addressLine2` string, required — Gets or sets the second line of the delivery address.
    - `city` string, required — Gets or sets the city of the delivery address.
    - `state` string, required — Gets or sets the state or province of the delivery address.
    - `postalCode` string, required — Gets or sets the postal code of the delivery address.
    - `country` string, required — Gets or sets the country of the delivery address.
    - `residential` string, nullable — Gets or sets a value indicating whether the address is residential.
  - `deliveryType` string, nullable — Gets or sets the type of delivery for the order (e.g., standard, express).
  - `orderIdentifier` string, nullable — Gets or sets the unique identifier for the order.
  - `status` string, nullable — Gets or sets the status of the order (e.g., pending, shipped, delivered).
  - `orderCreated` string, date-time — Gets or sets the date and time when the order was created.
  - `lastChange` string, date-time — Gets or sets the date and time when the order was last changed.
  - `tracking` Tracking — Represents tracking information for an order, including the provider and tracking number.
    - `provider` string, nullable — Gets or sets the name of the tracking provider (e.g., FedEx, UPS).
    - `trackingNumber` string, nullable — Gets or sets the tracking number assigned by the provider.
  - `responseDetails` ResponseDetails — Represents the details of a response in the order management system.
    - `code` integer — Gets or sets the main response code.
    - `subCode` integer — Gets or sets the sub-code providing additional response information.
    - `description` string, nullable — Gets or sets the description of the response.
    - `url` string, nullable — Gets or sets the URL associated with the response.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/revisions/666553766b78/schema)
