Create shipment
create_shipment[demo: deshabilitada] Creates a physical shipment via the chosen courier and returns a tracking number and label URL.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"provider": "<provider>",
"saleId": "<saleId>",
"customerName": "<customerName>",
"customerAddress": "<customerAddress>",
"customerPostalCode": "<customerPostalCode>",
"weightGrams": "<weightGrams>"
},
"name": "create_shipment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saleId | Yes | Velora Sale ID. | |
| service | No | Courier-specific service key (defaults to 'domicilio'). | |
| provider | Yes | Courier slug from quote_shipping ('andreani', 'oca'). | |
| customerDni | No | Recipient DNI (required by Andreani in production). | |
| weightGrams | Yes | Total shipment weight in grams. | |
| customerCity | No | Recipient city (optional). | |
| customerName | Yes | Recipient first name. | |
| customerPhone | No | Recipient phone number (optional). | |
| customerAddress | Yes | Recipient street name. | |
| customerLastName | No | Recipient last name (optional). | |
| customerProvince | No | Recipient province (required by OCA). | |
| customerPostalCode | Yes | Recipient postal code. | |
| customerAddressNumber | No | Recipient street number (required by OCA). |