Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Inventory Item Changed Webhook

Permissions

This webhook requires the Read Products or the Manage Products permission scope.

Event Body

Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.

Event Data

NAME
TYPE
DESCRIPTION
inventoryItemId

string

Inventory item ID

externalId

string

Item ID from external source

trackInventory

boolean

Whether inventory is being tracked

Was this helpful?

The data payload will include the following as an encoded JWT:

Event Body

json

1{
2 "data": {
3 "eventType": "<event-type>",
4 "instanceId": "<app-instance-id>",
5 "data": "<stringified-JSON>"
6 }
7}

The parsed data will include:

Sample Data

json

1
2{
3 "inventoryItemId": "81b0fdc0-ac2d-8f25-cf44-ce99d4c3f6a0",
4 "externalId": "7e4f023f-53d2-70da-30bb-31662b3c095f",
5 "trackInventory": false
6}