Ticket not showing in lister when entered via API

Delivery tickets that come in via the API are not showing on the ticket lister. Pickup tickets show no problem.

When created within SambPOS the ticket shows.
Ticket Id: 3258 is from API
Ticket Id: 3259 is from SambaPOS

2020-10-29_14;34_1604003640_Ssms

API created states:

[
{"D":"\/Date(1604003511312-0600)\/","S":"Unpaid","SN":"Status","SV":""},
{"D":"\/Date(1604003510582-0600)\/","S":"Waiting","SN":"Delivery","SV":""},
{"D":"\/Date(1604003510582-0600)\/","S":"Waiting","SN":"Kitchen State","SV":""}
]

SambaPOS created Ticket:

[
{"D":"\/Date(1604003534602-0600)\/","S":"Unpaid","SN":"Status","SV":""},
{"D":"\/Date(1604003526134-0600)\/","S":"Waiting","SN":"Kitchen State","SV":""},
{"D":"\/Date(1604003526136-0600)\/","S":"Waiting","SN":"Delivery","SV":""}
]

I manually changed the order of the states for the API order thinking it may be an order issue with the states and it made no difference.

API created ticket:
2020-10-29_14;37_1604003850_Samba.Presentation

Manually created ticket:
2020-10-29_14;38_1604003896_Samba.Presentation

Widget settings:
2020-10-29_14;40_1604004050_Samba.Presentation

Everything state-wise seems identical and I’m stuck.

Thanks!

Are you using terminal ticket method? What happen if you clear order state field?

I’m using createTerminalTicket and states are set via automation when ticket is created. I’m not setting any states when updating the ticket.

Try clearing order state from widget, I use almost the same flow as you with pickup and delivery Ticket and tickets show in lister

Thank you!

123456789