Skip to navigation

Get device order

View as MarkdownOpen in Claude

Returns a device order, including its lines, payment details, shipment tracking, and history.

Every order response includes allowedNextStates, the statuses you can move the order to from its current status. Use it to decide what to show your users, instead of building the order lifecycle into your code.

This endpoint requires the deviceorder_read permission.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
requestTokenstring

Long-lived API token sent in the requestToken header. See API token authentication.

Path parameters

orderNumberstringRequired
The order number.

Response

Success
responseTextstring

Success when the request succeeds.

responseDataobject
A device order.
responseCodeintegerOptional

Code for the response. Learn more in API Response Codes.

pageIdentifierstringOptional
Auxiliary validation used internally by payment pages and components.
roomIdlongOptional

Field not in use on this endpoint. It always returns 0.

isSuccessbooleanOptional

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error