Get an eSIM offer
/v1/esim/offers/{offer_id}bird esim offers get <offer-id>curl -X GET "https://us1.platform.bird.com/v1/esim/offers/{offer_id}" \
-H "Authorization: Bearer $TOKEN"{
"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.
Parameters
offer_idstringOffer ID.
Response Payload
idnameDisplay name of the offer.
revisionIncrements whenever the offer's terms change. Orders lock the revision they were quoted at.
zone_idCoverage zone the offer sells. Offers for the same footprint share one zone.
zoneThe offer's coverage zone, embedded so one read answers "where does this work". The zone resource is authoritative.
speedSpeed class. For reduced-speed offers, the bundle's data.throttled_after_bytes carries the full-speed allowance.
stackableWhether packages from this offer can be held alongside packages from other zones on the same eSIM, subject to the eSIM's package_limit.
phonePhone 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.
Onderliggende attributen tonen
phone.includedHow the plan provides a phone number.
always: a phone number is included with each eSIM purchased from the offer.on_request: reserved for offers with an optional phone number; currently unavailable.
Possible values: always, on_request
phone.voice_inboundThe eSIM can receive calls on its phone number.
phone.voice_outboundThe eSIM can place calls.
phone.sms_inboundThe eSIM can receive text messages on its phone number.
phone.sms_outboundThe eSIM can send text messages.
pricingCommercial 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.
productBilling product the offer's charges post under, as it appears on your invoice line items.
statuscreated_atGerelateerde bronnen
Ga verder met de documentatie, handleidingen en voorbeelden voor dit onderwerp.