Skip to content

Instantly share code, notes, and snippets.

@makebecoolyeh
Last active October 20, 2020 07:06
Show Gist options
  • Select an option

  • Save makebecoolyeh/e44ded583110f85d521f7c4bf7e26a8f to your computer and use it in GitHub Desktop.

Select an option

Save makebecoolyeh/e44ded583110f85d521f7c4bf7e26a8f to your computer and use it in GitHub Desktop.
{
"destination": {
"name": "schaetzl"
},
"orderData": {
"sourceOrderId": 2611050414168,
"items": [
{
"sku": "pn-poster",
"quantity": 2,
"shipmentIndex": 0,
"sourceItemId": 5553187225688,
"components": [
{
"code": "text",
"path": "https://storage.projectnord.com/posters/1481.pdf?token=NNscpDcTkDZvbCyLHpPAsBzfazDsssCo",
"fetch": true,
"attributes": {
"Paper_stock": "300_ArcoPrint_1EW_Soho_HP10-BB",
"size": "500x700"
}
}
]
}
],
"shipments": [
{
"shipmentIndex": 0,
"shipTo": {
"name": "Torben US Andersen",
"address1": "American Street 333",
"town": "Washington",
"isoCountry": "US",
"postcode": "20005"
},
"carrier": {
"alias": "UPS-tracked"
}
}
],
"stockItems": [
{
"code": "JA-Pack-PN-50x70-flat-M",
"unitWeight": 528,
"quantity": 1,
"shipmentIndex": 0
},
{
"sku": "pn-magnetic-frame-50cm-black",
"quantity": 4,
"shipmentIndex": 0,
"sourceItemId": 5553187258456
}
]
}
}
@Torben-Andersen
Copy link

  {
    "code": "JA-Pack-PN-50x70-flat-M",
    "unitWeight": 528,
    "quantity": 2,
    "shipmentIndex": 0
  },

Quantity of the package type is 2 - it should be 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment