Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Create

...

external order via API (Only required data)

...

Create Customer order (Customer should be created from API)

Create Customer Order (Customer and Product should be created from API)

Create Customer order and Anull rows via Order creation

...


{

"orderHeader": {

"orderType": "Normal",

"orderNumberExternal": "externa22l8822",

"customerNumber": "786",

"deliveryMethod": "Hamtas"


},

"orderRows": [

{

"product": {

"productNumber": "00001_zain_GTIN"

},

"salesData": {

"quantity": 1,

"unit": "ST",

"unitPrice": 1,

"vatPercent": 25,

"currency": "DKK"

},

"supplyMode": "Warehouse",

"warehouse": "HJH",

"externalRow": {

"externalPosition":50

}

}

]

}

Create Order and products via campaign and auto added products

...


{

"orderHeader": {

"orderType": "Normal",

"orderNumberExternal": "external998822",

"customerNumber": "786",

"deliveryMethod": "Hamtas",

"Promotion": {

"usePromotions": true,

"promotionCode": "PANT"

}

},

"orderRows": [

{

"product": {

"productNumber": "00001_zain_GTIN"

},

"salesData": {

"quantity": 1,

"unit": "ST",

"unitPrice": 1,

"vatPercent": 25,

"currency": "DKK"

},

"supplyMode": "Warehouse",

"warehouse": "HJH",

"externalRow": {

"externalPosition":20

}

}

]

}



Add new Row in an existing Order


Update existing row in an Order by external position