vehicleOrders
Overview
The vehicleOrders
endpoint returns the list of vehicles you have on order.
POST https://rivian.com/api/gql/gateway/graphql
Required Headers
a-sess: <your app session token>
u-sess: <your user session token>
csrf-token: <your CSRF token>
Request Body
{
"operationName": "vehicleOrders",
"variables": {},
"query": "query vehicleOrders { orders(input: {orderTypes: [PRE_ORDER, VEHICLE], pageInfo: {from: 0, size: 10000}}) { __typename data { __typename id state configurationStatus fulfillmentSummaryStatus items { __typename sku } consumerStatuses { __typename isConsumerFlowComplete } } } }"
}
Example Response
{
"data": {
"orders": {
"data": [
{
"id": <your-order-id>,
"state": "ORDERED",
"configurationStatus": "SOFT_LOCKED",
"fulfillmentSummaryStatus": "VEHICLE_DELIVERED",
"items": [
{
"sku": <wallbox-model>
},
{
"sku": <vehicle-model>
}
],
"consumerStatuses": {
"isConsumerFlowComplete": true
}
}
]
}
}
}