Tip |
---|
Available from CRM.COM R14.0.0 |
Excerpt |
---|
This method updates a product. A single product is updated by each call |
...
Name | Type | Description | |||||||||||||||
token | String | The token retrieved from the login method | |||||||||||||||
product_identifier (mandatory) | Identifier | The identifier of the product. The allowed product identifier fields are the following:
| |||||||||||||||
code (optional) | String | The code of the new product | |||||||||||||||
alternative_code (optional) | String | The alternative code of the new product | |||||||||||||||
description (optional) | String | The description of the new product | |||||||||||||||
type_identifier (optional) | Identifier | The product type identifier of the new product. The allowed product type identifier fields are the following:
| |||||||||||||||
brand_identifier (optional) | Identifier | The product brand identifier of the new product. The allowed product type identifier fields are the following:
| |||||||||||||||
family_identifier (optional) | Identifier | The product family identifier of the new product. The allowed product type identifier fields are the following:
| |||||||||||||||
udf_string_1 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_2 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_3 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_4 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_5 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_6 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_7 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_8 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_9 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_10 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_11 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_12 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_13 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_14 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_15 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_string_16 (optional) | String | User Defined Field of type String | |||||||||||||||
udf_float_1 (optional) | Float | User Defined Field of type Float | |||||||||||||||
udf_float_2 (optional) | Float | User Defined Field of type Float | |||||||||||||||
udf_float_3 (optional) | Float | User Defined Field of type Float | |||||||||||||||
udf_float_4 (optional) | Float | User Defined Field of type Float | |||||||||||||||
udf_date_1 (optional) | Date | User Defined Field of type Date | |||||||||||||||
udf_date_2 (optional) | Date | User Defined Field of type Date | |||||||||||||||
udf_date_3 (optional) | Date | User Defined Field of type Date | |||||||||||||||
udf_date_4 (optional) | Date | User Defined Field of type Date | |||||||||||||||
(optional) | Set of Product Validity Objects | The time periods during which the product will be available to be used. If not specified then the product will be always be available Applicable only for products of classification SERVICE with type EXPENSE or TERMED | V4:Web API - Updating Sets | (optional) | Set of Product Category Objects | The product category of the new product If no records are specified in the set then nothing will be updated. To remove a record use "action" : "remove". To add a record use "action" : "add". Different actions can be used within the same set. For example:
| |||||||||||
(optional) | Set of Tax/Vat Rates Product Category Objects | The tax/vat rates of the current periodproduct category of the new product If no records are specified in the set then nothing will be updated. To remove a record use "action" : "remove". To add a record use "action" : "add". Different actions can be used within the same set. For example:
| (mandatory on conditions) | Set of Components Objects | The bundle components of the new product The "bundle_components" parameter is applicable and possibly mandatory only if the product is classified as a fixed or flexible bundle Include Page | | V4:Web API - Updating Sets | V4:Web API - Updating Sets
,
{
"action": "add",
...........
}
] |
(optional)
The tax/vat rates of the current period
If no records are specified in the set then nothing will be updated. To add a record use "action" : "add". Different actions can be used within the same set. For example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
"set": [
{
"action": "add",
...........
}
] |
(mandatory on conditions)
The bundle components of the new product
The "bundle_components" parameter is applicable and possibly mandatory only if the product is classified as a fixed or flexible bundle
If no records are specified in the set then nothing will be updated. To remove a record use "action" : "remove". To add a record use "action" : "add". Different actions can be used within the same set. For example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
"set": [
{
"action": "remove",
...........
},
{
"action": "add",
...........
}
] |
(optional)
The bundle restrictions of the new product
The "bundle_restrictions" parameter is applicable only if the product is classified as flexible bundle
fields_set
(optional)
List of Strings, comma separated
A list of fields that should be included in the results. If not specified then all the available fields will be returned
...