We create the order by Square Create Order API. In the order, there are two items called Custom Breakfast Sandwiches, which have been created with the same catalog_object_id, but item’s attached modifiers are different and we didn’t use the Square catalog_object_id to create them in order API.
Below image are what we expected, it also matches the response from Square Retrieve Order API
The final result is shown below on Square’s POS, the two items got merged into one item and POS only shows one item’s modifier names.
Here is the order details from Square order’s response:
{
"order": {
"id": "wtXNgcAfsRshj0W3F21m1owPQWQZY",
"location_id": "1773AD203EAKN",
"line_items": [
{
"uid": "e5a8c383-946f-4535-97fa-e7fef0b628de",
"quantity": "1",
"name": "Custom Breakfast Sandwiches",
"variation_name": "Uno Eggs",
"base_price_money": {
"amount": 400,
"currency": "USD"
},
"metadata": {
"REFERENCE_PLATFORM": "SQUARE",
"ITEM_ID": "lbWkouBkf1NdUcjyUPv6",
"REFERENCE_ID": "lbWkouBkf1NdUcjyUPv6",
"VARIATION_ID": "NXQTRDJP73VNGTWC5BMORAYI"
},
"modifiers": [
{
"uid": "cOyO1nokkbbmhQAecjoj-e9f3d307-f9fa-43ac-91f0-2439cdbb68f3",
"base_price_money": {
"amount": 100,
"currency": "USD"
},
"total_price_money": {
"amount": 100,
"currency": "USD"
},
"name": "American",
"quantity": "1"
},
{
"uid": "37kkwJj1u0EndSSisg4e-d093d8ec-e766-4347-8e56-b33f06fce096",
"base_price_money": {
"amount": 300,
"currency": "USD"
},
"total_price_money": {
"amount": 300,
"currency": "USD"
},
"name": "apple smoked bacon",
"quantity": "1"
},
{
"uid": "WjfrVvy209do0Qg6MkaZ-46207294-75cb-4075-8dea-f9dd3a89b761",
"base_price_money": {
"amount": 120,
"currency": "USD"
},
"total_price_money": {
"amount": 120,
"currency": "USD"
},
"name": "English Muffin",
"quantity": "1"
},
{
"uid": "MYneGBtcLv2g5Y0v4nJa-52a5aedf-4c74-4978-8712-0daa2d039bd1",
"base_price_money": {
"amount": 0,
"currency": "USD"
},
"total_price_money": {
"amount": 0,
"currency": "USD"
},
"name": "Normal Egg",
"quantity": "1"
}
],
"note": "",
"gross_sales_money": {
"amount": 920,
"currency": "USD"
},
"total_tax_money": {
"amount": 58,
"currency": "USD"
},
"total_discount_money": {
"amount": 0,
"currency": "USD"
},
"total_money": {
"amount": 978,
"currency": "USD"
},
"variation_total_price_money": {
"amount": 400,
"currency": "USD"
},
"applied_taxes": [
{
"uid": "rAANFtfElTv0FCANwL4uuC",
"tax_uid": "DKDxI486DHqxYlqcoFu1",
"applied_money": {
"amount": 58,
"currency": "USD"
}
}
],
"item_type": "ITEM"
},
{
"uid": "e87df0da-3472-4e8e-8bb1-352658e2153f",
"quantity": "1",
"name": "Custom Breakfast Sandwiches",
"variation_name": "Uno Eggs",
"base_price_money": {
"amount": 400,
"currency": "USD"
},
"metadata": {
"REFERENCE_PLATFORM": "SQUARE",
"ITEM_ID": "lbWkouBkf1NdUcjyUPv6",
"REFERENCE_ID": "lbWkouBkf1NdUcjyUPv6",
"VARIATION_ID": "NXQTRDJP73VNGTWC5BMORAYI"
},
"modifiers": [
{
"uid": "cOyO1nokkbbmhQAecjoj-6c271bf7-6c9d-480c-9634-2ef513c6817d",
"base_price_money": {
"amount": 100,
"currency": "USD"
},
"total_price_money": {
"amount": 100,
"currency": "USD"
},
"name": "American",
"quantity": "1"
},
{
"uid": "WjfrVvy209do0Qg6MkaZ-7187060e-a542-42bf-acc0-d21fae7f9eb2",
"base_price_money": {
"amount": 120,
"currency": "USD"
},
"total_price_money": {
"amount": 120,
"currency": "USD"
},
"name": "English Muffin",
"quantity": "1"
},
{
"uid": "MYneGBtcLv2g5Y0v4nJa-14ce1fdc-d9e0-4f09-8bd9-ca8666d51654",
"base_price_money": {
"amount": 0,
"currency": "USD"
},
"total_price_money": {
"amount": 0,
"currency": "USD"
},
"name": "Normal Egg",
"quantity": "1"
},
{
"uid": "G66LBDbS9rX6ew1KSMHu-ca11dd13-1e86-4623-8738-7e5175a63407",
"base_price_money": {
"amount": 250,
"currency": "USD"
},
"total_price_money": {
"amount": 250,
"currency": "USD"
},
"name": "sausage patty",
"quantity": "1"
}
],
"note": "",
"gross_sales_money": {
"amount": 870,
"currency": "USD"
},
"total_tax_money": {
"amount": 54,
"currency": "USD"
},
"total_discount_money": {
"amount": 0,
"currency": "USD"
},
"total_money": {
"amount": 924,
"currency": "USD"
},
"variation_total_price_money": {
"amount": 400,
"currency": "USD"
},
"applied_taxes": [
{
"uid": "satAH4xmHgfBP3zJBzXXPB",
"tax_uid": "DKDxI486DHqxYlqcoFu1",
"applied_money": {
"amount": 54,
"currency": "USD"
}
}
],
"item_type": "ITEM"
}
],
"taxes": [
{
"uid": "DKDxI486DHqxYlqcoFu1",
"name": "tax1",
"percentage": "6.25",
"type": "ADDITIVE",
"applied_money": {
"amount": 112,
"currency": "USD"
},
"scope": "LINE_ITEM"
}
],
"fulfillments": [
{
"uid": "xu0PU0eMdMj8ODbYglOWND",
"type": "PICKUP",
"state": "PREPARED",
"pickup_details": {
"pickup_at": "2023-01-28T22:10:12.000Z",
"note": "",
"placed_at": "2023-01-28T22:00:27.693Z",
"accepted_at": "2023-01-28T22:04:35.589Z",
"ready_at": "2023-01-28T22:04:35.589Z",
"schedule_type": "ASAP",
"recipient": {
"display_name": "#1610 TOGO chupito",
"phone_number": ""
}
}
}
],
"metadata": {
"RECEIPT": "TXTMSG",
"ORDER_TYPE": "SDK2",
"DINING_OPTION": "TOGO",
"ORDER_NUM": "1610",
"OrderNum": "1610",
"Receipt": "TXTMSG",
"OrderFrom": "SDK2",
"OrderType": "TOGO",
"NAME": "chupito"
},
"created_at": "2023-01-28T22:00:12.329Z",
"updated_at": "2023-01-28T22:37:45.016Z",
"state": "OPEN",
"version": 9,
"total_tax_money": {
"amount": 112,
"currency": "USD"
},
"total_discount_money": {
"amount": 0,
"currency": "USD"
},
"total_tip_money": {
"amount": 269,
"currency": "USD"
},
"total_money": {
"amount": 2193,
"currency": "USD"
},
"tenders": [
{
"id": "9K8jiloywzDuq5tXpyKrAnNrO6bZY",
"location_id": "1773AD203EAKN",
"transaction_id": "wtXNgcAfsRshj0W3F21m1owPQWQZY",
"created_at": "2023-01-28T22:00:26Z",
"note": "INFI ORDER # 1610",
"amount_money": {
"amount": 2193,
"currency": "USD"
},
"type": "CARD",
"card_details": {
"status": "CAPTURED",
"card": {
"card_brand": "MASTERCARD",
"last_4": "2258",
"fingerprint": "sq-1-xm1URiKrkaLXVE8KUHANmG9tzzKU_6BAHCyy_ha4ZVgj_u0LT-mKVXj5YAaDWcCFlw"
},
"entry_method": "CONTACTLESS"
},
"tip_money": {
"amount": 269,
"currency": "USD"
},
"payment_id": "9K8jiloywzDuq5tXpyKrAnNrO6bZY"
}
],
"service_charges": [
{
"uid": "TRANSACTIONFEE",
"name": "Fees",
"amount_money": {
"amount": 22,
"currency": "USD"
},
"applied_money": {
"amount": 22,
"currency": "USD"
},
"calculation_phase": "TOTAL_PHASE",
"taxable": false,
"total_money": {
"amount": 22,
"currency": "USD"
},
"total_tax_money": {
"amount": 0,
"currency": "USD"
},
"type": "CUSTOM"
}
],
"total_service_charge_money": {
"amount": 22,
"currency": "USD"
},
"net_amounts": {
"total_money": {
"amount": 2193,
"currency": "USD"
},
"tax_money": {
"amount": 112,
"currency": "USD"
},
"discount_money": {
"amount": 0,
"currency": "USD"
},
"tip_money": {
"amount": 269,
"currency": "USD"
},
"service_charge_money": {
"amount": 22,
"currency": "USD"
}
},
"source": {
"name": "custom source"
},
"net_amount_due_money": {
"amount": 0,
"currency": "USD"
}
}
}
We want to know what can we do to get the expected result: to show items separately if they have different modifiers. It was working well previously.








