We are seeing an error from Cetec on a few things with our API and trying to get them worked out.
First is when we receive an order online from a customer who has to pay sales tax.
This is the error the CETC ImportJSON API returned when trying to create order with Tax Amount of 1.40
JSON Parse Error: unexpected end of string while parsing JSON string, at character offset 166 (before “(end of string)”) at lib/Cetec/Reboot/Web/Controller/ImportJSON.pm line 219.
Quote Creation Errors: Can’t use string ("") as a HASH ref while “strict refs” in use at lib/Cetec/Reboot/Web/Controller/ImportJSON.pm line 238.
We are adding the tax to the ‘Tax_Collected’ field available in the endpoint
Also, I have noticed the API documentation no longer has the ‘freight_estimate’ field. Can you confirm that this field is still available in the importJSON endpoint?