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
Query Parameters
locationId?string
Location id query parameter
Format
uuidorganizationId?string
The id of the organization (only used when authenticating with a serviceKey)
Format
uuidapplication?string
The POS application (only used when authenticating with a serviceKey)
Value in
"POPINA" | "JALIA"legacyId?integer
The legacy id of the location (only used when authenticating with a serviceKey)
Range
1 <= valuerestaurantunknown
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 '{ "restaurant": null }'{
"status": "string"
}{
"error": "string"
}{
"error": "string"
}