curl --location --request POST '/api/v1/transactions/orders/logistics/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": [
{
"code": "PL-123",
"name": "Planilla",
"description": "Planilla",
"amount": 1000,
"resourceId": "123456789",
"dueDate": "2023-01-01",
"Notifications": [
{
"type": "email",
"value": "john@example.com"
},
{
"type": "sms",
"value": "573222901435"
}
]
}
]'{
"success": true,
"message": "Planilla creada correctamente",
"data": [
{
"code": "PL-123",
"name": "Planilla",
"description": "Planilla",
"amount": 1000,
"resourceId": "123456789",
"dueDate": "2023-01-01",
"status": {
"id": 1,
"name": "Pendiente"
},
"createdAt": "2026-04-21T15:32:10Z",
"Notifications": [
{
"type": "email",
"value": "john@example.com",
"status": "sent"
},
{
"type": "sms",
"value": "573222901435",
"status": "sent"
}
]
}
]
}