---
title: "This will update %grammar %alias's data"
method: PUT
path: "/objects"
tags: ["objects"]
---

# This will update %grammar %alias's data

`PUT /objects`

This will update %grammar %alias's data. When using this in your application, all invalid parameters will be ignored. <br> <br> <b> Note: </b> Any image field updates will be rehosted on Ontraport. External image URLs submitted in an object save or update will generate a new Ontraport image URL in place.

## Request body

- ObjectPut
  - `objectID` integer, required
  - `id` integer
  - `firstname` string — First name for the Object.
  - `lastname` string — Last name for the Object.
  - `email` string — Email address for the Object.

## Response `200`

Successfully updated object

- Response
  - `code` integer, required
  - `data` object, required
  - `account_id` integer, required

## Other responses

- `403` — No permissions
- `404` — Object not found
- `422` — Unprocessable entity

---

[API](https://skmtc.net/ontraport/apis/ontraport-api.md) · [All operations](https://skmtc.net/ontraport/apis/ontraport-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ontraport/ontraport-api/revisions/edcd035d71f5/schema)
