Updating the Prices
Use the Update Specific Machine Attribute endpoint to send a DEX file to a machine to update the prices and other product information.Request
Replace
<MACHINE_ID> with the actual identifier of the machine, <DEVICE_ATTRIBUTE_ID> with the attribute you want to update (in this example, “900” for DEX updates), and <NEW_VALUE> with the updated value. Use a valid access token for <YOUR_ACCESS_TOKEN>.- DeviceAttributeID: In this example, the attribute ID “900” might correspond to a DEX-related update, such as sending new price data.
- MachineID: Specifies the machine that is receiving the DEX data update.
- DeviceAttributeValue: The new value for the specified attribute, such as the updated price or DEX content.
Response
- DeviceAttributeID: The ID of the updated attribute.
- MachineID: The identifier of the machine where the attribute update occurred.
- DeviceAttributeValue: The new value that was set for the attribute.
- DeviceAttributeCodeID: A code associated with the updated attribute.
- DeviceAttributeName: The name of the updated attribute.
- DeviceAttributeGroup: The group/category to which the attribute belongs, such as “Pricing.”
- DeviceAttributeReadOnlyBit: Indicates whether the attribute is read-only (
falsein this case). - MachineAttributeRef: A reference identifier for the machine attribute.
- MachineRef: The reference identifier for the machine.