FROM CACHE - fr_header

Get and set featured product from homepage with REST api

Dunter
Touriste
4 1 3

Hi,

 

I want to get and set the current featured product from my homepage with Shopify admin REST api.

I can already change my store products prices from my server so private app and connection is working.

 

It seems that it can be done with "update_content" in "overrides property" from section themes REST api but :

1) I am not sure. I don't want to change the code. I just want to change the current featured product.

2) There is no example from documentation so i don't know how to test it 😞https://help.shopify.com/en/api/reference/online-store/section-themes#the-overrides-property).

 

Anyone can help me to achieve my goal please ?

Thanks

1 RÉPONSE 1

Dunter
Touriste
4 1 3

I want to add that "/admin/api/2019-10/master_pages.json" return "{}" like "system_pages.json". So if the homepage is a master page or a system page, I can't see it like that.