Change variation product
If an order has variation products, an Edit icon is displayed corresponding to the attributes of
such products. For example, a T-shirt could have size and color as attributes that can be changed
based on customer’s needs. When the store associate clicks the Edit icon, the Product Details screen
is displayed where the appropriate attributes can be selected. Once the order is updated with the
variation product, the Edit Order screen is displayed with the refreshed data. The
modifyFulfillmentOptions
API is called to cancel the old variation product and add
a new variant product. When the store associate clicks Save in the Edit Order screen, the
changeOrder
API is called to commit the changes to the database.