Skip to main content

Connecting to Adobe Commerce

Your users will need the following information to connect their Adobe Commerce instance with your integration built with Paragon Connect:
  • Adobe Commerce Store Domain
  • Username
  • Password
Once your users have connected their Adobe Commerce account, you can use the Paragon SDK to access the Adobe Commerce API on behalf of connected users.
The full Adobe Commerce API is accessible through the Paragon SDK by referencing the magento integration type in your request.
See the Adobe Commerce REST API documentation for their full API reference. Any Adobe Commerce API endpoints can be accessed with the Paragon SDK as shown in this example.
// You can find your project ID in the Overview tab of any Integration

// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);
            
// Fetch all products
// Use the `magento` integration type to access the full Adobe Commerce API.
paragon.request("magento", "/V1/products?searchCriteria=", {
  method: "GET"
});

// Create a customer
paragon.request("magento", "/V1/customers", {
  method: "POST",
  body: {
    "customer": {
      "email": "[email protected]",
      "firstname": "John",
      "lastname": "Appleseed",
    }
  }
});

// Get order by ID
paragon.request("magento", "/V1/orders/{id}", {
  method: "GET"
});
  

Building Adobe Commerce workflows

Once your Adobe Commerce account is connected, you can add steps to perform the following actions:
  • Create Customer
  • Update Customer
  • Get Customer by ID
  • Search Customers
  • Delete Customer
  • Create Order
  • Update Order
  • Get Order by ID
  • Search Orders
  • Create Product
  • Update Product
  • Get Product by SKU
  • Search Products
  • Delete Product
You can also use the Adobe Commerce Request step to access any of Adobe Commerce’s API endpoints without the authentication piece. When creating or updating records in Adobe Commerce, you can reference data from previous steps by typing {{ to invoke the variable menu.
I