Queries
supplier
Retrieves an item by its ID.
QUERY
supplier(id: ID!): SupplierArguments
id
ID!
required
Returns
Attributes
Arguments
LastSessionId
String
_AttributedPartsCount
Int
Optimized count of attributedParts.
_AttributedUsersCount
Int
Optimized count of attributedUsers.
_AttributesCount
Int
Optimized count of attributes.
_CommentsCount
Int
Optimized count of comments.
_LabelsCount
Int
Optimized count of labels.
_PartsInventoriesCount
Int
Optimized count of partsInventories.
_PlanItemsCount
Int
Optimized count of planItems.
_PurchaseOrdersCount
Int
Optimized count of purchaseOrders.
_SupplierPartsCount
Int
Optimized count of supplierParts.
_created
_etag
String
_updated
address
String
attributedParts
Arguments
attributedUsers
Arguments
attributes
comments
[Comment]
contactName
String
createdBy
User associated with creating related attribute. Returns: relationship object
Arguments
filters
createdByApiClient
createdById
Int!
User id that created this object. Returns: int of user_id
description
String
email
String
entity
entityId
Int!
fileAttachments
id
Int!
labels
[Label]
lastUpdatedByApiClient
name
String!
partsInventories
phoneNumber
String
planItems
[PlanItem]
Arguments
filters
prettyStr
String
purchaseOrders
Arguments
filters
supplierParts
Arguments
filters
updatedBy
User associated with updating related attribute. Returns: relationship object
Arguments
filters
updatedById
Int!
User id that updated this object. Returns: int of user_id
Query
query Supplier($id: ID!) {
supplier(id: $id) {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}Variables
{
"id": "id"
}Response
{
"data": {
"supplier": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
}Was this page helpful?
⌘I
Query
query Supplier($id: ID!) {
supplier(id: $id) {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}Variables
{
"id": "id"
}Response
{
"data": {
"supplier": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
}