Cart Groups enable merchants to group items in a shopper’s cart by labels.
You must update the create.order Merchant API call to include the itemGroup field.
{
"id": "9733761171175415",
"displayId": "5203939994859497",
"items": [
{
"reference": "2",
"image": "https://placeimg.com/30/30/animals/grayscale",
"name": "Item2",
"price": "$80.32",
"desc": "Item2 makes Item1 obsolete",
"sku": "SK-2",
"itemGroup": "group 1",
"quantity": 1
}
],
"currency": "USD"