<- Checkout API

Checkout API

All versions ->

Update location settingsBeta

PUT

 /v2/online-checkout/location-settings/{location_id}

Updates the location-level settings for a Square-hosted checkout page.

Permissions:MERCHANT_PROFILE_READ, MERCHANT_PROFILE_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

location_id

string

Required

The ID of the location for which to retrieve settings.

Link to section

Request body

Link to section

location_settings

Required

Describe your updates using the location_settings object. Make sure it contains only the fields that have changed.

Link to section

Response fields

Link to section

errors

Any errors that occurred when updating the location settings.

Link to section

location_settings

The updated location settings.