customer_add_purchase
Link a purchase to a specific customer using customer ID and purchase ID. This action takes priority over automatic receipt validation links for manual purchase management.
Instructions
Manually associate a customer with a purchase.
Links a purchase to a specific customer
Takes priority over receipt validation links
Useful for manual purchase management
Purchase format should be "platform:purchaseId", for example apple:123109519983
Required: customerId and purchaseId
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": {
"customerId": "<customerId>",
"purchaseId": "<purchaseId>"
},
"name": "customer_add_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | Application username of the customer | |
| purchaseId | Yes | ID of the purchase to associate |