{"section":"known-issues","requestedLocale":"es","requestedSlug":"el-metodo-del-servicio-web-stockkeepingunitinsertupdate-permite-insertar-un-refid-ya-existente","locale":"es","slug":"el-metodo-del-servicio-web-stockkeepingunitinsertupdate-permite-insertar-un-refid-ya-existente","path":"docs/es/known-issues/Catalog/el-metodo-del-servicio-web-stockkeepingunitinsertupdate-permite-insertar-un-refid-ya-existente.md","branch":"main","content":">ℹ️ Este problema conocido ha sido traducido automáticamente del inglés.\n\n## Sumario\n\nActualmente no es posible insertar ni actualizar un RefId que ya esté registrado para otra SKU mediante la API REST, la carga de hojas de cálculo o el Administrador de catálogos; sin embargo, mediante el servicio web sí se puede insertar un RefId ya existente.\n\n## Simulación\n\n- Intenta insertar un RefId existente en otra SKU utilizando el siguiente método:\n\n curl --location --request POST 'http://webservice-merch.vtexcommerce.com.br/Service.svc?wsdl' \\--header 'Content-Type: text/xml' \\--header 'SOAPAction: http://tempuri.org/IService/StockKeepingUnitInsertUpdate' \\--header 'Authorization: Basic ' \\--header 'Cookie: ISSMB=ScreenMedia=0&UserAcceptMobile=False' \\--data-raw '<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:tem=\"http://tempuri.org/\" xmlns:a=\"http://schemas.datacontract.org/2004/07/Vtex.Commerce.WebApps.AdminWcfService.Contracts\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">  <soapenv:Header/>  <soapenv:Body> <tem:StockKeepingUnitInsertUpdate> <tem:stockKeepingUnitVO>  <a:CommercialConditionId>1</a:CommercialConditionId>  <a:CostPrice>1,00</a:CostPrice>  <a:CubicWeight>10</a:CubicWeight>  <a:DateUpdated>2014-12-18T00:00:00</a:DateUpdated>  <a:EstimatedDateArrival>2014-12-18T00:00:00</a:EstimatedDateArrival>  <a:Height>10</a:Height>  <a:Id>4</a:Id>  <a:InternalNote></a:InternalNote>  <a:IsActive>true</a:IsActive>  <a:IsAvaiable>true</a:IsAvaiable>  <a:IsKit>true</a:IsKit>  <a:Length>10</a:Longitud>  <a:PrecioDeCatálogo>4,00</a:PrecioDeCatálogo>  <a:CódigoDeFabricante>1</a:CódigoDeFabricante>  <a:MeasurementUnit>1</a:MeasurementUnit>  <a:ModalId>1</a:ModalId>  <a:ModalType></a:ModalType>  <a:Name>SKU KIT 1</a:Name>  <a:Precio>1,00</a:Precio>  <a:IdProducto>10003</a:IdProducto>  <a:ProductName>Producto KIT</a:ProductName>  <a:RealHeight>10</a:RealHeight>  <a:LongitudReal>10</a:LongitudReal>  <a:PesoRealKg>10</a:PesoRealKg>  <a:RealWidth>10</a:RealWidth>  <a:RefId>999999</a:RefId>  <a:RewardValue>0</a:RewardValue>  <a:StockKeepingUnitEans>  <a:StockKeepingUnitEanDTO>  <a:Ean>1234567891014</a:Ean> </a:StockKeepingUnitEanDTO> </a:StockKeepingUnitEans>  <a:MultiplicadorDeUnidad>1</a:MultiplicadorDeUnidad>  <a:VenderPorSeparado>false</a:VenderPorSeparado>  <a:PesoKg>10</a:PesoKg>  <a:Ancho>10</a:Ancho> </tem:unidadDealmacenamientoVO> </tem:InsertarActualizarUnidadDealmacenamiento>  </soapenv:Cuerpo></soapenv:Sobre>'\n\n## Workaround\n\nNo utilice el mismo RefId para diferentes SKU.\n\n\n\n%0A"}