Download OpenAPI specification:
This is a Hofy API
Information about asset location changed
| type | string Value: "asset.location-updated.v1" |
object (AssetLocationChanged) |
{- "type": "asset.location-updated.v1",
- "message": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "serialNumber": "string",
- "grade": "new",
- "ownership": {
- "name": "string",
- "ownership": "hofy"
}, - "status": "active",
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}, - "from": {
- "assignedUser": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "assignedWarehouse": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "name": "string",
- "owner": {
- "name": "string",
- "ownership": "hofy"
}, - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "location": "with_user"
}, - "to": {
- "assignedUser": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "assignedWarehouse": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "name": "string",
- "owner": {
- "name": "string",
- "ownership": "hofy"
}, - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "location": "with_user"
}
}
}Information about asset location changed
| type | string Value: "asset.created.v1" |
object (Asset) |
{- "type": "asset.created.v1",
- "message": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "assignedUser": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "assignedWarehouse": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "name": "string",
- "owner": {
- "name": "string",
- "ownership": "hofy"
}, - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "location": "with_user",
- "serialNumber": "string",
- "grade": "new",
- "ownership": {
- "name": "string",
- "ownership": "hofy"
}, - "status": "active",
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}
}
}Information about asset location changed
| type | string Value: "asset.archived.v1" |
object (Asset) |
{- "type": "asset.archived.v1",
- "message": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "assignedUser": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "assignedWarehouse": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "name": "string",
- "owner": {
- "name": "string",
- "ownership": "hofy"
}, - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "location": "with_user",
- "serialNumber": "string",
- "grade": "new",
- "ownership": {
- "name": "string",
- "ownership": "hofy"
}, - "status": "active",
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}
}
}{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "assignedUser": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "assignedWarehouse": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "name": "string",
- "owner": {
- "name": "string",
- "ownership": "hofy"
}, - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "location": "with_user",
- "serialNumber": "string",
- "grade": "new",
- "ownership": {
- "name": "string",
- "ownership": "hofy"
}, - "status": "active",
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter",
- "specifications": [
- {
- "name": "string",
- "value": "string"
}
]
}
}Returns a paginated list of assets
| page | integer Page number |
| pageSize | integer Page size |
| userId | string (UUID) Examples: userId=123e4567-e89b-12d3-a456-426614174000 User id |
| category | string (ProductCategory) Enum: "adapter" "cable" "chair" "charger" "desk" "desk_riser" "desk_tidy" "desktop" "docking_station" "dongle" "footrest" "headset" "keyboard" "laptop" "laptop_stand" "mice_trackpad" "mobile_device" "monitor" "monitor_arm" "other" "printer" "shredder" "standing_mat" "tablet" "task_light" "webcam" "wifi_range_extender" "welcome_pack" Product category |
| location | string (AssetLocation) Enum: "with_user" "at_warehouse" "with_courier" "write_off" Item location |
{- "hasNext": true,
- "pageSize": 0,
- "page": 0,
- "content": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "assignedUser": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "assignedWarehouse": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "name": "string",
- "owner": {
- "name": "string",
- "ownership": "hofy"
}, - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "location": "with_user",
- "serialNumber": "string",
- "grade": "new",
- "ownership": {
- "name": "string",
- "ownership": "hofy"
}, - "status": "active",
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}
}
]
}Returns a paginated list of assets
| page | integer Page number |
| pageSize | integer Page size |
| previousUserId | string (UUID) Examples: previousUserId=123e4567-e89b-12d3-a456-426614174000 Previous user id |
| category | string (ProductCategory) Enum: "adapter" "cable" "chair" "charger" "desk" "desk_riser" "desk_tidy" "desktop" "docking_station" "dongle" "footrest" "headset" "keyboard" "laptop" "laptop_stand" "mice_trackpad" "mobile_device" "monitor" "monitor_arm" "other" "printer" "shredder" "standing_mat" "tablet" "task_light" "webcam" "wifi_range_extender" "welcome_pack" Product category |
{- "hasNext": true,
- "pageSize": 0,
- "page": 0,
- "content": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "assignedUser": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "assignedWarehouse": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "name": "string",
- "owner": {
- "name": "string",
- "ownership": "hofy"
}, - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "location": "with_user",
- "serialNumber": "string",
- "grade": "new",
- "ownership": {
- "name": "string",
- "ownership": "hofy"
}, - "status": "active",
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}
}
]
}Information about user creation
| type | string Value: "user.created.v1" |
object (UserRef) |
{- "type": "user.created.v1",
- "message": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}
}Information about user creation
| type | string Value: "user.updated.v1" |
object (UserRef) |
{- "type": "user.updated.v1",
- "message": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}
}Information about user creation
| type | string Value: "user.offboarded.v1" |
object (UserRef) |
{- "type": "user.offboarded.v1",
- "message": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}
}Returns a paginated list of users
| page | integer Page number |
| pageSize | integer Page size |
{- "hasNext": true,
- "pageSize": 0,
- "page": 0,
- "content": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}, - "team": {
- "name": "string",
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "isOffboarded": true
}
]
}{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}, - "team": {
- "name": "string",
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "isOffboarded": true
}Information about order creation
| type | string Value: "order.created.v1" |
object (Order) |
{- "type": "order.created.v1",
- "message": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter",
- "status": "requested",
- "user": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "items": [
- {
- "expressDeliveryRequested": true,
- "isApproved": true,
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}
}
]
}
}Information about order updates
| type | string Value: "order.updated.v1" |
object (Order) |
{- "type": "order.updated.v1",
- "message": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter",
- "status": "requested",
- "user": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "items": [
- {
- "expressDeliveryRequested": true,
- "isApproved": true,
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}
}
]
}
}Returns a paginated list of orders
| page | integer Page number |
| pageSize | integer Page size |
{- "hasNext": true,
- "pageSize": 0,
- "page": 0,
- "content": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter",
- "status": "requested",
- "user": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "items": [
- {
- "expressDeliveryRequested": true,
- "isApproved": true,
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}
}
]
}
]
}{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter",
- "status": "requested",
- "user": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "publicId": "ITM-FAFC118",
- "firstName": "string",
- "lastName": "string",
- "emails": [
- "string"
], - "address": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}, - "items": [
- {
- "expressDeliveryRequested": true,
- "isApproved": true,
- "product": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "string",
- "brand": "string",
- "category": "adapter"
}
}
], - "deliveryAddress": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "delivery",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "postCode": "string",
- "state": "string",
- "country": "AD",
- "taxIdNumber": "string",
- "passportNumber": "string",
- "dateOfBirth": "string",
- "phoneNumber": "string",
- "deliveryInstructions": "string"
}
}