Skip to content

API reference

Store

Your store as its seller sees it, and the basic settings. Themes, payment methods, payouts and domains stay in the dashboard.

Endpoints

GET/storestore:read

Get the store.

curl https://api.sellhidden.com/v1/store \
  -H "Authorization: Bearer hsk_live_…"
200 OKjson
{ "ok": true, "store": { "id": "clx…", "slug": "my-store", "name": "My Store", "url": "https://my-store.sellhidden.com", "plan": "pro", "balanceUsd": 1240.5, "feeBornBy": "seller", "support": { "email": "help@example.com", "discord": null, "telegram": null }, "settings": { "maintenanceMode": false, "hideOutOfStock": false, … }, … } }

PATCH/storestore:write

Update basic settings. Only the fields you send change.

Body
BodyTypeDescription
nameType: string2-80 characters.
descriptionType: stringUp to 500 characters.
logoUrlType: string | null
bannerUrlType: string | null
supportEmailType: string | null
supportDiscordType: string | nullInvite URL.
supportTelegramType: string | null
maintenanceModeType: booleanCloses the storefront to buyers.
hideOutOfStockType: boolean
showStockCountType: boolean
showStatsType: boolean
recentSalesWidgetType: booleanLive sale notifications toggle.
liveSalesCornerType: stringbottom-left | bottom-right | top-left | top-right (default bottom-left).
autoReviewsType: boolean
autoCurrencyType: booleanDeprecated; use currencyMode ("auto").
currencyModeType: usd | fixed | autoDefault display currency: USD, a fixed one you pick, or the currency of the buyer's location.
defaultCurrencyType: stringISO 4217 code used when currencyMode is "fixed".
showCurrencyPickerType: booleanFalse hides the currency picker everywhere and the shop stays in USD.
feeBornByType: seller | customerWho would pay a platform fee. Every plan has a 0% platform fee, so this has no effect today.
productsPerPageType: 4..48
subscriptionReminderDaysType: 1..14Days before a renewal the reminder email goes out.
subscriptionGraceDaysType: 0..3Days a buyer keeps access after a missed renewal.
curl -X PATCH https://api.sellhidden.com/v1/store \
  -H "Authorization: Bearer hsk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"maintenanceMode":true}'

Get help

Send us the endpoint, the request or delivery id and the response you got. Security findings go through responsible disclosure. Live platform status is on the support page.

See also