To update profile fields, use the command item/update_profile_field:
svc=item/update_profile_field¶ms={"itemId":<long>, "n":<text>, "v":<text>}
| Name | Description |
|---|---|
| itemId | item ID |
| n | custom field name |
| v | custom field value |
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 |
[ <long>, /* custom field ID */ { "id":<long>, /* custom field ID */ "n":<text>, /* name */ "v":<text> /* value */ } ]