{"section":"known-issues","requestedLocale":"en","requestedSlug":"stockkeepingunitinsertupdate-webservice-method-allows-to-insert-existent-refid","locale":"en","slug":"stockkeepingunitinsertupdate-webservice-method-allows-to-insert-existent-refid","path":"docs/en/known-issues/Catalog/stockkeepingunitinsertupdate-webservice-method-allows-to-insert-existent-refid.md","branch":"main","content":"## Summary\n\n\n\nToday we are not able to insert/update a RefId already registered for another SKU using API REST, spreadsheet upload, or Catalog Admin, but using WebService we can insert an existent RefId.\n\n\n#### Simulation\n\n\n\n- Try to insert an existent RefId to another SKU using the following method:\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:Length>                        <a:ListPrice>4.00</a:ListPrice>                        <a:ManufacturerCode>1</a:ManufacturerCode>                        <a:MeasurementUnit>1</a:MeasurementUnit>                        <a:ModalId>1</a:ModalId>                        <a:ModalType></a:ModalType>                        <a:Name>SKU KIT 1</a:Name>                        <a:Price>1.00</a:Price>                        <a:ProductId>10003</a:ProductId>                        <a:ProductName>Produto KIT</a:ProductName>                        <a:RealHeight>10</a:RealHeight>                        <a:RealLength>10</a:RealLength>                        <a:RealWeightKg>10</a:RealWeightKg>                        <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:UnitMultiplier>1</a:UnitMultiplier>                        <a:VenderSeparadamente>false</a:VenderSeparadamente>                        <a:WeightKg>10</a:WeightKg>                        <a:Width>10</a:Width>        </tem:stockKeepingUnitVO>      </tem:StockKeepingUnitInsertUpdate>  </soapenv:Body></soapenv:Envelope>'\n\n\n#### Workaround\n\n\nDo not use the same RefId for different SKUs."}