Zapier es un software de automatización de flujos de trabajo entre más de 7000 aplicaciones.
Autenticación
Para autenticarte, necesitas una clave de API. Sigue estos pasos para obtener tu clave de API. Esta clave de API está vinculada a tu tienda.
Ve a Tienda Admin > Configuraciones > Integraciones > Zapier.
Copia la clave de API.
Crear una Orden
Punto final API
POST https://take.app/api/platform/orders?api_key={api_key}
Campos de entrada
Nombre del Cliente (
customer_name
) - ObligatorioTeléfono del Cliente (
customer_phone
) - ObligatorioEmail del Cliente (
customer_email
) - OpcionalMonto Total (
total_amount
) - OpcionalObservación (
remark
) - Opcional
Ejemplo de Solicitud
{ "customer_name": "John Doe", "customer_phone": "6591234567", "customer_email": "[email protected]", "total_amount": 120, "remark": "Por favor entregar después de las 5 PM." }
Esto creará una orden en la tienda conectada.
Ejemplo de Respuesta
{ "id": "clyr7gpcf0035ajkudunq9uoz", "number": 28, "numberDaily": 1, "remark": "", "internalNote": null, "status": "ORDER_STATUS_PENDING", "paymentStatus": "PAYMENT_STATUS_PENDING", "fulfillmentStatus": "UNFULFILLED", "adjustmentAmount": 0, "totalServiceAmount": 0, "tipAmount": 0, "serviceChargeAmount": 0, "taxInclusive": true, "totalItemsQuantity": 0, "totalItemsAmount": 0, "totalAnswersAmount": 0, "totalDiscountsAmount": 0, "totalBeforeTax": 12300, "totalTax": 0, "totalAmount": 12300, "storeId": "cltpfufbn002rao3qnzasdr69", "customerId": "cltsbmumh00dr5iz9nzwpxy7q", "customerName": "John Doe", "customerPhone": "6591234567", "customerEmail": "[email protected]", "updatedAt": "2024-07-18T11:46:08.848Z", "createdAt": "2024-07-18T11:46:08.848Z" }