Create Order with custom date

I’m trying to create an historic order via the API.

If I try to set created_at I get a response {"error_messages":"Not found"} when making the API call.

Is it possible to set a specific order date (other than the due date) when creating orders via the API? I’m sure I managed to do this when testing in the past but can’t remember how…

I have partially resolved this; the error I had encountered was caused by an invalid address ID. The test wholesale customer I had set up is getting its address removed every time I create an order through the API - now just need to figure out what’s happening there!

I’ve created a new topic for the address removal issue for clarity: Order creation deletes wholesale customer shipping address