# Updating settings for eCommerce Bridge Application

**URL:** <https://community.hubspot.com/t/updating-settings-for-ecommerce-bridge-application/44293>\
**Category:** APIs & Integrations\
**Created:** [September 23, 2021, 6:04pm UTC](https://community.hubspot.com/t/updating-settings-for-ecommerce-bridge-application/44293 "2021-09-23T18:04:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Helder](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/helder/32/28756_2.png) [@Helder](https://community.hubspot.com/u/Helder)\
**Post date:** [September 23, 2021, 6:04pm UTC](https://community.hubspot.com/t/updating-settings-for-ecommerce-bridge-application/44293/1 "2021-09-23T18:04:09Z")

</div>

Hello!

I have a public approved application in HubSpot marketplace (already with some customers).

I notice the SKU of the products were not syncing correctly and found some post about changing the internal settings mapping from ‘sku’ to ‘hs\_sku’.

We I try to update the settings for my application I always get some sort of error (changes in every request).

My settings:

GET [https://api.hubapi.com/extensions/ecomm/v2/settings?appId=MY\_APP\_ID&hapikey=DEV\_API\_KEY](https://api.hubapi.com/extensions/ecomm/v2/settings?appId=MY_APP_ID&hapikey=DEV_API_KEY)

```lia-code-sample
{
 "enabled": true,
 "webhookUri": null,
 "mappings": {
 "CONTACT": {
 "properties": [
 {
 "externalPropertyName": "external_source_account_id",
 "hubspotPropertyName": "ip __sync_extension__ external_source_account_id",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "firstname",
 "hubspotPropertyName": "firstname",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "familyname",
 "hubspotPropertyName": "lastname",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "external_source_app_id",
 "hubspotPropertyName": "ip __sync_extension__ external_source_app_id",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "phone_number",
 "hubspotPropertyName": "mobilephone",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "customer_email",
 "hubspotPropertyName": "email",
 "dataType": "STRING"
 }
 ]
 },
 "DEAL": {
 "properties": [
 {
 "externalPropertyName": "external_source_account_id",
 "hubspotPropertyName": "ip __sync_extension__ external_source_account_id",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "purchase_date",
 "hubspotPropertyName": "closedate",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "abandoned_cart_url",
 "hubspotPropertyName": "ip __ecomm_bridge__ abandoned_cart_url",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "name",
 "hubspotPropertyName": "dealname",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "stage",
 "hubspotPropertyName": "dealstage",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "external_source_app_id",
 "hubspotPropertyName": "ip __sync_extension__ external_source_app_id",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "amount",
 "hubspotPropertyName": "amount",
 "dataType": "NUMBER"
 },
 {
 "externalPropertyName": "order_number",
 "hubspotPropertyName": "ip __ecomm_bridge__ order_number",
 "dataType": "STRING"
 }
 ]
 },
 "PRODUCT": {
 "properties": [
 {
 "externalPropertyName": "external_source_account_id",
 "hubspotPropertyName": "ip __sync_extension__ external_source_account_id",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "price",
 "hubspotPropertyName": "price",
 "dataType": "NUMBER"
 },
 {
 "externalPropertyName": "product_description",
 "hubspotPropertyName": "description",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "image_url",
 "hubspotPropertyName": "ip __ecomm_bridge__ image_url",
 "dataType": "AVATAR_IMAGE"
 },
 {
 "externalPropertyName": "external_source_app_id",
 "hubspotPropertyName": "ip __sync_extension__ external_source_app_id",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "sku",
 "hubspotPropertyName": "sku",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "product_name",
 "hubspotPropertyName": "name",
 "dataType": "STRING"
 }
 ]
 },
 "LINE_ITEM": {
 "properties": [
 {
 "externalPropertyName": "external_source_account_id",
 "hubspotPropertyName": "ip __sync_extension__ external_source_account_id",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "price",
 "hubspotPropertyName": "price",
 "dataType": "NUMBER"
 },
 {
 "externalPropertyName": "tax_amount",
 "hubspotPropertyName": "tax",
 "dataType": "NUMBER"
 },
 {
 "externalPropertyName": "external_source_app_id",
 "hubspotPropertyName": "ip __sync_extension__ external_source_app_id",
 "dataType": "STRING"
 },
 {
 "externalPropertyName": "num_items",
 "hubspotPropertyName": "quantity",
 "dataType": "NUMBER"
 },
 {
 "externalPropertyName": "discount_amount",
 "hubspotPropertyName": "discount",
 "dataType": "NUMBER"
 }
 ]
 }
 }
}

```

I’m trying to change:

PUT [https://api.hubapi.com/extensions/ecomm/v2/settings?appId=MY\_APP\_ID&hapikey=DEV\_API\_KEY](https://api.hubapi.com/extensions/ecomm/v2/settings?appId=MY_APP_ID&hapikey=DEV_API_KEY)

```lia-code-sample
{
 "enabled": true,
 "webhookUri": null,
 "mappings": {
 "CONTACT": {
 // removed to make it shorter
 "PRODUCT": {
 "properties": [
 // removed to make it shorter
 {
 "externalPropertyName": "sku",
 "hubspotPropertyName": "hs_sku", <-- changed from 'sku' to 'hs_sku'
 "dataType": "STRING"
 }
 ]
 },
 "LINE_ITEM": {
 // removed to make it shorter
 }
 }
}

```

And the 400 response:

```lia-code-sample
{
 "status": "error",
 "message": "|ObjectType: CONTACT| syncPreferences [PropertyRequest{propertyName=phone_number, dataType=STRING, targetHubspotProperty=mobilephone}, PropertyRequest{propertyName=ecomm_synced, dataType=STRING, targetHubspotProperty=ip __ecomm_bridge__ ecomm_synced}, PropertyRequest{propertyName=external_source_account_id, dataType=STRING, targetHubspotProperty=ip __sync_extension__ external_source_account_id}, PropertyRequest{propertyName=external_source_app_id, dataType=STRING, targetHubspotProperty=ip __sync_extension__ external_source_app_id}, PropertyRequest{propertyName=firstname, dataType=STRING, targetHubspotProperty=firstname}, PropertyRequest{propertyName=source_app_id, dataType=STRING, targetHubspotProperty=ip __ecomm_bridge__ source_app_id}, PropertyRequest{propertyName=source_store_id, dataType=STRING, targetHubspotProperty=ip __ecomm_bridge__ source_store_id}, PropertyRequest{propertyName=customer_email, dataType=STRING, targetHubspotProperty=email}, PropertyRequest{propertyName=familyname, dataType=STRING, targetHubspotProperty=lastname}] must not define reserved propertyNames ([external_source_account_id, external_source_app_id]) or reserved targetHubspotProperties ([ip __sync_extension__ external_source_account_id, ip __sync_extension__ external_source_app_id])",
 "correlationId": "06c3bed4-bb80-4969-93c5-e27901aa2a91"
}

```

Am I doing something wrong? Is there something I can do to change it?

Thanks,

Hélder

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 24, 2021, 5:25pm UTC](https://community.hubspot.com/t/updating-settings-for-ecommerce-bridge-application/44293/2 "2021-09-24T17:25:45Z")

</div>

@himanshurauthan , any advice here?

---

<div class="post-metadata">

**Author:** ![Helder](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/helder/32/28756_2.png) [@Helder](https://community.hubspot.com/u/Helder)\
**Post date:** [September 28, 2021, 4:51pm UTC](https://community.hubspot.com/t/updating-settings-for-ecommerce-bridge-application/44293/3 "2021-09-28T16:51:46Z")

</div>

Thanks @dennisedson , still looking for a solution.

---

<div class="post-metadata">

**Author:** ![Helder](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/helder/32/28756_2.png) [@Helder](https://community.hubspot.com/u/Helder)\
**Post date:** [September 28, 2021, 5:07pm UTC](https://community.hubspot.com/t/updating-settings-for-ecommerce-bridge-application/44293/4 "2021-09-28T17:07:38Z")

</div>

Figured it out!

Looks like I’m not suppose to send the

**external\_source\_account\_id**

and

**external\_source\_app\_id**

fields back to the server!

Thanks!
