Skip to content

Get all orders

GET
/orders

Get details on all previous orders, including total cost and contents

Authorizations

Responses

200

Success message

Array<object>
object
order

Items within the order

Array<object>
object
type

Item type. Supported: bundle, autoTopup, apiTopup, topup

string
item

Item name. This is the Bundle name when type = "bundle"

string
quantity

Quantity of item

integer
subTotal

Item Subtotal

integer
pricePerUnit

Price per Item

integer
total

Order total

integer
currency

Order currency

string
status

Status of the order

string
statusMessage

Order status message

string
orderReference

Order Reference

string
createDate

Date/Time of order creation

string

400

Bad Request - returned when request format is not accepted

object
message

Status of api functions which do not return data

string

403

Unauthorised - returned when the api token is invalid; the user does not have any available Bundles left or the eSIM is not accessible by the user

object
message

Status of api functions which do not return data

string

500

Server Error

object
message

Status of api functions which do not return data

string