This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a receipt preset is created.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.receipts.presets.v1.receipt_preset
.
Event name. Expected created
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.receipts.presets.v1.receipt_preset_created",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"id": "52269077-05f2-4b59-ba4f-36ef8c4c1e11",
"entityFqdn": "wix.receipts.presets.v1.receipt_preset",
"slug": "created",
"entityId": "8046df3c-7575-4098-a5ab-c91ad8f33c47",
"createdEvent": {
"entity": {
"id": "8046df3c-7575-4098-a5ab-c91ad8f33c47",
"revision": 1,
"createdDate": "2024-10-30T17:22:10.299Z",
"updatedDate": "2024-10-30T17:22:10.299Z",
"name": "Invoice preset",
"templateSettingsId": "4fd78c54-b722-4300-ac62-ea71ceaec00f",
"displayValues": {
"titleOverride": "INV-Receipt"
},
"displaySettings": {
"businessDisplayOptions": {
"showBusinessEmail": true,
"showBusinessPhoneNumber": true,
"showBusinessAddress": true
},
"customerDisplayOptions": {
"showCustomerEmail": true,
"showCustomerPhoneNumber": true,
"showCustomerShippingAddress": true,
"showCustomerBillingAddress": true,
"showCustomerVatId": true
},
"itemsDisplayOptions": {
"showItemsDescription": true,
"showTax": true
},
"totalsDisplayOptions": {
"showTaxBreakdown": true,
"showItemSubtotalPerTaxBreakdown": true
}
},
"customFields": {
"headerCustomFields": [
{
"title": "Source",
"value": "Invoices"
}
],
"businessCustomFields": [
{
"title": "Company ID",
"value": "12345"
}
],
"customerCustomFields": [
{
"title": "Customer Type",
"value": "Invoice Customer"
}
],
"footerCustomFields": [
{
"title": "Terms",
"value": "This receipt align to the requirements of an example."
}
]
},
"default": false
}
},
"eventTime": "2024-10-30T17:22:10.299Z",
"triggeredByAnonymizeRequest": false
}