Use this method to add a service (pricelist item) to a pricelist.When adding a service, you need to have:The pricelist id to which the service is addedThe company id to which the pricelist is attached
URL
(PUT) companies/{companyid}/pricelists/{pricelistid}/services
PARAMETERS
token | The token obtained on connection. | Required |
companyid | The id of the supplier company (create a supplier pricelist) or the master company (create a client pricelist). | Required |
pricelistid | The id of the client or supplier price list. | Required |
data | A json containing the service details, see below. | Required |
JSON format of "data" parameter
TaskCode | The task category code such as "TR" for translation. See REF _Ref358977496 \r \h 12.2 on how to get the list of all available codes. | Required |
LocaleSource | The source language code. See chapter REF _Ref358977631 \r \h 12.1 for a list of all supported ISO-2 language codes.Use "*" (star) for services applicable to all languages. | Required |
LocaleTarget | The target language code. See chapter REF _Ref358977631 \r \h 12.1 for a list of all supported ISO-2 language codes.Use "*" (star) for services applicable to all languages.The target language must be different from the source language (except if you use "*"). | Required |
ProductCode | An optional short text that is shown as "product code" in Wordbee. | Optional |
Comments | Comments attached to the service. | Optional |
JSON format of field "Conversion"
Rate | A decimal. One unit in the standard pricelist currency equals this amount in the currency of the new pricelist. | Required |
Date | An optional date for the rate. | Optional |