Unable to assign SKUs to variations via bulk_migrate_listing API — Error 25002
Hi,
I am a developer integrating with the eBay Sell Inventory API for the German marketplace (EBAY_DE) and I am encountering an issue when trying to migrate an existing manually-created variation listing to the Inventory API model.
Listing ID: 264528890742 Marketplace: EBAY_DE
What I am trying to do: I have an existing variation listing that was created manually through the eBay website (not via API). I am trying to migrate it to the Inventory API model using the POST /sell/inventory/v1/bulk_migrate_listing endpoint so that I can manage inventory programmatically going forward.
The problem: When I call bulk_migrate_listing and include a SKU for each variation, I receive the following error:
<span><span class="">{</span>
</span><span> <span class="">"statusCode"</span><span class="">:</span> <span class="">400</span><span class="">,</span>
</span><span> <span class="">"listingId"</span><span class="">:</span> <span class="">"264528890742"</span><span class="">,</span>
</span><span> <span class="">"errors"</span><span class="">:</span> <span class="">[</span>
</span><span> <span class="">{</span>
</span><span> <span class="">"errorId"</span><span class="">:</span> <span class="">25002</span><span class="">,</span>
</span><span> <span class="">"domain"</span><span class="">:</span> <span class="">"API_INVENTORY"</span><span class="">,</span>
</span><span> <span class="">"category"</span><span class="">:</span> <span class="">"REQUEST"</span><span class="">,</span>
</span><span> <span class="">"message"</span><span class="">:</span> <span class="">"A user error has occurred. The listing SKU cannot be null or empty."</span>
</span><span> <span class="">}</span>
</span><span> <span class="">]</span>
</span><span><span class="">}</span></span>Steps I have already taken: I tried to pre-assign SKUs to each variation using the Trading API ReviseItem call before running the migration. The ReviseItem call returns a success response, but when I subsequently call bulk_migrate_listing, the error 25002 still appears, suggesting the SKUs are not being saved to the variations correctly.
What I need help with:
- Can you confirm whether
ReviseItemcorrectly persists SKUs to variation listings on EBAY_DE? - Is there a specific order of operations required before calling
bulk_migrate_listingfor a variation listing? - Is there an alternative endpoint or approach to migrate a manually-created variation listing to the Inventory API model?
Environment:
- API: eBay Sell Inventory API + Trading API
- Marketplace: EBAY_DE (Site ID 77)
- Compatibility Level: 967
Thank you for your support.