OBJECT
Vendor
A third party vendor of inventory models.
link GraphQL Schema definition
- type Vendor implements AddressableInterface, ContactableInterface, EmailableInterface, NoteableInterface, FileableInterface, LoggableInterface, AccessloggableInterface {
- # The ID of the entity.
- Int64Bit! :
- # An ID that uniquely identifies this entity across the whole Sonar system.
- ID! :
- # The date and time this entity was created.
- Datetime! :
- # The last date and time this entity was modified.
- Datetime! :
- # A string that shows the version of this entity. It will be incremented whenever
- # the entity is modified.
- String! :
- # Archived vendors may not be used for creating new Purchase Orders or Product
- # Requests.
- Boolean! :
- # Determines if approved purchase orders for this vendor should automatically
- # dispatch an email to the vendor.
- Boolean! :
- # The currency used for all transactions with this vendor.
- Currency! :
- # A descriptive name.
- String! :
- # The terms of payment for deliveries from this vendor.
- PaymentTerm! :
- # A geographical address.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # address_status_id: Address status ID.
- # addressable_id: The ID of the entity that owns this address.
- # addressable_type: The type of entity that owns this address.
- # anchor_address_id: The address ID for the Anchor address
- # attainable_download_speed: The attainable download speed in
- # kilobits per second.
- # attainable_upload_speed: The attainable upload speed in
- # kilobits per second.
- # avalara_pcode: Avalara PCode.
- # billing_default_id: The ID of a BillingDefault.
- # census_year: The year used for calculating fips and census
- # tract information.
- # city: A city.
- # country: A two character country code.
- # county: A US county. Only used for US addresses.
- # fips: Only used in the USA, this is the census tract
- # information used for calculating things like FCC Form 477.
- # is_anchor: Whether or not this address is an anchor
- # latitude: A decimal latitude.
- # line1: Address line 1.
- # line2: Address line 2.
- # longitude: A decimal longitude.
- # serviceable: Whether or not the address is serviceable, and can
- # be used for new accounts.
- # subdivision: A state, province, or other country subdivision.
- # timezone: The timezone you want times in the system displayed
- # in.
- # type: The type.
- # zip: A ZIP or postal code.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int64Bit, :
- Int64Bit, :
- AddressableType, :
- Int64Bit, :
- Int, :
- Int, :
- String, :
- Int64Bit, :
- Int, :
- String, :
- Country, :
- UsCounty, :
- String, :
- Boolean, :
- Latitude, :
- String, :
- String, :
- Longitude, :
- Boolean, :
- Subdivision, :
- Timezone, :
- AddressType, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AddressConnection!
- # A contact person.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # contactable_id: The ID of the entity that owns this contact.
- # contactable_type: The type of entity that owns this contact.
- # email_address: An email address.
- # language: A supported language.
- # marketing_opt_in: Whether or not marketing messages accepted.
- # name: A descriptive name.
- # primary: Whether or not this is the primary type of entity.
- # role: The role of the contact, e.g. "CEO" or "Network
- # Engineer".
- # username: A username, used for authentication.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int64Bit, :
- ContactableType, :
- EmailAddress, :
- Language, :
- Boolean, :
- String, :
- Boolean, :
- String, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): ContactConnection!
- # An email.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # body: The body.
- # email_address: An email address.
- # emailable_id: The ID of the entity that this email was sent to.
- # emailable_type: The type of entity that this email was sent to.
- # reject_reason: If rejected, the reason for rejection.
- # status: The status.
- # subject: The subject.
- # to_name: The name of the recipient.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- EmailAddress, :
- Int64Bit, :
- EmailableType, :
- String, :
- EmailStatus, :
- String, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): EmailConnection!
- # A note.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # message: The message.
- # noteable_id: The ID of the entity that owns this note.
- # noteable_type: The type of entity that owns this note.
- # priority: The priority of this item.
- # user_id: The ID of a User.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- Int64Bit, :
- NoteableType, :
- NotePriority, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): NoteConnection!
- # A file.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # description: A human readable description.
- # file_size_in_bytes: The file size, in bytes.
- # fileable_id: The ID of the entity that owns this file.
- # fileable_type: The type of entity that owns this file.
- # filename: The file name.
- # mime_type: The MIME type of the file.
- # primary_image: An image file may be set to the primary image.
- # This will be used as the displayed image for the object that this file is
- # associated to throughout Sonar.
- # user_id: The ID of a User.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- String, :
- Int64Bit, :
- Int64Bit, :
- FileableType, :
- String, :
- String, :
- Boolean, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): FileConnection!
- # A log entry.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # current: Current data.
- # legacy: Whether or not this log was transferred from a Sonar v1
- # instance. If so, the formatting will not match current version logs.
- # legacy_title: A title which is only populated on logs that were
- # imported from Sonar v1.
- # level: The severity level.
- # loggable_id: The ID of the entity that this log is attached to.
- # loggable_type: The type of entity that this log is attached to.
- # logged_entity_id: The entity ID that triggered the log.
- # logged_entity_type: The entity that triggered the log.
- # message: The message.
- # previous: Previous data.
- # relation_data: Data from objects related to this change.
- # type: The type.
- # user_id: The ID of a User.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- Boolean, :
- String, :
- LogLevel, :
- Int64Bit, :
- String, :
- Int64Bit, :
- String, :
- Text, :
- Text, :
- Text, :
- LogType, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): LogConnection!
- # An access log history on an entity.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # access_datetime: The date and time that this entity was
- # accessed.
- # accessloggable_id: The ID of the entity that this access log
- # belongs to.
- # accessloggable_type: The entity that this access log belongs
- # to.
- # entity_id: The ID of the entity that this access log belongs
- # to.
- # entity_name: The entity that this access log belongs to.
- # user_id: The ID of the user that accessed this entity.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Datetime, :
- Int64Bit, :
- String, :
- Int64Bit, :
- String, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AccessLogConnection!
- # An item that can be purchased from a particular vendor.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # archived: Archived vendor items may not be used for creating
- # new purchase orders or product requests.
- # name: A descriptive name.
- # part_number: Part number used by the vendor to identify this
- # vendor item.
- # price: The purchase price of this item from the vendor.
- # quantity_per_unit: Number of inventory models that are included
- # in a single unit of this vendors product.
- # retail_item: Flag for vendor items that should create a
- # one-time service for retail sale to customers.
- # retail_item_price: The price of the one-time service created
- # for this vendor item
- # retail_item_service_id: The ID of the one-time service created
- # when this vendor item was created.
- # vendor_id: The ID of the vendor that sells this item
- # vendoritemable_id: The ID of the entity that is referred to by
- # this vendor item.
- # vendoritemable_type: The type of entity that is referred to by
- # this vendor item.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- String, :
- String, :
- Int, :
- Int, :
- Boolean, :
- Int, :
- Int64Bit, :
- Int64Bit, :
- Int64Bit, :
- VendoritemableType, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): VendorItemConnection!
- # A purchase order for items from a third party vendor.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # approved_by_user_id: The ID of the user that approved this
- # purchase order.
- # canceled_at: The date/time that this purchase order was
- # cancelled.
- # canceled_by_user_id: The ID of the user that cancelled this
- # purchase order.
- # company_id: The ID of the company that will be used in the
- # header of this purchase order.
- # created_by_user_id: The ID of the user that created this
- # purchase order.
- # currency: The currency the system displays money in.
- # external_message: A message to be included on purchase orders
- # when sent to vendors.
- # inventory_location_id: The source of the shipping address for a
- # purchase order.
- # is_paid: Whether or not the purchase order has been marked as
- # being paid.
- # last_status_change: The date and time that the inventory item
- # status last changed.
- # order_group_id: The ID of an order group related to this
- # purchase order.
- # order_number: A unique number identifying an approved purchase
- # order.
- # payment_terms: The terms of payment for deliveries from this
- # vendor.
- # status: The current status of this purchase order.
- # vendor_id: The ID of a vendor.
- # vendor_name: The name of a vendor.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int64Bit, :
- Datetime, :
- Int64Bit, :
- Int64Bit, :
- Int64Bit, :
- Currency, :
- String, :
- Int64Bit, :
- Boolean, :
- Datetime, :
- Int64Bit, :
- Int, :
- PaymentTerm, :
- PurchaseOrderStatus, :
- Int64Bit, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): PurchaseOrderConnection!
- # A tax.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # application: Whether this `Tax` is applied as a percentage of
- # the `Service` charge, or as a flat rate.
- # name: A descriptive name.
- # rate: The rate for a tax. For a percentage based tax, this is a
- # percentage. For a flat tax, it is a currency value in the smallest currency unit
- # (e.g. cents, pence, pesos.)
- # type: Whether this tax is applied based on the account being in
- # a specific geography, or whether it is applied to all accounts.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- TaxApplication, :
- String, :
- Float, :
- TaxType, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): TaxConnection!
- }