Skip to main content

Get a single SIM card order

GET 

/sim_card_orders/:id

Get a single SIM card order by its ID.

Request

Path Parameters

    id uuidrequired

    Identifies the resource.

Responses

200: Successful Response

Schema

    data

    object

    id uuid

    Identifies the resource.

    record_type string

    Identifies the type of the resource.

    quantity integer

    Possible values: >= 1

    The amount of SIM cards requested in the SIM card order.

    cost

    object

    An object representing the total cost of the order.

    amount string

    A string representing the cost amount.

    currency currency

    Filter by ISO 4217 currency string.

    order_address

    object

    An object representing the address information from when the order was submitted.

    id int64

    Uniquely identifies the address for the order.

    first_name string

    The first name of the shipping recipient.

    last_name string

    The last name of the shipping recipient.

    business_name string

    The name of the business where the address is located.

    street_address string

    The name of the street where the address is located.

    extended_address string

    Supplemental field for address information.

    locality string

    The name of the city where the address is located.

    administrative_area string

    State or province where the address is located.

    country_code string

    The mobile operator two-character (ISO 3166-1 alpha-2) origin country code.

    postal_code string

    Postal code for the address.

    tracking_url url

    The URL used to get tracking information about the order.

    status string

    Possible values: [pending, processing, ready_to_ship, shipped, delivered, canceled]

    The current status of the SIM Card order.

    • pending - the order is waiting to be processed.
    • processing - the order is currently being processed.
    • ready_to_ship - the order is ready to be shipped to the specified address.
    • shipped - the order was shipped and is on its way to be delivered to the specified address.
    • delivered - the order was delivered to the specified address.
    • canceled - the order was canceled.

    created_at string

    ISO 8601 formatted date-time indicating when the resource was last created.

    updated_at string

    ISO 8601 formatted date-time indicating when the resource was last updated.

404: Resource not found

Schema

    code intrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta object

default: Unexpected error

Schema

    errors

    Error[]

  • Array [

  • code intrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta object
  • ]

Loading...