how can i Deactivate a sku by Rest or soap method?

I can use the soap method StockKeepingUnitActive to activate a sku easily, but i dont found a method for inactivate a sku in an easy way, if i use the method ProductInsertUpdate i need to send a lot of sku attributes. is it the only way?

Hi, Doug.

It┬┤s the same endpoint (PUT): https://{{store}}.vtexcommercestable.com.br/api/catalog/pvt/stockkeepingunit

You must send the attribute isActive: false

documentation:

https://developers.vtex.com/reference/sku#put_api-catalog-pvt-stockkeepingunit-skuid

Regards,

jorge C.

Thank you Jorge, it works for me

Good news ! Please, check the post as answered, in order to help people in future searches.

See U.

Thanks Jorge it is solved