Roamic API v2
    • Topics
      • Authentication
        • Verify token
      • Browse packages
        • List countries and regions
        • List packages
        • Get a package
      • Manage orders
        • Get an order
        • List orders
        • Create new order
      • 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

    Order

    {
        "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"
    }
    Built with