Aplicação para gestão de pedidos de comida, comanda e mesa.
Api em desenvolvimento por Gestor Food.
Esta api utiliza autenticação via token, Sanctum biblioteca oficial de autenticação do framework Laravel, para obter o token é necessário realizar uma requisição POST para o endpoint
/auth/logincom os dados de acesso.
POST /auth/login HTTP/1.1
Host: api.gestorfood.shop
Content-Type: application/json
token: MARKET_TOKEN (token do mercado)
{
"uuid": "uuid-do-usuário",
"password": "senha-do-usuário"
}
Esta api utiliza autenticação via sessão, para obter o token é necessário realizar uma requisição POST para o endpoint
/auth/logincom os dados de acesso.
POST /login HTTP/1.1
Host: api.gestorfood.shop
{
"email": "email-do-usuário",
"password": "senha-do-usuário"
}
Api para autenticação do usuário integrador
curl --request POST \
"https://gestorfood.shop/api/v1/integration/auth/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"brbmiwrvdocyoopnbosxdlaaqgnaepqx\",
\"email\": \"eriberto08@example.com\",
\"password\": \"[m1|DO_xAd\'n^\"
}"
Esta função é responsável por realizar o login do usuário integrador.
curl --request POST \
"https://gestorfood.shop/api/v1/integration/auth/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"client_id\": \"qui\",
\"client_secret\": \"corrupti\",
\"grant_type\": \"client_credentials\",
\"scope\": \"market\"
}"
APIs para gerenciamento de Autenticação Mobile
curl --request POST \
"https://gestorfood.shop/api/v1/auth/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"uuid\": \"873028f9-26a8-311c-8baf-7140e6a3ea25\",
\"password\": \"*3r#Xw9CM1@Pr#\"
}"
curl --request GET \
--get "https://gestorfood.shop/api/v1/auth/me" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/auth/market" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/auth/refresh" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/auth/logout" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://gestorfood.shop/api/v1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 58
access-control-allow-origin
: *
"Bem vindo ao Gestor Food API."
APIs para gerenciamento de Categorias
curl --request GET \
--get "https://gestorfood.shop/api/v1/categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"zwdveisnoseubrhjjkr\",
\"reference_id\": \"soluta\"
}"
The ID of the category.
curl --request GET \
--get "https://gestorfood.shop/api/v1/categories/2fd6b3b2-168f-420e-8461-4d7328f7ec8b" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the category.
curl --request PUT \
"https://gestorfood.shop/api/v1/categories/2fd6b3b2-168f-420e-8461-4d7328f7ec8b" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"gjonzpkkelbopzrtzmmpupu\"
}"
The ID of the category.
curl --request DELETE \
"https://gestorfood.shop/api/v1/categories/2fd6b3b2-168f-420e-8461-4d7328f7ec8b" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Categorias de Complementos
curl --request GET \
--get "https://gestorfood.shop/api/v1/complement_groups" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/complement_groups" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"gfsmjacjxcadpggwqmwnqduuxmhxlqxjrcztlfnhkdirqgzpglnpsfrapftmabuaqofiqkouyywsiyaxhqe\",
\"description\": \"Doloremque omnis sit in quia.\",
\"reference_id\": \"reprehenderit\",
\"min\": 2,
\"max\": 6,
\"priority\": 2,
\"market_id\": 2
}"
The ID of the complement group.
curl --request GET \
--get "https://gestorfood.shop/api/v1/complement_groups/totam" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the complement group.
curl --request PUT \
"https://gestorfood.shop/api/v1/complement_groups/harum" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the complement group.
curl --request DELETE \
"https://gestorfood.shop/api/v1/complement_groups/sed" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://gestorfood.shop/api/v1/queue/complement_groups" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ctsowjbjevjxtteggbzrpkxktmhiavprrzdjpphjmjueevxwuiwtqlpop\",
\"description\": \"In cumque voluptatum voluptatibus ratione accusantium nostrum veritatis.\",
\"reference_id\": \"voluptas\",
\"min\": 11,
\"max\": 6,
\"priority\": 19,
\"market_id\": 8
}"
The ID of the complement group.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/complement_groups/quia" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vhcxktudpjczuduwsbdefbpaznvptiqkopjobnevwv\",
\"description\": \"Aut perferendis rerum et.\",
\"reference_id\": \"quo\",
\"min\": 9,
\"max\": 4,
\"priority\": 17,
\"market_id\": 20
}"
The ID of the complement group.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/complement_groups/illum" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Comandas e Mesas
curl --request GET \
--get "https://gestorfood.shop/api/v1/cards/by-status/impedit" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/cards/by-type/et" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request PUT \
"https://gestorfood.shop/api/v1/cards/1/status" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Adicionando uma Taxa a uma Comanda ou Mesa pelo ID
curl --request POST \
"https://gestorfood.shop/api/v1/cards/1/fees" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request DELETE \
"https://gestorfood.shop/api/v1/cards/1/fees" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://gestorfood.shop/api/v1/cards" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/cards" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"number\": 2,
\"reference_id\": \"expedita\",
\"type\": \"table\",
\"status\": \"officiis\",
\"fees\": [
\"libero\"
]
}"
The ID of the card.
curl --request GET \
--get "https://gestorfood.shop/api/v1/cards/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the card.
curl --request PUT \
"https://gestorfood.shop/api/v1/cards/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"number\": 4,
\"type\": \"card\",
\"fees\": [
{
\"code\": []
}
]
}"
Deletando uma Comanda ou Mesa pelo ID
The ID of the card.
curl --request DELETE \
"https://gestorfood.shop/api/v1/cards/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://gestorfood.shop/api/v1/cards/by-number/veniam" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
APIs para gerenciamento de Complementos
curl --request GET \
--get "https://gestorfood.shop/api/v1/complements/by-product/18a4636d-969e-4aa8-886c-0ccadcaee0ff" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/complements/by-category/2fd6b3b2-168f-420e-8461-4d7328f7ec8b" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/complements" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/queue/complements" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"r\",
\"description\": \"Omnis rerum fugiat consectetur consequatur.\",
\"price\": 665.406764,
\"reference_id\": \"culpa\",
\"complement_group_id\": \"sed\",
\"type\": \"additional\"
}"
The ID of the complement.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/complements/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ddsrxvnlhommgqzbtlxtymzu\",
\"description\": \"Accusamus et earum eos magni fuga nemo quibusdam deleniti.\",
\"price\": 79406.8,
\"reference_id\": \"odio\",
\"complement_group_id\": \"harum\",
\"type\": \"additional\"
}"
The ID of the complement.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/complements/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Dispositivos
curl --request GET \
--get "https://gestorfood.shop/api/v1/devices/298e5cfa-ce2c-39a5-b011-93054759b706/logs" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/devices/cfcd8f6b-97cf-396e-8878-955f3baaea47/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/devices" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/devices" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"eos\",
\"code\": \"et\",
\"status\": \"qui\",
\"manufacturer\": \"possimus\",
\"model\": \"atque\",
\"os\": \"qui\",
\"os_version\": \"ab\"
}"
The ID of the device.
curl --request GET \
--get "https://gestorfood.shop/api/v1/devices/est" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the device.
curl --request PUT \
"https://gestorfood.shop/api/v1/devices/quia" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"culpa\",
\"code\": \"veniam\",
\"status\": \"totam\",
\"manufacturer\": \"deserunt\",
\"model\": \"aspernatur\",
\"os\": \"rerum\",
\"os_version\": \"ratione\"
}"
The ID of the device.
curl --request DELETE \
"https://gestorfood.shop/api/v1/devices/nulla" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://gestorfood.shop/api/v1/unauthorized" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Mercados
curl --request POST \
"https://gestorfood.shop/api/v1/markets/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"officiis\",
\"manufacturer\": \"unde\",
\"model\": \"autem\",
\"os\": \"nihil\",
\"os_version\": \"reiciendis\"
}"
curl --request GET \
--get "https://gestorfood.shop/api/v1/markets" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/markets" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"mvdzvstiqstyjmm\",
\"document\": \"fuga\",
\"reference\": \"quibusdam\"
}"
The ID of the market.
curl --request GET \
--get "https://gestorfood.shop/api/v1/markets/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the market.
curl --request PUT \
"https://gestorfood.shop/api/v1/markets/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"rtwg\",
\"document\": \"sit\",
\"reference\": \"odit\"
}"
curl --request POST \
"https://gestorfood.shop/api/v1/validate/error" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Métodos de Pagamento
curl --request GET \
--get "https://gestorfood.shop/api/v1/payment_methods" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/payment_methods" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"reprehenderit\",
\"code\": \"dolores\"
}"
The ID of the payment method.
curl --request GET \
--get "https://gestorfood.shop/api/v1/payment_methods/hic" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the payment method.
curl --request PUT \
"https://gestorfood.shop/api/v1/payment_methods/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"non\",
\"code\": \"repudiandae\"
}"
The ID of the payment method.
curl --request DELETE \
"https://gestorfood.shop/api/v1/payment_methods/soluta" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Pedidos
curl --request GET \
--get "https://gestorfood.shop/api/v1/kafka" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 59
access-control-allow-origin
: *
{
"message": "Produtos cancelados com sucesso."
}
curl --request POST \
"https://gestorfood.shop/api/v1/orders/1/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request DELETE \
"https://gestorfood.shop/api/v1/orders/1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://gestorfood.shop/api/v1/orders/1/payments" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://gestorfood.shop/api/v1/orders/1/clients" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request DELETE \
"https://gestorfood.shop/api/v1/orders/1/clients/8b90d70d-7c08-3b05-a916-6968b383b508" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the order.
curl --request GET \
--get "https://gestorfood.shop/api/v1/orders/1/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/orders/1/cancel" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the card.
curl --request POST \
"https://gestorfood.shop/api/v1/orders/1/cards/1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff/transfer" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the card.
curl --request POST \
"https://gestorfood.shop/api/v1/orders/1/cards/1/transfer" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://gestorfood.shop/api/v1/orders/1/products/cancel" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"products\": []
}"
curl --request GET \
--get "https://gestorfood.shop/api/v1/orders" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/orders" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount_people\": 4,
\"card_id\": \"6bcd8f47-4014-3f47-a3aa-0c5f3603a1a6\",
\"products\": [
\"asperiores\"
],
\"complements\": [
\"voluptates\"
]
}"
The ID of the order.
curl --request GET \
--get "https://gestorfood.shop/api/v1/orders/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the order.
curl --request PUT \
"https://gestorfood.shop/api/v1/orders/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount_people\": 17,
\"card_id\": \"18465889-1f4c-3339-924e-3d30dfe0777f\",
\"products\": [
\"qui\"
],
\"complements\": [
\"rerum\"
]
}"
The ID of the order.
curl --request DELETE \
"https://gestorfood.shop/api/v1/orders/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Produtos
curl --request GET \
--get "https://gestorfood.shop/api/v1/products/search/eos" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/products/search/2fd6b3b2-168f-420e-8461-4d7328f7ec8b" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/products/by-category/recusandae" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://gestorfood.shop/api/v1/products/by-reference/officiis" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff/complements" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"pp\",
\"description\": \"Esse nihil voluptatum molestiae aut.\",
\"price\": 166622.6119261,
\"reference_id\": \"cum\",
\"complement_group_id\": \"atque\",
\"type\": \"additional\"
}"
curl --request PUT \
"https://gestorfood.shop/api/v1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff/complements" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request DELETE \
"https://gestorfood.shop/api/v1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff/complements" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://gestorfood.shop/api/v1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff/validate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://gestorfood.shop/api/v1/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"zkeirsxvlburpsusfqihsymhy\",
\"description\": \"Rerum molestias reprehenderit nostrum necessitatibus consequatur.\",
\"barcode\": \"v\",
\"price\": \"fugit\",
\"stock\": \"dolorem\",
\"measurement_unit_id\": \"corrupti\",
\"reference_id\": 19,
\"category_id\": 4,
\"complements\": [
\"dolores\"
]
}"
The ID of the product.
curl --request GET \
--get "https://gestorfood.shop/api/v1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the product.
curl --request PUT \
"https://gestorfood.shop/api/v1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"cr\",
\"description\": \"Cumque debitis officiis magnam incidunt quisquam at.\",
\"barcode\": \"manlvzzfeaxwziroo\",
\"price\": \"voluptas\",
\"stock\": \"qui\",
\"measurement_unit_id\": \"id\",
\"reference_id\": 4,
\"category_id\": 1,
\"complements\": [
\"laboriosam\"
]
}"
The ID of the product.
curl --request DELETE \
"https://gestorfood.shop/api/v1/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de filas de Categorias
curl --request POST \
"https://gestorfood.shop/api/v1/queue/categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"zmysrherlugwvnlh\",
\"reference_id\": \"et\"
}"
The ID of the category.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/categories/2fd6b3b2-168f-420e-8461-4d7328f7ec8b" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"asjnmjahsfu\",
\"reference_id\": \"labore\"
}"
The ID of the category.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/categories/2fd6b3b2-168f-420e-8461-4d7328f7ec8b" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de filas de Comandas e Mesas
curl --request POST \
"https://gestorfood.shop/api/v1/queue/cards" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"number\": 11,
\"reference_id\": \"omnis\",
\"type\": \"card\",
\"status\": \"nulla\",
\"fees\": [
\"quidem\"
]
}"
The ID of the card.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/cards/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"number\": 3,
\"reference_id\": \"dolore\",
\"type\": \"table\",
\"status\": \"ut\",
\"fees\": [
\"excepturi\"
]
}"
The ID of the card.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/cards/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de filas de Markets
curl --request POST \
"https://gestorfood.shop/api/v1/queue/markets" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"gsnbt\",
\"document\": \"ullam\",
\"reference\": \"aut\"
}"
The ID of the market.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/markets/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"gyzoxsqpxixpqqmsxvqtcqmw\",
\"document\": \"yjxelhbiosbuqslaiphlrzsj\"
}"
The ID of the market.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/markets/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de filas de Produtos
curl --request POST \
"https://gestorfood.shop/api/v1/queue/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"lozvrskpxkscvzwopyh\",
\"description\": \"Aut sunt numquam enim.\",
\"barcode\": \"uuorgqwapaqkronictc\",
\"price\": \"ab\",
\"stock\": \"provident\",
\"measurement_unit_id\": \"est\",
\"reference_id\": 9,
\"category_id\": 8,
\"complements\": [
\"dolorem\"
]
}"
The ID of the product.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the product.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://gestorfood.shop/api/v1/queue/products/18a4636d-969e-4aa8-886c-0ccadcaee0ff/image" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"image\": \"ipsam\"
}"
APIs para gerenciamento de Taxas
curl --request POST \
"https://gestorfood.shop/api/v1/queue/fees" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ccwzqft\",
\"code\": \"lmkamvqbxf\",
\"description\": \"Omnis fuga veniam sit aperiam at soluta eaque.\",
\"value\": 4276803.86640059,
\"type\": \"mwfaunrivgnilo\",
\"mode\": \"qexhahxofxoq\",
\"individual\": true,
\"reference_id\": \"corrupti\"
}"
The ID of the fee.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/fees/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the fee.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/fees/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Unidades de Medidas
curl --request POST \
"https://gestorfood.shop/api/v1/queue/measurement_unit" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"iusto\",
\"code\": \"dolores\",
\"fraction\": \"maiores\",
\"reference_id\": \"aut\",
\"market_id\": 13
}"
The ID of the measurement unit.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/measurement_unit/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the measurement unit.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/measurement_unit/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de filas de Usuários
curl --request POST \
"https://gestorfood.shop/api/v1/queue/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"aperiam\",
\"email\": \"fidel63@example.net\",
\"password\": \"sV]ne4\\\"|*X,\\\"`9\",
\"market_id\": \"ducimus\",
\"username\": \"bhnyefjxmxcqjmbjrtzzc\",
\"reference_id\": \"quisquam\"
}"
The ID of the user.
curl --request PUT \
"https://gestorfood.shop/api/v1/queue/users/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"pmdzpvuremnredjailfrzeuiboqxqocfdmmgfwsiqtjkrbcdltcpzzlxcudtjpkifxczpfbskueqxvmcazwuawn\",
\"email\": \"noemie.torphy@example.net\",
\"password\": \"U`Z?k-DUtZAok\\\"N\\\\\",
\"market_id\": \"laborum\",
\"username\": \"igdoptfengtbhmlibozsffeqcnibgznztwxlztii\",
\"reference_id\": \"et\",
\"id\": 10
}"
The ID of the user.
curl --request DELETE \
"https://gestorfood.shop/api/v1/queue/users/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Taxas
curl --request GET \
--get "https://gestorfood.shop/api/v1/fees" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/fees" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ihfakekmrxxhhkc\",
\"code\": \"qyffhqtx\",
\"description\": \"Facilis nostrum quia ea asperiores non sint laborum.\",
\"value\": 106534353,
\"type\": \"lrdtfqjijqlr\",
\"mode\": \"ajvssaqf\",
\"individual\": false,
\"reference_id\": \"corrupti\"
}"
The ID of the fee.
curl --request GET \
--get "https://gestorfood.shop/api/v1/fees/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the fee.
curl --request PUT \
"https://gestorfood.shop/api/v1/fees/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the fee.
curl --request DELETE \
"https://gestorfood.shop/api/v1/fees/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Tipos de Complementos
curl --request GET \
--get "https://gestorfood.shop/api/v1/complement_types" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/complement_types" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"i\",
\"description\": \"Atque quasi id modi unde ut.\",
\"reference_id\": \"cum\",
\"min\": 62,
\"max\": 89,
\"priority\": 18
}"
The ID of the complement type.
curl --request GET \
--get "https://gestorfood.shop/api/v1/complement_types/nisi" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the complement type.
curl --request PUT \
"https://gestorfood.shop/api/v1/complement_types/eveniet" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the complement type.
curl --request DELETE \
"https://gestorfood.shop/api/v1/complement_types/et" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Tipos de Pagamentos
curl --request GET \
--get "https://gestorfood.shop/api/v1/payment_types" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/payment_types" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"voluptatem\",
\"code\": \"omnis\"
}"
The ID of the payment type.
curl --request GET \
--get "https://gestorfood.shop/api/v1/payment_types/temporibus" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the payment type.
curl --request PUT \
"https://gestorfood.shop/api/v1/payment_types/nihil" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"deleniti\",
\"code\": \"quo\"
}"
The ID of the payment type.
curl --request DELETE \
"https://gestorfood.shop/api/v1/payment_types/ipsa" \
--header "Content-Type: application/json" \
--header "Accept: application/json" APIs para gerenciamento de Usuários
Filtra os usuários por nome ou email. Exemplo: filter[search]=joao
curl --request GET \
--get "https://gestorfood.shop/api/v1/markets/users?filter=error" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 56
access-control-allow-origin
: *
{
"message": "Market token não é válido."
}
Filtra os usuários por nome ou email. Exemplo: filter[name]=joao
curl --request GET \
--get "https://gestorfood.shop/api/v1/users?filter=architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://gestorfood.shop/api/v1/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"dolores\",
\"email\": \"kirlin.adrain@example.com\",
\"password\": \"poixlWG7f1MTfjG;\",
\"market_id\": \"voluptatem\",
\"username\": \"rfklodagiyzsuvtxruj\"
}"
ID do usuário
curl --request GET \
--get "https://gestorfood.shop/api/v1/users/fuga" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
ID do usuário
curl --request PUT \
"https://gestorfood.shop/api/v1/users/officiis" \
--header "Content-Type: application/json" \
--header "Accept: application/json"