Open euberdeveloper opened 6 years ago
@euberdeveloper Here is the workaround available. https://www.npmjs.com/package/amazon-mws
Hey @euberdeveloper. Unfortunately I am only able to devote a small amount of time to this repository, so I will only be able to contribute critical bug fixes.
A couple of ways to proceed:
Let me know what you think!
I want to use the Amazon Feed API, with POST_ORDER_FULFILLMENT_DATA, the request must contain a body with the order and carrier properties, such as:
`
</xsd:schema> `
Is your library able to do that? Could you add a parameter to specify the body of the request?
Update: I have looked your code and I guess there is not a way to add the body to the request. So I did a change in my locale project and I added this. Now I can use the method "SubmitFeed" by adding a "body" property and a "contentType" property.
(It's in typescript)
` export default function(initOptions: any) { return function(options) { let method = options.method || 'GET'; let url = 'https://'; url += options.base || 'mws.amazonservices.com'; url += options.endpoint;
}; `