Skip to main content
Version: 4

Magento

Magento is an e-commerce platform where you can create your own online shopping store. This allows you as an online merchant to control the look and feel, content, and functionality of your online store.

Field (Account) Information​

While configuring the Source or Destination of a Template or Transaction, you need to create an account to connect Magento with Adeptia Connect. While creating an account, you need to specify the location from where Adeptia Connect will access the data.

Click  to add an account.

Specify the following information for Magento:

Field

Description

Account Name

A short, descriptive name that helps you reuse this account in future.

App Key

Follow the steps below to get the App Key from your Magento account.
1) Log in to your Magento account as an Admin.
2) Go to the Systems tab.
3) Go to the Web Services option.
4) Click Rest OAuth Consumers link.
5) Click the desired Consumer Name to reveal App Key.


To dynamically fetch the App Key from a Git repository at runtime using a variable, select the Use Config checkbox next to this field.

Secret KeyThe App Secret provided by Magento.
Follow the steps below to get the App Secret from your Magento account.
1) Login to your admin Magento account.
2) Go to the Systems tab.
3) Go to the Web Services option.
4) Click Rest OAuth Consumers link.
5) Click on desired Consumer Name to reveal App Secret.

InformationYou can also use HashiCorp Vault to fetch the secrets for the Secret Key field:

 

Each secret is maintained as a key-value pair in Hashicorp Vault. Select the checkbox against the respective fields to use Vault to fetch secrets for the fields. Enter the variable in the following format in the field:


 ${Vault:<Key1>}Where, <Key1> is the key in Hashicorp Vault that is defined for the field. 


For example, you need to enter ${Vault:Project.SecretKey} in the Secret Key field, if you have defined Project.SecretKey as the key for this field in the Vault.

For more details, refer to this page.

Magento Domain

Your Magento REST API domain.
Example : http://yourmagentohost/magento


To dynamically fetch the Magento Domain from a Git repository at runtime using a variable, select the Use Config checkbox next to this field.

Select ProjectName of the Project.

Triggers​

A Trigger specifies when a particular Transaction will start executing. While configuring the Source of a Template, you need to choose an event. 

Following triggers are available for Magento at Source.  

New Customer

Triggers when a customer is created.

All CustomersExtracts the details of all customers.
New Order

Triggers when an order is created.

All OrdersExtracts all orders.
All ProductsExtracts all products.
All Stock ItemsExtracts all stock items.

Trigger Name

Description

Actions​

An Action specifies how the data will be transferred at the destination location. While configuring the Destination (Target) of a Template, you need to choose an action.  

Following actions are available for Magento at Destination.

Action Name

Description

Create Customer

Creates a customer.

Update Customer

Updates an existing customer.

Delete CustomerDeletes an existing customer.
Create Customer AddressCreates a customer address.
Update Customer AddressUpdates an existing customer address.
Delete Customer AddressDeletes an existing customer address.
Create ProductCreates product.
Update ProductUpdates an existing product.
Delete ProductDeletes an existing product.
Assign Category To ProductAssigns a category to the product.
Unassign Category From ProductUnassigns a category from the product.
Add Image To ProductAdds an image to the product for all store views.
Add Image To ProductAdds an image to the product for particular store view.
Update Image of ProductUpdates an image of the product for all store views.
Update Image of ProductUpdates an image of the product for particular store view.
Remove Image From ProductRemoves an image from the product for all store views.
Remove Image From ProductRemoves an image from the product for particular store view.
Assign Website To ProductAssigns a website to the product.
Assign Website To ProductAssigns a website to the product with copying data from one store to another.
Unassign Website From ProductUnassigns a website from the product.
Update Stock ItemUpdates the stock item.