Zynk Workflow Documentation

This task will create new credit memos in Magento. See below for a sample input file.

Settings

Connection

Required
The Magento V2 connection to use. See the Connecting to Magento V2 article if you require more information on how to create/manage connections.

Fail File

Required
The XML file to save failed customer uploads to. The data will be written in the same format as the input file.

Input File

Required
The XML file containing the customers to upload in Magento.

Success File

Required
The XML file to save successful customer uploads to. The data will be written in the same format as the input file.

Prevent Reprocessing

Required
Set to true to prevent the same record being processed more than once by the task. This setting will only work where an <external_id> element is provided in the XML.

Store View Code

Required
The magento store view code to perform the API calls against. Default value of ‘all’.

Refund Offline

Required
Set to true to request that refunds are completed offline.

Zynk Settings

See Common Task Settings.

Examples

A sample input file is shown below. This shows the minimum amount of information required to create a credit memo in Magento.

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfCreditMemo>
  <CreditMemo>
    <order_id>5</order_id>
    <invoice_id>4</invoice_id>
    <subtotal>34</subtotal>
    <subtotal_incl_tax>34</subtotal_incl_tax>
    <tax_amount>0</tax_amount>
    <grand_total>34</grand_total>
    <items>
      <item>
        <order_item_id>5</order_item_id>
        <price>34</price>
        <qty>1</qty>
        <row_total>34</row_total>
        <tax_amount>0</tax_amount>
      </item>
    </items>
    <comments />
  </CreditMemo>
</ArrayOfCreditMemo>

Back | Edit on Github