Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

refund order import

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 2

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

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.

Avatar

Level 2

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.