Order Confirmed


Permissions
Manage Events - all permissions
Read Events - all read permissions
Manage Orders
Read Basic Events Order Info
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
timestampstringformat date-time

Order confirmation timestamp in ISO UTC.


languagestringformat LANGUAGE

Site language when Order initiated


silentboolean

Notifications silenced for this domain event.


localestringformat LANGUAGE_TAG

Locale in which Order was created.


eventIdstringformat GUID

Event ID.


orderNumberstring

Unique order number.


contactIdstring

Contact ID associated with this order.


memberIdstringformat GUID

Member ID associated with this order.


createdstringRead-onlyformat date-time

Order created timestamp


firstNamestring

Buyer first name.


lastNamestring

Buyer last name.


emailstring

Buyer email address.


checkoutFormCheckoutForm

Checkout form response.


statusstring

Order status.


methodstring

Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.


ticketsArray <Ticket>

Tickets (generated after payment).


invoiceInvoice

Invoice.


reservationIdstring

Reservation ID associated with this order.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "wix.events.ticketing.events.OrderConfirmed", "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 } } }

Order Confirmed
JSON
{ "timestamp": "2020-04-28T12:23:57.154Z", "eventId": "566e7be9-1410-4095-ae7a-349a4ac95c6b", "orderNumber": "FMXC-BZG3-OT", "contactId": "eea3ac0f-f9e6-4ed3-a135-99743c8e90b8", "memberId": "b272b0bb-d013-415a-8461-e8a175fe8dc6", "created": "2020-04-28T12:23:51.523Z", "firstName": "John", "lastName": "Doe", "email": "john.doe@somedomain.com", "status": "PAID", "method": "payPal", "checkoutForm": { "inputValues": [ { "inputName": "firstName", "value": "John" }, { "inputName": "lastName", "value": "Doe" }, { "inputName": "email", "value": "john.doe@somedomain.com" } ] }, "tickets": [ { "ticketNumber": "FMXC-BZG3-OT021", "ticketDefinitionId": "d72874cb-012a-4ad2-afbb-57fe8cf1e308", "price": { "amount": "123.00", "currency": "USD" }, "firstName": "John", "lastName": "Doe", "email": "john.doe@somedomain.com", "contactId": "eea3ac0f-f9e6-4ed3-a135-99743c8e90b8", "memberId": "b272b0bb-d013-415a-8461-e8a175fe8dc6", "confirmed": true, "form": { "inputValues": [ { "inputName": "custom", "value": "Another comment" }, { "inputName": "email", "value": "john.doe@somedomain.com" }, { "inputName": "lastName", "value": "Doe" }, { "inputName": "firstName", "value": "John" }, { "inputName": "date", "value": "2020-04-28" }, { "inputName": "comment", "value": "Comment" }, { "inputName": "address", "values": [ "Wix Playground, 100 Gansevoort St", "New York City", "New York", "USA", "NY 10014" ] }, { "inputName": "phone", "value": "(555) 555-1234" } ] } }, { "ticketNumber": "FMXC-BZG3-OT041", "ticketDefinitionId": "9c3dc432-f1a6-408f-82d8-4f64c7ff581b", "price": { "amount": "0.00", "currency": "USD" }, "firstName": "Jane", "lastName": "Doe", "email": "jane.doe@somedomain.com", "contactId": "e11af3d4-c205-4d3a-b687-58d4dda78a6c", "memberId": "62bc4004-548c-46ad-a699-55ef307273e3", "confirmed": true, "form": { "inputValues": [ { "inputName": "custom", "value": "Another comment" }, { "inputName": "email", "value": "jane.doe@somedomain.com" }, { "inputName": "lastName", "value": "Doe" }, { "inputName": "firstName", "value": "Jane" }, { "inputName": "date", "value": "2020-04-28" }, { "inputName": "comment", "value": "Comment" }, { "inputName": "address", "values": [ "Wix Playground, 100 Gansevoort St", "New York City", "New York", "USA", "NY 10014" ] }, { "inputName": "phone", "value": "(555) 555-1234" } ] } } ], "invoice": { "items": [ { "id": "d72874cb-012a-4ad2-afbb-57fe8cf1e308", "quantity": 1, "name": "VIP", "price": { "amount": "123.00", "currency": "USD" }, "total": { "amount": "123.00", "currency": "USD" }, "fees": [ { "type": "FEE_INCLUDED", "rate": "2.5", "amount": { "amount": "3.08", "currency": "USD" } } ] }, { "id": "9c3dc432-f1a6-408f-82d8-4f64c7ff581b", "quantity": 1, "name": "Free", "price": { "amount": "0.00", "currency": "USD" }, "total": { "amount": "0.00", "currency": "USD" }, "fees": [ { "rate": "2.5", "amount": { "amount": "0.00", "currency": "USD" } } ] } ], "fees": [ { "rate": "2.5", "amount": { "amount": "0.00", "currency": "USD" } }, { "type": "FEE_INCLUDED", "rate": "2.5", "amount": { "amount": "3.08", "currency": "USD" } } ], "subTotal": { "amount": "123.00", "currency": "USD" }, "grandTotal": { "amount": "123.00", "currency": "USD" }, "revenue": { "amount": "119.92", "currency": "USD" } } }
Did this help?