- 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
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.
[Enhancement]: When updating product via api, not require Status · Issue #39774 · woocommerce/woocommerce
Describe the solution you'd like I am trying to use the update via rest function from a service like ifttt. I would like to update the inventory and pricing of an existing product. I woudl like to ...
github.com
thank you