List the tracked cylinders on an order
const url = 'https://example.com/orders/019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8f/cylinders';const options = { method: 'GET', headers: {cookie: '__Host-bottle.session_token=<__Host-bottle.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/orders/019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8f/cylinders \ --cookie __Host-bottle.session_token=<__Host-bottle.session_token>Which cylinders went out (delivered) and came back (collected) on this order, oldest first, each with its serial number and the details that change at each fill (batch number, fill date, expiry) as they were at the time. A delivery undone puts the cylinder back (undone), after the line that delivered it. Empty when nobody recorded which cylinders went out or came back on this order.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”UUID v7
Example
019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8fUUID v7
Responses
Section titled “Responses”The cylinders
object
object
UUID v7
UUID v7
Delivered: left with the customer. collected: taken back from the customer. undone: put back because the delivery was undone. moved: any other move on the order.
object
UUID v7
Example
{ "items": [ { "id": "019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8f", "assetId": "019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8f", "side": "delivered", "details": [ { "definitionId": "019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8f" } ] } ]}Not signed in
object
Example
{ "error": "not_found", "message": "Customer not found"}Not an owner or admin, missing scope, or the plan does not open Assets
object
Example
{ "error": "not_found", "message": "Customer not found"}No such order, or Assets is not available to this business
object
Example
{ "error": "not_found", "message": "Customer not found"}Assets is switched off
object
Example
{ "error": "not_found", "message": "Customer not found"}