API V2.2
- Documentacion api legacy
- Empezar
- Autenticación
- Estructura
- Modelo de datos de Justo
- Menú
- Cupones
- Clientes
- Ordenes
- Productos
- Locales
- Ultima milla
- Webhooks
Menú
Crear un menú
Usa este recurso para crear un menú
POST
/
menu
/
{id}
Copy
Ask AI
curl --request POST \
--url https://api.getjusto.com/api/v2/menu/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"menu": {
"name": "<string>",
"priority": 123,
"storesIds": [
"<string>"
],
"externalId": "<string>",
"channels": [
"web-delivery"
],
"daysBefore": 123,
"schedule": {
"closedUntilDate": [
"2023-11-07T05:31:56Z"
],
"closedDays": [
"2023-11-07T05:31:56Z"
],
"availableAtPeriods": true,
"timezone": "America/Santiago",
"openPeriods": [
{
"daysOfWeek": [
"2023-11-07T05:31:56Z"
],
"fromMinute": 123,
"toMinute": 123
}
]
}
},
"products": [
{
"name": "<string>",
"description": "<string>",
"externalId": "<string>",
"priority": "<string>",
"price": 123,
"discount": "<string>",
"available": true,
"informativeStamps": [
"VEGAN"
],
"categoriesExternalIds": [
"<string>"
],
"modifiersExternalIds": [
"<string>"
],
"images": [
"<string>"
]
}
],
"categories": [
{
"name": "<string>",
"externalId": "<string>",
"priority": "<string>"
}
],
"modifiers": [
{
"name": "<string>",
"shortName": "<string>",
"description": "<string>",
"optional": true,
"min": 123,
"max": 123,
"internalName": "<string>",
"externalId": "<string>",
"optionIds": [
"<string>"
]
}
],
"options": [
{
"name": "<string>",
"internalName": "<string>",
"max": 123,
"externalId": "<string>",
"price": 123,
"discount": "<string>",
"available": true
}
]
}
}'
Copy
Ask AI
{
"status": "<string>",
"data": {
"errors": [
"<string>"
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Corresponde al identificador interno que posea cada marca para su respectivo menú.
Body
application/json
Response
200 - application/json
success
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.getjusto.com/api/v2/menu/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"menu": {
"name": "<string>",
"priority": 123,
"storesIds": [
"<string>"
],
"externalId": "<string>",
"channels": [
"web-delivery"
],
"daysBefore": 123,
"schedule": {
"closedUntilDate": [
"2023-11-07T05:31:56Z"
],
"closedDays": [
"2023-11-07T05:31:56Z"
],
"availableAtPeriods": true,
"timezone": "America/Santiago",
"openPeriods": [
{
"daysOfWeek": [
"2023-11-07T05:31:56Z"
],
"fromMinute": 123,
"toMinute": 123
}
]
}
},
"products": [
{
"name": "<string>",
"description": "<string>",
"externalId": "<string>",
"priority": "<string>",
"price": 123,
"discount": "<string>",
"available": true,
"informativeStamps": [
"VEGAN"
],
"categoriesExternalIds": [
"<string>"
],
"modifiersExternalIds": [
"<string>"
],
"images": [
"<string>"
]
}
],
"categories": [
{
"name": "<string>",
"externalId": "<string>",
"priority": "<string>"
}
],
"modifiers": [
{
"name": "<string>",
"shortName": "<string>",
"description": "<string>",
"optional": true,
"min": 123,
"max": 123,
"internalName": "<string>",
"externalId": "<string>",
"optionIds": [
"<string>"
]
}
],
"options": [
{
"name": "<string>",
"internalName": "<string>",
"max": 123,
"externalId": "<string>",
"price": 123,
"discount": "<string>",
"available": true
}
]
}
}'
Copy
Ask AI
{
"status": "<string>",
"data": {
"errors": [
"<string>"
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.