Contents

Retrieve the registrations for a device

Retrieves the identifiers of the orders that the device registered for.

URL

GET https://your-web-service.com/v1/devices/{deviceIdentifier}/registrations/{orderTypeIdentifier}?ordersModifiedSince={lastModified}

Path Parameters

NameTypeDescription
orderTypeIdentifier Requiredstring

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

deviceIdentifier Requiredstring

A unique identifier used to recognize and authenticate the device.

Query Parameters

NameTypeDescription
lastModified Optionalstring

The value of the lastModified key from the response to a previous request. This value limits the results of the current request to the orders modified since the previous request.

Response Codes

StatusReasonTypeDescription
200Matching Orders
Content-Type: application/json
OrderIdentifiers

The request was successful and the response includes the identifiers for the matching orders.

204No Matching Orders

There are no matching orders.

See Also

Essentials