Closed kingsaj closed 7 years ago
Looking at ebays example, there may be a couple more.
{
"cancelDetail": {
"cancelId": "5000001071",
"marketplaceId": "EBAY_US",
"legacyOrderId": "170006494376-8756205007",
"requestorType": "SELLER",
"cancelReason": "BUYER_CANCEL_OR_ADDRESS_ISSUE",
**"cancelState"**: "REFUND_PENDING",
**"cancelStatus"**: "CANCEL_PENDING",
"paymentStatus": "PAYPAL_PAID",
"requestRefundAmount": {
"value": 2.46,
"currency": "USD"
},
"cancelRequestDate": {
"value": "2014-08-22T23:29:11.000Z",
},
"lineItems": [
{
"itemId": "170006494376",
"transactionId": "8756205007"
}
],
"activityHistories": [
{
"activityType": "SELLER_CREATE_CANCEL",
"activityParty": "SELLER",
"actionDate": {
"value": "2014-08-22T23:29:07.000Z",
},
**"cancelStateFrom"**: "INITIAL",
**"cancelStatetateTo"**: "REFUND_PENDING" _Type here in the responce returned from ebay_
}
]
}
}
Just need to check that cancelStatetateTo
is a typo or if that is actually what the API is returning. I can easily add both cancelStateTo
and cancelStatetateTo
if needed.
It's a typo in the actual response I'm getting back from the ebay
lol. I'll add both cancelStateTo
and cancelStatetateTo
just to be on the safe side then.
Thanks David, maybe you can go work for ebay and teach them a thing or two
I guess ebay really need to improve their docs.