Update function
PATCH
/ admin/ v1/ stores/ {store_id}/ functions/ {function_id}- functions:manage
Renames, switches on or off, or reorders a function.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.function_idstringrequiredThe function's ID, like
fn_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
titlestring · or nullenabledboolean · or nullSwitching on again forgives earlier failures.
positioninteger · or null
Returns
200 Saved.