The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

eBay::API::XML::Call::AddItem::AddItemResponseType

DESCRIPTION

Returns the item ID and the estimated fees for the new listing, as well as the start and end times of the listing.

SYNOPSIS

INHERITANCE

eBay::API::XML::Call::AddItem::AddItemResponseType inherits from the eBay::API::XML::ResponseDataType class

Subroutines:

setCategory2ID()

ID of the secondary category in which the item was listed. Only returned if you set Item.CategoryMappingAllowed to true in the request and the ID you passed in SecondaryCategory was mapped to a new ID by eBay. If the secondary category has not changed or it has expired with no replacement, Category2ID does not return a value. Not applicable to Half.com.

MaxLength: 10

# Argument: 'xs:string'

getCategory2ID()

Returned: Conditionally
#    Returns: 'xs:string'

setCategoryID()

ID of the primary category in which the item was listed. Only returned if you set Item.CategoryMappingAllowed to true in the request and the ID you passed in PrimaryCategory was mapped to a new ID by eBay. If the primary category has not changed or it has expired with no replacement, CategoryID does not return a value. Not applicable to Half.com.

MaxLength: 10

# Argument: 'xs:string'

getCategoryID()

Returned: Conditionally
#    Returns: 'xs:string'

setEndTime()

Date and time when the new listing ends. This is the starting time plus the listing duration. Also returned for Half.com, but for Half.com the actual end time is GTC (not the end time returned in the response).

# Argument: 'xs:dateTime'

getEndTime()

Returned: Always
#    Returns: 'xs:dateTime'

setFees()

Child elements contain the estimated listing fees for the new item listing. The fees do not include the Final Value Fee (FVF), which cannot be determined until an item is sold. Also returned for Half.com, but the values are not applicable to Half.com listings.

SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=FinalValueFeesAndCredits Title: Final Value Fees and Credits , URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=FeesPerSite Title: Fees per Site , URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=UsingFeaturePacks Title: Using Feature Packs to Save on Upgrade Fees

# Argument: 'ns:FeesType'

getFees()

Returned: Always
#    Returns: 'ns:FeesType'

setItemID()

Unique item ID for the new listing. Also applicable to Half.com.

MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)

# Argument: 'ns:ItemIDType'

getItemID()

Returned: Always
#    Returns: 'ns:ItemIDType'

setStartTime()

Starting date and time for the new listing. Also returned for Half.com (for Half.com, the start time is always the time the item was listed).

# Argument: 'xs:dateTime'

getStartTime()

Returned: Always
#    Returns: 'xs:dateTime'