SIM Card Orders

Preview SIM card orders

Previews a SIM card order purchase, returning estimated costs and details before you place the order. The preview is processed asynchronously.

post/sim_card_order_preview

Request body

quantityinteger required

The amount of SIM cards that the user would like to purchase in the SIM card order.

address_idstring required

Uniquely identifies the address for the order.

Example request

{
  "quantity": 21,
  "address_id": "1293384261075731499"
}

Response

Successful Response

Example response

{
  "data": {
    "total_cost": {
      "amount": "2.32",
      "currency": "USD"
    },
    "shipping_cost": {
      "amount": "2.32",
      "currency": "USD"
    },
    "sim_cards_cost": {
      "amount": "2.32",
      "currency": "USD"
    },
    "record_type": "sim_card_order_preview",
    "quantity": 21
  }
}

Changes

Changed in 3 of the 99 revisions of this API.3

    • ▲

      the // response's property type changed from string to integer, and format from no format to int32 for status

      response-property-type-changed

    This revision also has 34 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ▲

      the // response's property type changed from integer to string, and format from int32 to no format for status

      response-property-type-changed

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ▲

      the // response's property type changed from string to integer, and format from no format to int32 for status

      response-property-type-changed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 99 revisions, 1 has no diff computed.