Event Type | Description |
---|---|
document | Triggered when documents are created, updated, or modified |
document_type
: Type of document (e.g., “purchase”, “invoice”)serial_number
: Document serial numberhash_id
: Unique document identifiermessage
: Event description (e.g., “Document Created”)timestamp
: When the event occurredEvent Type | Description |
---|---|
inventory | Triggered when inventory levels change (stock in/out) |
swipe_product_id
: Internal Swipe product IDpartner_product_id
: Your system’s product ID (-1 if not mapped)product_name
: Name of the productqty
: Quantity changedmovement
: Direction of movement (“in” or “out”)timestamp
: When the inventory change occurredX-Signature
header containing an HMAC signature. This ensures the request is authentic and comes from Swipe.
X-Signature
headerapplication/json
X-Signature