Sends a CarrierService callback message for each device in the request when the contact information has been changed, or if there was a problem and the change could not be completed.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Request to update contact information for devices.
TypeScript Definitions
Use the request body type in TypeScript.
Request to update contact information.
application/json
application/json
curl -X PUT "https://example.com/m2m/v1/devices/actions/contactInfo" \ -H "Content-Type: application/json" \ -d '{ "devices": [ { "deviceIds": [ { "kind": "ESN", "id": "19110173057" }, { "kind": "ESN", "id": "19110173057" } ] } ], "accountName": "0000123456-00001", "primaryPlaceOfUse": { "address": { "addressLine1": "9868 Scranton Rd", "addressLine2": "Suite A", "city": "San Diego", "state": "CA", "country": "USA", "zip": "92121", "zip4": "0001", "phone": "1234567890", "phoneType": "H", "emailAddress": "zaffod@theinternet.com" }, "customerName": { "firstName": "Zaffod", "lastName": "Beeblebrox", "middleName": "P", "title": "President", "suffix": "I" } } }'{ "requestId": "24da9f9a-d110-4a54-86b4-93fb76aab83c"}{ "errorCode": "error code string", "errorMessage": "error message string"}The customer name and the address of the device's primary place of use. Leave these fields empty to use the account profile address as the primary place of use. These values will be applied to all devices in the request.If the account is enabled for non-geographic MDNs and the device supports it, the primaryPlaceOfUse address will also be used to derive the MDN for the device.
The name of the billing account that the devices belong to. An account name is usually numeric, and must include any leading zeros.
A list of the devices that you want to change, specified by device identifier. You only need to provide one identifier per device. Do not include accountName, groupName, customFields, or servicePlan if you use this parameter.