google-listings-and-ads
google-listings-and-ads copied to clipboard
Add a function for users to be able to delete their Merchant Center sub-account
trafficstars
User story
As a user, if my Merchant Center sub-account was created by this plugin, I want to be able to delete it via the plugin.
- when disconnecting accounts
- when uninstalling the plugin
- any else?
Relevant requests:
- https://wordpress.org/support/topic/how-to-delete-google-merchant-centre-account/
- 4127778-zen
Possible solutions:
- Add one more checkbox for user to delete sub-account when disconnecting in the Settings page
- Others?
Technical
- Users cannot delete sub-account via Google Merchant Center

Figma link
Acceptance criteria
Unknowns
Out of bounds/rabbit holes
Event tracking
Up until now there hasn't been an endpoint available for deleting a sub account in the API, see: https://developers.google.com/shopping-content/reference/rest/v2.1/accounts
We might need to ask Google directly if there are any options to work around this.
Is using Sub-Accounts even supported? Last time I tried it didn't work but that was months ago