Site Settings Tutorial
Last updated
Was this helpful?
Last updated
Was this helpful?
To create a new site, you need to send a request to the endpoint.
Payment methods are configured per site. Emporix Commerce Engine supports the following payment methods:
Cash
Credit card
Direct debit
Invoice
Information on whether specific payment methods are enabled or disabled is stored in the form of boolean flags in the orderProcessSettings
mixin. To enable a payment method, you need to set its flag to true
.
If your site's orderProcessSettings
have never been configured before or have been deleted, you will receive a 404
error in the response body.
If your site's orderProcessSettings
have already been configured, you will receive them in the response body.
Your business bank account information is stored in the merchantInfo
mixin.
If your site's merchantInfo
has already been configured, you will receive it in the response body.
Check if all of the following fields are filled out with correct information:
merchantName
merchantId
merchantFinanceInfo
Custom site attributes are stored in a site's mixins
.
To be able to apply mixins to your site's settings, you first need to define your custom attributes in the form of a JSON schema.
Next, upload your schema to a hosting service and save its URL.
Countries that a site ships products to are stored as in the shipToCountries
list.
To update the shipToCountries
list, you need to send a request to the endpoint.
First, check if the orderProcessSettings
mixin has already been configured by sending a request to the endpoint.
In this case, to enable specific payment methods, you need to send a request to the endpoint and set desired flags to true
.
In this case, to enable specific payment methods, you need to send a request to the endpoint and set desired flags to true
.
Make sure you have already finished the tutorial.
First, check if the merchantInfo
mixin has already been configured by sending a request to the endpoint.
If your site's merchantInfo
has never been configured before or has been deleted, you will receive a 404
error in the response body. In this case, to set up your business's bank account information, you need to send a request to the endpoint.
If you need to update your merchantInfo
, you need to send a request to the mixin endpoint.
Settings for direct debit payments are stored in the debitSettings
mixin. To configure them, you need to send a request to the endpoint with a set of standard values in the request body.
Your business's SEPA Creditor ID is stored in your tenant's sepaCreditor
configuration. To set up a sepaCreditor
configuration, you need to send a request to the endpoint.
To learn more about mixins in the Emporix Commerce Engine, check out the .
Once your schema is ready, send a request to the endpoint with the site's custom attributes in the request body.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.