Skip to main content

Add service to pricelist

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 added
  • The 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 Task categories on how to get the list of all available codes.Required
LocaleSource

The source language code. See Languages for a list of all supported ISO-2 language codes.

Use "*" (star) for services applicable to all languages.

Required
LocaleTarget

Array of strings representing the target language code. See Languages 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 "*").

Sample: LocaleTarget":["en"]

Required
ProductCodeAn optional short text that is shown as "product code" in Wordbee.Optional
CommentsComments attached to the service.Optional

PriceAmount

The unit price formatted as a decimal. Drop field or set to 0 to create a service without a price.

Default: 0

Optional

PriceUnitCode

Specifies the costed unit such as “WD” for words. See 12.8 for the list of all supported unit codes.

Default: WD
Optional

PriceUnits

The number of units included in the price. For example, a service may define “0,1 Euros per 10 words”. In this example PriceUnits would be 10.

Default: 1
Optional

Rating

A value between 1 and 5 to rate the quality or priority of the service. 5 is best.

Default: 3

Optional
DelayHoursIndicates the lead time in hours applicable by the supplier. The lead time is the minimum time in hours from notification of work until start to work. For example: If the supplier lives in a different time zone, a minimum lead time would reflect the time difference. Optional
DelayDaysIndicates the lead time in days applicable by the supplier. You can combine this value with DelayHours and obtain for example a lead time of 1 day and 7 hours.Optional
DelayUnitsPerDayThe capacity of the supplier. It indicates the number of units the supplier can process per day (see PriceUnitCode). The unit is indicated in field PriceUnitCode.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






JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.