Skip to main content
Published: February 01 2010, 6:33:00 AMUpdated: November 28 2020, 1:47:26 PM

How to add an item in half.com through API?

 

Consider the following key points while listing an item in half.com.

 

  1. To list an item in half.com you can use must specify <ListingType> with a value “Half”.
  2. Specifying Item condition is required input parameter for half.com listing. You must use the <AttributeArray> container as follows.

<AttributeArray>

  <Attribute attributeLabel="Condition">

    <Value>

      <ValueLiteral>Good</ValueLiteral>

    </Value>

  </Attribute>

</AttributeArray>

 

  1. For more information you can refer to the following location.
    Commonly used AddItem Fields for half.com listings

Here is the sample AddItem request to list an item on Half.com:

 

Sample request for half.com listing

 

<?xml version="1.0" encoding="utf-8"?>

<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">

  <RequesterCredentials>

    <eBayAuthToken>****</eBayAuthToken>

  </RequesterCredentials>

  <Item>

    <AttributeArray>

      <Attribute attributeLabel="Condition">

        <Value>

          <ValueLiteral>Good</ValueLiteral>

        </Value>

      </Attribute>

    </AttributeArray>

    <Country>US</Country>

    <Currency>USD</Currency>

    <Description>description</Description>

    <ListingDuration>GTC</ListingDuration>

    <ListingType>Half</ListingType>

    <Location>San Jose</Location>

    <Quantity>6</Quantity>

    <StartPrice currencyID="USD">5</StartPrice>

    <ExternalProductID>

      <Value>9780439294829</Value>

      <Type>ISBN</Type>

    </ExternalProductID>   

  </Item> 

</AddItemRequest>

 

How well did this answer your question?
Answers others found helpful