---
title: "Update a site's auto checkout settings"
method: PUT
path: "/shop/sites/{siteId}/auto-checkout-settings"
tags: ["Sites"]
---

# Update a site's auto checkout settings

`PUT /shop/sites/{siteId}/auto-checkout-settings`

Use this endpoint to update the auto checkout settings for a site

## Request body

- UpdateAutoCheckoutSettings — Properties to be updated in a site's auto checkout settings
  - `checkout_sessions_enabled` boolean — Whether to support automation of checking out all sessions from the previous day.

## Response `200`

A response containing a site's auto checkout settings.

- object
  - `data` AutoCheckoutSettings, required — Properties to be updated in a site's auto checkout settings
    - `checkout_sessions_enabled` boolean, required — Whether to support automation of checking out all sessions from the previous day.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
