Logo PopinaPopina API

Upload config JSON

Upload config JSON to Firebase Storage for the authenticated device's location

POST/v1/legacy/config/
AuthorizationBearer <token>

Please provide your device JWT token in the format 'Bearer '

In: header

restaurant?unknown

Restaurant configuration object with minimal required fields (taxes, locale, payment_methods, items)

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:4004/v1/legacy/config/" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}