Skip to content

Instantly share code, notes, and snippets.

@vietduchelo
Created March 18, 2018 09:02
Show Gist options
  • Save vietduchelo/454bd0d8bfb667b585bb5b3878a3c573 to your computer and use it in GitHub Desktop.
Save vietduchelo/454bd0d8bfb667b585bb5b3878a3c573 to your computer and use it in GitHub Desktop.
Hi ;
I need to update many of my current customer website address details in bulk but the bulk data upload will not actually overwrite existing customer details.
I think that the API is the best way of doing this, using PUT requests to update (overwrite) current customer fields.
I have managed to POST JSON Data to make a new contact in postman, but
a PUT request returns the following error without the contact id in the request url,
{
"status": 404,
"message": "Resource not found",
"error_name": "resource_not_found",
"error_message": "Requested page has not been found",
"errors": {}
}
It looks like I can only update one contact at a time.
Is it currently possible to use the API to PUT Json data into our OnePage CRM account using Postman without always including the contact id in the request URL to, for example,
bulk update all contact website addresses?
Is there a more effective way of mass updating current customer information?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment