Transaction OrderChangeShipping
Authentication mode: Checked (known user, must have the privilege)
Database access mode: updating
Changes the shipping option and/or price of an order
Inputs:
- orderid: int
The order to be changed
- shippingid: int
the new shipping option or -1 if shipping is to be deleted
- shippingcosts: int
if the user has the privilege ChangePrice this field overrides the shipping costs, otherwise the default from the shipping table is used
Outputs:
- order: Order
a fresh copy of the changed order
Privileges
- ChangePrice
Users with this privilege can set arbitrary shipping prices, all others are limited to the default price of the shipping method.