functions.completeSuccess
method
Usage info
This method marks a custom function as completed. It accepts the output object that conforms to the output parameters schema for a given custom function defined in the manifest.
Output parameters schema
"output_parameters": {
"properties": {
"customer_id": {
"type": "string",
"description": "The customer's ID"
}
},
"required": ["customer_id"]
}
Output object
{
"customer_id": "U0BPQUNTA"
}
Read our guide to app manifests to learn how create or reuse them.