deleteCustomerAddressesWorkflow - Medusa Core Workflows Reference

This documentation provides a reference to the deleteCustomerAddressesWorkflow. It belongs to the @medusajs/medusa/core-flows package.

This workflow deletes one or more customer addresses.

Steps#

Input#

DeleteCustomerAddressesWorkflowInputDeleteCustomerAddressesWorkflowInput

Hooks#

addressesDeleted#

Example

Code
1import { deleteCustomerAddressesWorkflow } from "@medusajs/medusa/core-flows"2
3deleteCustomerAddressesWorkflow.hooks.addressesDeleted(4	(async ({ ids }, { container }) => {5		//TODO6	})7)

Input

Handlers consuming this hook accept the following input.

input__type
Was this page helpful?