> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api-guide/api-guides-en/store-front/order/order-inquiry.md).

# Order Inquiry

Provides order inquiry and detail information management features for both members and non-members. Members can look up their order list by member number and select detailed options according to the lookup period and order status. Non-members can look up order details using the order number and password. Order management is handled efficiently, and button control for claims is handled via a common code (ST007).

***

## Key Features

* **Order List Lookup**
  * Retrieves the order list for the member number; non-members can only look up order details.
* **Lookup Period and Order Status Settings**
  * Retrieves the order list between the lookup start date/time and end date/time, and retrieves the list of all orders or cancellations/exchanges/returns via the order status classification code.
* **Order Detail Lookup**
  * Order details provide information such as the order product information, payment information, accumulated mileage, and refund information corresponding to the order number.
* **Non-Member Order Lookup and Detail Lookup**
  * Non-members can look up order details using the order number and password. Non-member login processing succeeds when the order exists and the password is valid, and sets the order number and non-member password cookie information.
* **Order History Management**
  * Order history lookup, option and delivery address changes, cancellation, exchange, return requests, and delivery fee payment are possible.
* **Claim Button Control**
  * Button control for claims is handled via a common code (ST007).

## Process Definition

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FivFurGWCOlWz04ieUlBt%2F%E1%84%8C%E1%85%AE%E1%84%86%E1%85%AE%E1%86%AB%E1%84%8C%E1%85%A9%E1%84%92%E1%85%AC.png?alt=media&#x26;token=ad554394-60cb-4655-a747-14d9c174d68f" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

### Order List Lookup

For members, the order list can be viewed via My Page > Order History.
{% endstep %}

{% step %}

### Non-Member Login

In the non-member order inquiry, after entering the order number and password, it checks whether a matching order exists, and if so, sets the order number and password in a cookie.
{% endstep %}

{% step %}

### Order History Detail Lookup

For members, clicking the order number in the order list navigates to the order history detail lookup. For non-members, after non-member login processing is complete, they are taken to the order history detail screen.
{% endstep %}
{% endstepper %}

## API Function List

<table><thead><tr><th width="99.0001220703125">API</th><th width="359.77783203125">Description</th><th width="93.5555419921875">Server</th><th width="91.3333740234375">Method</th><th>Remarks</th></tr></thead><tbody><tr><td>Order History Lookup</td><td>Retrieves the order list for the member number.</td><td>Order</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=order&#x26;depth=%EC%A3%BC%EB%AC%B8%EC%A1%B0%ED%9A%8C&#x26;path=orderInfoList">🔗View API ></a></td></tr><tr><td>Order History Detail Lookup</td><td>Retrieves the order details (order product information, initial payment information, initial accumulated mileage, final refund information, etc.) corresponding to the order number. For non-members, if an order matching the non-member password and order number exists, the order details are retrieved.</td><td>Order</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=order&#x26;depth=%EC%A3%BC%EB%AC%B8%EC%A1%B0%ED%9A%8C&#x26;path=orderDetailInfoList">🔗View API ></a></td></tr><tr><td>Non-Member<br>Login</td><td>Creates non-member cookie information after order validation during non-member order inquiry.</td><td>Order</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=order&#x26;depth=%EC%A3%BC%EB%AC%B8%EC%A1%B0%ED%9A%8C&#x26;path=nonMemberLoginProcess">🔗View API ></a></td></tr></tbody></table>

## Other Notes

* All claim buttons are managed via a common code.\
  ST007 (FO System Claim-Processable Status) Reference value 1 (order history status code: OM005), reference value 2 (order history classification code: OM003)
* Ex) For the delivery address change button to appear, reference value 1 must be 12 or 21 (OM005: Order Completed (12), Delivery Instructed (21)), and reference value 2 must be 10 (OM003: Order Completed).
* Button display criteria table by status

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FdTFKgP7qx736VGm01VvH%2Fimage.png?alt=media&#x26;token=1a5970eb-23c1-466c-b552-d25120ac74b0" alt=""><figcaption></figcaption></figure>
