"message": "Invalid input JSON on line 1, column 1: Cannot deserialize value of type `java.util.HashSet<com.hubspot.inbounddb.associations.base.AssociationSpec>` from Object value (token `JsonToken.START_OBJECT`)",
Can you help me find the correct API and usage of it to update this field (or any other ... who knows)? Thanks in advance.
Update product information associated to a transaction
SOLVE
Hey, @PBREC👋 Welcome to the community! We're so glad to have you here. Great question. You'll need to make a PATCH request to the Line Items endpoint to update the value for this specific line item.
I made a quick example with Postman using the Properties API and the Line Item API:
I created a custom Line Item property to match yours
POST https://api.hubapi.com/crm/v3/properties/line_item
Update product information associated to a transaction
SOLVE
Hey, @PBREC👋 Welcome to the community! We're so glad to have you here. Great question. You'll need to make a PATCH request to the Line Items endpoint to update the value for this specific line item.
I made a quick example with Postman using the Properties API and the Line Item API:
I created a custom Line Item property to match yours
POST https://api.hubapi.com/crm/v3/properties/line_item