Question

API Statement for Alternate Languages

  • 29 August 2023
  • 2 replies
  • 42 views

Userlevel 3
Badge +6

I need to mass update a bunch of BPart records and update the descr_lang3 field for a large number of products. Wondering if anyone has the API structure to do this through an import as opposed to doing it individually via the front end. Thanks!


2 replies

Userlevel 6
Badge +10

Hi Kevin,

descr_lang3 is French, so to import Product Description in French you need to log in as a user which it’s language is French (FRA). See the Employees setting under Miscellaneous.

You can use standard import to update Product Description or just simply using below API

<root xmlns:dt="urn:schemas-microsoft-com:datatypes">
  <session email="" alias="">
    <state bc_name="product">
      <action name="data">
        <main>
          <row number="1">
            <bpart_id dtype="string">ABC</bpart_id>
            <descr dtype="string">Produit</descr>
          </row>
        </main>
      </action>
    </state>
  </session>
</root>

 

Regards,

Joshua

Userlevel 6
Badge +11

If you have SQL access you can also do a SQL update

Reply