Topic
  • No replies
SystemAdmin
SystemAdmin
8614 Posts

Pinned topic OrderItemUpdate command not updating shipping address

‏2013-03-20T18:50:22Z |
Platform: WC 6

I am noticing a strange behavior. If both addressId and shipModeId is supplied to OrderItemUpdate command, only the ship mode is modified for the order items. If only addressId parameter is supplied but not shipModeId then the address id is modified.

Example:

https://web15.uottawa.ca/webapp/wcs/stores/servlet/OrderItemUpdate?orderId=245246&addressId=408183&shipModeId=13057&storeId=10001&catalogId=10001&langId=-1&URL=/

This modifies only the SHIPMODE_ID column of ORDERITEMS. ADDRESS_ID column is left unchanged.
https://web15.uottawa.ca/webapp/wcs/stores/servlet/OrderItemUpdate?orderId=245246&addressId=408183&storeId=10001&catalogId=10001&langId=-1&URL=/

This modifies the ADDRESS_ID column of ORDERITEMS.

How can I get OrderItemUpdate to modify both shipmode id and address id?

Thanks.