# commerce.product.created

A product was created in a connected Shopify store or WooCommerce site.

### Payload notes

`resource.id` is the store's product id. Read the product with `GET /v1/commerce/products/{productId}?accountId=...`. Fires once per Zernio account connected to the store.




**Payload for `commerce.product.created`:**

- **test** `boolean`: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
- **id** `string`: No description
- **event** `string`: No description - one of: commerce.product.created, commerce.product.updated, commerce.product.deleted
- **timestamp** `string` (date-time): UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued). Retries and redeliveries keep the original value, so it reflects the event, not the delivery attempt.
- **store** `object`: 
  - **accountId** `string`: Zernio SocialAccount id of the store.
  - **platform** `string`: No description - one of: shopify, woocommerce
  - **shopId** `string,null`: The platform id of the shop.
- **resource** `object`: 
  - **type** `string`: No description - one of: product
  - **id** `string`: Platform-native product id.
  - **status**: Zernio product status; null on delete.
    - `CommerceProductStatus`
  - **platformStatus** `string,null`: Raw platform status, e.g. ACTIVE; null on delete.