TanqoryDocs

InventoryPurchaseOrder

  • Object
  • Inventory and fulfillment

An order for stock placed with a supplier, with its line items, destination location, status, costs and the transfers that receive it.

Implements Node.

Fields

FieldTypeDescription
archivedAtDateTime
currencyCurrencyCode!
dateCreatedDateTime!
destinationLocationSnapshot
idID!
lineItemsInventoryPurchaseOrderLineItemConnection!
nameString!
orderedAtDateTime
originInventorySupplierSnapshot
statusInventoryPurchaseOrderStatus!
tanqoryExtAcceptedQuantityInt!

Units accepted into stock.

tanqoryExtClosedAtDateTime
tanqoryExtCostAdjustments[TanqoryExtCostAdjustment!]!
tanqoryExtCostSummaryTanqoryExtPurchaseOrderCostSummary!
tanqoryExtDisplayStatusTanqoryExtPurchaseOrderDisplayStatus!

The status the admin shows: DRAFT and ORDERED split by what was received, and CLOSED.

tanqoryExtEventsEventConnection!

The purchase order's timeline, newest first with reverse: true (comments and every change).

tanqoryExtFiles[TanqoryExtPurchaseOrderFile!]!

The files attached to the purchase order (the supplier's invoice), in the order they were attached.

tanqoryExtNoteToSupplierString
tanqoryExtPaymentTermsTanqoryExtPurchaseOrderPaymentTerms!
tanqoryExtReferenceNumberString
tanqoryExtRejectedQuantityInt!

Units rejected on receipt.

tanqoryExtShipmentTanqoryExtPurchaseOrderShipment!

Shipment details: estimated arrival, carrier, tracking number and URL.

tanqoryExtSupplierTanqoryExtSupplier

The live supplier (null when none was chosen or it was deleted; origin.supplierName keeps the saved name).

tanqoryExtSupplierCurrencyCurrencyCode!

The supplier's currency (purchasing information), a label: every amount of the purchase order, and its currency, is in the store currency.

tanqoryExtTags[String!]!
tanqoryExtTotalQuantityInt!

Units ordered (sum of line quantities).

tanqoryExtUnreceivedQuantityInt!

Units neither accepted, rejected nor canceled yet.

transfersInventoryTransferConnection!

Returned by

Used in fields

Built from commit c0b3fb3fdef7 · API version 2026-10