updateListingInventory requires readiness state for digital listings (listing_type: download), contradicting docs & GET response #1474
Unanswered
amphelps535
asked this question in
Q&A
Replies: 3 comments
-
|
Thank you for letting us know. We're working on a patch right now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
A patch for this has been released. Thanks again for the report! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This is still an issue. For example: Platy Syncer Plugin for Wordpress Woocommerce throws the same "HTTP 400 - a readiness_state_id is required errors even for digital listings. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Etsy Dev Team 👋
I believe I’ve hit a validation bug with updateListingInventory when working with digital listings.
The migration guide states:
“Digital listings cannot have processing profiles.”
However, when updating a digital listing’s inventory, the API rejects my request with:
"all offerings need readiness state"
Repro
Listing details (GET /listings/{exampleListingId}):
Inventory (GET /listings/{exampleListingId}/inventory):
So the API itself already returns readiness_state_id: null for the digital listing.
Update attempt (PUT /listings/{exampleListingId}/inventory):
Result:
"all offerings need readiness state"
Why this looks like a bug
Request
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions