Skip to main content

Purchase Orders

Manage purchase orders for inventory procurement.

Base URL: /api/v1/partner/purchaseorders

Endpoints Overview

MethodEndpointDescription
POST/Create Purchase Order
POST/preparePrepare Purchase Order
PUT/{purchaseOrderId}Update Purchase Order
GET/{purchaseOrderId}Get Purchase Order by id
GET/listGet purchase order list
GET/datesGet purchase order list

Create Purchase Order

POST /api/v1/partner/purchaseorders

Create a new purchase order. Required fields include currentEmployeeId, poPaymentTerms, paymentType, and poProductAddRequestList (the line items). The employee ID is used for audit attribution.

Request Body

FieldTypeRequiredDescription
vendorIdstringNoVendor identifier
notesstringNoNotes
poPaymentTermsstringYesPo Payment Terms
paymentTypestringYesPayment Type
poProductAddRequestListPOProductAddRequest[]YesPo Product Add Request List
customTermDatelongNoCustom Term timestamp (epoch ms)
referencestringNoReference
discountnumberNoDiscount
feesnumberNoFees
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
licenseIdstringNoLicense identifier
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
inventoryIdstringNoInventory identifier
complianceManifestNumberstringNoCompliance Manifest Number
costSourcestringNoCost Source
currentEmployeeIdstringYesCurrent Employee identifier

Response

Returns a PurchaseOrder object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
displayNamestringNoDisplay Name
paymentTypestringNoPayment Type
poNumberstringNoPo Number
parentPOIdstringNoParent P O identifier
parentPONumberstringNoParent P O Number
approvedDatelongNoApproved timestamp (epoch ms)
approvedBystringNoApproved By
approvedSignatureCompanyAssetNoApproved Signature
poPaymentTermsstringNoPo Payment Terms. One of: NET_30, COD, NET_45, NET_60, NET_15, NET_7, CUSTOM_DATE
purchaseOrderStatusstringNoPurchase Order Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment (default: InProgress)
poPaymentOptionsstringNoPo Payment Options. One of: CASH, CREDIT, DEBIT, COD, ACH_TRANSFER, CHEQUE, BLAZECAPITAL, OTHER
companyAssetListCompanyAsset[]NoCompany Asset List
poProductRequestListPOProductRequest[]NoPo Product Request List
vendorIdstringNoVendor identifier
receivedDatelongNoReceived timestamp (epoch ms)
deliveredBystringNoDelivered By
receivedByEmployeeIdstringNoReceived By Employee identifier
createdByEmployeeIdstringNoCreated By Employee identifier
completedByEmployeeIdstringNoCompleted By Employee identifier
poTypestringNoPo Type. One of: Normal, BackOrder (default: Normal)
completedDatelongNoCompleted timestamp (epoch ms)
notesstringNoNotes
declineReasonstringNoDecline Reason
declineDatelongNoDecline timestamp (epoch ms)
totalCostnumberNoTotal Cost
amountPaidnumberNoAmount Paid
submitForApprovalDatelongNoSubmit For Approval timestamp (epoch ms)
archivebooleanNoArchive (default: false)
archiveDatelongNoArchive timestamp (epoch ms)
customTermDatelongNoCustom Term timestamp (epoch ms)
managerReceiveSignatureCompanyAssetNoManager Receive Signature
referencestringNoReference
qbPurchaseOrderRefstringNoQb Purchase Order Ref
grandTotalnumberNoGrand Total
totalTaxnumberNoTotal Tax
totalPreCalcTaxnumberNoTotal Pre Calc Tax
totalCalcTaxnumberNoTotal Calc Tax
taxResultTaxResultNoTax Result
customerTypestringNoCustomer Type. One of: VENDOR, CUSTOMER_COMPANY (default: VENDOR)
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
deliveryChargenumberNoDelivery Charge
enableDeliveryChargebooleanNoEnable Delivery Charge (default: false)
poQrCodeAssetCompanyAssetNoPo Qr Code Asset
poQrCodeUrlstringNoPo Qr Code Url
flowerSourceTypestringNoFlower Source Type. One of: CULTIVATOR_DIRECT, DISTRIBUTOR
shipmentBillIdstringNoShipment Bill identifier
discountnumberNoDiscount
feesnumberNoFees
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
dueDatelongNoDue timestamp (epoch ms)
licenseIdstringNoLicense identifier
manualClosebooleanNoManual Close
complianceManifestNumberstringNoCompliance Manifest Number
complianceIdstringNoCompliance identifier
totalDiscountnumberNoTotal Discount
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
purchaseOrderPreviousStatusstringNoPurchase Order Previous Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment
assignedShipmentsShipment[]NoAssigned Shipments
inventoryIdstringNoInventory identifier
costSourcestringNoCost Source

Prepare Purchase Order

POST /api/v1/partner/purchaseorders/prepare

Preview a purchase order without saving it. Takes the same input as the create endpoint but returns a computed PO with calculated totals, taxes, and fees without persisting to the database. Use this to show a preview before final submission.

Request Body

FieldTypeRequiredDescription
vendorIdstringNoVendor identifier
notesstringNoNotes
poPaymentTermsstringYesPo Payment Terms
paymentTypestringYesPayment Type
poProductAddRequestListPOProductAddRequest[]YesPo Product Add Request List
customTermDatelongNoCustom Term timestamp (epoch ms)
referencestringNoReference
discountnumberNoDiscount
feesnumberNoFees
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
licenseIdstringNoLicense identifier
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
inventoryIdstringNoInventory identifier
complianceManifestNumberstringNoCompliance Manifest Number
costSourcestringNoCost Source
currentEmployeeIdstringYesCurrent Employee identifier

Response

Returns a PurchaseOrder object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
displayNamestringNoDisplay Name
paymentTypestringNoPayment Type
poNumberstringNoPo Number
parentPOIdstringNoParent P O identifier
parentPONumberstringNoParent P O Number
approvedDatelongNoApproved timestamp (epoch ms)
approvedBystringNoApproved By
approvedSignatureCompanyAssetNoApproved Signature
poPaymentTermsstringNoPo Payment Terms. One of: NET_30, COD, NET_45, NET_60, NET_15, NET_7, CUSTOM_DATE
purchaseOrderStatusstringNoPurchase Order Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment (default: InProgress)
poPaymentOptionsstringNoPo Payment Options. One of: CASH, CREDIT, DEBIT, COD, ACH_TRANSFER, CHEQUE, BLAZECAPITAL, OTHER
companyAssetListCompanyAsset[]NoCompany Asset List
poProductRequestListPOProductRequest[]NoPo Product Request List
vendorIdstringNoVendor identifier
receivedDatelongNoReceived timestamp (epoch ms)
deliveredBystringNoDelivered By
receivedByEmployeeIdstringNoReceived By Employee identifier
createdByEmployeeIdstringNoCreated By Employee identifier
completedByEmployeeIdstringNoCompleted By Employee identifier
poTypestringNoPo Type. One of: Normal, BackOrder (default: Normal)
completedDatelongNoCompleted timestamp (epoch ms)
notesstringNoNotes
declineReasonstringNoDecline Reason
declineDatelongNoDecline timestamp (epoch ms)
totalCostnumberNoTotal Cost
amountPaidnumberNoAmount Paid
submitForApprovalDatelongNoSubmit For Approval timestamp (epoch ms)
archivebooleanNoArchive (default: false)
archiveDatelongNoArchive timestamp (epoch ms)
customTermDatelongNoCustom Term timestamp (epoch ms)
managerReceiveSignatureCompanyAssetNoManager Receive Signature
referencestringNoReference
qbPurchaseOrderRefstringNoQb Purchase Order Ref
grandTotalnumberNoGrand Total
totalTaxnumberNoTotal Tax
totalPreCalcTaxnumberNoTotal Pre Calc Tax
totalCalcTaxnumberNoTotal Calc Tax
taxResultTaxResultNoTax Result
customerTypestringNoCustomer Type. One of: VENDOR, CUSTOMER_COMPANY (default: VENDOR)
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
deliveryChargenumberNoDelivery Charge
enableDeliveryChargebooleanNoEnable Delivery Charge (default: false)
poQrCodeAssetCompanyAssetNoPo Qr Code Asset
poQrCodeUrlstringNoPo Qr Code Url
flowerSourceTypestringNoFlower Source Type. One of: CULTIVATOR_DIRECT, DISTRIBUTOR
shipmentBillIdstringNoShipment Bill identifier
discountnumberNoDiscount
feesnumberNoFees
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
dueDatelongNoDue timestamp (epoch ms)
licenseIdstringNoLicense identifier
manualClosebooleanNoManual Close
complianceManifestNumberstringNoCompliance Manifest Number
complianceIdstringNoCompliance identifier
totalDiscountnumberNoTotal Discount
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
purchaseOrderPreviousStatusstringNoPurchase Order Previous Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment
assignedShipmentsShipment[]NoAssigned Shipments
inventoryIdstringNoInventory identifier
costSourcestringNoCost Source

Update Purchase Order

PUT /api/v1/partner/purchaseorders/{purchaseOrderId}

Update an existing purchase order. The request body must include currentEmployeeId along with the updated PO data.

Path Parameters

ParameterTypeDescription
purchaseOrderIdstringThe purchase order i d

Request Body

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
displayNamestringNoDisplay Name
paymentTypestringNoPayment Type
poNumberstringNoPo Number
parentPOIdstringNoParent P O identifier
parentPONumberstringNoParent P O Number
approvedDatelongNoApproved timestamp (epoch ms)
approvedBystringNoApproved By
approvedSignatureCompanyAssetNoApproved Signature
poPaymentTermsstringNoPo Payment Terms. One of: NET_30, COD, NET_45, NET_60, NET_15, NET_7, CUSTOM_DATE
purchaseOrderStatusstringNoPurchase Order Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment (default: InProgress)
poPaymentOptionsstringNoPo Payment Options. One of: CASH, CREDIT, DEBIT, COD, ACH_TRANSFER, CHEQUE, BLAZECAPITAL, OTHER
companyAssetListCompanyAsset[]NoCompany Asset List
poProductRequestListPOProductRequest[]NoPo Product Request List
vendorIdstringNoVendor identifier
receivedDatelongNoReceived timestamp (epoch ms)
deliveredBystringNoDelivered By
receivedByEmployeeIdstringNoReceived By Employee identifier
createdByEmployeeIdstringNoCreated By Employee identifier
completedByEmployeeIdstringNoCompleted By Employee identifier
poTypestringNoPo Type. One of: Normal, BackOrder (default: Normal)
completedDatelongNoCompleted timestamp (epoch ms)
notesstringNoNotes
declineReasonstringNoDecline Reason
declineDatelongNoDecline timestamp (epoch ms)
totalCostnumberNoTotal Cost
amountPaidnumberNoAmount Paid
submitForApprovalDatelongNoSubmit For Approval timestamp (epoch ms)
archivebooleanNoArchive (default: false)
archiveDatelongNoArchive timestamp (epoch ms)
customTermDatelongNoCustom Term timestamp (epoch ms)
managerReceiveSignatureCompanyAssetNoManager Receive Signature
referencestringNoReference
qbPurchaseOrderRefstringNoQb Purchase Order Ref
grandTotalnumberNoGrand Total
totalTaxnumberNoTotal Tax
totalPreCalcTaxnumberNoTotal Pre Calc Tax
totalCalcTaxnumberNoTotal Calc Tax
taxResultTaxResultNoTax Result
customerTypestringNoCustomer Type. One of: VENDOR, CUSTOMER_COMPANY (default: VENDOR)
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
deliveryChargenumberNoDelivery Charge
enableDeliveryChargebooleanNoEnable Delivery Charge (default: false)
poQrCodeAssetCompanyAssetNoPo Qr Code Asset
poQrCodeUrlstringNoPo Qr Code Url
flowerSourceTypestringNoFlower Source Type. One of: CULTIVATOR_DIRECT, DISTRIBUTOR
shipmentBillIdstringNoShipment Bill identifier
discountnumberNoDiscount
feesnumberNoFees
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
dueDatelongNoDue timestamp (epoch ms)
licenseIdstringNoLicense identifier
manualClosebooleanNoManual Close
complianceManifestNumberstringNoCompliance Manifest Number
complianceIdstringNoCompliance identifier
totalDiscountnumberNoTotal Discount
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
purchaseOrderPreviousStatusstringNoPurchase Order Previous Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment
assignedShipmentsShipment[]NoAssigned Shipments
inventoryIdstringNoInventory identifier
costSourcestringNoCost Source
currentEmployeeIdstringYesCurrent Employee identifier

Response

Returns a PurchaseOrder object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
displayNamestringNoDisplay Name
paymentTypestringNoPayment Type
poNumberstringNoPo Number
parentPOIdstringNoParent P O identifier
parentPONumberstringNoParent P O Number
approvedDatelongNoApproved timestamp (epoch ms)
approvedBystringNoApproved By
approvedSignatureCompanyAssetNoApproved Signature
poPaymentTermsstringNoPo Payment Terms. One of: NET_30, COD, NET_45, NET_60, NET_15, NET_7, CUSTOM_DATE
purchaseOrderStatusstringNoPurchase Order Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment (default: InProgress)
poPaymentOptionsstringNoPo Payment Options. One of: CASH, CREDIT, DEBIT, COD, ACH_TRANSFER, CHEQUE, BLAZECAPITAL, OTHER
companyAssetListCompanyAsset[]NoCompany Asset List
poProductRequestListPOProductRequest[]NoPo Product Request List
vendorIdstringNoVendor identifier
receivedDatelongNoReceived timestamp (epoch ms)
deliveredBystringNoDelivered By
receivedByEmployeeIdstringNoReceived By Employee identifier
createdByEmployeeIdstringNoCreated By Employee identifier
completedByEmployeeIdstringNoCompleted By Employee identifier
poTypestringNoPo Type. One of: Normal, BackOrder (default: Normal)
completedDatelongNoCompleted timestamp (epoch ms)
notesstringNoNotes
declineReasonstringNoDecline Reason
declineDatelongNoDecline timestamp (epoch ms)
totalCostnumberNoTotal Cost
amountPaidnumberNoAmount Paid
submitForApprovalDatelongNoSubmit For Approval timestamp (epoch ms)
archivebooleanNoArchive (default: false)
archiveDatelongNoArchive timestamp (epoch ms)
customTermDatelongNoCustom Term timestamp (epoch ms)
managerReceiveSignatureCompanyAssetNoManager Receive Signature
referencestringNoReference
qbPurchaseOrderRefstringNoQb Purchase Order Ref
grandTotalnumberNoGrand Total
totalTaxnumberNoTotal Tax
totalPreCalcTaxnumberNoTotal Pre Calc Tax
totalCalcTaxnumberNoTotal Calc Tax
taxResultTaxResultNoTax Result
customerTypestringNoCustomer Type. One of: VENDOR, CUSTOMER_COMPANY (default: VENDOR)
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
deliveryChargenumberNoDelivery Charge
enableDeliveryChargebooleanNoEnable Delivery Charge (default: false)
poQrCodeAssetCompanyAssetNoPo Qr Code Asset
poQrCodeUrlstringNoPo Qr Code Url
flowerSourceTypestringNoFlower Source Type. One of: CULTIVATOR_DIRECT, DISTRIBUTOR
shipmentBillIdstringNoShipment Bill identifier
discountnumberNoDiscount
feesnumberNoFees
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
dueDatelongNoDue timestamp (epoch ms)
licenseIdstringNoLicense identifier
manualClosebooleanNoManual Close
complianceManifestNumberstringNoCompliance Manifest Number
complianceIdstringNoCompliance identifier
totalDiscountnumberNoTotal Discount
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
purchaseOrderPreviousStatusstringNoPurchase Order Previous Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment
assignedShipmentsShipment[]NoAssigned Shipments
inventoryIdstringNoInventory identifier
costSourcestringNoCost Source

Get Purchase Order by id

GET /api/v1/partner/purchaseorders/{purchaseOrderId}

Retrieve a single purchase order by ID. Returns enriched data including the resolved vendor, the approving employee, line item details, and the full activity log.

Path Parameters

ParameterTypeDescription
purchaseOrderIdstringThe purchase order i d

Response

Returns a PurchaseOrderItemResult object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
displayNamestringNoDisplay Name
paymentTypestringNoPayment Type
poNumberstringNoPo Number
parentPOIdstringNoParent P O identifier
parentPONumberstringNoParent P O Number
approvedDatelongNoApproved timestamp (epoch ms)
approvedBystringNoApproved By
approvedSignatureCompanyAssetNoApproved Signature
poPaymentTermsstringNoPo Payment Terms. One of: NET_30, COD, NET_45, NET_60, NET_15, NET_7, CUSTOM_DATE
purchaseOrderStatusstringNoPurchase Order Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment (default: InProgress)
poPaymentOptionsstringNoPo Payment Options. One of: CASH, CREDIT, DEBIT, COD, ACH_TRANSFER, CHEQUE, BLAZECAPITAL, OTHER
companyAssetListCompanyAsset[]NoCompany Asset List
poProductRequestListPOProductRequest[]NoPo Product Request List
vendorIdstringNoVendor identifier
receivedDatelongNoReceived timestamp (epoch ms)
deliveredBystringNoDelivered By
receivedByEmployeeIdstringNoReceived By Employee identifier
createdByEmployeeIdstringNoCreated By Employee identifier
completedByEmployeeIdstringNoCompleted By Employee identifier
poTypestringNoPo Type. One of: Normal, BackOrder (default: Normal)
completedDatelongNoCompleted timestamp (epoch ms)
notesstringNoNotes
declineReasonstringNoDecline Reason
declineDatelongNoDecline timestamp (epoch ms)
totalCostnumberNoTotal Cost
amountPaidnumberNoAmount Paid
submitForApprovalDatelongNoSubmit For Approval timestamp (epoch ms)
archivebooleanNoArchive (default: false)
archiveDatelongNoArchive timestamp (epoch ms)
customTermDatelongNoCustom Term timestamp (epoch ms)
managerReceiveSignatureCompanyAssetNoManager Receive Signature
referencestringNoReference
qbPurchaseOrderRefstringNoQb Purchase Order Ref
grandTotalnumberNoGrand Total
totalTaxnumberNoTotal Tax
totalPreCalcTaxnumberNoTotal Pre Calc Tax
totalCalcTaxnumberNoTotal Calc Tax
taxResultTaxResultNoTax Result
customerTypestringNoCustomer Type. One of: VENDOR, CUSTOMER_COMPANY (default: VENDOR)
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
deliveryChargenumberNoDelivery Charge
enableDeliveryChargebooleanNoEnable Delivery Charge (default: false)
poQrCodeAssetCompanyAssetNoPo Qr Code Asset
poQrCodeUrlstringNoPo Qr Code Url
flowerSourceTypestringNoFlower Source Type. One of: CULTIVATOR_DIRECT, DISTRIBUTOR
shipmentBillIdstringNoShipment Bill identifier
discountnumberNoDiscount
feesnumberNoFees
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
dueDatelongNoDue timestamp (epoch ms)
licenseIdstringNoLicense identifier
manualClosebooleanNoManual Close
complianceManifestNumberstringNoCompliance Manifest Number
complianceIdstringNoCompliance identifier
totalDiscountnumberNoTotal Discount
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
purchaseOrderPreviousStatusstringNoPurchase Order Previous Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment
assignedShipmentsShipment[]NoAssigned Shipments
inventoryIdstringNoInventory identifier
costSourcestringNoCost Source
vendorVendorNoVendor
approvedByMemberEmployeeNoApproved By Member
poProductRequestResultListPOProductRequestResult[]NoPo Product Request Result List
poActivityLogPOActivity[]NoPo Activity Log
companyLogostringNoCompany Logo

Get purchase order list

GET /api/v1/partner/purchaseorders/list

Retrieve a paginated list of purchase orders filtered by creation/modification date. Dates must be in MM/dd/yyyy format and are interpreted in the shop's timezone. Results are capped at 200 per page.

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoStart date filter
endDatestringNoEnd date filter
startintegerNoNumber of records to skip
limitintegerNoMaximum records to return

Response

Returns a paginated SearchResult of PurchaseOrderItemResult objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
displayNamestringNoDisplay Name
paymentTypestringNoPayment Type
poNumberstringNoPo Number
parentPOIdstringNoParent P O identifier
parentPONumberstringNoParent P O Number
approvedDatelongNoApproved timestamp (epoch ms)
approvedBystringNoApproved By
approvedSignatureCompanyAssetNoApproved Signature
poPaymentTermsstringNoPo Payment Terms. One of: NET_30, COD, NET_45, NET_60, NET_15, NET_7, CUSTOM_DATE
purchaseOrderStatusstringNoPurchase Order Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment (default: InProgress)
poPaymentOptionsstringNoPo Payment Options. One of: CASH, CREDIT, DEBIT, COD, ACH_TRANSFER, CHEQUE, BLAZECAPITAL, OTHER
companyAssetListCompanyAsset[]NoCompany Asset List
poProductRequestListPOProductRequest[]NoPo Product Request List
vendorIdstringNoVendor identifier
receivedDatelongNoReceived timestamp (epoch ms)
deliveredBystringNoDelivered By
receivedByEmployeeIdstringNoReceived By Employee identifier
createdByEmployeeIdstringNoCreated By Employee identifier
completedByEmployeeIdstringNoCompleted By Employee identifier
poTypestringNoPo Type. One of: Normal, BackOrder (default: Normal)
completedDatelongNoCompleted timestamp (epoch ms)
notesstringNoNotes
declineReasonstringNoDecline Reason
declineDatelongNoDecline timestamp (epoch ms)
totalCostnumberNoTotal Cost
amountPaidnumberNoAmount Paid
submitForApprovalDatelongNoSubmit For Approval timestamp (epoch ms)
archivebooleanNoArchive (default: false)
archiveDatelongNoArchive timestamp (epoch ms)
customTermDatelongNoCustom Term timestamp (epoch ms)
managerReceiveSignatureCompanyAssetNoManager Receive Signature
referencestringNoReference
qbPurchaseOrderRefstringNoQb Purchase Order Ref
grandTotalnumberNoGrand Total
totalTaxnumberNoTotal Tax
totalPreCalcTaxnumberNoTotal Pre Calc Tax
totalCalcTaxnumberNoTotal Calc Tax
taxResultTaxResultNoTax Result
customerTypestringNoCustomer Type. One of: VENDOR, CUSTOMER_COMPANY (default: VENDOR)
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
deliveryChargenumberNoDelivery Charge
enableDeliveryChargebooleanNoEnable Delivery Charge (default: false)
poQrCodeAssetCompanyAssetNoPo Qr Code Asset
poQrCodeUrlstringNoPo Qr Code Url
flowerSourceTypestringNoFlower Source Type. One of: CULTIVATOR_DIRECT, DISTRIBUTOR
shipmentBillIdstringNoShipment Bill identifier
discountnumberNoDiscount
feesnumberNoFees
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
dueDatelongNoDue timestamp (epoch ms)
licenseIdstringNoLicense identifier
manualClosebooleanNoManual Close
complianceManifestNumberstringNoCompliance Manifest Number
complianceIdstringNoCompliance identifier
totalDiscountnumberNoTotal Discount
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
purchaseOrderPreviousStatusstringNoPurchase Order Previous Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment
assignedShipmentsShipment[]NoAssigned Shipments
inventoryIdstringNoInventory identifier
costSourcestringNoCost Source
vendorVendorNoVendor
approvedByMemberEmployeeNoApproved By Member
poProductRequestResultListPOProductRequestResult[]NoPo Product Request Result List
poActivityLogPOActivity[]NoPo Activity Log
companyLogostringNoCompany Logo

Get purchase order list

GET /api/v1/partner/purchaseorders/dates

Retrieve a paginated list of purchase orders filtered by their purchase order date (as opposed to /list which filters by record date). Same date format (MM/dd/yyyy), timezone handling, and 200-record limit apply.

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoStart date filter
endDatestringNoEnd date filter
startintegerNoNumber of records to skip
limitintegerNoMaximum records to return

Response

Returns a paginated SearchResult of PurchaseOrderItemResult objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
displayNamestringNoDisplay Name
paymentTypestringNoPayment Type
poNumberstringNoPo Number
parentPOIdstringNoParent P O identifier
parentPONumberstringNoParent P O Number
approvedDatelongNoApproved timestamp (epoch ms)
approvedBystringNoApproved By
approvedSignatureCompanyAssetNoApproved Signature
poPaymentTermsstringNoPo Payment Terms. One of: NET_30, COD, NET_45, NET_60, NET_15, NET_7, CUSTOM_DATE
purchaseOrderStatusstringNoPurchase Order Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment (default: InProgress)
poPaymentOptionsstringNoPo Payment Options. One of: CASH, CREDIT, DEBIT, COD, ACH_TRANSFER, CHEQUE, BLAZECAPITAL, OTHER
companyAssetListCompanyAsset[]NoCompany Asset List
poProductRequestListPOProductRequest[]NoPo Product Request List
vendorIdstringNoVendor identifier
receivedDatelongNoReceived timestamp (epoch ms)
deliveredBystringNoDelivered By
receivedByEmployeeIdstringNoReceived By Employee identifier
createdByEmployeeIdstringNoCreated By Employee identifier
completedByEmployeeIdstringNoCompleted By Employee identifier
poTypestringNoPo Type. One of: Normal, BackOrder (default: Normal)
completedDatelongNoCompleted timestamp (epoch ms)
notesstringNoNotes
declineReasonstringNoDecline Reason
declineDatelongNoDecline timestamp (epoch ms)
totalCostnumberNoTotal Cost
amountPaidnumberNoAmount Paid
submitForApprovalDatelongNoSubmit For Approval timestamp (epoch ms)
archivebooleanNoArchive (default: false)
archiveDatelongNoArchive timestamp (epoch ms)
customTermDatelongNoCustom Term timestamp (epoch ms)
managerReceiveSignatureCompanyAssetNoManager Receive Signature
referencestringNoReference
qbPurchaseOrderRefstringNoQb Purchase Order Ref
grandTotalnumberNoGrand Total
totalTaxnumberNoTotal Tax
totalPreCalcTaxnumberNoTotal Pre Calc Tax
totalCalcTaxnumberNoTotal Calc Tax
taxResultTaxResultNoTax Result
customerTypestringNoCustomer Type. One of: VENDOR, CUSTOMER_COMPANY (default: VENDOR)
deliveryAddressstringNoDelivery Address
deliveryTimelongNoDelivery timestamp (epoch ms)
deliveryDatelongNoDelivery timestamp (epoch ms)
termsAndConditionstringNoTerms And Condition
deliveryChargenumberNoDelivery Charge
enableDeliveryChargebooleanNoEnable Delivery Charge (default: false)
poQrCodeAssetCompanyAssetNoPo Qr Code Asset
poQrCodeUrlstringNoPo Qr Code Url
flowerSourceTypestringNoFlower Source Type. One of: CULTIVATOR_DIRECT, DISTRIBUTOR
shipmentBillIdstringNoShipment Bill identifier
discountnumberNoDiscount
feesnumberNoFees
purchaseOrderDatelongNoPurchase Order timestamp (epoch ms)
dueDatelongNoDue timestamp (epoch ms)
licenseIdstringNoLicense identifier
manualClosebooleanNoManual Close
complianceManifestNumberstringNoCompliance Manifest Number
complianceIdstringNoCompliance identifier
totalDiscountnumberNoTotal Discount
adjustmentInfoListAdjustmentInfo[]NoAdjustment Info List
purchaseOrderPreviousStatusstringNoPurchase Order Previous Status. One of: InProgress, ReceivingShipment, RequiredApproval, Approved, WaitingShipment, Closed, Cancel, Decline, ReceivedShipment
assignedShipmentsShipment[]NoAssigned Shipments
inventoryIdstringNoInventory identifier
costSourcestringNoCost Source
vendorVendorNoVendor
approvedByMemberEmployeeNoApproved By Member
poProductRequestResultListPOProductRequestResult[]NoPo Product Request Result List
poActivityLogPOActivity[]NoPo Activity Log
companyLogostringNoCompany Logo