question

thehomaxgroup avatar image
1 Like"
thehomaxgroup asked

Relisting fixed price item with InventoryTrackingMethod as SKU

 

I'm trying to relist my items so I can search them by SKU, I've ended the listing and tried to update with the following code. Any suggestions?

 

<?xml version="1.0" encoding="utf-8"?>
<RelistFixedPriceItemRequestxmlns="urn:ebay:apis:eBLBaseComponents">
<ErrorLanguage>en_US</ErrorLanguage>
<WarningLevel>High</WarningLevel>
<Item>
<ItemID>110112128875</ItemID>
<Variations><Variation>
  <InventoryTrackingMethod>SKU</InventoryTrackingMethod>
  <SKU>DFG98S</SKU>
</Variation>
</Variations>
</Item>
<RequesterCredentials>
<eBayAuthToken>AgAAAA*........</eBayAuthToken>
</RequesterCredentials>
<WarningLevel>High</WarningLevel>
</RelistFixedPriceItemRequest>​

 

 

 <ShortMessage>Unrecognized element&lt;Item.Variations.Variation.InventoryTrackingMethod&gt;in request message.</ShortMessage>

    <LongMessage>The element&lt;Item.Variations.Variation.InventoryTrackingMethod&gt;was found in the input request message.  This is not a declared element in the schema and will be ignored.</LongMessage>

relistfixedpriceitem-inve
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.

davidtsadler avatar image
0 Likes"
davidtsadler answered

Hello,

 

You need to change your request so that InventoryTrackingMethod is part of the Item element as documented here.

 

<Item>
<ItemID>110112128875</ItemID>

<InventoryTrackingMethod>SKU</InventoryTrackingMethod>
<Variations><Variation>
   <SKU>DFG98S</SKU>
</Variation>
</Variations>
</Item>

 

Be aware that the SKU element is valid for both the Item and Variation elements. Depending on what you are trying to achieve you may also need to move the SKU element.

 

Kind Regards,

David

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.

thehomaxgroup avatar image
0 Likes"
thehomaxgroup answered

help?

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.