---
title: "Set Sales Mode"
method: PATCH
path: "/api/v1/me/seller-profile/sales-mode"
---

# Set Sales Mode

`PATCH /api/v1/me/seller-profile/sales-mode`

## Request

- Base URL: `https://trovastorage.it` (the document declares no server; this is the origin it was published from)
- URL: `https://trovastorage.it/api/v1/me/seller-profile/sales-mode`
- Auth: one of:
  - API key in header `X-Access-Token`
  - HTTP bearer

Turn published prices — or self-serve booking — on and off.

Both default to false because that is what the Italian market does, and the
demo of 6 October opens on the model the operator in the room actually runs.
This is a switch to flip in the room rather than a story to tell, and it is
the same endpoint on the pilot, so nothing shown here is demo-only.

Audited: this changes what the public can see about someone's business.

## Request body

- SellerSalesModeRequest: The two commercial switches, changed by the operator who owns them. A demo needs to turn prices on in the room, and a pilot needs to turn them on for good; both are the same act, so there is one endpoint rather than a demo-only hook that would not exist where it matters.
  - `publishes_public_prices` boolean, nullable
  - `self_serve_booking` boolean, nullable
  - `has_specialist` boolean, nullable

## Response `200`

Successful Response

- SellerProfileResponse
  - `id` string, uuid, required
  - `business_name` string, required
  - `contact_phone` string, required
  - `address_line` string, required
  - `city` string, required
  - `country_code` string, required
  - `kyc_state` string, required
  - `admin_approved` boolean, required
  - `is_publish_eligible` boolean, required
  - `publishes_public_prices` boolean, required
  - `self_serve_booking` boolean, required
  - `has_specialist` boolean, required
  - `slug` string, required
  - `card_brand` string, nullable
  - `card_last4` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/trovastorage/apis/stock-your-inventory.md) · [All operations](https://skmtc.dev/trovastorage/apis/stock-your-inventory/llms.txt) · [OpenAPI document](https://skmtc.dev/trovastorage/apis/stock-your-inventory/revisions/c75f591a585c?raw)
