78692638d4a24645fbf5 | 2022-10-18 00:22:24 UTC | #1
Hello,
Does anyone know if I can update a contact record in an Outbound Contact List, without passing in all of the column names as input parameters? I see that the API call is a PUT and I've tried just updating one value attached to the record, but I receive an error that says I need to include all of the column names.
Is there a way around this, so that I only need to pass in 1 parameter in my request body?
It would be nice to have a PATCH request for this.
Thanks, Peter
charlie.conneely | 2022-10-18 14:12:23 UTC | #2
Hi Peter,
If you'd like to see this PATCH endpoint introduced, you can submit an idea on our Ideas Portal.
For now, I would recommend using the GET endpoint /api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}, manipulating the returned JSON, and using it for the PUT request to update the one value. It's not ideal, but as far as I'm aware, this would be your best chance at mimicking a PATCH.
Hope this helps, Charlie
system | 2022-11-18 14:13:16 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 16750