Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get raw request for SP API Developer Support? #270

Open
cohlar opened this issue Mar 1, 2024 · 2 comments
Open

How to get raw request for SP API Developer Support? #270

cohlar opened this issue Mar 1, 2024 · 2 comments

Comments

@cohlar
Copy link
Contributor

cohlar commented Mar 1, 2024

Hi,

Amazon's Selling Partner API Developer Support team just asked me for the following in order to help me with a case:

  1. Full Request and Response along with headers in .txt format.
  2. MarketplaceId:
  3. RequestId:
  4. TimeStamp:

I was wondering if there is a way to get the raw request somehow?
For the rest, your response to issues #47 #187 #255 was quite helpful, thanks for your support!

@amz-tools
Copy link
Owner

@cohlar For the response, all the information should be available when you use raw_result:true. The only thing you would probably have to log for yourself is the request headers.

@cohlar
Copy link
Contributor Author

cohlar commented Mar 1, 2024

@amz-tools thanks for your response.
What I mean by "raw request" is something like this:

PUT /fba/inbound/v0/shipments/shipmentId1/preorder/confirm?MarketplaceId=ATVPDKIKX0DER&NeedByDate=2020-10-10 HTTP/1.1
host: sellingpartnerapi-na.amazon.com
user-agent: My Selling Tool/2.0 (Language=Java/1.8.0.221;
Platform=Windows/10)
x-amz-access-token=Atza|IQEBLjAsAhRmHjNgHpi0U-Dme37rR6CuUpSREXAMPLE
x-amz-date: 20190430T123600Z

Is this exposed by the library anyhow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants