Skip to content

product.delete ​

Triggered when a product is deleted.

يُرسل عند حذف منتج.

PlatformZid
GroupProduct
Payload modelProduct (shared with product.create, product.update, product.publish)
JSON Schemaschemas/zid/product.delete.schema.json
Official docsdocs.zid.sa/webhook-events-product

Note

Zid's events table links this event to a separate "Product deleted" payload, but its docs only publish the full product schema shown here. Don't rely on every field being present.

Example payload ​

Zid publishes one example for this payload model, shown here for another event in this model. product.delete uses the same structure.

json
{
  "id": "157ea0ee-3963-4e3d-ba3b-b9b0f6a50535",
  "product_class": "grouped_product",
  "sku": "Z.1.1234567890",
  "barcode": "",
  "parent_id": null,
  "name": {
    "ar": "NewProduct",
    "en": "NewProduct"
  },
  "slug": "NewProduct",
  "price": 100,
  "short_description": null,
  "sale_price": 90,
  "formatted_price": "100.00  ر.س ",
  "formatted_sale_price": "90.00  ر.س ",
  "currency": "SAR",
  "currency_symbol": " ر.س ",
  "attributes": [],
  "categories": [],
  "display_order": null,
  "has_options": false,
  "has_fields": false,
  "images": [],
  "is_draft": false,
  "quantity": null,
  "is_infinite": true,
  "html_url": "https://zggesq.localhost:8084/products/NewProduct",
  "weight": {
    "value": null,
    "unit": "kg"
  },
  "keywords": [],
  "requires_shipping": true,
  "is_taxable": true,
  "structure": "standalone",
  "seo": {
    "title": {
      "ar": "NewProduct",
      "en": "NewProduct"
    },
    "description": {}
  },
  "rating": {
    "average": 0,
    "total_count": 0,
    "1_ratings": {
      "percentage": 0,
      "count": 0
    },
    "2_ratings": {
      "percentage": 0,
      "count": 0
    },
    "3_ratings": {
      "percentage": 0,
      "count": 0
    },
    "4_ratings": {
      "percentage": 0,
      "count": 0
    },
    "5_ratings": {
      "percentage": 0,
      "count": 0
    }
  },
  "store_id": 1,
  "purchase_restrictions": {
    "min_quantity_per_cart": null,
    "max_quantity_per_cart": null,
    "availability_period_start": null,
    "availability_period_end": null
  },
  "metafields": null,
  "meta": {},
  "badge": {
    "body": {
      "ar": "خصم {discount_percent}",
      "en": "{discount_percent} Discount"
    },
    "icon": {
      "code": "discount_percent"
    }
  },
  "related_products_settings": "AUTO_GENERATED",
  "related_products_title": null,
  "variants": [],
  "options": [],
  "cost": 0,
  "is_published": true,
  "waiting_customers_count": null,
  "description": {},
  "custom_user_input_fields": [],
  "custom_option_fields": [],
  "related_products": [],
  "next_product": null,
  "previous_product": null,
  "group_products": [
    {
      "id": "5f3a844c-0c22-430e-93a6-1932954f6034",
      "item": {
        "id": "371f63f1-7e82-4921-a1e7-f7f02b5573e8",
        "product_class": null,
        "sku": "Z.1.1715508211439691",
        "barcode": "",
        "parent_id": null,
        "name": {
          "ar": "test123",
          "en": "test123"
        },
        "slug": "test123",
        "price": 12,
        "short_description": null,
        "sale_price": null,
        "formatted_price": "12.00  ر.س ",
        "formatted_sale_price": null,
        "currency": "SAR",
        "currency_symbol": " ر.س ",
        "attributes": [],
        "categories": [],
        "display_order": null,
        "has_options": false,
        "has_fields": false,
        "images": [],
        "is_draft": false,
        "quantity": null,
        "is_infinite": true,
        "html_url": "https://zggesq.localhost:8084/products/test123",
        "weight": {
          "value": null,
          "unit": "kg"
        },
        "keywords": [],
        "requires_shipping": true,
        "is_taxable": true,
        "structure": "standalone",
        "seo": {
          "title": {
            "ar": "test123",
            "en": "test123"
          },
          "description": {}
        },
        "rating": {
          "average": 0,
          "total_count": 0,
          "1_ratings": {
            "percentage": 0,
            "count": 0
          },
          "2_ratings": {
            "percentage": 0,
            "count": 0
          },
          "3_ratings": {
            "percentage": 0,
            "count": 0
          },
          "4_ratings": {
            "percentage": 0,
            "count": 0
          },
          "5_ratings": {
            "percentage": 0,
            "count": 0
          }
        },
        "store_id": 1,
        "purchase_restrictions": {
          "min_quantity_per_cart": null,
          "max_quantity_per_cart": null,
          "availability_period_start": null,
          "availability_period_end": null
        },
        "metafields": null,
        "meta": null,
        "badge": null,
        "related_products_settings": "AUTO_GENERATED",
        "related_products_title": null,
        "created_at": "2024-05-12T10:03:31.440247Z",
        "updated_at": "2024-05-20T08:14:45.821898Z",
        "options": [],
        "group_products": null,
        "stocks": [
          {
            "id": "95aaf1a8-1c8a-4e6e-8d90-6b12638856bc",
            "location": {
              "id": "904afcec-dacf-449d-b892-fd7a5cbbf6c9",
              "name": {
                "ar": "لحوم ساقية الرياض"
              },
              "type": "PHYSICAL"
            },
            "available_quantity": null,
            "is_infinite": true
          }
        ]
      },
      "origin_product_id": "157ea0ee-3963-4e3d-ba3b-b9b0f6a50535",
      "item_id": "371f63f1-7e82-4921-a1e7-f7f02b5573e8",
      "item_quantity": 2,
      "in_stock": false
    },
    {
      "id": "9801f935-82b0-410c-ae35-6e06a6e64575",
      "item": {
        "id": "f1965956-b6ba-47a8-a91f-a18440495a12",
        "product_class": null,
        "sku": "Z.1.17146366424425128",
        "barcode": "",
        "parent_id": null,
        "name": {
          "ar": "TestNew",
          "en": "TestNew"
        },
        "slug": "testnew",
        "price": 1,
        "short_description": null,
        "sale_price": null,
        "formatted_price": "1.00  ر.س ",
        "formatted_sale_price": null,
        "currency": "SAR",
        "currency_symbol": " ر.س ",
        "attributes": [],
        "categories": [],
        "display_order": null,
        "has_options": false,
        "has_fields": false,
        "images": [],
        "is_draft": false,
        "quantity": null,
        "is_infinite": true,
        "html_url": "https://zggesq.localhost:8084/products/testnew",
        "weight": {
          "value": null,
          "unit": "kg"
        },
        "keywords": [],
        "requires_shipping": true,
        "is_taxable": true,
        "structure": "standalone",
        "seo": {
          "title": {
            "ar": "TestNew",
            "en": "TestNew"
          },
          "description": {}
        },
        "rating": {
          "average": 0,
          "total_count": 0,
          "1_ratings": {
            "percentage": 0,
            "count": 0
          },
          "2_ratings": {
            "percentage": 0,
            "count": 0
          },
          "3_ratings": {
            "percentage": 0,
            "count": 0
          },
          "4_ratings": {
            "percentage": 0,
            "count": 0
          },
          "5_ratings": {
            "percentage": 0,
            "count": 0
          }
        },
        "store_id": 1,
        "purchase_restrictions": {
          "min_quantity_per_cart": null,
          "max_quantity_per_cart": null,
          "availability_period_start": null,
          "availability_period_end": null
        },
        "metafields": null,
        "meta": null,
        "badge": null,
        "related_products_settings": "AUTO_GENERATED",
        "related_products_title": null,
        "created_at": "2024-05-02T07:57:22.442860Z",
        "updated_at": "2024-05-20T08:16:21.995611Z",
        "options": [],
        "group_products": null,
        "stocks": [
          {
            "id": "b152dc0f-73f1-4620-a310-e8d72bd370a6",
            "location": {
              "id": "904afcec-dacf-449d-b892-fd7a5cbbf6c9",
              "name": {
                "ar": "لحوم ساقية الرياض"
              },
              "type": "PHYSICAL"
            },
            "available_quantity": null,
            "is_infinite": true
          }
        ]
      },
      "origin_product_id": "157ea0ee-3963-4e3d-ba3b-b9b0f6a50535",
      "item_id": "f1965956-b6ba-47a8-a91f-a18440495a12",
      "item_quantity": 3,
      "in_stock": false
    }
  ],
  "stocks": [
    {
      "id": "fe1e47bf-3fa5-4240-8cbe-66c07e4608a7",
      "location": {
        "id": "904afcec-dacf-449d-b892-fd7a5cbbf6c9",
        "name": {
          "ar": "لحوم ساقية الرياض"
        },
        "type": "PHYSICAL"
      },
      "available_quantity": null,
      "is_infinite": true
    }
  ],
  "sold_products_count": null,
  "created_at": "2024-05-22T13:32:42.047362Z",
  "updated_at": "2024-05-22T13:32:42.047380Z"
}

Fields ​

Fields marked * are required in the official schema.

FieldTypeDescription
idnullUnique identifier for the product. (Set to null if is_external_product is true)
product_classstringSet to "grouped_product" to indicate it's a group of sub-products.
skustringStock Keeping Unit - unique identifier that allows a product to be tracked for inventory purposes.
barcodestringThis field allows you to specify a barcode associated with the product, if applicable.
parent_idnullUnique identifier for the parent product, if any. This product could be a variant of the parent product. (Set to null if is_external_product is true)
nameobjectLocalized product name in Arabic (ar) and English (en).
slugstringSEO friendly URL, usually derived from the product name.
priceintegerBase price of the grouped product (100.0).
short_descriptionnullThis field is optional and can be used to provide a brief description of the product.
sale_priceintegerIf the product is on sale, this field specifies the discounted price in the smallest currency unit.
formatted_pricestringThis field contains the base price formatted according to the currency settings.
formatted_sale_pricestringIf applicable, this field holds the formatted discounted price.
currencystring
currency_symbolstringShows the currency type.
attributesarray of object
display_ordernullThis field is currently unused but might be reserved for future functionalities related to product display order.
has_optionsbooleanThis flag indicates whether the product has options (variations) available. (e.g., different sizes or colors).
has_fieldsbooleanThis flag signifies whether the product has custom form fields associated with it.
imagesarray of objectThis array stores information about the product images.
is_draftbooleanIndicates if the product is a draft (False - published).
quantitynullShows the quanitity of the product.
is_infiniteboolean
html_urlstringThis field contains the URL for the product page on your storefront.
weightobjectWeight of the product.
keywordsarray of objectThis array allows you to define a list of relevant keywords associated with the product for better search optimization.
requires_shippingboolean
is_taxablebooleanIndicates if the product is taxable.
structurestring
seoobjectSEO-related data for the product.
ratingobjectThis object provides average product rating information.
store_idintegerUnique identifier of the store in which the product is listed.
purchase_restrictionsobject
metafieldsnull
metaobject
badgeobject
related_products_settingsstring
related_products_titlenull
variantsarray of object
optionsarray of object
costinteger
is_publishedbooleanIndicates if the product is published and visible (true).
waiting_customers_countnull
descriptionobject
custom_user_input_fieldsarray of object
custom_option_fieldsarray of object
related_productsarray of object
next_productnull
previous_productnull
group_productsarray of objectAn array of objects representing the sub-products included in the grouped product. Only required when product_class is set to "grouped_product". Refer to the Update Existing Product documentation for details on the "group_products" fields.
stocksarray of objectThis array provides details about product stock.
sold_products_countnull
created_atstringDate and time the product was created.
updated_atstringDate and time the product was last updated.
is_external_productbooleanThis property is used to indicate whether the product is sourced externally.

Source ​

Generated from Zid's official documentation, fetched 2026-10-26. Found a difference from what Zid actually sends? Open an issue.

Not affiliated with Salla or Zid. Payloads and schemas come from their official documentation. | غير تابع لسلة أو زد