Commerce
payments, invoices & products api
The Update Inventory API allows the user to bulk update the inventory for multiple items. Use this endpoint to update the available quantity and out-of-stock purchase settings for multiple items in the inventory.
cURL
curl --request POST \ --url https://services.leadconnectorhq.com/products/inventory \ --header 'Content-Type: application/json' \ --header 'Version: <version>' \ --data ' { "altId": "6578278e879ad2646715ba9c", "altType": "location", "items": [ { "priceId": "5e9f8f8f8f8f8f8f8f8f8f8", "availableQuantity": 10, "allowOutOfStockPurchases": false, "trackInventory": false } ] } '
{ "status": true, "message": "Successfully created" }
API Version
2021-07-28
Location Id or Agency Id
"6578278e879ad2646715ba9c"
location
Array of items to update in the inventory.
Show child attributes
Successful response
Status of api action
true
Success message
"Successfully created"
Was this page helpful?