• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Woo Commerce New Order returns rest_invalid_json

Hello,
I am creating a new order in Woo Commerce with data from Regfox. My data is coming through correctly from RegFox. I am able to pull a list of orders from Woo Commerce and that works. I am able to create a new customer fine in Woo Commerce. But with the same connection information I cannot create a new order, it sends back a JSON error. I have reduced my order creation to the bare minimum of data, only the required fields and it makes no difference. I have played around with different values all the ways I can think of but always the same response.
Message : "Invalid JSON body passed."
Data Status: 400
Data Json Error Code: 3
Data Json Error Message: Control character error, possibly incorrectly encoded
I have tried changing my input data many different ways and no change.
Thank you for any help.
 

Supreme

Well-known member
Staff member
Hey @raising_ruckus

Kindly pass the Customer Id in the "Customer Id" Field with the help of the "WooCommerce: Retrieve a Customer by Email " action step and also pass the ProductId in the ProductId field of the WooCommerce action step accordingly.

2022-06-01_12h13_44.png



2022-06-01_12h13_53.png
 
Top