Sorry for my english
I am trying to migrate the api from Large Merchant Services (LMS, a SOAP API) to the Feed API (REST API).
To upload a file with the feed of my articles I am following the following steps:
- I create a task LMS_ADD_ITEM
- I upload the file with upload_file and it returns "HTTP/1.1 200 OK "
- I review the task and it returns the following:
[0] => Array
(
[taskId] => task-5-1341102234
[status] => FAILED
[feedType] => LMS_ADD_ITEM
[creationDate] => 2022-05-25T10:13:49.000Z
[completionDate] => 2022-05-25T10:13:55.000Z
[uploadSummary] => Array
(
[successCount] => 0
[failureCount] => 0
)
)
The file is a compressed xml file, the same one used in Large Merchant Services (LMS, to SOAP API)
Can you tell me what I'm doing wrong or steps to follow?