Ok, that was quick.
Pass in the parent id, and it works.
someKey.save({parent: parentId});
Related Posts:
- Update Line Item Meta Data – WooCommerce API
- Cant create or update meta fields using WordPress REST API
- WP REST API only returning partial list of users
- How to update/insert custom field(post meta) data with wordpress REST API?
- Updating Post Meta with Backbone and the REST API
- WP REST API “rest_no_route” when trying to update meta
- WP REST API – Retrieve content from page
- Options to get my custom post type metadata via the WordPress API
- Is it possible to update a post meta field through REST API if the format of it when registered is nested?
- Mass importing json data into custom fields (postmeta)
- Use the backbone.js client to save custom post type meta
- Unknown characters added to meta data values
- How to create WordPress custom end point with multiple parameters?
- How to properly use oneOf and anyOf in Rest Schema?
- Check if user can in javascript
- wp-api Backbone JS Client fetch options
- Bulk Update Post Meta Values from Different Post via Rest Api
- How to register post meta with multi level arrays?
- How to add a post’s view count into the WordPress API response
- Attachment metadata has value of ‘1’
- Extending the API I created to return category names
- WP API users per page
- Best Way to detect unique posts in wp rest api
- WP-API : post_meta not updated… but have another entry
- External api call using wordpress
- How do I retrieve the slug of the current page?
- How to save an array with one metakey in postmeta?
- WordPress is stripping escape backslashes from JSON strings in post_meta
- Lack of composite indexes for meta tables
- Retrieving pages with multiple tags using REST API
- Content hooks vs User hooks
- WordPress Rest API: How do we validate with our custom API key?
- get_post_meta – get a single value
- get_post_meta / update_post_meta array
- Triple meta_key on custom SELECT query
- update_post_meta not adding anything.(Nor add_post_meta)
- Identifying Importer Posts
- How to sanitize post meta field value?
- Post IDs missing on delete_postmeta action hook
- Extending wp JavaScript base class to make a post request to a custom REST endpoint
- How trigger to save post when updating post meta
- Create a Metabox that behaves Like a Taxonomy Box
- Views count with time limit per IP
- Save/update post_meta with Gutenberg from the panel
- echo image caption
- get_*_meta doesn’t always return an array
- Generate multiple goo.gl shortlinks for qtranslate bilingual blog
- Add post meta fields, when creating a post using WordPress’ REST API
- How can I convert postmeta from unserialized to serialized?
- add_post_meta adds meta to one more different post
- WP – API – OAuth 1.0a Server, How to implement with AngularJS?
- need some assistance with the checkboxes (selecting/deselecting featured posts)
- get_post_meta() not work for the first post inside the loop
- Adding new value to existing meta key
- how to get a list of meta data fields assocaited with a custom post type
- Gutenberg: How to display meta field data in the block frontend (save function)
- WordPress API for custom post types returns rest_no_route
- WP REST API – get custom taxonomies based on terms & filter
- String taken from database table post_meta is showing HTML tags on Frontend
- Delete posts based on post meta data
- How can I spin up a new website for a registered user automatically?
- How do I edit the posted “by” and “on” in the post meta
- How to delete duplicate records in wp_postmeta database table?
- update_post_meta() adding bits in database [closed]
- Get posts ordered by meta data
- Displaying values from related field – if empty shows current post type’s link and title
- get_post_meta inside echo [closed]
- WordPress postmeta: Store data as an array or single item?
- Display Post Meta in Header
- Array of user ids to list of user names
- Conditional For get_the_author_meta
- Custom fields or something else
- Cannot use WordPress Application Passwords: “code”: “rest_no_route” “status”:404 for /wp-json/wp/v2/users/me/application-passwords
- I want to Add Feedburner Right After Meta Details
- if get_post_meta function returns empty – Do Not Display HTML
- Custom column on CPT not showing correct value when meta data not set
- How to access post meta on the first time a post is published
- I Can’t get the post_tag name from term_id using wp_set_object_terms
- How to update/add child posts meta whenever the parent post meta is updated?
- How to query post with meta?
- why is my postmeta table is so heavy
- update_post_meta() throws Uncaught error: Cannot create duplicate attribute
- Using a comma instead of a pipe to separate metadata
- Custom meta POST request fired twice when updating a post in Gutenberg
- show user based on user_meta
- Meta keys won’t add using wp_insert_post
- How Can I extract Image urls from post meta
- Retrieve posts from meta key
- Assign postmeta in bulk
- Re-order posts inside tax query
- Using mysql queries to delete custom post types based on meta_value
- Write query according to post_meta
- Why values dont shows in custom post column?
- get_post_meta of multiple posts?
- I am stuck between post meta function to call unique id
- How to show wordpress post in the site based on custom field value?
- How can I enforce user to use Application password to generate JWT token? [closed]
- Extend file format support for post thumbnails
- Why isn’t my embed_video WYSIWYG field updating when using update_post_meta?
- rest_api_init is not getting invoked inside a Class