Skip to content

Importing Customer Attributes to BigCommerce V3

This task will create new or update existing customer attributes on your BigCommerce store.

Please note that this task creates and updates the attributes themselves, not the attribute values associated with individual customers. You will need to use the Import Customers task if you want to populate the attribute values.

Settings

Connection

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

Fail File

Required
The XML file to output failed uploads to.

Input File

Required
The XML file containing the customer records. Refer to the example below for more details about the XML format.

Success File

Required
The XML file to output successful updates to.

Prevent Reprocessing

Required
Set to true to only process a record once, or set to false to always update records. Defaults to False.

Zynk Settings

See Common Task Settings.

Examples

For detailed documentation on the fields please see the BigCommerce Dev Center.

If a <customer_attribute> node contains an <id> node, it will be treated as an existing attribute and the task will attempt to update it in BigCommerce.

If no <id> node is provided for the attribute, existing attribute will be searched for based on <name>. If a match is found the existing attribute will be updated.

If a match is not found, it will be treat as a new attribute and the task will attempt to create it in BigCommerce.

<?xml version="1.0" encoding="utf-8"?>
<customer_attributes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <customer_attribute>
    <name>Custom String</name>
    <type>string</type>
  </customer_attribute>
  <customer_attribute>
    <name>Custom Date</name>
    <type>date</type>
  </customer_attribute>
  <customer_attribute>
    <name>Custom Number</name>
    <type>number</type>
  </customer_attribute>
</customer_attributes>