Skip to main content
Answer

Shopify Connector: How to sync note_attributes values through mapping

  • July 14, 2022
  • 2 replies
  • 284 views

vivekm
Varsity II
Forum|alt.badge.img

Hi Team,

I am trying to sync note_attributes value through mapping but it is taking first attribute value and I want to have second attribute value. Can anyone please suggest how we can achieve this, please find details info below:

  • note_attributes value in Shopify order json (shared full order json in attached text file).

"note_attributes": [
      {
        "name": "Language",
        "value": "en"
      },
      {
        "name": "PO #",
        "value": "PO number test"
      }
    ]

  • Mapping used in Acumatica to sync the value under Customer Order Number field.
  • Getting first attribute value but want to have second attribute (PO #) value.

 

Best answer by KarthikGajendran

@vivekm  you cannot map an array. It allows accepts one to one values. So you should require a customization for this. 

2 replies

KarthikGajendran
Acumatica Moderator
Forum|alt.badge.img+3

@vivekm  you cannot map an array. It allows accepts one to one values. So you should require a customization for this. 


vivekm
Varsity II
Forum|alt.badge.img
  • Author
  • Varsity II
  • July 15, 2022

Thank you @KarthikGajendran for the inputs, just wanted to check if there is any possibility by using any formula or as such but sure, will proceed with customization.