POST
/
customers
/
migrate
/
devices
cURL
curl --request POST \
  --url https://app.masivo.ai/api/storefront/v1/customers/migrate/devices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customers": [
    {
      "id": "<string>",
      "devices": [
        {
          "device_token": "<string>",
          "device_info": {
            "platform": "ios",
            "model": "<string>",
            "osVersion": "<string>"
          },
          "expires_at": "2023-11-07T05:31:56Z",
          "created_at": "2023-11-07T05:31:56Z"
        }
      ]
    }
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201

Customer devices updated successfully