public function execute()
 {
     $sku_id = $this->get('id', true);
     $skus_model = new shopProductSkusModel();
     $sku = $skus_model->getById($sku_id);
     if (!$sku) {
         throw new waAPIException('invalid_param', 'SKU not found', 404);
     }
     $this->checkProductRights($sku['product_id']);
     $data = waRequest::post();
     if ($skus_model->update($sku_id, $data)) {
         $method = new shopProductSkusGetInfoMethod();
         $this->response = $method->getResponse(true);
     } else {
         throw new waAPIException('server_error', 500);
     }
 }