Prepare shipment for approval
prepare_shipmentSaves the chosen quote as a shipment waiting for the user’s approval and returns an approval link on kargom.com. Nothing is charged and no label is created until the user opens the link, checks the details and pays there (Kargom balance or card). The user needs this link to approve. Same quote_id twice returns the same link. Use get_shipment with the returned approval_id to see if it was approved.
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": {
"quote_id": "<quote_id>"
},
"name": "prepare_shipment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | quote_id from quote_shipment |