RE: Update by REST API the creeteddate field for an OS
Hello,
I’m following the Netsuite documentation to update the createddate field via REST API V1 (https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2024.2/index.html#) for some Sales Orders.
I have configured postman correctly, sending this request in the body:
{
‘createdDate”: ’2024-10-01T13:11:23.000Z’
}
My header is: https://{{AccountID}}.suitetalk.api.netsuite.com/services/rest/record/v1/salesOrder/4457
Note: I hide my AccountID for security
In response, I receive the message 204 – No content and the following detail
X-Content-Type-Options: nosniff
Pragma: No-Cache:
Cache-Control: No-Cache
Expires: 0
Location: https://{AccountID }.suitetalk.api.netsuite.com/services/rest/record/v1/salesorder/4457
Vary: User-Agent
Date: Tue, 18 Feb 2025 18:31:33 GMT
Connection: keep-alive
Akamai-GRN: 0.9a9c7a5c.1739903433.341d4d68
Transaction SO 4457 has the following status: ‘Pending Fulfillment’.
I have validated with ChatGPT and it indicates the following:
‘In the technical description (Record Browser) NetSuite lists createdDate as a date-time type field, suggesting that it ‘could’ be updated.
However, in practice, NetSuite applies audit controls and does not allow retroactive changes to the creation date when the transaction already has accounting movements (invoicing, fulfilment, etc.)’.
However, the status of the transaction ‘Pending Fulfillment’ is open.
Can anyone help me. Thanks!
I don’t think you will be able to update this system timestamp. What is the reason for doing do?