Update item
Description#
Updates an existing item.
Input#
Same as create item, except everything is optional.
Mechanism#
- Update the given data.
- Generate a unique identifier for the new version of the item that will serve as validation that order placement are valid.
Risk level#
High risk. Worst case, the clients will make an order with outdated item the same time it is changed, this will result in an error which resets the order. Needless to say, it's bad for user experience and is potentially very frustrating for the clients.
Notes#
warning
- Avoid updating an item while the business is available. An unpublished item is the safest to update.
- Previous versions of the items will not be purchasable.