{"id":1877,"date":"2024-09-20T17:21:34","date_gmt":"2024-09-20T16:21:34","guid":{"rendered":"https:\/\/france.magicsoftware.com\/blog\/?p=1877"},"modified":"2025-06-05T07:32:08","modified_gmt":"2025-06-05T06:32:08","slug":"magento-magic-xpi","status":"publish","type":"post","link":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/","title":{"rendered":"Magento &#8211; Magic xpi"},"content":{"rendered":"\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\/ Prerequisites :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin<\/li>\n\n\n\n<li>Some Magic xpa knowledge <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">2\/ Check with Postman that your Access REST API is working<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"511\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN2-1024x511.png\" alt=\"\" class=\"wp-image-1884\" style=\"width:565px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN2-1024x511.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN2-300x150.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN2-768x383.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN2.png 1396w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Set \u00ab\u00a0Version\u00a0\u00bb with 1.0 and tick \u00ab\u00a0Encode the parameters &#8230;\u00a0\u00bb, Leave other parameters empty<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN3-1024x573.png\" alt=\"\" class=\"wp-image-1887\" style=\"width:621px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN3-1024x573.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN3-300x168.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN3-768x430.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN3.png 1124w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2\/ Generate the Magento signature with a Magic xpi User Function<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open your Magic xpa Studio and create a new project , name it \u00ab\u00a0userfunctions\u00a0\u00bb<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Define in the Main a new function and name it \u00ab\u00a0GetMagentoSignature\u00a0\u00bb or whatever (Function scope must be set to global).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"87\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN4-1024x87.png\" alt=\"\" class=\"wp-image-1894\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN4-1024x87.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN4-300x25.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN4-768x65.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN4.png 1218w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Generate your HMAC256 within this function and generate your ecf file in \u00ab\u00a0&lt;Magic xpi directory&gt;Runtime\\User resources\u00a0\u00bb directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In my case, i have used, a dotnet snippet inside the function (<strong>Invoke .NET<\/strong>) and the website <a href=\"https:\/\/lti.tools\/oauth\/\">lti.tools\/oauth\/<\/a> to understand the OAuth1 algorithm<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(*) In other to get the information on how to generate Magento OAuth1 signature, please check the link below (\u00ab\u00a0The OAuth Signature\u00a0\u00bb)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developer.adobe.com\/commerce\/webapi\/get-started\/authentication\/gs-authentication-oauth\/#access-the-web-apis\">https:\/\/developer.adobe.com\/commerce\/webapi\/get-started\/authentication\/gs-authentication-oauth\/#access-the-web-apis<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The idea is that my function is returning a string formatted like below<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OAuth oauth_consumer_key=\u00a0\u00bb\u00a0\u00bb,oauth_token=\u00a0\u00bb\u00a0\u00bb,oauth_signature_method=\u00a0\u00bbHMAC-SHA256&Prime;,oauth_timestamp=\u00a0\u00bb\u00a0\u00bb+<strong>timeStamp<\/strong>+\u00a0\u00bb\u00a0\u00bb,oauth_nonce=\u00a0\u00bb\u00a0\u00bb+<strong>nonce<\/strong>+\u00a0\u00bb\u00a0\u00bb,oauth_version=\u00a0\u00bb1.0&Prime;,oauth_signature=\u00a0\u00bb\u00a0\u00bb+<strong>encodedsignature<\/strong>+\u00a0\u00bb\u00a0\u00bb<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(*) variables <strong>timestamp, nonce , encodedsignature<\/strong> are calculated in the code of the function.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3\/ Add in your FunctionDescription.en.xml file (\u00ab\u00a0&lt;Magic xpi directory>\\Studio), the xml portion below at the end of the file<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"686\" height=\"541\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN5.png\" alt=\"\" class=\"wp-image-1899\" style=\"width:441px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN5.png 686w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN5-300x237.png 300w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4\/ Create a Magic xpi project and create a REST Client resource<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"359\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN6-1024x359.png\" alt=\"\" class=\"wp-image-1902\" style=\"width:684px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN6-1024x359.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN6-300x105.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN6-768x269.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN6.png 1281w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">5\/ Create a new flow<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Define 2 fow variables (F.SignatureEncoded (alpha unlimited) and F.Url (alpha unlimited).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Drag and drop a Flow Data Connector and update the 2 flow variables like below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"318\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN7-1024x318.png\" alt=\"\" class=\"wp-image-1905\" style=\"width:723px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN7-1024x318.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN7-300x93.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN7-768x238.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN7.png 1282w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">6\/ Drag &amp; Drop a REST Client connector after this step and configure it like below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"583\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN8-1024x583.png\" alt=\"\" class=\"wp-image-1914\" style=\"width:501px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN8-1024x583.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN8-300x171.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN8-768x437.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN8.png 1119w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">7\/ Execute the flow in Debug mode<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should see the Authorization header in the Flow variable F.SignatureEncoded  with the oauth_signature generated<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"406\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN9-1024x406.png\" alt=\"\" class=\"wp-image-1916\" style=\"width:651px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN9-1024x406.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN9-300x119.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN9-768x305.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN9.png 1434w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"452\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN10-1024x452.png\" alt=\"\" class=\"wp-image-1918\" style=\"width:709px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN10-1024x452.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN10-300x133.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN10-768x339.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN10.png 1435w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You should receive status code 200 with OK and the JSON result of your query.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">8\/ <a href=\"https:\/\/developer.adobe.com\/commerce\/webapi\/rest\/quick-reference\/\" title=\"\">https:\/\/developer.adobe.com\/commerce\/webapi\/rest\/quick-reference\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(*) In other to get the different Json schemas please check with the link above<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\/ Prerequisites : 2\/ Check with Postman that your Access REST API is working Set \u00ab\u00a0Version\u00a0\u00bb with 1.0 and tick \u00ab\u00a0Encode the parameters &#8230;\u00a0\u00bb, Leave other parameters empty 2\/ Generate the Magento signature with a Magic xpi User Function Open [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1879,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[56,4,65],"tags":[57],"class_list":["post-1877","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento","category-magic-xpi","category-retail","tag-magento"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\/ Prerequisites : Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin Some Magic xpa knowledge 2\/ Check with Postman that your Access REST API is working Set &quot;Version&quot; with 1.0 and tick &quot;Encode the parameters ...&quot;, Leave\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sa\u00e2d Alem\"\/>\n\t<meta name=\"google-site-verification\" content=\"5yLZLt_RgZVqkETQDrOlMUHaNTra2i5W8dtHQoCMueY\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Le Blog Techno | Magic Software France\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Magento \u2013 Magic xpi | Le Blog Techno\" \/>\n\t\t<meta property=\"og:description\" content=\"Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\/ Prerequisites : Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin Some Magic xpa knowledge 2\/ Check with Postman that your Access REST API is working Set &quot;Version&quot; with 1.0 and tick &quot;Encode the parameters ...&quot;, Leave\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico\" \/>\n\t\t<meta property=\"og:image:width\" content=\"16\" \/>\n\t\t<meta property=\"og:image:height\" content=\"16\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-09-20T16:21:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-06-05T06:32:08+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagicSoftwareEnterprises\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@MagicSoftware\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Magento \u2013 Magic xpi | Le Blog Techno\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\/ Prerequisites : Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin Some Magic xpa knowledge 2\/ Check with Postman that your Access REST API is working Set &quot;Version&quot; with 1.0 and tick &quot;Encode the parameters ...&quot;, Leave\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@MagicSoftware\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#blogposting\",\"name\":\"Magento \\u2013 Magic xpi | Le Blog Techno\",\"headline\":\"Magento &#8211; Magic xpi\",\"author\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/MAGEN1.png\",\"width\":640,\"height\":87},\"datePublished\":\"2024-09-20T17:21:34+01:00\",\"dateModified\":\"2025-06-05T07:32:08+01:00\",\"inLanguage\":\"fr-FR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#webpage\"},\"articleSection\":\"Magento, Magic xpi, Retail, Magento\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog#listItem\",\"position\":1,\"name\":\"Domicile\",\"item\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/#listItem\",\"name\":\"Magic xpi\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/#listItem\",\"position\":2,\"name\":\"Magic xpi\",\"item\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/magento\\\/#listItem\",\"name\":\"Magento\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog#listItem\",\"name\":\"Domicile\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/magento\\\/#listItem\",\"position\":3,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/magento\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#listItem\",\"name\":\"Magento &#8211; Magic xpi\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/#listItem\",\"name\":\"Magic xpi\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#listItem\",\"position\":4,\"name\":\"Magento &#8211; Magic xpi\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/magento\\\/#listItem\",\"name\":\"Magento\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#organization\",\"name\":\"Blog Magic France\",\"description\":\"Magic Software France\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/\",\"telephone\":\"+33149105858\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Magic.ico\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#organizationLogo\",\"width\":16,\"height\":16},\"image\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/MagicSoftwareEnterprises\",\"https:\\\/\\\/twitter.com\\\/MagicSoftware\",\"https:\\\/\\\/youtube.com\\\/MagicSoftware\",\"https:\\\/\\\/linkedin.com\\\/company\\\/magic-software-enterprises\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/#author\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/\",\"name\":\"Sa\\u00e2d Alem\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/38fae53569553d87ce6ffb3b936e4df6feecf6069ddb238526105d8d906273c4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Sa\\u00e2d Alem\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#webpage\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/\",\"name\":\"Magento \\u2013 Magic xpi | Le Blog Techno\",\"description\":\"Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\\\/ Prerequisites : Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin Some Magic xpa knowledge 2\\\/ Check with Postman that your Access REST API is working Set \\\"Version\\\" with 1.0 and tick \\\"Encode the parameters ...\\\", Leave\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/MAGEN1.png\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#mainImage\",\"width\":640,\"height\":87},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/magento-magic-xpi\\\/#mainImage\"},\"datePublished\":\"2024-09-20T17:21:34+01:00\",\"dateModified\":\"2025-06-05T07:32:08+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/\",\"name\":\"Blog Magic France\",\"description\":\"Magic Software France\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Magento \u2013 Magic xpi | Le Blog Techno","description":"Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\/ Prerequisites : Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin Some Magic xpa knowledge 2\/ Check with Postman that your Access REST API is working Set \"Version\" with 1.0 and tick \"Encode the parameters ...\", Leave","canonical_url":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"5yLZLt_RgZVqkETQDrOlMUHaNTra2i5W8dtHQoCMueY","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#blogposting","name":"Magento \u2013 Magic xpi | Le Blog Techno","headline":"Magento &#8211; Magic xpi","author":{"@id":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/#author"},"publisher":{"@id":"https:\/\/france.magicsoftware.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN1.png","width":640,"height":87},"datePublished":"2024-09-20T17:21:34+01:00","dateModified":"2025-06-05T07:32:08+01:00","inLanguage":"fr-FR","mainEntityOfPage":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#webpage"},"isPartOf":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#webpage"},"articleSection":"Magento, Magic xpi, Retail, Magento"},{"@type":"BreadcrumbList","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog#listItem","position":1,"name":"Domicile","item":"https:\/\/france.magicsoftware.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/#listItem","name":"Magic xpi"}},{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/#listItem","position":2,"name":"Magic xpi","item":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/","nextItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/magento\/#listItem","name":"Magento"},"previousItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog#listItem","name":"Domicile"}},{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/magento\/#listItem","position":3,"name":"Magento","item":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/magento\/","nextItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#listItem","name":"Magento &#8211; Magic xpi"},"previousItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/#listItem","name":"Magic xpi"}},{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#listItem","position":4,"name":"Magento &#8211; Magic xpi","previousItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/magento\/#listItem","name":"Magento"}}]},{"@type":"Organization","@id":"https:\/\/france.magicsoftware.com\/blog\/#organization","name":"Blog Magic France","description":"Magic Software France","url":"https:\/\/france.magicsoftware.com\/blog\/","telephone":"+33149105858","logo":{"@type":"ImageObject","url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#organizationLogo","width":16,"height":16},"image":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/MagicSoftwareEnterprises","https:\/\/twitter.com\/MagicSoftware","https:\/\/youtube.com\/MagicSoftware","https:\/\/linkedin.com\/company\/magic-software-enterprises"]},{"@type":"Person","@id":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/#author","url":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/","name":"Sa\u00e2d Alem","image":{"@type":"ImageObject","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/38fae53569553d87ce6ffb3b936e4df6feecf6069ddb238526105d8d906273c4?s=96&d=mm&r=g","width":96,"height":96,"caption":"Sa\u00e2d Alem"}},{"@type":"WebPage","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#webpage","url":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/","name":"Magento \u2013 Magic xpi | Le Blog Techno","description":"Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\/ Prerequisites : Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin Some Magic xpa knowledge 2\/ Check with Postman that your Access REST API is working Set \"Version\" with 1.0 and tick \"Encode the parameters ...\", Leave","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/france.magicsoftware.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#breadcrumblist"},"author":{"@id":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/#author"},"creator":{"@id":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN1.png","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#mainImage","width":640,"height":87},"primaryImageOfPage":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/#mainImage"},"datePublished":"2024-09-20T17:21:34+01:00","dateModified":"2025-06-05T07:32:08+01:00"},{"@type":"WebSite","@id":"https:\/\/france.magicsoftware.com\/blog\/#website","url":"https:\/\/france.magicsoftware.com\/blog\/","name":"Blog Magic France","description":"Magic Software France","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/france.magicsoftware.com\/blog\/#organization"}}]},"og:locale":"fr_FR","og:site_name":"Le Blog Techno | Magic Software France","og:type":"article","og:title":"Magento \u2013 Magic xpi | Le Blog Techno","og:description":"Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\/ Prerequisites : Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin Some Magic xpa knowledge 2\/ Check with Postman that your Access REST API is working Set &quot;Version&quot; with 1.0 and tick &quot;Encode the parameters ...&quot;, Leave","og:url":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/","og:image":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico","og:image:secure_url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico","og:image:width":16,"og:image:height":16,"article:published_time":"2024-09-20T16:21:34+00:00","article:modified_time":"2025-06-05T06:32:08+00:00","article:publisher":"https:\/\/www.facebook.com\/MagicSoftwareEnterprises","twitter:card":"summary_large_image","twitter:site":"@MagicSoftware","twitter:title":"Magento \u2013 Magic xpi | Le Blog Techno","twitter:description":"Goal : Generate Magento signature for OAuth1 and call Magento REST API with Magic xpi 1\/ Prerequisites : Get your consumerKey, consumerSecret, tokenSecret and tokenValue from you Magento Admin Some Magic xpa knowledge 2\/ Check with Postman that your Access REST API is working Set &quot;Version&quot; with 1.0 and tick &quot;Encode the parameters ...&quot;, Leave","twitter:creator":"@MagicSoftware","twitter:image":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico"},"aioseo_meta_data":{"post_id":"1877","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-09-20 16:12:20","updated":"2025-06-05 06:38:02","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/france.magicsoftware.com\/blog\" title=\"Domicile\">Domicile<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/\" title=\"Magic xpi\">Magic xpi<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/magento\/\" title=\"Magento\">Magento<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMagento \u2013 Magic xpi\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Domicile","link":"https:\/\/france.magicsoftware.com\/blog"},{"label":"Magic xpi","link":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/"},{"label":"Magento","link":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/magento\/"},{"label":"Magento &#8211; Magic xpi","link":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/magento-magic-xpi\/"}],"jetpack_featured_media_url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2024\/09\/MAGEN1.png","_links":{"self":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/1877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/comments?post=1877"}],"version-history":[{"count":42,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/1877\/revisions"}],"predecessor-version":[{"id":3061,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/1877\/revisions\/3061"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/media\/1879"}],"wp:attachment":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/media?parent=1877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/categories?post=1877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/tags?post=1877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}