To update profile fields, use the command item/update_profile_field:
svc=item/update_custom_field¶ms={"itemId":<long>, "n":<text>, "v":<text>}
Parameters
Name | Description |
---|---|
itemId | item ID |
n | custom field name |
v | custom field value |
Profile fields
You can use following profile fields:
ID | Name | Description |
---|---|---|
1 | vehicle_type | Vehicle type |
2 | vin | VIN |
3 | registration_plate | Registration plate |
4 | brand | Brand |
5 | model | Model |
6 | year | Year |
7 | color | Color |
8 | cargo_type | Cargo type |
9 | carrying_capacity | Carrying capacity, t |
10 | width | Width, mm |
11 | height | Height, mm |
12 | depth | Depth, mm |
13 | effective_capacity | Effective capacity |
14 | gross_vehicle_weight | Gross vehicle weight |
15 | axles | Axles |
Response
[ <long>, /* field ID */ { "id":<long>, /* field ID */ "n":<text>, /* field name */ "v":<text> /* field value */ } ]