question

captainben avatar image
captainben asked captainben commented

(re-ask) Having a "Modifier(s)" in atomic rest api created order causes printer error

Following up on another question i posted. I am attempting to create orders without inventory controls via atomic order rest api. When adding modifiers and I am using single premade modifier group id and modifier item ID. https://docs.clover.com/reference/ordercreateatomicorder I have no issues creating orders with modifiers following the sand box code mothod. HOWEVER, orders created with modifiers won't print.

I also attempted to create orders with modifiers following the two recipes demonstrated here: https://docs.clover.com/docs/working-with-orders

Recipe 1 will return:

The operation could not be completed due to a data validation error.


Recipe 2 will create the order without the modifiers present.

I am noticing there are other threads showing people creating rest api orders with modifiers can't print.
https://community.clover.com/questions/43918/modifier-items-not-printing-using-rest-api.html
and
https://community.clover.com/questions/40852/printer-not-working-as-expected.html

@parquet76 thanks for responding in the other thread, for some reason the forum would not let me respond anymore on the thread feel free to respond here.

Does anybody have any other suggestions on how to add modifiers that CAN PRINT without adding pre-adding the modifiers.

I am afraid this might be a BUG, hoping a clover staff member will also respond to this thread.

Thanks

REST API
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

·
parquet76 avatar image
parquet76 answered captainben commented

"Does anybody have any other suggestions on how to add modifiers that CAN PRINT without adding pre-adding the modifiers."

So the modifiers you are trying to add don't exist in the merchant's inventory? That's not gonna work.

5 comments
10 |2000

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

captainben avatar image captainben commented ·

The sandbox api atomtic order method I used works for showing modifiers in dashboard, and in the virtual receipts. Example of virtual receipt I want to print:
https://sandbox.dev.clover.com/r/FE6R8RG5VHDP8

What reason would the POS have to not be able to print this? That inconsistency seems like a bug. Additionally the sandbox vs the recipe inconsistency...seems like a bug.

I would love to have a working solution or if you know if clover staff could be reviewing this in the event this indeed a bug that would be helpful as well. Or if I am indeed missing something, please let me know. Again thanks for your time.

0 Likes 0 ·
parquet76 avatar image parquet76 captainben commented ·
I am not sure, why don't you just create the modifiers?
0 Likes 0 ·
captainben avatar image captainben parquet76 commented ·
I am building some middleware for a few restaurants and looking to avoiding having to build something to sync and create and delete various items...almost impossible. Additionally that defeats the whole purpose of the atomic order creation concept. Any other ideas or do you agree that this is a bug? And the discrepancy between sandbox dev and their NON working demo recipes are a bug?
0 Likes 0 ·
Show more comments

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