Skip to content

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_idstringrequired

      The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

    • automation_idstringrequired

      The automation's ID, like auto_01k8qs5s….

    Headers

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Body

    • settingsobjectrequired

      A kind's numbers. Each kind reads the ones it needs.

    • stepsarray of objectsrequired

    Returns

    200 The automation.

    Errors

    • 404not_foundNo such automation.
    • 422validation_failedInvalid numbers or words.