@plentymarkets/shop-api / deleteAddress
Function: deleteAddress() ​
Defined in: api/deleteAddress/index.ts:25
Method deleteAddress - Delete address from the current session (guest or logged in).
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
Returns ​
Remarks ​
- Calls /rest/storefront/contact/addresses/$
- This method is used to delete address
Example ​
ts
const { data } = await useSdk().plentysystems.deleteAddress({
typeId: AddressType.Billing,
addressId: 2564
});