Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

token

The token obtained on connection

Required

companyid

The id of the supplier.

Required

data

A json containing the company information (see below)

Required

 

JSON format of "data"

...

parameter

Only specify those fields that you want to update.

 

PricelistCode

The name of the pricelist. The first pricelist created for a supplier will be defined as the "Standard pricelist" and be assigned an empty code.

Even you specify a name for the first created pricelist, it will be ignored.

Be careful: you can't add different pricelists with the same name for one supplier.

Optional
CommentsInternal comments.Optional
DecimalPlacesThe number of decimals to which invoice totals will be rounded. A commonly used value is 2.Optional
CurrencyCode

The pricelist currency according to the ISO-4217 standard. Examples: "USD" or "EUR"

.See https://fr.wikipedia.org/wiki/ISO_4217 for a complete list.If not specified and a standard pricelist exists, the new pricelist takes the currency from the standard pricelist. If creating the standard pricelist and currency is not set, "EUR" (Euro) will be chosen.It is recommended to always set this property.

Optional
ContractNumberThe contract number.Optional

 

JSON format of field "Conversion"

 

RateA decimal. One unit in the standard pricelist currency equals this amount in the currency of the new pricelist.Required
DateAn optional date for the rate.Optional

...