I am using this code to post the basket. But I am getting an error {"status":"error","message":"Invalid JSON payload in `data`.","data":null,"error_type":"InputException"}
I tried changing the basket to exactly as shown in the documentation. Also I tried to use the exact same code it still is giving me the above error.