Send data to external shipping integration
The plugin allows to get and send shipment data to external shipping integrations. This way you can get details about Access Point chosen by your client. Shipment data is attached to the order details in shipping_lines field in meta_data.
shipping_lines field is a table, which contains at least one shipment. All shipments are placed in the order in which they were created.
Available data
The plugin allows to get the following data:
- ups_access_point – Access Point id
- ups_access_point_address – Access Point address
- ‘ups_service_code’ – UPS Service code
Example data
"shipping_lines": [</br> { "id": 109, "method_title": "UPS Express Saver (Access Point)", "method_id": "flexible_shipping_ups", "instance_id": "4", "total": "57.03", "total_tax": "13.12", "taxes": [ { "id": 1, "total": "13.1169", "subtotal": "" } ], "meta_data": [ { "id": 807, "key": "ups_access_point", "value": "U47159400" }, { "id": 808, "key": "ups_access_point_address", "value": "DELIKATESY PREMIUM, ARMII KRAJOWEJ 19, 41800 ZABRZE" }, { "id": 809, "key": "ups_service_code", "value": "65" } ] } ],