Error on Update Orders

I’m trying to update orders with /orders/ID.

However, I suddenly have been getting errors {“customer.company”:[“can’t be blank”]}.

Here is example of my order object.

[channel_id] => 54219
        [customer_id] => 55192503
        [number] => test_49484
        [deliver_to_attributes] => OPP\Veeqo\Order_Deliver_To_Attributes Object

                [address1] => Address
                [city] => Redwood City
                [company] => Company, LLC
                [country] => US
                [customer_id] => 55192503
                [first_name] => Fname
                [last_name] => Lname
                [phone] => ########
                [state] => CA
                [zip] => #####

        [line_items_attributes] => Array

                [0] => OPP\Veeqo\Order_Line_Items_Attributes Object

                        [price_per_unit] => 14.27
                        [quantity] => 1
                        [sellable_id] => 30354976

        [delivery_method_id] => 232534
        [delivery_cost] => 10.99
        [payment_attributes] => OPP\Veeqo\Order_Payment_Attributes Object

                [payment_type] => credit_card
                [reference_number] => txn_####

        [customer_attributes] => OPP\Veeqo\Order_Customer_Attributes Object

                [phone] => #########
                [mobile] => #########
                [email] => shop@email.com
                [billing_address_attributes] => OPP\Veeqo\Order_Billing_Address_Attributes Object

                        [first_name] => Fname
                        [last_name] => Lname
                        [company] => Company, LLC
                        [address1] => Address
                        [city] => Redwood City
                        [state] => CA
                        [country] => US
                        [phone] => ########
                        [email] => shop@email.com

        [employee_notes_attributes] => Array

                [0] => OPP\Veeqo\Order_Employee_Note_attributes Object

                        [text] =>  Transaction Information

                [1] => OPP\Veeqo\Order_Employee_Note_attributes Object

                        [text] => Shipping Cost: Shipping + Package Cost + Card Fee  + Insurance Fee = 9.99 + 0.00 + 0.00 + 1

I have tried remove the company field, but it still does not work.

Hey @neo_kit,

We’ve spotted the issue. It happens when new records are created via the update request due to them being specified without an ID (e.g. customer_attributes without an id key)

The issue should be fixed now. Could you please try again from your side?

Thanks. it is working now.