{"id":12447,"date":"2024-01-24T12:42:03","date_gmt":"2024-01-24T12:42:03","guid":{"rendered":"https:\/\/jaldi.store\/?p=9018"},"modified":"2026-08-05T07:22:45","modified_gmt":"2026-08-05T07:22:45","slug":"how-to-capture-redeem-coupon-crm-api-log-in-adempiere-retail","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-to-capture-redeem-coupon-crm-api-log-in-adempiere-retail\/","title":{"rendered":"How to capture Redeem Coupon CRM API Log in ADempiere Retail"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This process involves logging the API communication between the POS system and the CRM during the <strong>coupon redemption process<\/strong>, ensuring that all coupon-related transactions are tracked, validated, and traceable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>User Access<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Who Can Access<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IT ADMIN<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What User Can Do<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Verify whether a coupon redemption request was <strong>successfully sent<\/strong> to CRM.<\/li>\n\n\n\n<li>View <strong>response messages<\/strong> such as &#8220;Valid Coupon&#8221;, &#8220;Invalid Coupon&#8221;, &#8220;Coupon Expired&#8221;, etc.<\/li>\n\n\n\n<li>Retry the request in case of <strong>failure or timeout<\/strong>.<\/li>\n\n\n\n<li>Use logs for <strong>troubleshooting<\/strong>, validation, or audit purposes.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Pre-Requisite Activities<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CRM integration for coupon validation and redemption must be active.<\/li>\n\n\n\n<li>POS system should be able to send <strong>coupon codes<\/strong> to the CRM via API.<\/li>\n\n\n\n<li>Coupon must be entered during billing <strong>before invoice completion<\/strong>.<\/li>\n\n\n\n<li>Logging should be <strong>enabled<\/strong> in POS or middleware.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Business Rules<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>System must <strong>log each CRM API call<\/strong> made for coupon redemption<\/li>\n\n\n\n<li>If coupon is valid:\n<ul class=\"wp-block-list\">\n<li>Apply corresponding discount to the bill.<\/li>\n\n\n\n<li>Update status in the log as <strong>Success<\/strong>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If coupon is invalid or fails due to API issues:\n<ul class=\"wp-block-list\">\n<li>Status should be <strong>Failed<\/strong>.<\/li>\n\n\n\n<li>Show an appropriate message to the cashier.<\/li>\n\n\n\n<li>Allow <strong>manual retry<\/strong> of redemption before final billing.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Redeemed coupons must be <strong>marked as used<\/strong> and not reused in other transactions.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>User Interface<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>STEP 1:<\/strong> Enter into the screen CRM API LOG<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"635\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-CRMAPILOG-5.png\" alt=\"\" class=\"wp-image-22701\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-CRMAPILOG-5.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-CRMAPILOG-5-300x186.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-CRMAPILOG-5-768x476.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>STEP 2:<\/strong> you can view the log file once enter it into the API log screen  redeemed Coupon in an API LOG     <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"601\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-CRMAPILOG-6.png\" alt=\"\" class=\"wp-image-22700\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-CRMAPILOG-6.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-CRMAPILOG-6-300x176.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-CRMAPILOG-6-768x451.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This process involves logging the API communication between the POS system and the CRM during the coupon redemption process, ensuring [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,85,31],"tags":[],"class_list":["post-12447","post","type-post","status-publish","format-standard","hentry","category-jaldi-super-store","category-adempiere-pos","category-jaldi-life-style"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=12447"}],"version-history":[{"count":5,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12447\/revisions"}],"predecessor-version":[{"id":22702,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12447\/revisions\/22702"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=12447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=12447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=12447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}