Decrement attribute value.
This API call is for editing custom objects. Erply has an object storage where you can store custom data for plug-ins, integrations etc.
For other object storage functions, see getObjects, saveObject, deleteObject (which allow to manipulate whole objects), and incrementAttributeValue, decrementAttributeValue — which provide a way to atomically increment or decrement one numeric field of a specific object (eg. to implement a counter).
| Parameter name | Description | Possible value | Required |
|---|---|---|---|
| objectID | ID of the object | integer | yes |
| attributeName | Object field name | string | yes |
| amount | Amount to decrement | Integer or decimal | yes |
| partnerKey | This request can only be called if you have our partnerKey. Will return error 1016 if invalid. | string | yes |
| Field name | Type | Description |
|---|---|---|
| attributeValue | Attribute value after update |