An InventoryPO represents an order of new inventory for a vendor Location.
Properties
Name | Type | Description |
---|---|---|
Id | int | The ID of the inventory PO. |
AccountId | int | The ID of the Liftoff account that the inventory PO belongs to. (Note: This account ID will always correspond to the account code you use in your authentication credentials.) |
Account (via $expand) | Account | The Liftoff account that the inventory PO belongs to. |
PONumber | string | The PO number for the inventory PO. |
WarehouseLocationId | int | The ID of the vendor location that receives inventory for this PO. |
WarehouseLocation (via $expand) | Location | The vendor location that receives inventory for this PO. |
Owner | InventoryPOOwner | The owner of the PO. Valid values are Subscriber, Account, and Vendor. This value will be null for auto-generated base inventory POs. |
Submitted | datetimeoffset | The date/time the PO was created. |
IsBasePO | boolean | Flag that indicates whether the PO is an auto-generated base inventory PO for a product. |
Status | InventoryPOStatus | The status of the PO. Valid values are Draft, Open, and Closed. A Draft PO may not be set to Open if the PO has no items. An Open PO may not be set back to Draft. A Closed PO may not be set back to Open or Draft. |
InventoryPOItems (via $expand) | InventoryPOItem array | The collection of inventory PO items in the PO. |
Deprecated properties
The following properties have been deprecated and scheduled for removal. Avoid using these properties. See the Description column for updated usage notes.
Name | Type | Description |
---|---|---|
SourceLocationId | int | The ID of the first vendor location that supplies inventory for the first item in this PO. Deprecated 3/30/2023. Will be removed 10/1/2023. Multiple vendors may now supply inventory for PO items. Use InventoryPOItemFulfillment.SourceLocationId instead. |
SourceLocation (via $expand) | Location | The first vendor location that supplies inventory for the first item in this PO. Deprecated 3/30/2023. Will be removed 10/1/2023. Multiple vendors may now supply inventory for PO items. Use InventoryPOItemFulfillment.SourceLocation instead. |
ShippingCost | decimal(18,2) | The shipping cost for the first vendor location that supplies inventory for the first item in this PO, in USD. Deprecated 3/30/2023. Will be removed 10/1/2023. Shipping cost may now be captured for each fulfillment step of each PO item. Use InventoryPOItemFulfillment.ShippingCost instead. |
TaxAmount | decimal(18,2) | The tax amount for the first vendor location that supplies inventory for the first item in this PO, in USD. Deprecated 3/30/2023. Will be removed 10/1/2023. Tax may now be captured for each fulfillment step of each PO item. Use InventoryPOItemFulfillment.TaxAmount instead. |