Webhooks - Inventory
string · requiredstring · pattern: string · date-time · requiredintegerstringstring
Submit inventory snapshot
POST
https://api.metahvac.com
/webhooks/inventory/v1.0
Receives inventory submissions from distributors. Each submission is treated as a full snapshot for the account and date combination. The system will validate the account exists in Salesforce, store items in Snowflake, and update the account's last processed timestamp.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Submit inventory snapshot › Request Body
account_id^[a-zA-Z0-9]{18}$ · requiredSalesforce Account ID (18-character)
snapshot_dateISO8601/RFC3339 timestamp for the inventory snapshot. Typically set to midnight UTC for daily snapshots.
object[] · minItems: 1 · required
Array of inventory items. Must contain at least one item.
Submit inventory snapshot › Responses
Inventory submission processed successfully
statusHTTP status code
messageSuccess message
object
versionAPI version