Skip Navigation

[Resolved] Updating custom post type via API

This support ticket is created 3 years, 10 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 3 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2139761

We have worked out how to query our custom post type via API but cant seem to update it.
Do you have guidance for this?

#2139981

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Do you mean you are using REST API and you want to update the custom field using REST API?
- If this is true:

Toolset offers the REST API integration by means of exposing the custom fields created using Types plugin to REST API. Please check the following Doc:
=> https://toolset.com/documentation/programmer-reference/toolset-integration-with-the-rest-api/

Please check the following related tickets:
- https://toolset.com/forums/topic/update-post-cuszom-fields-with-rest-api/#post-1430893
- https://toolset.com/forums/topic/rest-api-update-custom-fields/#post-507744