Use this method to update the properties of a service (pricelist item) in a pricelist.When adding a service, you need to have:The service id to updateThe pricelist id to which the service is addedThe company id to which the pricelist is attached
URL
(POST) 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 pricelist. The pricelist must belong to the company. |
Required |
|
serviceid |
The id of the service to update. The service must exist in the pricelist. |
Required |
|
data |
A json containing the service details, see below. |
Required |
JSON format of "data" parameter
See previous chapter for all parameters. All parameters are optional. Simply specify the fields you want to change. "TaskCode", "LocaleSource", and "LocaleTarget" can't be modified.