Developers

Event · Products

Markdown

product.created

A product was created, from the merchant dashboard or by an app.

Payload data

Every event arrives in the standard webhook envelope. These are the fields of data.

idinteger
Product ID.
namestring
Name.
product_kinddigital | service | physical
Product kind.
statusactive | inactive
Visible in the store or hidden.
pricestring
Price in SAR with two decimal places.
old_pricestring | null
Price before discount.
price_staterequired | ready
required until a price is set.
categorystring | null
Category name.
imagestring | null
Main image.
slugstring | null
URL slug.
resource_versioninteger
Product version; higher is newer.

    ↑↓ moveEnter openEsc close