The product.created
webhook is triggered when a new product is added to the Fullscript catalog.
Scopes needed: | catalog:read |
Event payload: | a subset of the product object |
"event_payload": {
"event": {
"id": "x5xxxxx8-92x7-4xxx-9x0x-345x404x94x1",
"type": "product.created",
"created_at": "2018-10-16T04:00:00.000Z",
"data": {
"name": "Vitamin C",
"description_html": "Easy to swallow vitamin c capsules.",
"dosage": {
"recommended_amount": "10-60",
"recommended_frequency": "four times per day",
"recommended_duration": "as needed",
"format": "drop",
"additional_info": "with meals"
},
"brand": {
"id": "x0x50x8x-711x-43xx-85xx-5xx80365xxxx",
"name": "BioBrand",
"prefix": "BIO"
},
"variants": [
{
"id": "xx2688x2-4303-4278-xx73-x7083x6146x1",
"sku": "20xx9193488",
"primary": true,
"units": null,
"unit_of_measure": null,
"availability": "In Stock",
"status": "available",
"upc": null,
"msrp": "19.99",
"supplier_sku": null
}
]
}
}
}