ZRM Docs
API ReferencePurchase Order

purchaseOrder.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
vendorIdstringYesID of the associated vendor
poNumberstringYesPo number
projectIdstringNoID of the associated project
workOrderIdstringNoID of the associated work order
orderDatestring.date-timeNoOrder date
expectedDeliveryDatestring.date-timeNoExpected delivery date
subtotalunknownNoSubtotal
taxAmountunknownNoTax amount
totalAmountunknownNoTotal amount
shippingAddressstringNoShipping address
notesstringNoNotes
poTypeenum(standard, blanket, drop_ship, stock)Yes"standard"Po type
trackingNumberunknownNoTracking number
shippingMethodunknownNoShipping method
shippingCostunknownNoShipping cost
internalNotesunknownNoInternal notes
warehouseIdunknownNoID of the associated warehouse
sourceQuoteIdunknownNoID of the associated source quote

Example

{
  "vendorId": "550e8400-e29b-41d4-a716-446655440000",
  "poNumber": "example",
  "projectId": "550e8400-e29b-41d4-a716-446655440000",
  "workOrderId": "550e8400-e29b-41d4-a716-446655440000",
  "orderDate": "2024-01-15T09:00:00.000Z",
  "expectedDeliveryDate": "2024-01-15T09:00:00.000Z",
  "poType": "standard"
}

On this page