question

go3-john avatar image
go3-john asked Jeffrey Blattman answered

LineItems Note character Limit

There are many similar questions, but I don't see helpful answers.


I am using the OrderLineItem APIs field "note" to save the Non-Clover modifications info.

But the note character limit blocks the LineItem creation.

Do you have any ideas to save the Non-Clover modifications info?


Ex:

I created 3 line times via "bulk_line_times" APIs,

but the third line item is missing because the note info with modifications is too long.


LineItem Payload:

[
    {
        "name": "L10. Shredded Beef with String Beans Lunch\u56db\u5b63\u8c46\u725b\u8089\u4e1d",
        "price": 1395,
        "quantity": 1,
        "note": "Hot and Sour Soup \u9178\u8fa3\u6c64\r\nWhite Rice \u767d\u996d\r\n"
    },
    {
        "name": "Dinner For Four \u56db\u4eba\u5957\u9910 ",
        "price": 3449,
        "quantity": 2,
        "note": ""
    },
    {
        "name": "Dinner For Nine \u4e5d\u4eba\u5957\u9910",
        "price": 7449,
        "quantity": 1,
        "note": "pork egg roll 5\u6625\u5377\/shrimp egg roll 4 \u867e\u5377\/golden fingers \u91d1\u624b\u6307\/boneless spare ribs\u65e0\u9aa8\u6392\r\nwonton soup 5\u4e91\u541e\u6c64\/hot sour soup 4\u9178\u8fa3\u6c64\r\nChicken w. Vegs\u6742\u83dc\u9e21\/ Happy Family\u5168\u5bb6\u798f\/Szechuan Chicken\u56db\u5ddd\u9e21\/Tangerine Chicken\u9648\u76ae\u9e21\/Beef w. Broccoli\u82a5\u5170\u725b\/Roast Pork Lo Mein\u53c9\u70e7\u635e\u9762\/Shrimp & Scallop w. Vegs\u6742\u83dc\u5e72\u8d1d\u867e\r\nHouse Special Fried Rice\u672c\u697c\u7092\u996d +\r\n"
    },
    {
        "name": "L26. Sesame Chicken Lunch \u829d\u9ebb\u9e21",
        "price": 1395,
        "quantity": 3,
        "note": "Hot and Sour Soup \u9178\u8fa3\u6c64\r\nWhite Rice \u767d\u996d\r\n"
    }
]
OrdersLineItems
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Jeffrey Blattman avatar image
Jeffrey Blattman answered

Line item notes are limited to 255 characters.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community