question

modehaus-24 avatar image
0 Likes"
modehaus-24 asked ·

Get InventoryItem from Seller Acount

Hallo Support, ich have item in mey Ebay Acount(114379817585) and Ia me Trying to read it via get inventoryItem this is my Code: public function actionTestGetInventoryItem(int $sysId, $sku){ $system = $this->getSystem($sysId, null, System::SYSTEM_EBAY); $restClient = new EbayRestClient($system); $request = $restClient->GET("/sell/inventory/v1/inventory_item/$sku"); $response = $request->send(); die(var_dump($response->data)); } but I bekomm always this Error: array(1) { ["errors"]=> array(1) { [0]=> array(5) { ["errorId"]=> int(25710) ["domain"]=> string(13) "API_INVENTORY" ["subdomain"]=> string(7) "Selling" ["category"]=> string(7) "REQUEST" ["message"]=> string(80) "We didn't find the resource/entity you are requesting. Please verify the request" } } } this is rlogid:t6pitnmsgwj70%3D9iptpitnmsgwj70*n%3Dh%3Fk%28rbpv6762-17443ada79d-0x174 Can you please help me? Best Regards
get inventoryitem from ebay shop
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

modehaus-24 avatar image
0 Likes"
modehaus-24 answered ·
Hi, thank you for you replay. I have Sku too used but not helped me Do you have another Idee please? Best Regards,
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

eram_developersupport avatar image
0 Likes"
eram_developersupport answered ·
Hi @modehaus-24, For getinventoryitem please pass your SKU in the request, not item ID. Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/getInventoryItem Note: Listings created outside Inventory API will not be visible via Inventory APIs. Best Regards, eBay Developer Support
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.