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.
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. |
Removes an existing purchase order item.
Parameters | Description |
---|---|
uid | UID of the purchase order item to delete. |
Fetches information about a purchase order item.
Parameter | Description |
---|---|
uid | The unique identifier of the purchase order. |
query | Which info to return. See Query language. |
Fetches the JSON Schema which can be used for client-side validation.
The unique identifier of the purchase order.
Returns an array of objects representing purchase order items.
Parameter | Description |
---|---|
query | Which info to return. See Query language. |
selection | Which purchase orders to list. See List selection. |
You can not create or update a purchase order item using this API endpoint, see setItem method here: PurchaseOrder. .