Delete Product even when it has On Hand Quantity

Hi Community,

Hope all is well with you guys.

I’d like to ask some help where on Product Delete API, it will still go through even though the product has still on hand quantity. I’d like to clarify if this is an issue on the API side as on the UI side we cannot see any buttons to delete a product.

This is the example mutation that I used to test out the deletion:

mutation deleteProduct {
  product_delete(data: {sku: "7095-44496#5"}) {
    request_id
    complexity
  }
}

Looking forward for the response. Thank you.

Regards,
Altair

Hello @Altair!
The product deletion in the UI can be done from the child account. It will delete even if it has stock and bins assigned.
Please let me know if that doesn’t work on your end.
Have a great day!
TomasFD