ServiceNow CART API
var cartId = GlideGuid.generate(null);
var cart = new Cart(cartId);
var item = cart.addItem('e46305bdc0a8010a00645e608031eb0f');
cart.setVariable(item,'os','Linux Red Hat');
var rc = cart.placeOrder();
gs.addInfoMessage(rc.number);
LionKing