Update CustomField option returning 404

Hey,

I'm running a query on the url http://api.createsend.com/api/v3/lists/(mylistid)/customfields/Source/options.json

(mylistid) is the listID for a list which has a custom field called "Source".

but I'm getting a 404....

Just FYI source, [Source], and [source] all return 404 too.

Any ideas what I'm doing wrong?

Rob

rob_mccann, 6 years ago

Solution
Use PUT instead of POST

jamesd jamesd, 6 years ago

Yes, we try to use HTTP verbs meaningfully in our API, and the use of PUT for updating custom field options is documented here. Glad you figured it out.

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098