The Local Pickup Delivery Option Generator API enables you to generate custom local pickup options available to buyers during checkout. The API includes two key objects: `Input` and `FunctionResult`. ## Extension targets The Local Pickup Delivery Option Generator API exposes the following [targets](/docs/apps/build/app-extensions/configure-app-extensions#targets): | Target | Output type | Description | | ------ | ----------- | ----------- | | `purchase.local-pickup-delivery-option-generator.run` | [FunctionRunResult](#functionrunresult) | Outputs the list of operations to apply for local pickup delivery option generation | ## Input The `Input` object is the complete schema that your function can receive as [input](/docs/apps/build/functions/input-output#input). ### Example The following example shows an input query: