# Magento (Beta)

{% hint style="info" %}
The **Magento connector** is currently in beta phase. Learn more about the [Beta Program](https://docs.digibee.com/documentation/general/beta-program).
{% endhint %}

The **Magento** connector allows integration with the [Adobe Magento](https://developer.adobe.com/open/magento) through REST API, enabling pipelines to query, create, update, and delete records in Magento, supporting various business operations such as:

* Retrieving orders, products, and customer data.
* Creating or updating product catalogs.
* Managing addresses or carts.
* Removing obsolete or temporary records.

## Parameters

Configure the connector using the parameters below. Fields that support [Double Braces expressions](https://docs.digibee.com/documentation/connectors-and-triggers/double-braces) are marked in the **Supports DB** column.

{% tabs fullWidth="true" %}
{% tab title="General " %}

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Type</th><th>Supports DB</th><th>Default</th></tr></thead><tbody><tr><td><strong>Use Dynamic Account</strong></td><td>If enabled, the connector will use the account dynamically. Otherwise, it will use the account statically.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Account Name</strong></td><td>The name of the account that is generated dynamically via the <a href="../tools/store-account">Store Account</a> connector.</td><td>String</td><td>❌</td><td>N/A</td></tr><tr><td><strong>Account</strong></td><td>The account to authenticate with the connector. It must be previously registered on the Accounts page. Supported type: <a href="https://app.gitbook.com/s/jvO5S91EQURCEhbZOuuZ/platform-administration/settings/accounts#oauth-2">OAuth 2</a>.</td><td>Account</td><td>❌</td><td>N/A</td></tr><tr><td><strong>Custom Account #1 (account.custom-1)</strong></td><td>Sets the custom account label #1 to be used in Double Braces expressions. </td><td>Account</td><td>❌</td><td>N/A</td></tr><tr><td><strong>Custom Account #2 (account.custom-2)</strong></td><td>Sets the custom account label #2 to be used in Double Braces expressions. </td><td>Account</td><td>❌</td><td>N/A</td></tr><tr><td><strong>Fail on Error</strong></td><td>If enabled, interrupts the pipeline execution when an error occurs. If disabled, execution continues, but the "<code>success</code>" property will be set to false.</td><td>Boolean </td><td>❌</td><td>False</td></tr></tbody></table>
{% endtab %}

{% tab title="API" %}

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Type</th><th>Supports DB</th><th>Default</th></tr></thead><tbody><tr><td><strong>BaseURL</strong></td><td>The available APIs for this connector.</td><td>String</td><td>✅</td><td>N/A</td></tr><tr><td><strong>Path</strong></td><td>The specific endpoint to be accessed. The selected path may determine additional configuration options, such as query parameters.</td><td>String</td><td>❌</td><td>N/A</td></tr><tr><td><strong>Method</strong></td><td>The HTTP method used for the request.</td><td>String</td><td>❌</td><td>N/A</td></tr><tr><td><strong>Full Body</strong></td><td>If enabled, the full request body must be in JSON format.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Body</strong></td><td>JSON body of the operation.</td><td>JSON</td><td>✅</td><td>N/A</td></tr></tbody></table>
{% endtab %}

{% tab title="Settings" %}

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Type</th><th>Supports DB</th><th>Default</th></tr></thead><tbody><tr><td><strong>Connect Timeout (ms)</strong></td><td>Maximum time allowed for establishing a connection, in milliseconds.</td><td>Integer</td><td>❌</td><td>30000</td></tr><tr><td><strong>Read Timeout (ms)</strong></td><td>Maximum time allowed for reading data, in milliseconds.</td><td>Integer</td><td>❌</td><td>30000</td></tr><tr><td><strong>Stop on Client Error</strong></td><td>If enabled, stops the pipeline execution if a 4xx HTTP error occurs.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Stop on Server Error</strong></td><td>If enabled, stops the pipeline execution if a 5xx HTTP error occurs.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Override Response Charset</strong></td><td>If enabled, replaces the charset returned by the endpoint with the one specified in the <strong>Response Charset</strong> parameter. Otherwise, the charset from the <strong>Content-Type</strong> header is used.</td><td>Boolean</td><td>❌</td><td>True</td></tr><tr><td><strong>Response Charset</strong></td><td>Defines the charset to be used when <strong>Override Response Charset</strong> is enabled.</td><td>String</td><td>❌</td><td>UTF-8</td></tr><tr><td><strong>Advanced Settings</strong></td><td>Enables additional configuration options.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Raw Mode</strong></td><td>If enabled, allows sending or receiving a non-JSON payload.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Save as Local File</strong></td><td>If enabled, saves the response as a file in the local pipeline directory.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Allow Insecure Endpoints</strong></td><td>If enabled, allows calls to HTTPS endpoints without enforcing security checks.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Enable Retries</strong></td><td>If enabled, retries requests in case of server errors.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Compress Body with GZIP</strong></td><td>If enabled, compresses the request body using GZIP.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Force HTTP 1.1</strong></td><td>If enabled, forces the request to use HTTP 1.1.</td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Disable Connection Pooling</strong></td><td><p>If enabled, prevents connections from being reused. </p><p>Recommended for endpoints with connection reuse issues.</p></td><td>Boolean</td><td>❌</td><td>False</td></tr><tr><td><strong>Invalidate SSL Sessions on Every Call</strong></td><td><p>If enabled, invalidates SSL sessions for each request. Recommended for endpoints with SSL session reuse issues. </p><p>This setting makes the connector single-threaded, meaning all executions will run sequentially for the same REST connector in the pipeline.</p></td><td>Boolean</td><td>❌</td><td>False</td></tr></tbody></table>
{% endtab %}

{% tab title="Documentation" %}

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Type</th><th>Supports DB</th><th>Default</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td>Optional field to describe the connector configuration and any relevant business rules.</td><td>String</td><td>❌</td><td>N/A</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

<br>
