GET /v1/store
GET
/v1/store
const url = 'https://seu-endereco-da-api/v1/store';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://seu-endereco-da-api/v1/store \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Ler a Central de apps (integrations:read).
Authorizations
Seção intitulada “Authorizations”Responses
Seção intitulada “Responses”Media typeapplication/json
object
activated
required
boolean
enabled
boolean
slug
string
name
string
description
string
primaryColor
string
logoUrl
Signed url, valid for one hour
string
coverUrl
Signed url, valid for one hour
string
kind
required
string
alwaysOpen
required
boolean
channelId
string
acceptedPayments
Array<string>
minOrderCents
number
averagePrepMinutes
number
averageDeliveryMinutes
number
acceptsPickup
boolean
acceptsDelivery
boolean
timezone
string
notificationTemplateId
Approved template used for the order notifications outside the 24h window
string
codeTemplateId
Approved template with one variable (the code) used to send the tracking code outside the 24h window
string
notificationTemplateVariables
Texts for the template variables; {cliente}, {pedido}, {status}, {total} and {link} are replaced
Array<string>
notificationHeaderMediaKey
File sent in the header of the notification template when it has an image, video or document header
string
notificationHeaderMediaMime
string
hours
Array<object>
object
weekday
required
0 is Sunday
number
opensAt
required
string
closesAt
required
Earlier than opensAt means the next day
string
zones
Array<object>
object
id
required
string
name
required
string
feeCents
required
Delivery fee in centavos
number
active
required
boolean
gaps
What still blocks the store from going live
Array<string>
asaasReady
boolean
publicUrl
string
Example
{ "kind": "food"}