INPUT_OBJECT

UpdatePurchaseOrderMutationInput

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

link GraphQL Schema definition

  • input UpdatePurchaseOrderMutationInput {
  • # The source of the shipping address for a purchase order.
  • inventory_location_id: Int64Bit
  • # A unique number identifying an approved purchase order.
  • order_number: Int
  • # The current status of this purchase order.
  • status: PurchaseOrderStatus
  • # The ID of the company that will be used in the header of this purchase order.
  • company_id: Int64Bit
  • # A message to be included on purchase orders when sent to vendors.
  • external_message: String
  • # The order items to attach to a new purchase order.
  • purchase_order_items: [UpdatePurchaseOrderOrderItemsMutationInput]
  • # The ID of an order group related to this purchase order.
  • order_group_id: Int64Bit
  • # The name of a vendor.
  • vendor_name: String
  • # The terms of payment for deliveries from this vendor.
  • payment_terms: PaymentTerm
  • # The currency used for all transactions with this vendor.
  • currency: Currency
  • # Whether or not the purchase order has been marked as being paid.
  • is_paid: Boolean
  • # A note about this entity.
  • note: NoteMutationInput
  • # A list of file IDs to be associated with this object. These must first have been
  • # uploaded to the /files endpoint and must be currently unassociated.
  • files: [AssociateFileMutationInput]
  • # Setting this value to `true` will set `external_message` to null.
  • unset_external_message: Boolean
  • }

link Require by