We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d51ce0 commit 245585aCopy full SHA for 245585a
src/functions/shiptheory/DataStore.js
@@ -124,11 +124,13 @@ class DataStore extends DataStoreBase {
124
// grab data from each shipment and create a list of shipments to be sent to Shiptheory
125
// for now it is simply assuming all items in embedded are part of the shipment
126
const products = items.map(p => ({
127
+ height: p.height,
128
name: p.name,
129
qty: p.quantity,
130
sku: p.code,
131
value: p.price,
- weight: p.weight
132
+ weight: p.weight,
133
+ width: p.width
134
}));
135
const weight = items.reduce( (accum, curr) => curr.weight + accum);
136
return {
0 commit comments