Update Purchase Orders
Purchase Orders
Update Purchase Orders
POST
Update Purchase Orders
Use this endpoint to update an existing purchase order. You can modify the purchase order details and FEM assembly linking.Documentation Index
Fetch the complete documentation index at: https://developer.worldly.io/llms.txt
Use this file to discover all available pages before exploring further.
Request body params
| Name | Type | Description |
|---|---|---|
productId | string | [REQUIRED] The ID of the product the purchase order belongs to. |
purchaseOrder | object | [REQUIRED] The updated purchase order data. |
purchaseOrder._id | string | [REQUIRED] The internal ID of the purchase order to update. |
purchaseOrder.purchaseOrderId | string | Updated external purchase order identifier. |
purchaseOrder.purchaseDate | string | Updated purchase date. Expected format is YYYY-MM-DD; the field is a plain string in the API contract. |
purchaseOrder.amountPurchase | number | Updated quantity purchased. |
purchaseOrder.assembly | object | Updated FEM linking data. |
purchaseOrder.assembly.femId | string | The FEM assessment ID to link. Use Search Tier 1 Facilities to find available FEMs. |
Implementation Details
- Partial updates: Only the fields you provide will be updated. Omitted fields retain their existing values.
- FEM linking constraints: Same rules as create — products imported from the Higg Product Module cannot link to a FEM.
- Recalculation: After updating a purchase order, you may need to recalculate to refresh its impact data.

