For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
  • Overview
    • Quick Start
    • Sandboxes
    • Tools & SDKs
    • Support
  • Docs
      • Getting Started
      • Becoming a Partner
      • Metafields
      • Scripts
      • Shipping Providers
      • Tax Providers
          • Overview
            • Overview
            • Merchant configuration
            • Browse and discover as a shopper
            • Manage checkout as a shopper
            • Manage order as a merchant
            • Fulfill order as a merchant
            • Retire merchant configuration
          • Frequently asked questions
          • Glossary
          • Inventory adjustments
          • Locations
          • Webhooks
        • Analytics with BODL
        • Staging with Staging Pro
    • Archive
    • Closed Beta Programs
Dev Portal
LogoLogo
On this page
  • 7.0 Terminate configuration as a merchant
  • 7.1 Reassign inventory from one location to another
  • 7.2 Location
  • 7.2.1 Disable a location
  • 7.2.2 Disable a location’s storefront visibility
  • 7.2.3 Delete a location
  • 7.3 Delete a pickup method
DocsIntegrationsPlatform SolutionsBuy online, pick up in storeEnd-to-end guide

Retire merchant configuration

Was this page helpful?
Previous

Fulfill order as a merchant

Next

Storefront

Built with

7.0 Terminate configuration as a merchant

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.

7.1 Reassign inventory from one location to another

There is no dedicated endpoint for reassigning inventory from one location to another. Instead, use the existing inventory API endpoints.

7.2 Location

7.2.1 Disable a location

To disable a location, send a request to the Update locations endpoint.

Request
Response
Example request: Update locations
1PUT https://api.bigcommerce.com/stores/{{store_hash}}/v3/inventory/locations
2X-Auth-Token: {{access_token}}
3Content-Type: application/json
4Accept: application/json
5
6[
7 {
8 "id": 2,
9 "enabled": false
10 }
11]

7.2.2 Disable a location’s storefront visibility

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.

Request
Response
Example request: Update locations
1PUT https://api.bigcommerce.com/stores/{{store_hash}}/v3/inventory/locations
2X-Auth-Token: {{access_token}}
3Content-Type: application/json
4Accept: application/json
5
6[
7 {
8 "id": 2,
9 "storefront_visibility": false
10 }
11]

7.2.3 Delete a location

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.

Request
Response
Example request: Delete locations
1DELETE https://api.bigcommerce.com/stores/{{store_hash}}/v3/inventory/locations?location_id:in=1,2
2X-Auth-Token: {{access_token}}
3Accept: application/json

7.3 Delete a pickup method

To delete a pickup method, send a request to the Delete pickup methods endpoint.

Request
Response
Example request: Delete pickup methods
1DELETE https://api.bigcommerce.com/stores/{{store_hash}}/v3/pickup/methods?id:in=1,2
2X-Auth-Token: {{access_token}}
3Accept: application/json