Magento2: Check Services version on Adobe Cloud Server

This article shows how you can check different services version on Adobe Cloud server. List all the services with their port number, username, & password echo $MAGENTO_CLOUD_RELATIONSHIPS | base64 -d | json_pp Get Redis version redis-cli -p 6370 info | grep -i redis_version where, 6370 is the port number. The redis port number can be … Read more

Magento 2 API: Add Products to Cart & Checkout Place Order

In this article, we will look into how we can add products to the cart and complete the checkout process by placing an order using Magento API. The APIs used to create a cart, add products to the cart, place an order, etc. require customer token authentication. Create Shopping Cart We create an empty cart … Read more

Magento 2 API: Create New Customer

In this article, we will be looking into how we can create a new customer in Magento 2 using its API. We will be passing the admin bearer token to authenticate the APIs. Create New Customer API Doc: https://adobe-commerce.redoc.ly/2.4.5-admin/tag/customers Endpoint: GET <host>/rest/V1/customers Authentication Bearer Token: <admin-token> Payload: { "customer": { "firstname": "Test", "lastname": "Example", "email": … Read more

Magento 2 API: Get Categories

In this article, we will be looking into how we can get the Categories in Magento 2 using its API. Get All Categories Get Category by category id Search Categories Anonymouse APIs Restriction The REST endpoints to get the stores’ information falls under the anonymous APIs category. However, in the recent Magento version, those API … Read more

Magento 2 API: Get Products

In this article, we will be looking into how we can get the Products in Magento 2 using its API. Get Product by SKU Get Multiple Products using SearchCriteria Get Single Product by product ID using SearchCriteria Anonymouse APIs Restriction The REST endpoints to get the stores’ information falls under the anonymous APIs category. However, … Read more

Magento 2 API: Get Stores Information

In this article, we will be looking into how we can get the store information in Magento 2 using its API. We will be fetching websites, stores, and store views. We will also be fetching the store configs that include the locale, timezone, currency code, and store URLs. Anonymouse APIs Restriction The REST endpoints to … Read more

Magento 2 API: Get Customer Token

In this article, we will be looking into how we can get the customer token in Magento 2. Customer Users in Magento have access to resources with anonymous or self permission. To access the self resources, the API call should be authorized. In the Token-based Authorization method, the customer token is necessary to authorize the … Read more

Magento 2 API: Get Admin Token

To authenticate the API, we can pass the admin token, customer token, or integration token along with the API request in Magento 2. This type of authentication process is called Token-based authentication. Introduction to Magento 2 API and different types of API authentication mechanism used in Magento 2 are present in my previous article. In … Read more