API Endpoints
- Cuentas
- Turnos
- Inventario
- Contabilidad
- Pagos
Webhooks
- Cuenta
API de Canal de Ventas
- Empezar
- Autenticación
- Demo
- Endpoints
- Webhooks
Cuentas
Tab
GET
/
tabs
/
{storeId}
/
tabs
/
{tabId}
curl --request GET \
--url https://api.service.getjusto.com/v3/tabs/{storeId}/tabs/{tabId}
{
"success": true,
"data": {
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"code": "CJXEQZK",
"description": "Justo C#16699-02",
"comments": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"websiteId": "ErCkmcyCEovseJq5E",
"storeId": "Li4eEa3W2hiuGGCFa",
"createdById": "a3W2hiuGGLi4eECFa",
"operatorUserId": "a3W2hiuGGLi4eECFa",
"driverUserId": "a3W2hiuGGLi4eECFa",
"createdAtDeviceId": "W2hiuGGLa3W2hW2hiuGGLiuGGLWW2hiuGGL2hiuGGLW2hiuGGLi4eECFa",
"countryCode": "CL",
"createdAt": "2020-01-01T00:00:00.000Z",
"closedAt": "2020-01-01T00:00:00.000Z",
"deletedAt": "2020-01-01T00:00:00.000Z",
"cancelledAt": "2020-01-01T00:00:00.000Z",
"cancellationPrompt": "El pedido fue cancelado por el cliente.",
"tableIds": [
"<string>"
],
"tableNames": [
"<string>"
],
"sectorIds": [
"<string>"
],
"reservationId": "<string>",
"paymentStatus": "pending",
"statusLabel": "<string>",
"statusLabelForClient": "<string>",
"totalPrice": 123,
"totalNetPrice": 123,
"totalTaxPrice": 123,
"totalPriceBeforeDiscounts": 123,
"discountsAmount": 123,
"amountPaid": 123,
"amountDue": 123,
"tipAmountPaid": 123,
"netTipAmountPaid": 123,
"taxTipAmountPaid": 123,
"mustBeReadyAt": "2020-01-01T00:00:00.000Z",
"mustBeDeliveredAt": "2020-01-01T00:00:00.000Z",
"readyToPickupAt": "2020-01-01T00:00:00.000Z",
"activatesAt": "2020-01-01T00:00:00.000Z",
"source": "pos",
"salesChannelConfigId": "<string>",
"channelName": "<string>",
"clientData": {
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"addressExtra": "<string>"
},
"integrationClientId": "<string>",
"deliveryType": "delivery",
"hasExternalDeliveryProvider": true,
"generateInvoiceAtClose": true,
"integrationOrderId": "<string>",
"integrationIsPending": true,
"integrationComments": [
"<string>"
],
"eaterLabels": [
"<string>"
],
"externalInvoiceId": "<string>",
"payments": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"code": "CJXEQZK",
"shiftId": "Li4eEa3W2hiuGGCFa",
"paymentMethodId": "a3W2hiuGGLi4eECFa",
"paymentMethodName": "Efectivo",
"amount": 100,
"tipAmount": 10,
"createdAt": "2020-01-01T00:00:00.000Z",
"voidedAt": "2020-01-01T00:00:00.000Z",
"shiftEndedAt": "2020-01-01T00:00:00.000Z",
"createdById": "a3W2hiuGGLi4eECFa",
"shouldMakeInvoice": true,
"payerName": "John Doe",
"payerUserId": "a3W2hiuGGLi4eECFa"
}
],
"invoices": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"providerId": "openFactura",
"createdAt": "2020-01-01T00:00:00.000Z",
"generatedAt": "2020-01-01T00:00:00.000Z",
"status": "pending",
"externalInvoiceId": "123456",
"errorMessage": "Error al generar la factura.",
"voidedAt": "2020-01-01T00:00:00.000Z",
"statusLabel": "Pendiente",
"invoiceURL": "https://getjusto.com/invoice/123456"
}
],
"discounts": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"shiftId": "Li4eEa3W2hiuGGCFa",
"createdAt": "2020-01-01T00:00:00.000Z",
"voidedAt": "2020-01-01T00:00:00.000Z",
"discountedAmount": 100,
"discountMethodId": "a3W2hiuGGLi4eECFa",
"discountMethodName": "Cupón",
"type": "fixedAmount",
"fixedAmount": 100,
"percentage": 10
}
],
"items": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"createdAt": "2020-01-01T00:00:00.000Z",
"amount": 2,
"price": 100,
"priceWithModifiers": 120,
"unitPrice": 50,
"productId": "a3W2hiuGGLi4eECFa",
"productName": "Café",
"productInternalName": "Café",
"productUnitItemsCount": 1,
"comment": "Sin azúcar",
"type": "product",
"sentToKDSAt": "2020-01-01T00:00:00.000Z",
"addedByClientUserId": "a3W2hiuGGLi4eECFa",
"addedByClientName": "Juan",
"eaterLabels": [
"<string>"
],
"modifiers": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"modifierGroupId": "Li4eEa3W2hiuGGCFa",
"modifierId": "a3W2hiuGGLi4eECFa",
"amount": 2,
"modifierQuantity": 1,
"price": 100,
"unitPrice": 50,
"modifierName": "Azúcar",
"modifierInternalName": "Azúcar",
"modifierGroupName": "Azúcar",
"modifierUnitItemsCount": 1
}
]
}
]
}
}
Response
200
application/json
The OpenAPI spec
The response is of type object
.
curl --request GET \
--url https://api.service.getjusto.com/v3/tabs/{storeId}/tabs/{tabId}
{
"success": true,
"data": {
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"code": "CJXEQZK",
"description": "Justo C#16699-02",
"comments": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"websiteId": "ErCkmcyCEovseJq5E",
"storeId": "Li4eEa3W2hiuGGCFa",
"createdById": "a3W2hiuGGLi4eECFa",
"operatorUserId": "a3W2hiuGGLi4eECFa",
"driverUserId": "a3W2hiuGGLi4eECFa",
"createdAtDeviceId": "W2hiuGGLa3W2hW2hiuGGLiuGGLWW2hiuGGL2hiuGGLW2hiuGGLi4eECFa",
"countryCode": "CL",
"createdAt": "2020-01-01T00:00:00.000Z",
"closedAt": "2020-01-01T00:00:00.000Z",
"deletedAt": "2020-01-01T00:00:00.000Z",
"cancelledAt": "2020-01-01T00:00:00.000Z",
"cancellationPrompt": "El pedido fue cancelado por el cliente.",
"tableIds": [
"<string>"
],
"tableNames": [
"<string>"
],
"sectorIds": [
"<string>"
],
"reservationId": "<string>",
"paymentStatus": "pending",
"statusLabel": "<string>",
"statusLabelForClient": "<string>",
"totalPrice": 123,
"totalNetPrice": 123,
"totalTaxPrice": 123,
"totalPriceBeforeDiscounts": 123,
"discountsAmount": 123,
"amountPaid": 123,
"amountDue": 123,
"tipAmountPaid": 123,
"netTipAmountPaid": 123,
"taxTipAmountPaid": 123,
"mustBeReadyAt": "2020-01-01T00:00:00.000Z",
"mustBeDeliveredAt": "2020-01-01T00:00:00.000Z",
"readyToPickupAt": "2020-01-01T00:00:00.000Z",
"activatesAt": "2020-01-01T00:00:00.000Z",
"source": "pos",
"salesChannelConfigId": "<string>",
"channelName": "<string>",
"clientData": {
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"addressExtra": "<string>"
},
"integrationClientId": "<string>",
"deliveryType": "delivery",
"hasExternalDeliveryProvider": true,
"generateInvoiceAtClose": true,
"integrationOrderId": "<string>",
"integrationIsPending": true,
"integrationComments": [
"<string>"
],
"eaterLabels": [
"<string>"
],
"externalInvoiceId": "<string>",
"payments": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"code": "CJXEQZK",
"shiftId": "Li4eEa3W2hiuGGCFa",
"paymentMethodId": "a3W2hiuGGLi4eECFa",
"paymentMethodName": "Efectivo",
"amount": 100,
"tipAmount": 10,
"createdAt": "2020-01-01T00:00:00.000Z",
"voidedAt": "2020-01-01T00:00:00.000Z",
"shiftEndedAt": "2020-01-01T00:00:00.000Z",
"createdById": "a3W2hiuGGLi4eECFa",
"shouldMakeInvoice": true,
"payerName": "John Doe",
"payerUserId": "a3W2hiuGGLi4eECFa"
}
],
"invoices": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"providerId": "openFactura",
"createdAt": "2020-01-01T00:00:00.000Z",
"generatedAt": "2020-01-01T00:00:00.000Z",
"status": "pending",
"externalInvoiceId": "123456",
"errorMessage": "Error al generar la factura.",
"voidedAt": "2020-01-01T00:00:00.000Z",
"statusLabel": "Pendiente",
"invoiceURL": "https://getjusto.com/invoice/123456"
}
],
"discounts": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"shiftId": "Li4eEa3W2hiuGGCFa",
"createdAt": "2020-01-01T00:00:00.000Z",
"voidedAt": "2020-01-01T00:00:00.000Z",
"discountedAmount": 100,
"discountMethodId": "a3W2hiuGGLi4eECFa",
"discountMethodName": "Cupón",
"type": "fixedAmount",
"fixedAmount": 100,
"percentage": 10
}
],
"items": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"createdAt": "2020-01-01T00:00:00.000Z",
"amount": 2,
"price": 100,
"priceWithModifiers": 120,
"unitPrice": 50,
"productId": "a3W2hiuGGLi4eECFa",
"productName": "Café",
"productInternalName": "Café",
"productUnitItemsCount": 1,
"comment": "Sin azúcar",
"type": "product",
"sentToKDSAt": "2020-01-01T00:00:00.000Z",
"addedByClientUserId": "a3W2hiuGGLi4eECFa",
"addedByClientName": "Juan",
"eaterLabels": [
"<string>"
],
"modifiers": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"modifierGroupId": "Li4eEa3W2hiuGGCFa",
"modifierId": "a3W2hiuGGLi4eECFa",
"amount": 2,
"modifierQuantity": 1,
"price": 100,
"unitPrice": 50,
"modifierName": "Azúcar",
"modifierInternalName": "Azúcar",
"modifierGroupName": "Azúcar",
"modifierUnitItemsCount": 1
}
]
}
]
}
}