Skip to content

Instantly share code, notes, and snippets.

@petercossey
Last active December 2, 2024 09:23
Show Gist options
  • Save petercossey/46d92790af3548035d83deb16af6c8db to your computer and use it in GitHub Desktop.
Save petercossey/46d92790af3548035d83deb16af6c8db to your computer and use it in GitHub Desktop.
Override the existing inventory levels for an inventory item at a location.

Absolute Adjustment Example

PUT https://api.bigcommerce.com/stores/{{store_hash}}/v3/inventory/adjustments/absolute

{
    "reason": "hourly sync 20241204-2014",
    "items": [
        {
            "location_id": 1,
            "product_id": 111,
            "quantity": 200
        },
        {
            "location_id": 2,
            "product_id": 111,
            "quantity": 200
        }
    ]
}

BigCommerce's Inventory API

BigCommerce's Inventory API is an asynchronous API that enables merchants to track a store's inventory and make updates to the number of products in the store's catalog.

See Inventory Overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment