REST API – create post with ID external
-
Good Morning,
I think this is impossible but to be sure.
From an external service, using the REST API, the WP post will be created, using the POST method. The client wants the ID that they add in the JSON to be the ID that the post has inside the WP.
Come on, they want the ID of their database to match that of WP. I have already indicated to you that this is impossible.
Is it correct or is there some way to make this possible?
If I add that external ID to a meta, could I use it to do a GET or a DELETE on that post?
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘REST API – create post with ID external’ is closed to new replies.