Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

TaskCodeThe 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
LocaleSourceThe 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
LocaleTargetThe 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
ProductCodeAn optional short text that is shown as "product code" in Wordbee.Optional
CommentsComments attached to the service.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





  • No labels