Skip to main content

Create a SIM card order

POST 
/wireless/sim_card_orders

Creates a new order for SIM cards.

Request

Body

required

SIM card order request

    quantity integer

    The nunber of SIM card you wish to order.

    shipping_address

    object

    The address to which the SIM cards will be shipped to

    street_line_1 string
    street_line_2 string
    locality string
    administrative_area string
    postal_code string
    extended_address string
    country_code string

    The address to which the SIM cards will be shipped to

Responses

200: Successful response

401: Authentication error

403: Authorization error

Request samples


curl -L 'https://api.telnyx.com/wireless/sim_card_orders' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"quantity": 0,
"shipping_address": {
"street_line_1": "string",
"street_line_2": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"extended_address": "string",
"country_code": "string"
}
}'

Response samples


{
"data": {
"id": "string",
"quantity": 0,
"shipping_address": {
"street_line_1": "string",
"street_line_2": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"extended_address": "string",
"country_code": "string"
},
"sim_group_id": "string",
"data_plan_id": "string",
"delivery_service": "string",
"tracking_number": "string",
"created_at": "string",
"updated_at": "string",
"order_status": "pending"
}
}