It is possible to terminate the merchant configuration that supports Buy Online, Pick up in Store . To do so, you can reassign inventory, disable a location and its storefront visibility, and delete pickup methods.
There is no dedicated endpoint for reassigning inventory from one location to another. Instead, use the existing inventory API endpoints.
To disable a location, send a request to the Update locations endpoint.
Storefront visibility is currently a shopper-facing property of a location. If it is set to false, then details about the location (e.g. description, operating hours) on the location details page and inventory quantities at that location will be excluded from the “available to sell” quantity on the storefront. If it is set to true, then details about the location on the location details page and inventory quantities at that location will be included in the “available to sell” quantity on the storefront.
To disable a location’s visibility on the storefront, send a request to the Update locations endpoint.
To delete a location, send a request to the Delete locations endpoint.
If a location has inventory that you want to keep, use Inventory adjustments to reassign the inventory to a different location before deleting the location.
For locations that you can’t delete, see the Delete locations endpoint.
To delete a pickup method, send a request to the Delete pickup methods endpoint.