Shoprenter
Short description
This middleware enables real-time transmission of order data from Shoprenter to Maileon. The order information is recorded as contact events in Maileon, making it easy to trigger automated email campaigns based on customer activity.
Order confirmation data send to Maileon
shoprenter_orders_v1 fields:
Name | Data type | Description |
---|---|---|
| string | Shoprenter order id |
| datetime (Y-m-d H:i:s) | Order timestamp |
| string | Order status |
| json | Ordered items (details below) |
| float | Total order amount (gross) |
| float | Total order amount excluding shipping (gross) |
| float | Order VAT amount |
| float | Order other fees amount |
| json | Description of other order fees |
| string | Order currency |
| string | Payment method ID |
| string | Payment method name |
| string | Discount coupon code |
| float | Discount coupon amount (gross) |
| string | Customer full name |
| string | Customer firstname |
| string | Customer lastname |
| string | Customer Shoprenter ID |
| string | Billing address lastname |
| string | Billing address firstname |
| string | Billing address street, hnr |
| string | Billing address zip |
| string | Billing address city |
| string | Billing address region |
| string | Billing address country |
| string | Shipping address firstname |
| string | Shipping address lastname |
| string | Shipping address street, hnr |
| string | Shipping address zip |
| string | Shipping address city |
| string | Shipping address region |
| string | Shipping address country |
| string | Shipping service ID |
| string | Shipping service name |
| string | Pick Pack pont code |
order.items fields:
Name | Data type | Description |
---|---|---|
| string | Shoprenter product ID |
| string | Product SKU |
| float | Product price (net) |
| float | Ordered products total amount |
| string | Product title |
| float | Product VAT amount |
| string | Product image url |
| integer | Product ordered quantity |
| string | Product categories comma separated list |
shoprenter_ordered_products_v1 fields:
Name | Data type | Description |
---|---|---|
| string | Shoprenter order ID |
| datetime (Y-m-d H:i:s) | Order timestamp |
| string | Order status |
| string | Product SKU |
| string | Product Shoprenter ID |
| string | Product title |
| string | Product image url |
| integer | Product ordered quantity |
| float | Product price (net) |
| float | Ordered products total amount |
| string | Product categories comma separated list |
| float | Total order amount (gross) |
| string | Order currency |
| string | Payment method ID |
| string | Payment method name |
Order status changes sending to Maileon
shoprenter_orders_status_changed_v1 fields:
Name | Data type | Description |
---|---|---|
| string | Order Shoprenter ID |
| datetime (Y-m-d H:i:s) | Order timestamp |
| string | Order státusz |
| json | Ordered items (details below) |
| float | Total order amount (gross) |
| float | Total order amount excluding shipping (gross) |
| float | Order VAT amount |
| float | Order other fees amount |
| json | Description of other order fees |
| string | Order currency |
| string | Payment method ID |
| string | Payment method name |
| string | Discount coupon code |
| float | Discount coupon amount (gross) |
| string | Customer full name |
| string | Customer firstname |
| string | Customer lastname |
| string | Customer Shoprenter ID |
| string | Billing address firstname |
| string | Billing address lastname |
| string | Billing address street, hnr |
| string | Billing address zip |
| string | Billing address city |
| string | Billing address region |
| string | Billing address country |
| string | Shipping address firstname |
| string | Shipping address lastname |
| string | Shipping address street, hnr |
| string | Shipping address zip |
| string | Shipping address city |
| string | Shipping address region |
| string | Shipping address country |
| string | Shipping service ID |
| string | Szállítási service name |
| string | Pick Pack pont code |
order.items fields:
Name | Data type | Description |
---|---|---|
| string | Product Shoprenter ID |
| string | Product SKU |
| float | Product price (net) |
| float | Ordered products total amount |
| string | Product title |
| float | Product VAT amount |
| string | Product image url |
| integer | Product ordered quantity |
| string | Product categories comma separated list |
Sending abandoned cart data to Maileon
Currently, it is not possible to configure an abandoned cart event webhook directly from the application. However, it can be set up manually in the Shoprenter admin interface. The setup steps are as follows:
Name: Provide any name for the automation – the value does not matter.
Status: Set to enabled.
Schedule type: Set according to your preference.
Schedule: Set according to your preference.
Schedule unit: Set according to your preference.
Recipient: This is where you need to set the application’s endpoint that processes the webhook. The URL is:
https://shoprenter-xsic.maileon.com/api/shoprenter-app/webhooks/abandoned-cartFormat: Choose JSON.
Data to be sent: Add all available fields to the list of data fields to be sent.
Once the webhook is configured, it will send order data to Maileon for any abandoned checkout. The data will be stored in Maileon as a contact event. The contact event will be created with the following type:
shoprenter_abandoned_carts_v1: This contact event will contain the order data, and the ordered products will be stored in a JSON-type contact event field.
shoprenter_abandoned_carts_v1 fields
Name | Data type | Description |
---|---|---|
| string | Cart Shoprenter ID |
| datetime (Y-m-d H:i:s) | Cart creation timestamp |
| string | Cart url |
| json | Cart items (details below) |
| float | Cart total amount (gross) |
| float | Total cart amount excluding shipping (gross) |
| float | Cart VAT amount |
| float | Cart other fees amount |
| json | Cart other fees name |
| string | Cart currency |
| string | Cart coupon code |
| float | Cart coupon total amount (gross) |
| string | Customer full name |
| string | Customer firstname |
| string | Customer lastname |
| string | Customer Shoprenter ID |
cart.items fields:
Name | Data type | Description |
---|---|---|
| string | Product Shoprenter ID |
| string | Product SKU |
| float | Product price (net) |
| float | Products total amount (gross) |
| string | Product title |
| float | Product VAT amount |
| string | Product image url |
| integer | Product quantity |
| string | Product categories comma separated list |
Contact fields
Contact events can only be sent to existing contacts in Maileon. Therefore, before each contact event is submitted, we check whether a contact with the provided email address already exists in Maileon.
If the contact exists and has a permission level higher than NONE, we update the contact’s data and send the contact event.
If the contact does not exist in Maileon, or it exists but has a NONE permission level, we check whether the customer has accepted newsletter subscription in Shoprenter.
If the customer has accepted, the contact will be created in Maileon with the permission level specified in the application settings.
If the customer has not accepted, the contact will be created with a NONE permission level.
The following contact fields are used to store customer data:
Contact field | Type | Data type |
---|---|---|
Firstname | standard | string |
Lastname | standard | string |
Full name | standard | string |
Locale | standard | string |
Address | standard | string |
ZIP | standard | string |
City | standard | string |
Country | standard | string |
Region | standard | string |
Shoprenter_Loyality_Points | custom | integer |
Shoprenter_Transaction | custom | boolean |
Shoprenter_NL | custom | boolean |
Shoprenter_Phone | custom | string |
Shoprenter loyality points
With every contact event submission, the contact’s loyalty point balance is updated. The loyalty points are stored in a custom contact field named:
Shoprenter_Loyality_Points