# Purchase order item

An object representing an item (ordered product) in a purchase order for the current shop. A purchase order usually have more than one item, that is more than one product has ben ordered.

To be able to access this API class the webshop must have enabled the purchase orders functionality.

# Properties

Property Type Description
uid integer The unique identifier of the purchase order item.
purchaseOrder integer Identifier of the purchase order the item belongs to.
articleUid integer Identifier of the ordered Article.
variantUid integer Optional identifier of the article variant.
quantity number Ordered quantity.
deliveryDate string Expected delivery date.
articleNumber string Optional article numer identifying the ordered product.

# Methods

# delete

Removes an existing purchase order item.

# Parameters

Parameters Description
uid UID of the purchase order item to delete.

# get

Fetches information about a purchase order item.

# Parameters

Parameter Description
uid The unique identifier of the purchase order.
query Which info to return. See Query language.

# getSchema

Fetches the JSON Schema which can be used for client-side validation.

# Parameters

The unique identifier of the purchase order.

# list

Returns an array of objects representing purchase order items.

# Parameters

Parameter Description
query Which info to return. See Query language.
selection Which purchase orders to list. See List selection.

# set

You can not create or update a purchase order item using this API endpoint, see setItem method here: PurchaseOrder. .