walmartlabs / partnerapi_sdk_dotnet

Walmart Partner API SDK for .NET
Other
14 stars 16 forks source link

Order Endpoint Bug Fix #16

Closed andrebogojevic closed 4 years ago

andrebogojevic commented 5 years ago

As per the documentation, order acknowledge requires a "Content-type" header in order to function properly. Otherwise, it throws Internal server errors 500/520 with no indication as to what the issue is; using AddPayload() solves that issue.

Shipping, canceling, and refunding were all broken. None were actually passing the filestream to UpdateOrder().Adding the stream and using AddPayload() solves the issue and any Internal Server Errors by including the correct "Content-type" header.

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.