Search

saveAppliance

Create or update an appliance.

This API call returns error 1006 if assignment module is not enabled on this account.

Input parameters

Parameter nameDescriptionPossible valueRequired
applianceIDAppliance ID.Integer
applianceNameName of appliance. Appliance-specific attribute. Available only if appliance module is enabled on your account.String
productIDProduct ID. Appliance-specific attribute. Available only if appliance module is enabled on your account.Integer
invoiceIDInvoice ID.Integer
customerIDCustomer ID.Integer yes
salesDateSales date.ISO date (yyyy-mm-dd)
startDateOfWarrantyStart date of warranty.ISO date (yyyy-mm-dd)
endDateOfWarrantyEnd date of warranty.ISO date (yyyy-mm-dd)
serialNumberSerial number.String
vehicleVINVehicle-specific attribute. Available only if vehicle module is enabled on your account.String
vehicleMakeVehicle-specific attribute. Available only if vehicle module is enabled on your account.String
vehicleModelVehicle-specific attribute. Available only if vehicle module is enabled on your account.String
vehicleVersionVehicle-specific attribute. Available only if vehicle module is enabled on your account.String
vehicleYearOfManufactureVehicle-specific attribute. Available only if vehicle module is enabled on your account.String
vehicleMileageVehicle-specific attribute. Available only if vehicle module is enabled on your account.Integer
vehicleUserVehicle-specific attribute. Available only if vehicle module is enabled on your account.String
notesAdditional information.String
*************Additional attributes associated with this item.
Attributes must be supplied as a flat list, each attribute defined by the following set of three parameters. Replace # with set number (1, 2, 3, ...). When updating an existing entry, API will only update the attributes specified in input data and leave all other existing attributes unchanged. To delete an attribute, set its value to 'null' or 'undefined'.
attributeName#Attribute name. Name can only contain the following symbols: A-Z, a-z, 0-9, dash and underscore.String
attributeType#Attribute type, possible types are 'text', 'int' and 'double'. By default 'text'.String
attributeValue#Value of the attribute. Set value to 'null' or 'undefined' to delete an attribute.
'text' attribute can be any string, maximum 255 characters.
'int' must be a signed 32-bit integer.
'double' must be a decimal number.
String

Response

Field nameTypeDescription
applianceIDIntegerID of the created/updated item.