The product information synchronized from the Shopify online store to Backoffice can be exported to the Stockmann.com point of sale after the information has been completed in Backoffice. You can also synchronize the product inventory directly from Shopify.
Stockmann.com online store orders are synchronized with Shopify and order updates are synchronized in the other direction.
Features for Stockmann.com orders brought to Shopify:
- Stockmann.com orders can be marked for delivery directly in Shopify. Orders can be returned if necessary.
- Stockmann.com order shipping lists can be printed directly from Shopify. The link to the mailing list is added as a comment to the order.
- The delivery tracking number must be set to "Tracking number" in Shopify. Delivery confirmation is sent to the customer after the delivery information is updated in Backoffice.
Metafield additional information in order
When the Stockmannin order is synchronized from Backoffice to Shopify, Shopify's order structure does not have all the necessary fields for the information needed for delivery.
Therefore, the integration between Backoffice and Shopify creates its own metafield information for the order exported to Shopify, which contains the information needed for delivery.
If the Shopify store uses applications or integrations that need order delivery information, they can be read from the metafield assigned to the order.
The Metafield field information and the values that come with them are:
"namespace":"opkassa"
"key":"delivery_details"
"owner_id":
"owner_resource""order"
"value_type": "string"
"value":
An example of the decoded JSON value after reading the metafield:
{
"delivery_type": "pickup",
"source": "Stockmann",
"purchase_type": "online",
"shipping_firstname": "Matti",
"shipping_lastname": "Mainio",
"shipping_street_name": "Kotiosoite 1 B 2",
"shipping_zip": "00100",
"shipping_city": "Helsinki",
"shipping_country": "FI",
"shipping_phone": "+358401234567",
"delivery_name": "K-Market Mannerheimintie 70 Helsinki",
"delivery_street_address": "Mannerheimintie 70",
"delivery_postal_code": "00250",
"delivery_city": "Helsinki",
"delivery_country": "FI",
"delivery_phone": "+358401234567",
"carrier": "matkahuolto",
"carrier_delivery_code": "80",
"carrier_service_name": "Lähellä-paketti",
"pickup_id": "8716"
}
An example of metafield information where the JSON structure is encoded as a single text value:
{
"namespace": "opkassa",
"key": "delivery_details",
"value":"{\"delivery_type\":\"pickup\",\"source\":\"Stockmann\",\"purchase_type\":\"online\",\"shipping_firstname\":\"Matti\",\"shipping_lastname\":\"Mainio\",\"shipping_street_name\":\"Kotiosoite1 B2\",\"shipping_zip\":\"00100\",\"shipping_city\":\"Helsinki\",\"shipping_country\":\"FI\",\"shipping_phone\":\"+358401234567\",\"delivery_name\":\"K-MarketMannerheimintie 70Helsinki\",\"delivery_street_address\":\"Mannerheimintie70\",\"delivery_postal_code\":\"00250\",\"delivery_city\":\"Helsinki\",\"delivery_country\":\"FI\",\"delivery_phone\":\"+358401234567\",\"carrier\":\"matkahuolto\",\"carrier_delivery_code\":\"80\",\"carrier_service_name\":\"Lähellä-paketti\",\"pickup_id\":\"8716\"}",
"value_type": "string",
"owner_id": 1234567890123,
"owner_resource": "order"