amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
585 stars 730 forks source link

[BUG] [SP-API] [Issue] shipmentConfirmation OrderItemId is invalid #492

Closed nacho93-on closed 3 months ago

nacho93-on commented 8 months ago

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

SP-API Name and Version or Report/Feed Type

/orders/v0/orders/:orderId/shipmentConfirmation

Expected Behavior

Current Behavior

We get a 400 error while attempt to confirm shipment for any orders. The given OrderItemId is the one we get from getOrderItems. In the Manage Orders page it´s also the same number. Why isn´t it working?

Context/Screenshots

{ "errors": [ { "code": "InvalidInput", "message": "OrderItemId is invalid, please obtain the value through the getOrderItems API or Manage Orders page", "details": "" } ] }

Your Environment

Problem appears in sellingpartnerapi-eu.amazon.com and Marketplace A1PA6795UKMFR9

chrisskhoury commented 8 months ago

Hello @nacho93-on ,

How are you submitting the order? are you including the dashes? Keep in mind it should be in the 3-7-7 format exactly how you receive it from OrdersAPI.

If issue still there can you please open a ticket with developer support?

https://developer.amazonservices.com/de-de-support

Best, Chris Solution Architect - Amazon SP API