create inbound fulfillment plan with Fulfillment Inbound API v2024-03-20: #1587
Replies: 5 comments
-
Hi, I don't have an example. Are you passing the version correctly to the client? If you share some code, I might be able to assist |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
sp_api.base.exceptions.SellingApiBadRequestException: [{'code': 'InvalidInput', 'message': "9 validation errors detected: Value '[]' at 'request.destinationMarketplaces' failed to satisfy constraint: Member must have length greater than or equal to 1; Value '' at 'request.sourceAddress.phoneNumber' failed to satisfy constraint: Member must have length greater than or equal to 1; Value '' at 'request.sourceAddress.city' failed to satisfy constraint: Member must have length greater than or equal to 1; Value '' at 'request.sourceAddress.countryCode' failed to satisfy constraint: Member must have length greater than or equal to 2; Value '' at 'request.sourceAddress.countryCode' failed to satisfy constraint: Member must satisfy regular expression pattern: [A-Z]{2}; Value '' at 'request.sourceAddress.postalCode' failed to satisfy constraint: Member must have length greater than or equal to 1; Value '' at 'request.sourceAddress.name' failed to satisfy constraint: Member must have length greater than or equal to 1; Value '' at 'request.sourceAddress.addressLine1' failed to satisfy constraint: Member must have length greater than or equal to 1; Value '[]' at 'request.items' failed to satisfy constraint: Member must have length greater than or equal to 1", 'details': ''}] |
Beta Was this translation helpful? Give feedback.
-
Any update? Version 0 will be sunset in December. Lots of people will need to upgrade. Thanks |
Beta Was this translation helpful? Give feedback.
-
I can easily create a fulfillment plan on v0 of the Fulfillment Inbound API.
However, I can't get it to work on version v2024-03-20.
Do you have a working example of this?
Either fulfillment_inbound.plans or fulfillment_inbound.create_inbound_plan is fine.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions