Contents

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

NameTypeDescription
orderIdentifier Requiredstring

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

orderTypeIdentifier Requiredstring

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

Header Parameters

NameTypeDescription
Authorization Requiredstring

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 Optionalstring

If available, the most recent If-Modified value.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/vnd.apple.finance.order

The request was successful and the response includes the Order data as payload.

304Not Modified

The request wasn’t modified since it was last loaded.

401Request Not Authorized

The request isn’t authorized.

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