package_id and quantity. You may also include an optional description field to track your internal order ID or add any relevant notes related to the order.direct_apple_installation_url with installation instructions that now provide Apple’s universal link, enabling direct installation on devices running iOS 17.4 or later for a smoother user experience.to_email parameter, which will send an email to your user asynchronously. The email uses a white-label template powered by our eSIM cloud feature. It provides your users with a link to access and install the eSIM, includes installation instructions, and supports multiple languages.400 invalid data, 401, 402 insufficient balance (prepaid),409 idempotent request in flight, 500.curl --location 'https://prod.your-api-server.com/customer/v2/orders' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}' \
--header 'pressone-mode;' \
--header 'Idempotency-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"package_id": "kallur-digital-7days-1gb",
"quantity": 1,
"description": "1 sim kallur-digital-7days-1gb",
"brand_settings_name": "our perfect brand",
"to_email": "valid_email@address.com",
"sharing_option": [
"link"
],
"copy_address": [
"copy@example.com"
]
}'{
"data": {
"id": 67890,
"created_at": "2024-01-15 10:30:00",
"code": "ORD-12345",
"description": "Customer order for Turkey package",
"type": "sim",
"package_id": "merhaba-7days-1gb",
"quantity": 1,
"package": "Merhaba - 7 Days - 1GB",
"esim_type": "data",
"validity": "7 days",
"price": "4.50",
"data": "1 GB",
"currency": "NGN",
"manual_installation": "Settings > Cellular > Add eSIM",
"qrcode_installation": "Scan QR code with camera",
"installation_guides": {
"en": "https://www.airalo.com/help/installing-esim"
},
"sims": [
{
"id": 12345,
"created_at": "2024-01-15 10:30:00",
"iccid": "8901234567890123456",
"lpa": "LPA:1$smdp.example.com$ABCD1234",
"imsis": null,
"matching_id": "MTH-12345",
"qrcode": "LPA:1$smdp.example.com$ABCD1234",
"qrcode_url": "https://qrcode.airalo.com/example.png",
"airalo_code": null,
"apn_type": "default",
"apn_value": "internet",
"is_roaming": true,
"confirmation_code": null
}
],
"user": {
"id": 1001,
"name": "John Doe",
"email": "john@example.com",
"company": "PressOne",
"...": "..."
},
"status": {
"name": "Completed",
"slug": "completed"
}
},
"meta": {
"message": "Order created successfully"
}
}