WooCommerce MetaData - make accessible to Linnworks

 

The data structure of an order after it is retrieved by Linnworks includes metadata from WooCommerce, however the structure of the data means it is inaccessible to Linnworks or Linnworks apps such as XmlExtractor.

 


Example, existing structure: 

 

 

·  Order

· Id

· OrderNumber

· CreatedAt

· [...]

· CouponLines

· Customer

· MetaData

o element

o element

§ Id

§ Key

§ is_gift

§ Value

§ 1

o  

o element

§ Id

§ Key

§ gift_message

§ Value

§ "This is the gift message text"

o element

o element

o [...]

 

 

 

 

 

 

 

May I suggest that Linnworks implements some additional parsing of data when it is collected from the WooCommerce API? I expect this would be a benefit to many Linnworks users.

 

 

 

If the metadata was processed to simple XML nodes named with the key and containing the value, the data would be accessible and workflows could be built around the data, example:

 

  

·  Order

· Id

· OrderNumber

· CreatedAt

· [...]

· CouponLines

· Customer

· MetaData

o is_gift

§ 1

o gift_message

§ "This is the gift message text"

o [... other meta data fields]

 

 


Login to post a comment