Sign inGet Started

Get an eSIM offer

GET
/v1/esim/offers/{offer_id}
bird esim offers get <offer-id>
Odpowiedź200
{
  "id": "eof_01krdgeqcxet5s7t44vh8rt9mg",
  "name": "Europe 10 GB / 30 days",
  "zone_id": "ezn_01krdgeqcxet5s7t44vh8rt9mg",
  "zone": {
    "id": "ezn_01krdgeqcxet5s7t44vh8rt9mg",
    "name": "Europe",
    "type": "local",
    "countries": [
      "US"
    ]
  },
  "speed": "full",
  "phone": {
    "included": "always",
    "voice_inbound": false,
    "voice_outbound": false,
    "sms_inbound": true,
    "sms_outbound": false
  },
  "pricing": {
    "data": {
      "amount_bytes": 10737418240
    },
    "validity": {
      "type": "one_time",
      "unit": "day",
      "value": 30
    },
    "price": {
      "amount": "0.00995",
      "currency_code": "USD"
    }
  },
  "product": "email_sends",
  "status": "draft"
}

Returns one eSIM offer with its pricing and embedded coverage zone.

Parametry

offer_idstring

Offer ID.

Treść odpowiedzi

id
string
wymagane
name
string
wymagane

Display name of the offer.

revision
integer
wymagane

Increments whenever the offer's terms change. Orders lock the revision they were quoted at.

zone_id
string
wymagane

Coverage zone the offer sells. Offers for the same footprint share one zone.

zone
object
wymagane

The offer's coverage zone, embedded so one read answers "where does this work". The zone resource is authoritative.

Pokaż atrybuty podrzędne
zone.id
string
wymagane
zone.name
string
wymagane

Human-readable zone name.

zone.revision
integer
wymagane

Increments whenever the country list changes.

zone.type
string
wymagane
zone.countries
array of string
wymagane

Countries covered by the zone, as ISO 3166-1 alpha-2 codes.

zone.created_at
string
wymagane
speed
string
wymagane

Speed class. For reduced-speed offers, the bundle's data.throttled_after_bytes carries the full-speed allowance.

stackable
boolean
wymagane

Whether packages from this offer can be held alongside packages from other zones on the same eSIM, subject to the eSIM's package_limit.

phone
nullable object
wymagane

Phone service that comes with the plan, or null when the plan includes no phone number. When present, included says how the number is provided and the flags state which call and text directions work.

Pokaż atrybuty podrzędne
pricing
object
wymagane

Commercial terms of the offer. Every offer in the current catalog is a bundle: a fixed allowance with a validity period for a fixed price. Match on the pricing type; treat an unrecognized type as an offer your integration cannot order yet.

Pokaż atrybuty podrzędne
product
string
wymagane

Billing product the offer's charges post under, as it appears on your invoice line items.

status
string
wymagane
created_at
string
wymagane

Przejdź do dokumentacji, przewodników i przykładów dotyczących tego tematu.