Retrieve order consumer references
GET /v2/orders/<orderRef>/consumers
Retrieves a list of order consumers for an order.
In the response, in items.href
, the order consumer reference is the string that follows the final slash:
"href": "<baseURL>/v2/orderConsumers/<orderConsumerRef>"
You use the order consumer reference to retrieve the order consumer.
RequestResponse
curl -X GET '<baseURL>/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2/consumers' \
-u '<username>:<password>' \
-H 'Accept: application/json'
RequestResponse
{
"href": "<baseURL>/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2/consumers?offset=0&limit=10",
"offset": 0,
"limit": 10,
"items": [{
"href": "<baseURL>/v2/orderConsumers/FECBB7ED-6DFE-4E8C-85A9-B894B17EF4F3"
}]
}