How to hide 'Create Shipping Label' button?

How should I publish a product with the API so that when it is bought the “Create Shipping Label” button won’t be available?

I have tried many ways and can’t find documentation on this.

Thanks in advance.

1 Like