Skip to content

Change view

PATCH/admin/v1/stores/{store_id}/saved-views/{view_id}

    Rename a view, change its filters, or share it with the team (or keep it to yourself). A team view is changed by whoever made it, or someone with settings:write.

    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.

    • view_idstringrequired

      Saved view ID

    Headers

    • shop-api-versionYYYY-MM

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

    Body

    • namestring · or null
    • filtersobject · or null
    • sharedboolean · or null

    Returns

    200 Changed.

    Errors

    • 403forbiddenSomeone else's team view.
    • 404not_foundNo such view of yours or the team's.