Customize a Woocommerce Rest API Endpoint

Slutfört Publicerat 5 år sedan Betalades vid leverans
Slutfört Betalades vid leverans

I need to change an endpoint in my woocommerce rest api. At the moment I'm using /wp-json/wc/v1/products/ and now I would like to use /wp-json/wc/v2/products/ in order to get the in_stock param. However, I have trouble with an endpoint, which adds extra fields to the feed. so, if I use the V1 then the extra fields are in the feed, but if I change to V2 then this data is missing.

HTML JavaScript PHP WooCommerce WordPress

Projekt-id: #17019131

About the project

6 offerter Distansprojekt Aktivt 5 år sedan

Tilldelades:

pinakincode

Hello sir, We have check detail and as per that you need to custom fields in API. we are able to do your work. Regards, Pinakin

$25 USD inom 1 dag
(127 omdömen)
6.0