I am trying to create new line items
{{uri}}/crm-objects/v1/objects/line_items?hapikey={{hapikey}}
My request looks like the example
[
{
"name": "hs_product_id",
"value": "1642736"
},
{
"name": "quantity",
"value": "50"
},
{
"name": "price",
"value": "9.50"
},
{
"name": "name",
"value": "A custom name for the product for this line item. Discounting 5% on bulk purchase."
}
]
My response is…
{
"validationResults": [
{
"isValid": false,
"message": "\"ip__ecomm_bridge__ecomm_synced\" is a read only property; its value cannot be set.",
"error": "READ_ONLY_VALUE",
"name": "ip__ecomm_bridge__ecomm_synced"
},
{
"isValid": false,
"message": "\"ip__ecomm_bridge__source_app_id\" is a read only property; its value cannot be set.",
"error": "READ_ONLY_VALUE",
"name": "ip__ecomm_bridge__source_app_id"
},
{
"isValid": false,
"message": "\"ip__ecomm_bridge__source_store_id\" is a read only property; its value cannot be set.",
"error": "READ_ONLY_VALUE",
"name": "ip__ecomm_bridge__source_store_id"
}
],
"status": "error",
"message": "Property values were not valid",
"correlationId": "8783972a-b65c-404d-9ea2-1770eda85ca0"
}
the properties exist in the product the products exists and the hs_product_id is correct it almost looks like the example request is written wrong like I am trying to update the hs_product_id any help would be much appreciated.