---
title: Retrieve the latest version of an order
framework: walletorders
role: symbol
role_heading: Web Service Endpoint
path: walletorders/retrieve-the-latest-version-of-an-order
---

# Retrieve the latest version of an order

Retrieves the latest signed and compressed version of an order.

## URL

GET https://your-web-service.com/v1/orders/{orderTypeIdentifier}/{orderIdentifier}

## Path Parameters

orderIdentifier: The order identifier. This value corresponds to the value of the orderIdentifier key of the Order. orderTypeIdentifier: The order type identifier of the order. This value corresponds to the value of the orderTypeIdentifier key of the Order.

## Header Parameters

Authorization: The authentication for an order. The scheme is AppleOrder with the Order’s value for the authenticationToken key as parameter. For example, AppleOrder {authenticationToken}. If-Modified-Since: If available, the most recent If-Modified value.

## Response Codes

200 OK: The request was successful and the response includes the Order data as payload. 304 Not Modified: The request wasn’t modified since it was last loaded. 401 Request Not Authorized: The request isn’t authorized.

## Discussion

Discussion The device uses this endpoint for both initial and subsequent attempts to retrieve an order. Make sure you support standard HTTP caching on this endpoint.

## See Also

### Essentials

- [Creating the source for an order](walletorders/creating-the-source-for-an-order.md)
- [Building a distributable order package](walletorders/building-a-distributable-order-package.md)
- [Retrieve the registrations for a device](walletorders/retrieve-the-registrations-for-a-device.md)
- [Order](walletorders/order.md)
- [Example Order Packages](walletorders/example-order-packages.md)
