If you have listed an item in a category that supports parts compatibility by application, you can add or remove item compatibilities.
Note: Compatibilities for items that were listed by product may not be added or removed. Refer to Specify parts compatibility by product for additional information.
Add item compatibilities
To add additional compatibilities, simply call ReviseItem (or comparable revise call that supports parts compatibility) and specify any new compatibilities with Item.ItemCompatibilityList.
Duplicate compatibilities (Item.ItemCompatibilityList.Compatibility) are ignored.
ReviseItem request to add a compatibility
<?xml version="1.0" encoding="utf-8"?> <ReviseItemRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <RequesterCredentials> <eBayAuthToken>ABC...123</eBayAuthToken> </RequesterCredentials> <Item> <ItemID>1**********8</ItemID> <ItemCompatibilityList> <Compatibility> <NameValueList> <Name>Year</Name> <Value>2003</Value> </NameValueList> <NameValueList> <Name>Make</Name> <Value>Acura</Value> </NameValueList> <NameValueList> <Name>Model</Name> <Value>TL</Value> </NameValueList> <CompatibilityNotes>Fits for all trims and engines.</CompatibilityNotes> </Compatibility> </ItemCompatibilityList> </Item> </ReviseItemRequest>
Remove individual item compatibilities
To remove an item compatibility, call ReviseItem and specify the compatibility that is to be removed. Include Delete with a value of true
in the compatibility.
ReviseItem request to remove a compatibility
<?xml version="1.0" encoding="utf-8"?> <ReviseItemRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <RequesterCredentials> <eBayAuthToken>ABC...123</eBayAuthToken> </RequesterCredentials> <Item> <ItemID>1**********8</ItemID> <ItemCompatibilityList> <Compatibility> <Delete>true</Delete> <NameValueList> <Name>Year</Name> <Value>2003</Value> </NameValueList> <NameValueList> <Name>Make</Name> <Value>Acura</Value> </NameValueList> <NameValueList> <Name>Model</Name> <Value>TL</Value> </NameValueList> <CompatibilityNotes>Fits for all trims and engines.</CompatibilityNotes> </Compatibility> </ItemCompatibilityList> </Item> </ReviseItemRequest>
Remove or replace all item compatibilities
To remove all compatibilities, call ReviseItem and set ReplaceAll (Item.ItemCompatibilityList.ReplaceAll) to true.
- If no new item compatibilities are specified, all item compatibilities are removed from the item.
- If new compatibilities are included with the ReplaceAll field, the new compatibilities will replace any existing item compatibilities.
ReviseItem request to remove all compatibilities
<?xml version="1.0" encoding="utf-8"?> <ReviseItemRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <RequesterCredentials> <eBayAuthToken>ABC...123</eBayAuthToken> </RequesterCredentials> <Item> <ItemID>1**********8</ItemID> <ItemCompatibilityList> <ReplaceAll>true</ReplaceAll> </ItemCompatibilityList> </Item> </ReviseItemRequest>
Refer to Retrieve parts compatibilities for listed items for information about confirming your parts compatibilities.