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, 5 years ago

Solution
Use PUT instead of POST

jamesd jamesd, 5 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.

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098