POST api/ERPNextPurchaseOrder/UpdateChildPurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
UpdateChildPurchaseOrder| Name | Description | Type | Additional information | 
|---|---|---|---|
| OrderId | integer | None. | |
| ReferenceIds | Collection of globally unique identifier | None. | |
| PONumber | string | None. | |
| UserId | integer | None. | |
| BusinessId | integer | None. | |
| PaymentTermsTemplate | string | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "OrderId": 1,
  "ReferenceIds": [
    "1050018d-4e35-4cc7-adc7-e78e65606fab",
    "4012d346-8a1a-400f-90e3-271f79db5d7b"
  ],
  "PONumber": "sample string 2",
  "UserId": 3,
  "BusinessId": 4,
  "PaymentTermsTemplate": "sample string 5"
}
        application/xml, text/xml
            Sample:
        
<UpdateChildPurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <OrderId>1</OrderId>
  <ReferenceIds>
    <guid>1050018d-4e35-4cc7-adc7-e78e65606fab</guid>
    <guid>4012d346-8a1a-400f-90e3-271f79db5d7b</guid>
  </ReferenceIds>
  <PONumber>sample string 2</PONumber>
  <UserId>3</UserId>
  <BusinessId>4</BusinessId>
  <PaymentTermsTemplate>sample string 5</PaymentTermsTemplate>
</UpdateChildPurchaseOrder>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | string | None. | |
| dateTime | string | None. | |
| StatusCode | integer | None. | |
| ErrorMessage | string | None. | |
| Result | Object | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "Version": "1.0.0",
  "dateTime": "2025/10/31 15:44:46",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>