FOMDocs
Reference

Shop API

Every shop endpoint, its fields and an example.

Generated from FOM's OpenAPI document. Every request needs an API key; see Authentication.

The shop object

FieldTypeDescription
shopobject
shop.idstring
shop.namestringe.g. Ma Aye Shop
shop.timezonestringe.g. Asia/Yangon
api_keyobject
api_key.namestringe.g. POS sync
api_key.scopesarray of string
api_key.acts_forstringThe member the key acts for. e.g. Ma Aye

The shop this API key belongs to

GET /public/v1/shop

Scope: any working key

Any working key can call this. Use it to check a key and see its scopes.

Returns

The shop (The shop object).

Example

curl "https://api.getfom.com/public/v1/shop" \
  -H "Authorization: Bearer $FOM_API_KEY"

On this page