@plentymarkets/shop-api / deleteAddress
Function: deleteAddress() ​
Method deleteAddress - Delete address from the current session (guest or logged in).
Parameters ​
• context: PlentysystemsIntegrationContext
• params: SetAddressDefaultParams
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
});