# Updating contact through API deletes stage and owner in mautic

**URL:** <https://forum.mautic.org/t/updating-contact-through-api-deletes-stage-and-owner-in-mautic/26999>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [February 10, 2023, 3:21pm UTC](https://forum.mautic.org/t/updating-contact-through-api-deletes-stage-and-owner-in-mautic/26999 "2023-02-10T15:21:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mara](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mara/32/6027_2.png) [@mara](https://forum.mautic.org/u/mara)\
**Post date:** [February 10, 2023, 3:21pm UTC](https://forum.mautic.org/t/updating-contact-through-api-deletes-stage-and-owner-in-mautic/26999/1 "2023-02-10T15:21:23Z")

</div>

**Your software**  
My Mautic version is: 4.4.1  
My PHP version is: 7.4.33  
My Database type and version is: 10.7.8-MariaDB-1:10.7.8+maria~ubu1804

**Your problem**  
My problem is:

When updating a contact through api in Mautic data in mautic gets deleted (stage, owner).

This is what we are sending through an after-safe-webhook:

 ![MicrosoftTeams-image (2)](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/13681ee6afa3cf6353d07d3d26cef96d28e8ff78.png)

this is what data is updated in mautic:

 ![MicrosoftTeams-image (3)](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/beded8b399358a7380dbd65ad8a54e0f27fe7053.png)

We used this reference: [Mautic Developer Documentation](https://developer.mautic.org/#create-contact)

Seems to be a bug in the API. Can someone validate this or does anyone know a workaround?

These errors are showing in the log:  
No errors in log

Steps I have tried to fix the problem:  
Set ‘overwriteWithBlank’ =\> false, [this caused also the lead-score to set to 0]  
Set ‘overwriteWithBlank’ =\> true, [no difference]

---

<div class="post-metadata">

**Author:** ![asad786](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/asad786/32/8990_2.png) [@asad786](https://forum.mautic.org/u/asad786)\
**Post date:** [March 2, 2023, 7:22am UTC](https://forum.mautic.org/t/updating-contact-through-api-deletes-stage-and-owner-in-mautic/26999/2 "2023-03-02T07:22:52Z")

</div>

You have to add owner and stage in the json parameters too, when sending data to mautic through API, and set both values to 1.
