> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salesive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Settings

> Read and change the store's notification and checkout settings, including the WhatsApp chat widget and the POS tax rate.

The store's settings subdocument controls notification toggles, checkout
behaviour and the chat widget. An app with `READ_SETTINGS` can read it; one with
`WRITE_SETTINGS` can change it.

The store is bound to your app token server-side. Never send a shop id.

## Read settings

```http theme={null}
GET /api/v1/settings
```

Returns the settings object. A store that has never changed anything answers
with `{}`, so treat every key as optional.

## Change settings

```http theme={null}
PUT /api/v1/settings
```

Send only the keys you are changing. The body is validated against a fixed
allowlist; an unknown key is rejected rather than ignored, so you cannot widen
this into a general shop edit.

| Key | Type | Meaning |
| - | - | - |
| `generalPushNotification` | boolean | Send a push for general activity. |
| `paymentNotification` | boolean | Push when a payment succeeds. |
| `orderNotification` | boolean | Push when an order is placed. |
| `shippingNotification` | boolean | Push on shipment updates. |
| `salesNotification` | boolean | Push when a sale completes. |
| `visitorNotification` | boolean | Push when a visitor is on the store. |
| `socialShareNotification` | boolean | Push for social shares and mentions. |
| `allowOrderWithoutShipping` | boolean | Let an order check out with no shipping address. |
| `disableShipmentInStorefront` | boolean | Hide shipment tracking on the storefront. |
| `posTaxRate` | number, 0 to 100 | Tax percentage applied to point of sale sales. |
| `voiceCallsEnabled` | boolean | Allow voice calls in chat. |
| `chatWidgetMode` | `chat` or `whatsapp` | Which channel the chat widget opens. |
| `whatsappNumber` | string | The number the widget opens, digits with spaces, `+`, `-`, `(` and `)`. |

> [!WARNING]
>
> `whatsappNumber` and `chatWidgetMode` change what a shopper sees when they
> open chat, and `allowOrderWithoutShipping` changes what checkout will accept.
> Say plainly what you are changing, and prefer asking the merchant to confirm in
> your own UI before you write those three.

## What an app cannot change

Store name, domain, currency, plan, payout settings, staff and roles and payment
credentials are not part of this subdocument. They live on the shop itself and
are reached through their own endpoints, several of which are owner-only or
human-only.

## Scopes

| Scope | Grants |
| - | - |
| `READ_SETTINGS` | `GET /settings` |
| `WRITE_SETTINGS` | `PUT /settings` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.