Possible to update PO header payment terms and default ship-to location with PATCH API?
Summary:
We are in the process of building an integration and have a requirement to be able to update payment terms and default ship-to location on the PO header via the PATCH rest service since these are fields that may be updated in the source system.
In running the PATCH service, we receive the following errors:
Attribute PaymentTerms in view object DraftPurchaseOrderHeader1 cannot be set.
Attribute DefaultShipToLocation in view object DraftPurchaseOrderHeader1 cannot be set.
Attribute DefaultShipToLocationInternalCode in view object DraftPurchaseOrderHeader1 cannot be set.
I verified I am able to update them within the UI. Is there a specific format we need to use in the body for the above to work or are these attributes still not available via PATCH?