In this blog we will get customer data by customer id using REST API.

First we need to admin token to get customer info.
We can refer blog for generate admin token
https://www.magedad.com/magento-2-how-to-generate-admin-token-using-rest-api/

Rest API endpoint = https://domain.test/rest/V1/customers/:customerId
Rest API endpoint for store(default is store code) = https://domain.test/rest/default/V1/customers/:customerId
Method = GET
Content type = Content-Type:application/json
Header = Authorization: Bearer xxxx_admin_token_xxxx

Examples:
The following image shows a get customer using customer id by a REST client:

Magento2 How to get customer data using customer id by REST API?


Here is simple php code for call API. This code is not recommended for Magento.

PHP
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://domain.test/rest/V1/customers/89', # customer id = 89
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer xxxx_admin_token_xxxx'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;


I hope this blog is useful to get customer data using customer id by REST API. In case, I missed anything or need to add some more information, Don’t heisted to leave a comment in this blog, I’ll get back with some positive approach.

Keep liking 👍 Keep sharing 📣 Keep loving ❤️ Keep inspiring 🤩

11 Comments

  1. rewxnynwj

    News of this release excited us greatly as fans of the series, and Gates of Olympus Super Scatter by Pragmatic Play is everything we could have hoped for and more. Gates of Olympus Super Scatter also joins recent releases such as Bandit Megaways and Big Bass Bonanza 1000, adding to Pragmatic Play’s premium slots portfolio. Additionally, the new Super Scatter symbol introduces even greater win potential. Landing one to four Super Scatters during the bonus game awards a 100x, 500x, 5,000x, or 50,000x prize, potentially amplifying wins for players. This symbol can land on all reels and a combination of 4 or more super and normal scatter symbols activates the bonus game. You can also get big direct payouts by landing this super scatter in combination with normal scatters, where it gives the following:100X = 1 super scatter symbol + 4 or more scatter symbols of any kind.
    https://www.epau-alger.edu.dz/fr/?p=18197
    Gates of Olympus continues to be one of the most played online slots, so will we ever see a Gates of Olympus 2? The first of these features is the Tumble mechanic. When players land a win, the winning symbols will disappear from the reels, causing symbols to tumble down from above. These falling symbols can trigger additional wins if enough symbols land on the reels. There is no limit to the number of tumble wins, meaning that players could theoretically set off a chain of continuous wins if they’re really lucky. The world of online slots is vast and diverse, with numerous games vying for players’ attention. Among the popular and well-known titles, some hidden gems often go unnoticed. In this article, we’ll delve into the underrated features and benefits of Gates of Olympus, a highly-regarded slot game developed by Pragmatic Play.

  2. agxerbcqc

    comprar orfidal sin receta: puedo comprar champix sin receta – farmacia europea online recensioni zeaforce recensioni: rosuvastatina 5 mg – bentelan cane 25 kg dr max trustpilot: EFarmaciaIt – lantigen b serve ricetta Lipi Pharm: Lipi Pharm – LipiPharm dr max trustpilot: EFarmaciaIt – lantigen b serve ricetta comprar orfidal sin receta: puedo comprar champix sin receta – farmacia europea online recensioni Rybelsus 3mg 7mg 14mg: Semaglu Pharm – Rybelsus for blood sugar control About GlucoTrust. GlucoTrust is a natural supplement that promotes normal blood sugar levels. About GlucoTrust. GlucoTrust is a natural supplement that promotes normal blood sugar levels. zeaforce recensioni: rosuvastatina 5 mg – bentelan cane 25 kg comprar orfidal sin receta: puedo comprar champix sin receta – farmacia europea online recensioni
    https://cl-cargo.com/2025/10/31/praktyczny-przewodnik-po-przesylaniu-dokumentow-do-weryfikacji-w-nitrocasino-app/
    @ Cubes | 2021 Documents such as the UNGA GROUP PROXY FORM are always of interest to those who follow corporate governance and shareholder decisions. After studying such materials, it is useful to take a little break—for example, visit staycasino-play.net, where you can relax, play, and recharge with positive emotions before a new working day. 10 min czytania 26 czerwca 2023 Ponadto, runda bonusowa darmowych obrotów eye of horus aby pomóc zwiększyć moje fundusze powyżej tego. Broadbent jako strategia początkującego pokera pierwszy burmistrz miasta, co zacząłem. Eye of horus – gra, która przeniesie Cię w świat Toshi Video Club! Z tej przyczyny zainteresowane osoby nie mają obowiązek czujności lękać na temat wirusy albo ukryte aplikacja. Można zatem zgromadzić obszar dzięki telefonie komórkowym czy tablecie w w ogóle inne potrzebne programy. Rozrywka progresywna – gracze prezentują coraz lepsze zakłady, właściwie do wygranych jak i również przegranych rund. Szukający emocji powinny podążyć do odwiedzenia najbliższych Katowic, w którym miejscu odrabia kilka budynków rozrywki w stopniu.

  3. fucmbvtel

    Canva has various animated elements which can be used to add a little animation. We can find and use these directly. Top 4 Interactive Presentation Tools for Teachers There are several ways to animate, including using GIFs or Lottie. While GIFs are enjoyable and lively, Lottie excels in delivering reduced file sizes and enhanced customizability, making it an excellent choice for creating captivating, efficient designs. Once you’re happy with the Canva text effects you added to your design, rename your design up top, such as to how to create a typing effect in Canva’, and then click on the download button. Make sure that MP4 is selected as the file type for the Canva typing animation to appear, and then click on ‘download’ at the bottom to save the Canva design you created with a typewriter effect to your computer.
    https://casesuprimentos.com.br/?p=241021
    Best app I tried for content got my videos looking like real adds and i get good feed back on my videos Biteable’s drag-and-drop video editor and AI scenes make it easy to create product demo videos—perfect for e-commerce pages and ads. “I found it very easy to use, as I do not have too much knowledge about animation and its effects, but with Adobe Animate I don”t need much experience in animation. It suggests animations and ideas as per your requirements. Also, its UI is very smooth; it”s not laggy and meets the animation”s demand. Moreover, it has many easy features to create 2D and 3D animations, which is very helpful.” – Ravi C., Adobe Animate user on G2 TutorialColor animationsAnimate gradients and color transitions for stroke, fills, and text elements. In conclusion, I’ll try to see the positive and say that if you’re fine with Powtoon’s bloated styles, and you learn the clunky interface, you can make fine little videos. It’s an animation tool best suited for really simple template-based videos without voice-over. But I think it lacks focus.

  4. wsbfellwp

    Das Endergebnis sind Roulette-Casinos, kostenlos spielen pirate kingdom megaways freispiele ohne einzahlung auf die Sie wetten können. Kostenlos spielen pirate kingdom megaways freispiele ohne einzahlung aber da die Gesetze der Staaten Online-Glücksspiele überhaupt nicht erwähnen, wie man Golden Nugget unterwegs überall in New Jersey spielt. Das Piratespins Casino wurde 2024 von Gophoenix Solutions Limited gegründet und richtet sich mit seinem gamifizierten Treuesystem gezielt an Sie als Slot Fans. Während das Bonusprogramm und die mobile Stabilität überzeugen, bleibt die schwache Tobique-Lizenz ein klarer Kritikpunkt. Scatter Symbole in Form einer Schatztruhe landen auf den Walzen 2, 3 und 4. Bekommst du sie alle von rechts nach links, starten 10 Freispiele, Scatters zahlen dir auch einen Gewinn aus. Die Symbole mit dem höchsten Wert, nämlich der männliche und weibliche Pirat, tauchen in den Freispielen neben ihrer normalen Form auch als Wilds auf den Walzen 2 bis 5 auf.
    https://instalareaer.ro/wazamba-casino-im-test-erfahrungen-und-bewertungen-aus-deutschland/
    Anpassen Cookie-Details Statistik Cookies erfassen Informationen anonym. Diese Informationen helfen uns zu verstehen, wie unsere Besucher unsere Website nutzen.Werden die Statistik Cookies nachträglich abgewählt, bleiben diese bis zum Ablaufdatum auf dem Rechner. Sie werden jedoch weder aktualisiert, noch ausgewertet. Diese kann das Unternehmen nun erfüllen und kehrt 2024 mit frischen Spielen sowie einem ausgeklügelten Bonuskonzept zurück. Die offizielle Glücksspiellizenz sowie eine Fülle beliebter Novoline Spiele machen Stargames auch heute noch zu einer attraktiven Anlaufstelle für Slot Fans. Seit 2012 gibt es das Golden Star Casino bereits. Nur wenige Casinos können sich so lange auf diesem heiß umkämpften Markt behaupten und im Online Casino-Vergleich punkten. Das hat die Seite wohl der umfangreichen Erfahrung seines Betreibers zu verdanken. Dama N.V. hat bereits so einige erfolgreiche Casinos herausgebracht.

  5. vzgnfoscd

    Si vous êtes à bordeaux et vous voulez vivre une expérience unique dans son genre, la réalité virtuelle est la valeur sûre ! Et encore plus sûre quand il s’agit du centre Vortex Expérience ! Connu par son accueil chaleureux et son équipement de qualité, l’équipe du Vortex Expérience vous garantit un moment inoubliable dans la joie et la bonne humeur ! Nos avis sont authentiques et fiables. Pour en savoir plus sur les procédures dauthentification et de contrôle, cliquez ici. Ce site utilise des cookies pour améliorer votre expérience. Nous supposerons que vous êtes d’accord avec cela, mais vous pouvez vous retirer si vous le souhaitez. – Alessandro (ScienceClic), passionné par l’astrophysique, il rend accessibles les grandes théories sur l’espace, le temps et l’univers grâce à des explications claires et des illustrations visuelles percutantes.
    https://swe-techs.net/analyse-approfondie-de-lergonomie-et-des-atouts-du-casino-cashed-pour-les-joueurs-francais/
    Parmi les fonctionnalités spéciales de la machine à sous Gates of Olympus, les multiplicateurs de Zeus sont un point fort. Ils peuvent augmenter les gains jusqu’à x500. Les joueurs peuvent également profiter des tours gratuits, qui sont automatiquement déclenchés en obtenant 3 symboles scatter ou plus sur les rouleaux. La mythologie grecque avec mobile et rencontrez zeus est présent. Jouer gratuitement et des symboles gagnants disparaissent après avoir de pragmatic play. Elle est basée sur. Entrez dans un bonus exclusif sur cette thématique intéressante. Suis-nous sur nos réseaux sociaux Par le frisson de jeux populaires comme les slots en fait l’un des machines à chaque jour. Et améliorer vos esprits sur la grande majorité des personnages populaires. Est-Il possible. Donc créé sur la nature hautement addictive de faire des gains maximum soit suffisant pour ça. Contrairement aux symboles gagnants. C’est l’aspect mythologique grec! Bien d’autres, ce fournisseur de ses joueurs de haute volatilité qui correspond au moins très commune! Un examen de sécurité, il y a généralement dans le même rotation. L’obtention de sweet bonanza xmas, qui offre une aventure exceptionnelle avec lesquels nous recommandons?

  6. bqiqyisxw

    Video Star, published by a US-based company on 28 September 2011, has now reached 100k downloads and $500k revenue per month. Similar to Alight Motion Latest Version Mod APK 2025 it can also apply pure magic to photos due to its amazing effects for colour enhancement, animation generation, and to combine and re-time clips.You can use it on operating systems of smartphones and tablets without any compatibility issues. It offers numerous editing tools to trim clips, apply filters for video enhancements, and merge different video clips. There is one drawback in it that you’ll not find in Alight Motion Mod Premium, and that is the lack of capability to adjust volume and scroll through the video timeline. Motion Ninja – Pro Video Editor Animation Maker offers a range of features for creating animations and visual effects. Some of the key features include Keyframe Animation which allows you to animate elements in your videos by creating keyframes and defining the motion between them. It also provides a variety of pre-made animations and graphics that can be easily applied to videos.
    https://tiranga.foundation/aviator-casino-game-the-ultimate-gambling-experience/
    Upload tracks, auto-generate beat-synced videos. Customize mood, scenes for artists brands. The rise of AI dance generators has revolutionized the way we create animated dance videos and sequences. These tools offer an exciting and accessible way to bring dynamic motion into digital content, making it easier than ever for users to produce fun, engaging animations. Whether you’re a social media influencer, a marketer, an animator, or just someone looking to have fun with dancing images, AI-powered dance generators are a powerful tool for creative expression. Turn your photos into dynamic animations and artistic creations with SelfyzAI Photo Animator. Effortlessly animate your images with a range of fun options and styles, or give your selfies a new twist. Face Dance: AI Photo Animator brings photos to life in creative and entertaining ways. Whether you want your selfie to dance, sing, or simply smile, this app offers a variety of playful features:

  7. dpxvcliba

    يمكنك الآن تحميل لعبة crash 1xbet والاستمتاع بتجربة لعب مثيرة ومربحة. نعم، يمكنك سحب أموالك من 1XBET باستخدام نفس طريقة الإيداع التي استخدمتها. استخدام استراتيجية الطائرة 1xBet يمكن أن يساعد في تحقيق نجاح أكبر. هنا بعض النصائح والاستراتيجيات لتحقيق الفوز: تابعني علي التلغرام  √ جراند سكيبس مهكره انشاء حديقتك الخاصه وطريقه لعبه فريده من نوعها وتبديل المطابقه. كذالك والحصول على المستويات والعشرات من الشخصيات في اللعبه التي يمكنك تكون الصداقات الخاصه بهم.
    https://www.igez.edu.ve/?p=151834
    في يوليو تموز 2015، أوقفت وزارة الصناعة والتجارة المصرية استيراد أقلام الليزر التي تعمل بمصدر طاقة داخلي يزيد على 5 مللي وات، فقط بسبب إضرارها بحركة الطيران وسلامة المواطنين. تستطيع في 888starz تسجيل حساب جديد والمشاركة على الفور في لعبة قمار الطياره باتباع الخطوات التالية: يمكنك التبديل بين علامات التبويب المختلفة في نفس القائمة التي تضم الرهانات المباشرة ورؤية رهاناتك الخاصة لتتبع تقدمك بالإضافة إلى التحقق من لوحة المتصدرين التي تحتوي على أكبر المكاسب النقدية والمضاعفات التي تم تحقيقها في يوم أو شهر أو سنة.

  8. jqaenelau

    A Color Trading Prediction Chart is a visual representation of past color results in a color trading game. It helps players analyze trends and patterns to make better guesses for the next round. These color trading prediction charts typically show: After the Top-Up phase, a plane releases random multipliers for each colour. These are multiplied by your scatter multipliers and combined with your Top-Up multiplier to determine the final multipliers for the live Bonus game. Now sit back and enjoy the view in the live Balloon Race Bonus round. The race begins with coloured balls being drawn and the balloon of the matching colour ascending. The race continues until a balloon reaches the top after five rounds. The colour of the winning balloon sets the multiplier for all players. Upon entering Colour Trading in the 91 Club, the first thing that grabs attention is the clean, intuitive interface. Bright colors pop on the dashboard, and animations make each round feel dynamic. The game layout provides clear indicators for placing bets, tracking results, and following bonus rounds.
    https://pumpyoursound.com/u/user/1540785
    Featured Categories Track your order, access your TradePro discount and browse our selection of latest offers. Discover everything TradePro has to offer to help run your business. Create a professional image for your business with a PostNet Mailbox. Diamond Pop Cards™ Featured Categories India’s first All-in-One payment device A well-designed color trading app, MantriMall combines online purchases with colour prediction game. Playing prediction games can earn users rewards and coupons that they can use to spend online. Because of its dual nature, the colour trading game app is well-liked and an attractive option for users who like to purchase and play games. So, it is good to go with this best colour prediction app. Was this helpful ? A well-designed color trading app, MantriMall combines online purchases with colour prediction game. Playing prediction games can earn users rewards and coupons that they can use to spend online. Because of its dual nature, the colour trading game app is well-liked and an attractive option for users who like to purchase and play games. So, it is good to go with this best colour prediction app.

Write A Comment