Crear checkout
create_checkoutCrea un checkout contraentrega: envío gratis (shipping_cop = 0), total = suma de productos, pago en efectivo al recibir. Requiere lines (variant_id + quantity), buyer (OBLIGATORIOS: document_id/cédula, phone celular 10 dígitos, email válido, first_name, last_name) y destination. Si envías buyer o destination, antes debes mostrar al comprador el aviso de privacidad y obtener su autorización expresa; envía buyer_consent.data_processing_accepted = true. Sin ella el servidor rechaza los datos (data_consent_required).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | ||
| lines | No | ||
| checkout | No | ||
| destination | No | ||
| buyer_consent | No | ||
| fulfillment_option_id | No |