Skip Navigation

[Resolved] Set values of custom fields doing a REST API POST request to a CPT endpoint

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by amonsosanz 6 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1171714

Hello,

What I'm trying to achieve is set the values of some custom fields doing a POST request to a CPT endpoint using the WP REST API. If you could provide some relevant information to do so I would be very grateful.

Also, I'd like to ask you for some hidden links related to my problem. Would you please provide access to the following resources?

• ramK-4 link here [1]
• ramK-4 link here [2]
• the 2 articles to be used as reference provided by Minesh Supporter here [3]
• the link to the "Toolset REST API" plugin mentioned by Minesh Supporter here [4]

I posted a couple of related comments myself to other posts here [5] and here [6].

Thanks a lot!
Alex

[1] https://toolset.com/forums/topic/rest-api-update-custom-fields/#post-508548
[2] https://toolset.com/forums/topic/exposing-custom-fields-through-rest-api/#post-508549
[3] https://toolset.com/forums/topic/rest-api-update-custom-fields/#post-507744
[4] https://toolset.com/forums/topic/how-to-get-custom-fields-into-the-rest-api-output/#post-447845
[5] https://toolset.com/forums/topic/toolset-rest-api-support/#post-1171347
[6] https://toolset.com/forums/topic/toolset-support-for-the-wp-rest-api/#post-1171384

#1172069

Hi, Toolset's REST API implementation is pretty limited, and setting custom field values is not supported. Regardless, I've edited each of the links you mentioned and made the link URLs public in those posts. You should be able to see the links now. I hope this helps!

#1172978

Thanks Christian for unlocking those links. Sadly I haven't been able to make this work.

I guess I will have to wait for the Toolset's REST API implementation. Do you have an ETA for this feature?

Toolset is great, but lacking an integration with the WP API is a problem.

Alex