refund order import

Avatar

Avatar

sebastianh47520

Avatar

sebastianh47520

sebastianh47520

06-07-2020

Hi,

I’m trying to do a refund import according to this article

https://helpx.adobe.com/uk/analytics/kb/refund-return-order-ecommerce-tracking-cart-shopping-purchas...

 

with a csv looking like this

# Order Status template file (user: 100095387 ds_id: 1)   
#Purchase IDOrder Status (v50)Net Orders (e100)
DatetransactionIDEvar 50Event 100
06/07/2020/20/00/00888135002291netto1
06/07/2020/20/00/00888135002292netto1

 

 

But instead of using a csv upload – I want to upload the data using a xml or http request with the data insertion api https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/data-insertion-api/index.md

 

The upload works, but the outcome is that the event 100 and evar 50 are not connected and the event is also not connected to the orginal order so e.g. not connected to s.products.

 

How does a correct xml or http request has to look to get the same outcome as the described process of the article using the csv upload?

 

Best,

Sebastian

View Entire Topic

Avatar

Avatar

rola23

Avatar

rola23

rola23

06-07-2020

Hi There,

 

Instead of using Data Insertion API, you would rather want to use Data Source API which would correspond to the same functionality using FTP.
Please ref: https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/data-sources-api/index.md.

 

The Data Insertion API actually is meant to upload data as a server call just like that on the site and would not help your case here.