---
title: "Get Orders"
method: GET
path: "/merchants/orders"
tags: ["Orden"]
---

# Get Orders

`GET /merchants/orders`

Allows searching and filtering merchant orders with various criteria.

## Query parameters

- `page_size` integer
- `store_code` string[]
- `cursor` string
- `from_date` string, date-time
- `to_date` string, date-time
- `payment_status` string[]
- `email` string, email
- `processor` string[]
- `payment_method` string[]
- `fraud_decision` string[]
- `order_id` string
- `group_id` string
- `external_transaction_id` string
- `authorization_code` string
- `ticket_number` string
- `pnr` string
- `payment_created_from_date` string, date-time
- `payment_created_to_date` string, date-time

## Headers

- `X-API-KEY` string, required

## Response `200`

Successful response with the list of orders

- object
  - `cursor` string — Cursor for pagination. Use this value in the next request to get the next page of results. A value of "ZW1wdHk=" indicates there are no more pages.
  - `orders` object[] — List of found orders
    - `order` object — Order details
      - `airline_information` object — Airline information (only for travel orders)
        - `booking_items` object[] — Booking items
          - `pnr` string — PNR (Passenger Name Record)
          - `ticket_number` string — Airline ticket number
      - `created_at` string — Order creation date and time
      - `currency` string — Currency code (ISO 4217)
      - `display_total_amount` string — Formatted total amount for display
      - `fraud` object — Fraud information
        - `analysis` object — Fraud analysis
          - `fraud_decision` string — Fraud decision
      - `fraud_shadowmode` object[] — Fraud information from "shadow" providers
        - `analysis` object — Fraud analysis
          - `fraud_decision` string — Fraud decision
      - `metadata` object — Additional data from the merchant
        - `authorization_code` string — Authorization code
      - `order_id` string — Unique order ID
      - `payment` object — Payment information
        - `data` object — Payment data
          - `authorization_code` string — Authorization code
          - `created_at` string, date-time — Payment creation date and time
          - `customer` object — Customer information
            - `email` string — Customer email
          - `external_transaction_id` string — External transaction ID
          - `from_card` object — Card information
            - `card_brand` string — Card brand
            - `card_type` 'credit_card' | 'debit_card' | 'prepaid_card' — Card type
            - `first_six` string — First six digits of the card
            - `last_four` string — Last four digits of the card
          - `id` string — Payment ID
          - `processor` string — Payment processor used
          - `status` string — Payment status
      - `payment_method` string — Payment method used
      - `status` string — Order status
      - `store_code` string — Store code
      - `total_amount` number — Total order amount
    - `token` string — Unique order token
  - `there_are_more_records` boolean — Indicates if there are more records available to query on the next page
  - `total` integer — Total number of results

## Other responses

- `400` — Respuesta de un bad request
- `401` — Respuesta de una solicitud **sin autorización** este problema es debido a el **X-API-KEY** inválido o por el **Bearer-Auth

---

[API](https://skmtc.net/deuna/apis/user-network-api.md) · [All operations](https://skmtc.net/deuna/apis/user-network-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deuna/user-network-api/revisions/df73fa00ed05/schema)
