INPUT_OBJECT

CreateVendorItemMutationInput

The input object that defines the fields for the createVendorItem mutation.

link GraphQL Schema definition

  • input CreateVendorItemMutationInput {
  • # A descriptive name.
  • name: String!
  • # The ID of the vendor that sells this item
  • vendor_id: Int64Bit
  • # Archived vendor items may not be used for creating new purchase orders or
  • # product requests.
  • archived: Boolean
  • # The type of entity that is referred to by this vendor item.
  • vendoritemable_type: VendoritemableType!
  • # The ID of the entity that is referred to by this vendor item.
  • vendoritemable_id: Int64Bit!
  • # Part number used by the vendor to identify this vendor item.
  • part_number: String
  • # The purchase price of this item from the vendor.
  • price: Int
  • # Number of inventory models that are included in a single unit of this vendors
  • # product.
  • quantity_per_unit: Int
  • # Flag for vendor items that should create a one-time service for retail sale to
  • # customers.
  • retail_item: Boolean
  • # The price of the one-time service created for this vendor item
  • retail_item_price: Int
  • # The ID of the one-time service created when this vendor item was created.
  • retail_item_service_id: Int64Bit
  • # A note about this entity.
  • note: NoteMutationInput
  • }

link Require by