Skip to Content
Developers
Shop

Get the shop

GET
/shop

The shop the key belongs to. A good first call: it proves the key works and names the currency and time zone of everything else.

Keys: every kind of key works here.

Authorization

apiKey
headerAuthorizationBearer wo_live_...

A key from the shop's admin. Secret keys start with wo_live_, public keys with wo_pub_.

Response body

The request worked.

application/json
  1. response

The shop this key belongs to.

country*string

ISO 3166-1 alpha-2.

currency*string

ISO 4217 code of every amount on this object.

locale*string

The shop's own language.

Value in"en""nl""pt""fr""de"
name*string

The shop's name as customers see it.

object*string
time_zone*string

IANA zone the shop's opening hours are in.

url*string

The shop's public site.

Example request
curl 'https://api.weerom.com/v1/shop'
Example response
{  "country": "BE",  "currency": "EUR",  "locale": "nl",  "name": "Studio Noord",  "object": "shop",  "time_zone": "Europe/Brussels",  "url": "https://studionoord.weerom.be"}

Details

Keys

Read keyWrite keyPublic key

Every kind of key may call it.

What it does

  • Every other time in the API is UTC. Use time_zone to show a time as the shop's clock reads it.
  • currency follows the shop's country, and every amount the shop answers is in it.