> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/purchaseorder/_setdeliverydate.md).

# \_setDeliveryDate

Set the delivery date for a Purchase order.

### Parameteres

\###id ID of the Purchase order which will have the delivery date set.

#### delivery\_date

Delivery date of the purchase order, YYYY-MM-DD.

### Example

```
FM_api('PurchaseOrder_setDeliveryDate', ['id' => '10', 'delivery_date' => '2018-11-10'])
```

### Result

#### On Success

```
{"ok":1}
```
