APIs & Integrations

hawkishtester
Participant

Why won't deal description appear in deals via ecommerce bridge?

SOLVE


Why wont the deal description come through, while deal name does?

my settings:

    "DEAL": {
      "properties": [
        {
          "externalPropertyName": "description",
          "hubspotPropertyName": "dealdescription",
          "dataType": "STRING"
        }


My backend code:

      {
        "storeId": "ecommercebridge-store-unnamed",
        "objectType": "DEAL",
        "messages": [
          {
            "action": "UPSERT",
            "changedAt": "%{changed_at_1}",
            "externalObjectId": "%{order_id}",
            "properties": {
              "name": "%{order_name}",
              "stage": "processed",
              "purchase_date": "%{purchase_date}",
              "amount": "%{deal_amount}",
              "order_number": "%{order_number}",
              "ordernotes": "%{ordernotes}",
              "description": "exampledescription"
            },
            "associations": {
              "CONTACT": [
                "%{customer_id}"
              ]
            }
          }
        ]
      }


End result:
Screen_Shot_2020-05-06_at_8_07_57_PM.png

 

0 Upvotes
1 Accepted solution
Willson
Solution
HubSpot Employee
HubSpot Employee

Why won't deal description appear in deals via ecommerce bridge?

SOLVE

Hey @hawkishtester 

 

Looking into your code, you're passing the description from your ecomm store to HubSpot under the property dealdescription.

 

Looking into your properties, there is no property that matches this internal label. The Deal Description currently has the label description internally, can you attempt to update your request to use this label instead.

 

I hope this helps!

Product Manager @ HubSpot

View solution in original post

2 Replies 2
Willson
Solution
HubSpot Employee
HubSpot Employee

Why won't deal description appear in deals via ecommerce bridge?

SOLVE

Hey @hawkishtester 

 

Looking into your code, you're passing the description from your ecomm store to HubSpot under the property dealdescription.

 

Looking into your properties, there is no property that matches this internal label. The Deal Description currently has the label description internally, can you attempt to update your request to use this label instead.

 

I hope this helps!

Product Manager @ HubSpot
hawkishtester
Participant

Why won't deal description appear in deals via ecommerce bridge?

SOLVE


And we have liftoff!!

good.png

0 Upvotes