• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

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.
 
P

Pabblymember11

Guest
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