Articles in this section

Shopify Error Message: 'Failed to add/update customer for Shopify order #1234567. Please enter value(s) for: Last Name'

Data Flow: Shopify Order to NetSuite Order Add Flow

Error Message: 'Failed to add/update customer for Shopify order #1234567. Please enter value(s) for: Last Name'

Resolution:

  1. Go to integrator.io and navigate to the Shopify Integration App Tile.
  2. Click the Flows > Order.
  3. Navigate to "Shopify Customer to NetSuite Customer Add/Update" and click the Mapping icon to edit the Field mappings.
  4. In the Mappings section, look for the 'desired field' (i.e. Last Name) in the left column fields.  Click Edit (Gear icon) to view the Settings.
  5. Use "Multi-Select" option & enter this expression:

{{#if $.last_name}}{{$.last_name}}{{else}}{{$.addresses[*].last_name}}{{/if}}

This expression is saying if lastname is not NULL then use lastname, if it is null then use the address Last_name. 
Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.