Save automation
PUT
/ admin/ v1/ stores/ {store_id}/ automations/ {automation_id}Saves an automation's numbers and words. They apply to steps not yet sent.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.automation_idstringrequiredThe automation's ID, like
auto_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
settingsobjectrequiredA kind's numbers. Each kind reads the ones it needs.
stepsarray of objectsrequired
Returns
200 The automation.
Errors
- 404
not_foundNo such automation. - 422
validation_failedInvalid numbers or words.