x

Square Scheduled Pickup Orders being printed instantly?

Hi we have a problem thats printing future scheduled orders to be printed instantly(attached).. Please can you point out the issue here(attached Order Request JSON)

 

 

{
    "idempotency_key": "b701576dcf199531c20b72c51692df67a1405729ff63f3bf9484c1985b961063c4e15f1a745257612cae2799a888306a54ab1492298373efdc759ccc8326be51",
    "order": {
        "line_items": [
            {
                "quantity": "3",
                "catalog_object_id": "YJMQJXWL2TJETRROMLWJJIIP",
                "note": " ",
                "modifiers": [
                    {
                        "catalog_object_id": "BLVZ2CP5ICOIOB4SK3WQZBUD"
                    },
                    {
                        "catalog_object_id": "RIE5JIWUNVNIZC3IHGRQHYQ5"
                    }
                ]
            },
            {
                "quantity": "4",
                "catalog_object_id": "JXEXLYTTLSZFUUNTY6OL3CT4",
                "note": " ",
                "modifiers": [
                    {
                        "catalog_object_id": "65GNCTH4ORHPHDTTCY3NXOBZ"
                    },
                    {
                        "catalog_object_id": "XONLOK2MDDPOMAXB4RMMF5HW"
                    }
                ]
            },
            {
                "quantity": "4",
                "catalog_object_id": "JXEXLYTTLSZFUUNTY6OL3CT4",
                "note": " ",
                "modifiers": [
                    {
                        "catalog_object_id": "65GNCTH4ORHPHDTTCY3NXOBZ"
                    },
                    {
                        "catalog_object_id": "5TXHF3Y6F4BBCTECQUNAGKUT"
                    }
                ]
            },
            {
                "quantity": "4",
                "catalog_object_id": "JXEXLYTTLSZFUUNTY6OL3CT4",
                "note": " ",
                "modifiers": [
                    {
                        "catalog_object_id": "65GNCTH4ORHPHDTTCY3NXOBZ"
                    },
                    {
                        "catalog_object_id": "LXMLZ663QYFPX7B3AUVKIZTB"
                    }
                ]
            },
            {
                "quantity": "10",
                "catalog_object_id": "C4ZS5GFSYXBHYPA6QYEJAGTN",
                "note": " "
            },
            {
                "quantity": "1",
                "name": "Service Fee",
                "base_price_money": {
                    "amount": 199,
                    "currency": "USD"
                }
            },
            {
                "quantity": "1",
                "name": "Tip",
                "base_price_money": {
                    "amount": 2471,
                    "currency": "USD"
                }
            }
        ],
        "short_reference_id": "JU Sarah",
        "fulfillments": [
            {
                "type": "PICKUP",
                "status": "PROPOSED",
                "pickup_details": {
                    "recipient": {
                        "display_name": "Sarah Shames"
                    },
                    "is_square_pickup_order": false,
                    "schedule_type": "SCHEDULED",
                    "note": "JoyUp PICKUP order from Sarah",
                    "pickup_at": "2024-02-20T19:15:00.000Z",
                    "auto_complete_duration": "PT120M",
                    "prep_time_duration": "PT5M",
                    "pickup_window_duration": "PT120M",
                    "expires_at": "2024-02-16T10:24:01-08:00"
                }
            }
        ],
        "discounts": [
            {
                "name": "DISCOUNT",
                "amount_money": {
                    "amount": 0,
                    "currency": "USD"
                }
            }
        ],
        "taxes": [
            {
                "uid": "STATE_SALES_TAX_UID",
                "scope": "ORDER",
                "name": "Tax",
                "percentage": "8.5"
            }
        ]
    }
}

 

 

234 Views
Message 1 of 2
Report
1 REPLY 1
Square Community Moderator

Hi there, @Abhi_Joy 👋

 

I recommend posting this question directly on the Square Developer Forums here as you are more likely to reach your target audience. Hope this helps you out!

191 Views
Message 2 of 2
Report