Shopify

Pull Orders
Connecting Shopify to HubRise allows you to receive orders directly in your EPOS or any other solution connected to your HubRise account.
This page describes the information that HubRise receives from Shopify for your orders.
Items
For each item, Shopify Bridge extracts the product name, the SKU name (Shopify variant name), the ref code, the quantity, the price, and the tax rate.
Options
Shopify line items can have properties, for example a slicing preference or a gift message. These properties are sent to HubRise as options or item-level customer notes, depending on the configuration. For more information, see Order Items.
Properties whose name starts with an underscore, for example _bundle_id, are private properties used by apps for technical purposes. They are always ignored.
To assign a ref code to an option, add it in double square brackets at the end of the property value, for example Fried egg [[EGG]]. Note that this will make ref codes visible to your customers in the cart, at checkout, and in order emails. Option prices are always zero.
Deals
Deals are not supported.
Customer Notes
If your Shopify theme lets customers add a note to their order, this note is sent to HubRise as order-level customer notes.
Order Statuses
When an order status changes in HubRise, Shopify Bridge notifies Shopify, and the change can be seen by the customer.
From the configuration page of Shopify Bridge, you can customise how to map the different HubRise order statuses to Shopify. For more information, see Order Statuses.
Service Types
Shopify Bridge supports only delivery orders.
Customer Details
Shopify provides full customer's details for all orders. Shopify Bridge creates a customer in HubRise every time you receive an order from a new customer, and the customer's details are reused or updated in the following orders.
Discounts and Charges
Shopify Bridge provides information about discounts and delivery charges, if present.
Technical Reference
This section describes how orders are encoded in the JSON payloads you receive from Shopify Bridge.
Items
For every item in the order, Shopify Bridge provides the following information:
product_name: The product name.sku_ref: The ref code of the item.price: The price for a single item.quantity: The quantity of items included in the order.tax_rate: The tax rate applied to the item, in percent. When several taxes apply, their rates are added together.customer_notes: Customer notes for the item, derived from the line item properties whose name matches the Property name(s) for item-level customer notes field, if any.options: An array of options attached to the item, sourced from the line item properties that are not used as customer notes, and do not match the Discarded property names field.
Options
For each option, Shopify Bridge provides the following information:
option_list_name: The name of the line item property.name: The value of the line item property, without the ref code.ref: The ref code, if the property value follows the patternOption Name [[REF_CODE]].
Sample JSON containing a single item with customer notes and an option
"items": [ { "product_name": "Eiernoedels", "sku_ref": "1", "price": "4.50 EUR", "quantity": "1", "tax_rate": "20.0", "customer_notes": "Spice level: Mild", "options": [ { "option_list_name": "Topping", "name": "Fried egg", "ref": "EGG" } ] }]
Customer
Shopify Bridge always includes all the personal details provided by the customer in the customer object.
This information is stored in a HubRise customer and can be retrieved using the HubRise customer ID.
For more information, see how to retrieve customer's details.
Discounts
The discount applied to the order is passed as a single object in the HubRise discounts array.
The available fields in the payload are the following:
name: The name of the discount, which is "Total discount" by default.price_off: The total amount of the discount.
Shopify does not provide any ref code for discounts.
Sample JSON for discounts
"discounts": [ { "name": "10% off", "price_off": "0.50 EUR" }]
Delivery Charges
Shopify Bridge encodes delivery charges in the charges array, if they are present.
The available fields in the payloads are the following:
name: The name of the delivery charge, which isDelivery chargeby default.type: The type of charge. It has always the valuedelivery.price: The total amount of the delivery charge.tax_rate: The tax rate applied to the delivery charge, calculated in the same way as for items.
Shopify does not provide any ref code for delivery charges.
Sample JSON for charges
"charges": [ { "name": "Delivery charge", "type": "delivery", "price": "1.50 EUR", "tax_rate": "20.0" }]
Payment
Information about the payment is included in the payments array. Only a single payment is supported per order.
The available fields in the payloads are the following:
name: The name of the payment method.type: The type of payment. It has always the valueonline.amount: The total amount of the payment.
Total Price
The total price paid for the order, including charges and discounts applied, is encoded in the total field.


