Returns a specific inventory
GET
/inventories/{id}
const url = 'https://api.waku-robotics.com/v1/inventories/example';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
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://api.waku-robotics.com/v1/inventories/example \ --header 'Authorization: <Authorization>'Get an inventory by ID
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Inventory ID
Responses
Section titled “Responses”OK
Media typeapplication/json
object
action
required
string
created_at
required
string
executed_at
string
id
required
string
note
string
package_number
string
part_id
required
string
quantity
required
integer
updated_at
required
string
work_order_id
string
Example generated
{ "action": "example", "created_at": "example", "executed_at": "example", "id": "example", "note": "example", "package_number": "example", "part_id": "example", "quantity": 1, "updated_at": "example", "work_order_id": "example"}default
Section titled “default”Media typeapplication/json
object
code
integer
message
string
Example generated
{ "code": 1, "message": "example"}
