Pipeline de integración de órdenes de Shopify a SAP Service Layer:
Invoice de reserva, pago con tarjeta o transferencia por transacción,
solicitud de traslado, traslado de stock y entrega.
- Invoice igual a lo cobrado; fulfillments limitados a lo facturado
- Estados terminales integrated, timeout, ignored y cancelled
- Idempotencia contra SAP: adopta documentos existentes en vez de duplicar
- Reintentos de red en el cliente de Shopify
- Secretos fuera de los JSON de tienda (${VARIABLE} resuelta desde .env)
- Herramientas de consulta, integración puntual y carga de pruebas
- Documentación en docs/ (flujo, casos especiales, mapeo, configuración)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
98 lines
2.4 KiB
JSON
98 lines
2.4 KiB
JSON
{
|
|
"store_code": "snobbycl",
|
|
"shopify": {
|
|
"api_id": "34936c643039076a0008433c3283e98a",
|
|
"store": "snobbycl",
|
|
"api_version": "2026-07",
|
|
"access_token": "${SNOBBYCL_SHOPIFY_ACCESS_TOKEN}",
|
|
"page_limit": 50,
|
|
"initial_since_id": "7425850048790"
|
|
},
|
|
"sap_connection": {
|
|
"url": "https://sap10:50000/b1s/v1",
|
|
"company_db": "SBODemoCL",
|
|
"username": "manager",
|
|
"password": "${SNOBBYCL_SAP_PASSWORD}",
|
|
"timeout": 30,
|
|
"verify_ssl": false
|
|
},
|
|
"sap": {
|
|
"default_warehouse_invoice": "9901",
|
|
"generic_card_code": "C99998",
|
|
"numbering_series": {
|
|
"INVOICE": 1,
|
|
"INCOMING_PAYMENT": 18,
|
|
"INVENTORY_TRANSFER_REQUEST": 51,
|
|
"STOCK_TRANSFER": 24,
|
|
"DELIVERY": 8
|
|
},
|
|
"locations": {
|
|
"113688871190": {
|
|
"name": "Geodis",
|
|
"is_store": false,
|
|
"warehouse_code": "7701"
|
|
},
|
|
"90870743318": {
|
|
"name": "Snobby Casa Costanera",
|
|
"is_store": true,
|
|
"warehouse_code": "8801"
|
|
},
|
|
"115304300822": {
|
|
"name": "Snobby Cenco Costanera",
|
|
"is_store": true,
|
|
"warehouse_code": "8802"
|
|
}
|
|
},
|
|
"payment_methods": {
|
|
"Transbank Webpay": {
|
|
"type": "credit_card",
|
|
"credit_card": 4,
|
|
"split_payment": true,
|
|
"num_of_payments": 1
|
|
},
|
|
"Checkout Mercado Pago": {
|
|
"type": "credit_card",
|
|
"credit_card": 5,
|
|
"split_payment": true,
|
|
"num_of_payments": 1
|
|
},
|
|
"VentiPay": {
|
|
"type": "credit_card",
|
|
"credit_card": 6,
|
|
"split_payment": true,
|
|
"num_of_payments": 1
|
|
},
|
|
"Fintoc": {
|
|
"type": "credit_card",
|
|
"credit_card": 7,
|
|
"split_payment": true,
|
|
"num_of_payments": 1
|
|
},
|
|
"Mercado Pago Tarjetas": {
|
|
"type": "credit_card",
|
|
"credit_card": 8,
|
|
"split_payment": true,
|
|
"num_of_payments": 1
|
|
},
|
|
"PayPal": {
|
|
"type": "credit_card",
|
|
"credit_card": 9,
|
|
"split_payment": true,
|
|
"num_of_payments": 1
|
|
},
|
|
"Mercado Pago Checkout Pro": {
|
|
"type": "credit_card",
|
|
"credit_card": 10,
|
|
"split_payment": true,
|
|
"num_of_payments": 1
|
|
},
|
|
"reversso": {
|
|
"type": "transfer",
|
|
"transfer_account": "1-1-010-20-000"
|
|
}
|
|
}
|
|
},
|
|
"timeout_days": 60,
|
|
"max_orders_per_cycle": 50
|
|
}
|