1. Manage orders
Roamic API v2
  • Topics
    • Authentication
      • Verify token
    • Browse packages
      • List countries and regions
      • List packages
      • Get a package
    • Manage orders
      • Get an order
        GET
      • List orders
        GET
      • Create new order
        POST
    • Manage eSIMs
      • List eSIMs
      • Get an eSIM / installation details
      • Cancel an eSIM
      • Revoke an eSIM
    • Monitor usage
      • Get data usage
    • Top up eSIM
      • List top-up packages for an eSIM
      • Place a top-up order
    • Billing details
      • Get billing details
    • Notifications
      • List webhook event types
      • Create a webhook subscription
      • Update a webhook subscription
      • Get a webhook subscription
      • List webhook subscriptions
      • Delete a webhook subscription
      • List deliveries
      • Get a delivery
      • List notifications sent for an eSIM
      • Retry a delivery
      • Send a test event
  • Raíz
  • Schemas
    • Paginated
    • EsimIdentifier
    • OrderType
    • EsimStatus
    • OrderStatus
    • Result
    • FinancialStatus
    • Error
    • FulfillmentStatus
    • ValidationErrorBody
    • Order
    • TopupStatus
    • StoreOrder
    • WebhookDeliveryStatus
    • Customer
    • WebhookEventType
    • Billing
    • User
    • OrderLineItem
    • Esim
    • BillingFull
    • Topup
    • Settings
    • BillingInput
    • Country
    • Package
    • Product
    • TopupPackage
    • CreateOrder
    • CreateTopupOrder
    • NotificationLog
    • WebhookSubscription
    • WebhookSubscriptionInput
    • WebhookDelivery
  1. Manage orders

List orders

GET
/api/v1/orders

Solicitud

Autorización
Bearer Token
Proporciona tu token bearer en el encabezado
Authorization
al realizar solicitudes a recursos protegidos.
Ejemplo:
Authorization: Bearer ********************
or
Parámetros de consulta

Respuestas

🟢200
application/json
OK
Bodyapplication/json

🟠401Unauthenticated
🟠422Unprocessable
Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location --globoff '/api/v1/orders?page=&per_page=&filter[customer_email]=&filter[code]=&filter[external_order_id]=&filter[type]=&filter[status]=&filter[financial_status]=&filter[fulfillment_status]=&filter[from]=&filter[to]=' \
--header 'Authorization: Bearer <token>'
Respuesta Ejemplo de Respuesta
200 - Ejemplo 1
{
    "links": {
        "first": "string",
        "last": "string",
        "prev": "string",
        "next": "string"
    },
    "meta": {
        "current_page": 0,
        "from": 0,
        "to": 0,
        "last_page": 0,
        "per_page": 0,
        "total": 0,
        "path": "string",
        "links": [
            {}
        ]
    },
    "data": [
        {
            "code": "20261027-000123",
            "external_order_id": "string",
            "type": "purchase",
            "status": "open",
            "financial_status": "pending",
            "fulfillment_status": "unfulfilled",
            "customer": {
                "email": "user@example.com",
                "first_name": "string",
                "last_name": "string",
                "phone": "string",
                "external_id": "string",
                "locale": "es"
            },
            "currency": "string",
            "subtotal": "string",
            "discount_total": "string",
            "tax_total": "string",
            "total": "string",
            "billing": {
                "address": "string",
                "city": "string",
                "zip_code": "string",
                "country_iso": "ESP",
                "name": "string",
                "email": "user@example.com",
                "phone": "string",
                "id_document": "string"
            },
            "note": "string",
            "cancel_reason": "string",
            "line_items": [
                {
                    "id": 0,
                    "package_id": 0,
                    "product_id": 0,
                    "sku": "string",
                    "name": "string",
                    "product_name": "string",
                    "esimaccess_package_code": "string",
                    "is_unlimited": true,
                    "quantity": 0,
                    "unit_price": "string",
                    "subtotal": "string",
                    "currency": "string",
                    "fulfillment_status": "unfulfilled",
                    "esims": [
                        {
                            "code": "string",
                            "status": "assigned",
                            "order_code": "string",
                            "line_item_id": 0,
                            "sku": "string",
                            "package_name": "string",
                            "iccid": "string",
                            "imsi": "string",
                            "activation_code": "string",
                            "smdp_address": "string",
                            "matching_id": "string",
                            "qr_code_url": "string",
                            "branded_qr_code_url": "string",
                            "short_url": "string",
                            "apn": "string",
                            "provider_order_no": "string",
                            "failure_reason": "string",
                            "assigned_at": "2019-08-24T14:15:22.123Z"
                        }
                    ],
                    "topups": [
                        {
                            "code": "string",
                            "status": "pending",
                            "iccid": "string",
                            "esim_code": "string",
                            "esimaccess_package_code": "string",
                            "provider_order_no": "string",
                            "failure_reason": "string",
                            "applied_at": "2019-08-24T14:15:22.123Z"
                        }
                    ]
                }
            ],
            "paid_at": "2019-08-24T14:15:22.123Z",
            "cancelled_at": "2019-08-24T14:15:22.123Z",
            "created_at": "2019-08-24T14:15:22.123Z",
            "updated_at": "2019-08-24T14:15:22.123Z"
        }
    ]
}
Modificado en 2026-11-10 11:07:21
Anterior
Get an order
Siguiente
Create new order
Built with