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

messaging api test failed #1

Open
LeanCai opened this issue May 13, 2022 · 3 comments
Open

messaging api test failed #1

LeanCai opened this issue May 13, 2022 · 3 comments

Comments

@LeanCai
Copy link

LeanCai commented May 13, 2022

    public class AmazonSpMessagingTest
    {
        [Fact]
        public async Task Should_ConfirmCustomizationDetailsAsync_by_id()
        {
            var orderId = "405-8649120-8232332";
            List<string> MarketplaceIds = new List<string>() { AmazonMarketplace.Spain.MarketplaceId };

            var httpClient = new TestAmazonSpHttpClientFactory().Create();
            var client = new AmazonSellingPartnerMessagingClient(httpClient);
            CreateConfirmCustomizationDetailsRequest body = new CreateConfirmCustomizationDetailsRequest()
            {
                Text = "This is a unimportant message, please ignore it"
            };

            var response = await client.ConfirmCustomizationDetailsAsync(orderId, MarketplaceIds, body);

            response.Should().NotBeNull();
        }
    }

image
image

Do you have this problem?

@LeanCai
Copy link
Author

LeanCai commented May 13, 2022

I have found the problem. This interface is related to the order status

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

3 participants
@LeanCai and others