Recent Topics

Web Api to delete Customers Specific Address

  • Is there a web api to delete a customer's specific address. I have checked the documentation we can delete using graphql but is there a way to delete using web api?

  • Hi @tabish152,

    Yes, you can delete it.You just need to pass the address id with DELETE method to this route,

    Route::delete('addresses/{id}', '[email protected]')->defaults('_config', [
                'repository' => 'Webkul\Customer\Repositories\CustomerAddressRepository',
                'resource' => 'Webkul\API\Http\Resources\Customer\CustomerAddress',
                'authorization_required' => true

Log in to reply