Jorgelig Posted September 11 Share Posted September 11 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 More sharing options...
Yasuaki Posted September 11 Share Posted September 11 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. Link to comment Share on other sites More sharing options...
Jorgelig Posted September 13 Author Share Posted September 13 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 More sharing options...
Recommended Posts