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

Get an order

GET
/api/v1/orders/{code}
Returns one order with its line items and, inside each line, the eSIMs (or top-ups) it produced.

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 ruta

Respuestas

🟢200
application/json
The order.
Bodyapplication/json

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location '/api/v1/orders/20261027-000123' \
--header 'Authorization: Bearer <token>'
Respuesta Ejemplo de Respuesta
{
    "data": {
        "code": "20261027-000123",
        "external_order_id": "ORD-2026-0001",
        "type": "purchase",
        "status": "open",
        "financial_status": "paid",
        "fulfillment_status": "fulfilled",
        "customer": {
            "email": "ana.perez@example.com",
            "first_name": "Ana",
            "last_name": "Pérez",
            "phone": "+34600111222",
            "external_id": "cust_8841",
            "locale": "es"
        },
        "currency": "EUR",
        "subtotal": "4.50",
        "discount_total": "0.00",
        "tax_total": "0.00",
        "total": "4.50",
        "billing": {
            "name": "Ana Pérez",
            "email": "ana.perez@example.com",
            "country_iso": "ESP",
            "address": null,
            "city": "Madrid",
            "zip_code": null,
            "phone": null,
            "id_document": null
        },
        "note": "Birthday gift",
        "cancel_reason": null,
        "line_items": [
            {
                "id": 5501,
                "package_id": 9001,
                "product_id": 118,
                "sku": "ESIM-ES-1GB-7D",
                "name": "Spain 1GB 7 Days",
                "product_name": "Spain",
                "esimaccess_package_code": "PKG-ES-1GB-7D",
                "is_unlimited": false,
                "quantity": 1,
                "unit_price": "4.50",
                "subtotal": "4.50",
                "currency": "EUR",
                "fulfillment_status": "fulfilled",
                "esims": [
                    {
                        "code": "01JABCDEFGHJKMNPQRSTVWXYZ0",
                        "status": "assigned",
                        "order_code": "20261027-000123",
                        "line_item_id": 5501,
                        "sku": "ESIM-ES-1GB-7D",
                        "package_name": "Spain 1GB 7 Days",
                        "iccid": "8934076500002589174",
                        "imsi": "214070000258917",
                        "activation_code": "LPA:1$smdp.example.com$ABCD-1234-EFGH",
                        "smdp_address": "smdp.example.com",
                        "matching_id": "ABCD-1234-EFGH",
                        "qr_code_url": "https://cdn.example.com/qr/abcd1234.png",
                        "branded_qr_code_url": "https://cdn.example.com/qr/branded/abcd1234.png",
                        "short_url": "https://r.example/abcd1234",
                        "apn": "internet",
                        "provider_order_no": "B26102710000001",
                        "failure_reason": null,
                        "assigned_at": "2026-10-27T10:01:30Z"
                    }
                ],
                "topups": []
            }
        ],
        "paid_at": "2026-10-27T10:00:00Z",
        "cancelled_at": null,
        "created_at": "2026-10-27T10:00:00Z",
        "updated_at": "2026-10-27T10:02:00Z"
    }
}
Modificado en 2026-10-28 09:24:46
Anterior
Get a package
Siguiente
List orders
Built with