I don’t know what’s happening to the mutation product_delete, but it is not working for me. I tried to make the request and it is returning “Unexpected Error”. Can I get some help to understand what is the problem here?
Are you using the 3PL token when making that call?
For an action like product delete, the change must be made with the child accounts token. This is because the ownership of the product lies in the child account.
Please let me know if you have any questions or concerns.
I don’t know what is the problem here but we need to delete it! Here you can see the request that I’m doing (It is the same as every other product and only this one is not working):
The thing is that I don’t want to delete it from Shiphero UI because that is a soft delete and it won’t let me create another product with the same SKU.
I believe that product was successfully deleted from your primary warehouse. This was done by deleting the bin connection. I think going forward removing all bins from the 3PL side then deleting from the child account, should help with this issue.
OK I understand. I proceeded to delete all the locations for this product and it was deleted correctly, and it makes sense, because it shouldn’t be possible to delete a product if you have inventory associated. Thanks!
Just to keep in mind, it would be helpful that the API responded with some more descriptive error messages than just an “Unexpected Error”.