Comandos
Queued Commands
Documentação da API
Endpoints de aplicação
- GETApplication Details
- Comandos
- Pacotes
- Descontos
- Pedidos
- Checkout
- Utilities
Comandos
Queued Commands
Obtém os comandos aguardando para serem executados.
GET
/
v1
/
app
/
queued_commands
curl --request GET \
--url https://api.centralcart.com.br/v1/app/queued_commands \
--header 'Authorization: Bearer <token>'
[
{
"id": 1813415,
"store_id": 1,
"command": "addGroup 1 Ouro",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
},
{
"id": 1813417,
"store_id": 1,
"command": "addVehicle 1 brioso",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
},
{
"id": 1813419,
"store_id": 1,
"command": "userNotify 1 c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
}
]
Response
O ID do comando
O ID da loja
O comando a ser manipulado e executado
Se “true”, o comando será executado mesmo com o jogador offline
O identificador do cliente fornecido na finalização da compra
O e-mail do cliente fornecido na finalização da compra
O nome do cliente fornecido na finalização da compra
O Discord ID do cliente fornecido na finalização da compra
O ID interno do pedido usado para obter informações detalhadas, se necessário
[
{
"id": 1813415,
"store_id": 1,
"command": "addGroup 1 Ouro",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
},
{
"id": 1813417,
"store_id": 1,
"command": "addVehicle 1 brioso",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
},
{
"id": 1813419,
"store_id": 1,
"command": "userNotify 1 c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
}
]
curl --request GET \
--url https://api.centralcart.com.br/v1/app/queued_commands \
--header 'Authorization: Bearer <token>'
[
{
"id": 1813415,
"store_id": 1,
"command": "addGroup 1 Ouro",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
},
{
"id": 1813417,
"store_id": 1,
"command": "addVehicle 1 brioso",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
},
{
"id": 1813419,
"store_id": 1,
"command": "userNotify 1 c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"offline_execute": false,
"execute_at": "2024-01-28T15:08:57.000-03:00",
"order": {
"client_identifier": "1",
"client_email": "support@centralcart.com.br",
"client_name": "Central Cart",
"client_discord": null,
"internal_id": "c7ce903c0e1c24e94796aa3a08be68b19100dcc6",
"variables": [
{
"name": "client_identifier",
"value": "1"
},
]
}
}
]