Curl Command:
curl -X POST -H "X-Platform: desktop-website" -H "Authorization: Bearer 24050|Bz4Ovkj1lnboH32KsNJwOJh1iPfADVrhwKDj1UOVf88c4fe1" -H "sec-ch-ua-platform: "macOS"" -H "withCredentials: true" -H "sec-ch-ua: "Google Chrome";v="141", "Not?A_Brand";v="8", "Chromium";v="141"" -H "sec-ch-ua-mobile: ?0" -H "X-Subdomain: 9d1d9a2f-e37b-49fd-b36a-9edb3cc3234b" -H "X-Tenant: 1c55a579-98f3-4e10-bb8b-1750dabe79f5" -H "Accept: application/json" -H "Content-Type: application/json" -H "X-Channel: offline" -d '{"status":"cancelled","cancellation_reason":"Weather","setting_id":"9d1d9a32-cc4a-42c4-afa5-b3161e02044a","body":"<!-- [if mso]><style type=\"text/css\">body, table, td, a { font-family: Arial, Helvetica, sans-serif !important; }</style><![endif]--><html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body><div style=\"background-color: #f1f3f5; max-width:600px; min-width:500px; margin-left: auto; margin-right: auto; padding-top: 15px !important; padding-bottom: 15px !important;\"><div><p><span style=\"color: transparent; display: none; height: 0px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; visibility: hidden; width: 0px;\">This is preheader and it will show as a preview in some mail clients.</span></p>\n<div style=\"background-color: #f1f3f5; max-width: 600px; min-width: 500px; margin-left: auto; margin-right: auto; padding-top: 15px !important; padding-bottom: 15px !important;\">\n<table class=\"body\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; padding: 0px;\" align=\"center\" valign=\"top\">\n<table class=\"header container\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"\" style=\"vertical-align: top; line-height: 1; padding: 0px;\" align=\"left\" valign=\"top\"> </td>\n</tr>\n</tbody>\n</table>\n<table class=\"main container\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; background-color: #ffffff;\" align=\"left\" valign=\"top\" bgcolor=\"#fff\">\n<table class=\"block\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; padding: 50px 60px;\" align=\"center\" valign=\"top\">\n<p style=\"padding: 0px; margin: 0px; font-family: Helvetica, Arial, sans-serif; color: #585858; font-size: 15px; line-height: 23px;\" align=\"left\">Hi {%customer_name%}<br /><br />Unfortunately, we cannot process this order. Your order {%order_date%} is cancelled.<br /><br />You can add new order or if you have any questions, please free to give us a call.<br /><br />Thanks,<br />The Team.</p>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n<table class=\"footer container\" style=\"width: 100%; border-collapse: separate;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; padding: 50px 60px 60px; background-color: #f8f8f8; border-radius: 6px;\" align=\"left\" valign=\"top\" bgcolor=\"#f8f8f8\">\n<table class=\"block\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1;\" align=\"center\" valign=\"top\">\n<p style=\"padding: 0px; margin: 0px; font-family: Helvetica, Arial, sans-serif; color: #717081; font-size: 12px; line-height: 18px;\" align=\"left\">If you'd prefer to not recieve these emails, please <a style=\"color: #2f69fe; font-size: 12px; font-family: Helvetica, Arial, sans-serif; font-weight: normal; line-height: 1.5; text-decoration: underline;\" href=\"https://google.com\" target=\"_blank\" rel=\"noopener\">unsubscribe.</a> <br />@ {%company_name%}, {%company_address%}, {%company_city%}, {%company_state%}, {%company_country%} {%company_zip%}.</p>\n</td>\n</tr>\n</tbody>\n</table>\n<table class=\"block\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; padding: 20px 10px 10px 0px;\" align=\"left\" valign=\"top\">\n<table class=\"grid\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"mobile column\" style=\"vertical-align: middle; line-height: 1; width: 2%; padding: 0px;\" align=\"left\" valign=\"middle\"><span style=\"display: inline-block; font-size: 0px; line-height: 0; vertical-align: top;\"><img style=\"margin: 0px; padding: 0px; max-width: 100%; border: none; vertical-align: top; width: 17px;\" src=\"https://e1.pngegg.com/pngimages/813/733/png-clipart-metronome-blue-5-petaled-flower-logo-thumbnail.png\" width=\"17\" border=\"0\" /></span></td>\n<td class=\"mobile-hidden column-spacer\" style=\"width: 4px; min-width: 4px;\"> </td>\n<td class=\"mobile column\" style=\"vertical-align: top; line-height: 1; width: 50%; padding: 0px;\" align=\"left\" valign=\"top\">\n<h6 class=\"h6\" style=\"padding: 0px; margin: 0px; font-style: normal; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 24px; color: #111118; font-weight: bold;\">{%company_name%}</h6>\n</td>\n<td class=\"mobile column\" style=\"vertical-align: top; line-height: 1; width: 100%; padding: 0px;\" align=\"left\" valign=\"top\">\n<div class=\"social\" align=\"right\"><a href=\"https://facebook.com/\"><img style=\"margin: 0px; padding: 0px; max-width: 100%; border: none; vertical-align: top; width: 25px;\" src=\"https://imperavi.com/assets/revolvapp/templates/2-promo/images/icon-facebook.png\" alt=\"Facebook\" width=\"25px\" border=\"0\" /></a><span class=\"#222228\" style=\"display: inline-block; line-height: 0; font-family: Helvetica, Arial, sans-serif; font-size: 16px;\"> </span><a href=\"https://twitter.com/\"><img style=\"margin: 0px; padding: 0px; max-width: 100%; border: none; vertical-align: top; width: 25px;\" src=\"https://imperavi.com/assets/revolvapp/templates/2-promo/images/icon-twitter.png\" alt=\"Twitter\" width=\"25px\" border=\"0\" /></a><span class=\"#222228\" style=\"display: inline-block; line-height: 0; font-family: Helvetica, Arial, sans-serif; font-size: 16px;\"> </span><a href=\"https://instagram.com/\"><img style=\"margin: 0px; padding: 0px; max-width: 100%; border: none; vertical-align: top; width: 25px;\" src=\"https://imperavi.com/assets/revolvapp/templates/2-promo/images/icon-instagram.png\" alt=\"Instagram\" width=\"25px\" border=\"0\" /></a></div>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n</div></div></div></body></html>"}' "https://api.betarez.com/api/v1/order/0199e10a-eb01-7383-8b4c-0f9aa0c66ecb/update-status"
Request Headers:
{'Accept': 'application/json',
'Authorization': 'Bearer '
'24050|Bz4Ovkj1lnboH32KsNJwOJh1iPfADVrhwKDj1UOVf88c4fe1',
'Content-Type': 'application/json',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) '
'AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 '
'Safari/537.36',
'X-Channel': 'offline',
'X-Platform': 'desktop-website',
'X-Subdomain': '9d1d9a2f-e37b-49fd-b36a-9edb3cc3234b',
'X-Tenant': '1c55a579-98f3-4e10-bb8b-1750dabe79f5',
'sec-ch-ua': '"Google Chrome";v="141", "Not?A_Brand";v="8", '
'"Chromium";v="141"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"macOS"',
'withCredentials': 'true'}
Request Body:
{"status":"cancelled","cancellation_reason":"Weather","setting_id":"9d1d9a32-cc4a-42c4-afa5-b3161e02044a","body":"<!-- [if mso]><style type=\"text/css\">body, table, td, a { font-family: Arial, Helvetica, sans-serif !important; }</style><![endif]--><html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body><div style=\"background-color: #f1f3f5; max-width:600px; min-width:500px; margin-left: auto; margin-right: auto; padding-top: 15px !important; padding-bottom: 15px !important;\"><div><p><span style=\"color: transparent; display: none; height: 0px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; visibility: hidden; width: 0px;\">This is preheader and it will show as a preview in some mail clients.</span></p>\n<div style=\"background-color: #f1f3f5; max-width: 600px; min-width: 500px; margin-left: auto; margin-right: auto; padding-top: 15px !important; padding-bottom: 15px !important;\">\n<table class=\"body\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; padding: 0px;\" align=\"center\" valign=\"top\">\n<table class=\"header container\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"\" style=\"vertical-align: top; line-height: 1; padding: 0px;\" align=\"left\" valign=\"top\"> </td>\n</tr>\n</tbody>\n</table>\n<table class=\"main container\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; background-color: #ffffff;\" align=\"left\" valign=\"top\" bgcolor=\"#fff\">\n<table class=\"block\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; padding: 50px 60px;\" align=\"center\" valign=\"top\">\n<p style=\"padding: 0px; margin: 0px; font-family: Helvetica, Arial, sans-serif; color: #585858; font-size: 15px; line-height: 23px;\" align=\"left\">Hi {%customer_name%}<br /><br />Unfortunately, we cannot process this order. Your order {%order_date%} is cancelled.<br /><br />You can add new order or if you have any questions, please free to give us a call.<br /><br />Thanks,<br />The Team.</p>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n<table class=\"footer container\" style=\"width: 100%; border-collapse: separate;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; padding: 50px 60px 60px; background-color: #f8f8f8; border-radius: 6px;\" align=\"left\" valign=\"top\" bgcolor=\"#f8f8f8\">\n<table class=\"block\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1;\" align=\"center\" valign=\"top\">\n<p style=\"padding: 0px; margin: 0px; font-family: Helvetica, Arial, sans-serif; color: #717081; font-size: 12px; line-height: 18px;\" align=\"left\">If you'd prefer to not recieve these emails, please <a style=\"color: #2f69fe; font-size: 12px; font-family: Helvetica, Arial, sans-serif; font-weight: normal; line-height: 1.5; text-decoration: underline;\" href=\"https://google.com\" target=\"_blank\" rel=\"noopener\">unsubscribe.</a> <br />@ {%company_name%}, {%company_address%}, {%company_city%}, {%company_state%}, {%company_country%} {%company_zip%}.</p>\n</td>\n</tr>\n</tbody>\n</table>\n<table class=\"block\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top; line-height: 1; padding: 20px 10px 10px 0px;\" align=\"left\" valign=\"top\">\n<table class=\"grid\" style=\"width: 100%;\" border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"mobile column\" style=\"vertical-align: middle; line-height: 1; width: 2%; padding: 0px;\" align=\"left\" valign=\"middle\"><span style=\"display: inline-block; font-size: 0px; line-height: 0; vertical-align: top;\"><img style=\"margin: 0px; padding: 0px; max-width: 100%; border: none; vertical-align: top; width: 17px;\" src=\"https://e1.pngegg.com/pngimages/813/733/png-clipart-metronome-blue-5-petaled-flower-logo-thumbnail.png\" width=\"17\" border=\"0\" /></span></td>\n<td class=\"mobile-hidden column-spacer\" style=\"width: 4px; min-width: 4px;\"> </td>\n<td class=\"mobile column\" style=\"vertical-align: top; line-height: 1; width: 50%; padding: 0px;\" align=\"left\" valign=\"top\">\n<h6 class=\"h6\" style=\"padding: 0px; margin: 0px; font-style: normal; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 24px; color: #111118; font-weight: bold;\">{%company_name%}</h6>\n</td>\n<td class=\"mobile column\" style=\"vertical-align: top; line-height: 1; width: 100%; padding: 0px;\" align=\"left\" valign=\"top\">\n<div class=\"social\" align=\"right\"><a href=\"https://facebook.com/\"><img style=\"margin: 0px; padding: 0px; max-width: 100%; border: none; vertical-align: top; width: 25px;\" src=\"https://imperavi.com/assets/revolvapp/templates/2-promo/images/icon-facebook.png\" alt=\"Facebook\" width=\"25px\" border=\"0\" /></a><span class=\"#222228\" style=\"display: inline-block; line-height: 0; font-family: Helvetica, Arial, sans-serif; font-size: 16px;\"> </span><a href=\"https://twitter.com/\"><img style=\"margin: 0px; padding: 0px; max-width: 100%; border: none; vertical-align: top; width: 25px;\" src=\"https://imperavi.com/assets/revolvapp/templates/2-promo/images/icon-twitter.png\" alt=\"Twitter\" width=\"25px\" border=\"0\" /></a><span class=\"#222228\" style=\"display: inline-block; line-height: 0; font-family: Helvetica, Arial, sans-serif; font-size: 16px;\"> </span><a href=\"https://instagram.com/\"><img style=\"margin: 0px; padding: 0px; max-width: 100%; border: none; vertical-align: top; width: 25px;\" src=\"https://imperavi.com/assets/revolvapp/templates/2-promo/images/icon-instagram.png\" alt=\"Instagram\" width=\"25px\" border=\"0\" /></a></div>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n</div></div></div></body></html>"}