Shop
Get the shop
GET
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.
apiKeyheader
AuthorizationBearer wo_live_...A key from the shop's admin. Secret keys start with wo_live_, public keys with wo_pub_.
The request worked.
application/json- response
The shop this key belongs to.
country*stringISO 3166-1 alpha-2.
currency*stringISO 4217 code of every amount on this object.
locale*stringThe shop's own language.
Value in
"en""nl""pt""fr""de"name*stringThe shop's name as customers see it.
object*stringtime_zone*stringIANA zone the shop's opening hours are in.
url*stringThe shop's public site.
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_zoneto show a time as the shop's clock reads it. currencyfollows the shop's country, and every amount the shop answers is in it.