Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #50083


Ignore:
Timestamp:
05/05/2020 11:12:31 AM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50083

    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
    • Property Milestone changed from Awaiting Review to
  • Ticket #50083 – Description

    initial v2  
    22I am using wp-json/wc/v3/products/batch api, and result with "update", "create", "delete" tags.
    33But i dont want to get all fields from json. _fields param is working with get a product json. But products/batch is return json like that
    4 
     4{{{
    55{
    66  "update": [
     
    945945  ]
    946946}
    947 
     947}}}
    948948i want to just id in "update, create and delete tags arrays.
    949949it can be using wp-json/wc/v3/products/batch?_fields=update.0.name with first raw,