Content >

Managing Product Schema

Managing Product Schema

After clicking on the Product Schema under the APIs option the application will open the product schema screen as shown below. From the screen, you can view the data which can be formatted in JSON format.

In this format, the data will then be transferred from Acumatica to Magento.

The Product Schema API schema
The Product Schema API schema

You need to select Header 2 from the drop-down of the text box.

Select Header 2 from the drop-down
Select Header 2 from the drop-down
Select the Preformatted option once the text is changed to Header 2
Select the Preformatted option once the text is changed to Header 2

After selecting the data in the [Preformatted] format, the data will be converted to JSON format. In this format, the data will be transferred from Acumatica to Magento Connector.

Data view in the JSON format
Data view in the JSON format

The text box allows you to view the data in the following formats:

  • Visual
  • HTML
  • Plain Text
  • Preview

You can choose your desired format from the left-hand corner of the text box.

Option to change the format
Option to change the format

This includes the field name and the data type that will be passed to Magento from Acumatica. This only contains the values which you have selected in the [Product Schema] section.

Field Name and Data Type
Field Name and Data Type

The values which you have selected in the Product Schema will be shown in the Product API in JSON format.

Illustration:

In this illustration, we will show how the attributes that you have selected are displayed in the Product API JSON file to pass from Acumatica to Magento.

The following screenshot, under [Packaging] in the Product Schema section shows that the Packaging Dimension – Weight (Display Name) and Volume (Display Name) have been selected and saved.

Schema selected from the Product Schema and saved
Schema selected from the Product Schema and saved

The schemas which you have selected in the Product Schema (above screen) are displayed under the Product Schema API. See the below figure.

Newly added schema is displayed in the Product API
Newly added schema is displayed in the Product API