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
  • # The ID of the tax that should be applied to each item sold by this vendor.
  • tax_id: Int64Bit
  • # A note about this entity.
  • note: NoteMutationInput
  • # Setting this value to `true` will set `external_message` to null.
  • unset_external_message: Boolean
  • # Setting this value to `true` will set `tax_id` to null.
  • unset_tax_id: Boolean
  • }

link Require by