Skip to content

Instantly share code, notes, and snippets.

@habashyjr
Created October 26, 2017 15:10
Show Gist options
  • Save habashyjr/8d98611ed4bf3c06d08942e9c170166a to your computer and use it in GitHub Desktop.
Save habashyjr/8d98611ed4bf3c06d08942e9c170166a to your computer and use it in GitHub Desktop.
Failure responses
{
"SuccessResponse": {
"Head": {
"RequestId": "",
"RequestAction": "FeedStatus",
"ResponseType": "FeedDetail",
"Timestamp": "2017-10-25T18:20:03+0200",
"RequestParameters": {
"FeedID": "8d8787af-a26d-428f-812f-0d7bcc94ab94"
}
},
"Body": {
"FeedDetail": {
"Feed": "8d8787af-a26d-428f-812f-0d7bcc94ab94",
"Status": "Finished",
"Action": "ProductCreate",
"CreationDate": "2017-10-25 18:19:54",
"UpdatedDate": "2017-10-25 18:19:55",
"Source": "api",
"TotalRecords": "1",
"ProcessedRecords": "1",
"FailedRecords": "1",
"FeedErrors": {
"Error": [
{
"Code": "0",
"Message": "'2'  أقل من  3 عدد الحروف المطلوبة",
"SellerSku": "2"
},
{
"Code": "1",
"Message": "Brand 'Walmart' is not registered on Seller Center.",
"SellerSku": "2"
}
]
}
}
}
}
}
{
"SuccessResponse": {
"Head": {
"RequestId": "",
"RequestAction": "FeedStatus",
"ResponseType": "FeedDetail",
"Timestamp": "2017-10-25T19:42:24+0200",
"RequestParameters": {
"FeedID": "064e7629-6ac9-4025-8990-4a5b5f22ff17"
}
},
"Body": {
"FeedDetail": {
"Feed": "064e7629-6ac9-4025-8990-4a5b5f22ff17",
"Status": "Finished",
"Action": "ProductCreate",
"CreationDate": "2017-10-25 19:41:56",
"UpdatedDate": "2017-10-25 19:41:56",
"Source": "api",
"TotalRecords": "1",
"ProcessedRecords": "1",
"FailedRecords": "1",
"FeedErrors": {
"Error": {
"Code": "0",
"Message": "Brand 'Walmart' is not registered on Seller Center.",
"SellerSku": "222"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment