Conoce los cambios realizados en el API Changelog
Authorization: ********************curl --location 'https://api.crol.mx/api/PedidoCliente' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"encabezado": {
"almacenId": 0,
"c_UsoCFDi": "str",
"centroCostoId": 0,
"clienteNombre": "string",
"descuento": 0,
"diasEntrega": 0,
"diasVigencia": 0,
"divisionId": 0,
"domicilioEntregaId": 0,
"domicilioFiscalId": 0,
"entidadId": 0,
"fecha": "string",
"formaId": "string",
"formaPagoId": 0,
"impuesto1": 0,
"impuesto1_ret": 0,
"impuesto2_ret": 0,
"impuesto3": 0,
"listaId": 0,
"monedaId": 0,
"notas": "string",
"referencia": "string",
"rfc": "string",
"subtotal": 0,
"sucursalId": 0,
"tipoCambio": 0,
"total": 0,
"vendedorId": 0
},
"detalle": [
{
"almacenId": 0,
"cantidad": 0,
"centroCostoId": 0,
"conceptoId": 0,
"descuento": 0,
"promocion": 0,
"divisionId": 0,
"impuesto1": 0,
"impuesto1_ret": 0,
"impuesto2_ret": 0,
"impuesto3": 0,
"impuestoId1": 0,
"impuestoId1_ret": 0,
"impuestoId2_ret": 0,
"impuestoId3": 0,
"notas": "string",
"precioUnitario": 0,
"subtotal": 0,
"sucursalId": 0,
"total": 0,
"umId": 0
}
]
}'{
"data": {
"cliente": "string",
"clienteId": 0,
"entregaFecha": "string",
"fecha": "string",
"folio": "string",
"moneda": "string",
"notas": "string",
"total": 0,
"transaccionId": 0,
"vigenciaFecha": "string"
},
"resultado": true,
"error": {
"error": null,
"errorMensaje": "string",
"errorCodigo": 0
}
}