WordPress Custom Post Type with ACF fields

I am interested to know how the http request can manage to create new custom post with ACF fields linked.
Thank you

Hey @joffreypersia,

The HTTP Request node can call the API, Assuming you know the URL you need to hit and what parameters you need to send it won’t be that bad.

This looks to be the the place to start: ACF | WP REST API Integration

1 Like

image
Hello team !

I need help to modify values in an array (from repeater ACF).

I’m not sure what JSON I should do.

Thanks

Hey @delcros_w,

Is that the data you are sending or the data ACF is expecting?

I would like to send data to a repeater (database WP).

Here is the json schema I use to target :

{"acf":{"comment":{"comment_name":"ok"}}}

But it completely overwrites my repeater

to

Hey @delcros_w,

It might be worth checking the ACF API documentation it could be that you need to include the rest of the data in the request as well.

Hey all,

For me, the solution worked like this

{
“acf”: {
“kurs3” : “111”
}
}

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.