The Delivery Customization API enables you to rename, reorder, and sort the delivery options available to buyers during checkout. ## Extension targets The Delivery Customization API exposes the following [targets](/docs/apps/build/app-extensions/configure-app-extensions#targets): | Target | Output type | Description | | ------ | ----------- | ----------- | | `purchase.delivery-customization.run` | [FunctionRunResult](#functionrunresult) | Outputs the list of operations to apply to delivery options | ## Input The `RunInput` object is the complete schema that your function can receive as [input](/docs/apps/build/functions/input-output#input). For a list of fields that the Delivery Customization API's `Input` object accepts, refer to [Input](/docs/api/functions/reference/delivery-customization/graphql/input). ### Example The following example shows an input query:

The following example shows the resulting input to the query:

## FunctionRunResult The [`FunctionRunResult`](/docs/api/functions/reference/delivery-customization/graphql/functionrunresult) object is the expected [output](/docs/apps/build/functions/input-output#output) for the `purchase.delivery-customization.run` target. ### Example The following function result hides a delivery option: