Updating Items in Transaction Scope

Updating Transaction-Scope Items (Order Center Items)

Update multiple items in the Order Center

The function's name is "update" since only items in the transaction scope(Order Center) can be updated , but in terms of the "cart" - items that does not yet exist in the cart will be updated , so it's a kind of "upsert" in terms of the cart.

pepperi.api.transactionScopeItems.update(
{ transaction:{UUID:""},
objects:[
{ item:{UUID: ""}, TSAHello:"hi"},
{ item:{UUID:""}, TSAHello:"bye"}
] });

‚Äč