# Objects / Host

# Host

**Object**
## HostChange

| Fields | Type | Description |
| --- | --- | --- |
| id | [ID!](/documentation/Types/UUID#UUID) | The Shopfront ID of the host change |
| clientId | *String!* | The ID of the host change provided by the host file |
| applyTo | *String!* | The type of item to apply this change to |
| match | [HostAppliableInterface](/documentation/Interfaces/Host-Appliable-Interface#HostAppliableInterface) | The item this change has matched to, if `null` it was unable to find a suitable match |
| rawMatch | [JSON!](/documentation/Types/JSON#JSON) | The raw matching details for the host change |
| change | [JSON!](/documentation/Types/JSON#JSON) | The details about how the change will be made |
| applyAt | [DateTime!](/documentation/Types/Date-Time#DateTime) | The earliest period of time to apply the change |
| receivedAt | [DateTime!](/documentation/Types/Date-Time#DateTime) | The time the change was received |



**Object**
## HostChangesConnection

| Fields | Type | Description |
| --- | --- | --- |
| edges | *[GetHostChangesHostChangeTypeEdge]* | A list of changes on the host connection |
| pageInfo | [PageInfo!](/documentation/Objects/Utils#PageInfo) | Information about the current page of the connection |



**Object**
## HostConnection

| Fields | Type | Description |
| --- | --- | --- |
| id | [ID!](/documentation/Types/UUID#UUID) | The ID of the host connection |
| type | [HostConnectionTypeEnum!](/documentation/Enums/Host#HostConnectionTypeEnum) | The type of host connection this is |
| outlet | [Outlet!](/documentation/Objects/Outlets#Outlet) | The Outlet this host file is connected to |
| priceSet | [PriceSet](/documentation/Objects/Price-Set#PriceSet) | The Price Set this host file is connected to |
| metadata | [JSON!](/documentation/Types/JSON#JSON) | The metadata related to this host file |
| settings | [JSON!](/documentation/Types/JSON#JSON) | The settings related to this host file |
| credentials | [JSON!](/documentation/Types/JSON#JSON) | The credentials related to this host connection |
| user | [User!](/documentation/Objects/User#User) | The user this host connection is associated with |



**Object**
## HostHistoryConnection

| Fields | Type | Description |
| --- | --- | --- |
| edges | *[GetHostChangesHostHistoryTypeEdge]* | A list of changes that have occurred from the host connection |
| pageInfo | [PageInfo!](/documentation/Objects/Utils#PageInfo) | Information about the current page of the connection |



**Object**
## HostHistory

| Fields | Type | Description |
| --- | --- | --- |
| change | [HostChange!](/documentation/Objects/Host#HostChange) | The Host Connection change that occurred |
| revisions | [[Revision!]!](/documentation/Objects/Revision#Revision) | The revisions that are related to the change |
| appliedTo | [HostAppliableInterface!](/documentation/Interfaces/Host-Appliable-Interface#HostAppliableInterface) | The item this change was applied to |
| actionedAt | [DateTime](/documentation/Types/Date-Time#DateTime) | The time the change was actioned |



**Object**
## HostIdentifierChangesConnection

| Fields | Type | Description |
| --- | --- | --- |
| edges | *[GetPendingHostIdentifiersHostChangeTypeEdge]* | A list of changes on the host connection |
| pageInfo | [PageInfo!](/documentation/Objects/Utils#PageInfo) | Information about the current page of the connection |



**Object**
## HostMappingItem

| Fields | Type | Description |
| --- | --- | --- |
| id | *String!* | The ID of the host item |
| name | *String!* | The name of the item from the host file |
| caseQuantity | *Float!* | The case quantity of the item from the host file |



**Object**
## HostMappingProduct

| Fields | Type | Description |
| --- | --- | --- |
| product | [Product!](/documentation/Objects/Products#Product) | The Shopfront ID of the host change |
| mapped | [[HostMappingItem]!](/documentation/Objects/Host#HostMappingItem) | The time the change was received |



**Object**
## HostRelatedItemDetail

| Fields | Type | Description |
| --- | --- | --- |
| key | *String!* | The identifier for the detail, this can be publicly visible |
| description | *String!* | The description for the detail, it can be a blank string |
| type | [HostFormattingTypeEnum!](/documentation/Enums/Host#HostFormattingTypeEnum) | The type of data this is |
| value | [JSON](/documentation/Types/JSON#JSON) | The value of the detail (this is to be formatted according to the `type`) |



**Object**
## HostRelatedItemSection

| Fields | Type | Description |
| --- | --- | --- |
| title | *String!* | The title for the section |
| description | *String!* | A long description for the section, whilst this can't be null it can be an empty string |
| details | [[HostRelatedItemDetail!]!](/documentation/Objects/Host#HostRelatedItemDetail) | The details relating to this section |



**Object**
## HostRelatedItem

| Fields | Type | Description |
| --- | --- | --- |
| id | *String!* | The ID of the item provided by the host connection |
| name | *String!* | The name of the item according to the host file |
| basicDetails | [[HostRelatedItemDetail!]!](/documentation/Objects/Host#HostRelatedItemDetail) | Basic details about the item, this list is arbitrary and up to each host file to provide |
| sections | [[HostRelatedItemSection!]!](/documentation/Objects/Host#HostRelatedItemSection) | Different arbitrary sections returned from the host file describing the item |