METUS API Hub
Webhooks - Inventory

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.

Submit inventory snapshot › Headers

Authorization
​string · required

The 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
​string · pattern: ^[a-zA-Z0-9]{18}$ · required

Salesforce Account ID (18-character)

snapshot_date
​string · date-time · required

ISO8601/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

status
​integer

HTTP status code

message
​string

Success message

​object
version
​string

API version