Jump to content

Send Dining Options to Create a sales receipt


Jorgelig

Recommended Posts

I’ve read the API documentation but I can’t find how to send the dining options when creating a receipt through the SPI. However, I can see that the dining options are included when using the GET resource. Could you help me understand how to include the dining options in the POST request payload?

https://developer.loyverse.com/docs/#tag/Receipts/paths/~1receipts/post

Link to comment
Share on other sites

Hello @Jorgelig

Thank you for your question.

Indeed, there is no dining option available when creating a receipt from API.

Instead, you can add the order type or order origin in the "order" parameter.
The "order" parameter will be visible on receipts.

image.thumb.png.e6daea2a71fc772a62dd749afc90080a.png

Link to comment
Share on other sites

Hello @Yasuaki,

Thank you for your response. I am already using the "order" parameter to store the order number from my external menu system, so I can't repurpose it for the dining option.

Currently, I am using the note field to send customer comments, instructions for each dish they order, and other special indications. Given that the note field is limited to 255 characters, I am already constrained and can't use it for additional data like dining options.

Could you advise if there's another way to send the dining option data, or should I consider using an alternative field or custom solution to distinguish between dine-in, takeout, and delivery? Any guidance or best practices would be highly appreciated as I need this information to be properly logged in Loyverse receipts.

Thank you in advance for your support.

Link to comment
Share on other sites

Loyverse Point of Sale

 

 

 

 

×
×
  • Create New...