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

Woocommerce, do not send Status when the field is left blank

dataforge

Member
Your Task History ID
IjU3NjEwNTZmMDYzMDA0MzQ1MjZkNTUzZDUxMzI1MTYyNTQzNyI_3D_pc
Hi, I have a task https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTY5MDYzNDA0MzY1MjZiNTUzMyI_3D_pc

I'd like to Update an existing Woocommerce product. I have a route that does this, in the route called Found (meaning it found an existing product)
I want to update the product and not change the Product Status. I select Map and leave the field Blank.

However, when I submit the request, there is an error returned from woocommerce:

Label
Value
Code
rest_invalid_param
Message
Invalid parameter(s): status
Data Status
400
Data Params Status
status is not one of draft, pending, private, publish, future, auto-draft, and trash.
Data Details Status Code
rest_not_in_enum
Data Details Status Message
status is not one of draft, pending, private, publish, future, auto-draft, and trash.

I contacted woocomerce and they say that i should not be sending the Product Status, or any other field that I do not want to modify. Since the field is being sent with a blank, it fails. We should not be sending the field at all.

Can you please ensure the Woocommerce integration is not sending fields that are not being changed.


thank you
 
P

Pabblymember11

Guest
Hey @dataforge

We have made slight changes in the action step from our end and your provided request should work now.

1692683487620.png
 
Top