Inherits from Shopping_AbstractRequestType : NSObject
Declared in Shopping_GetShippingCostsRequestType.h
Shopping_GetShippingCostsRequestType.m

Overview

Gets shipping costs for an item. This is one of the ways a buyer or seller
can obtain shipping cost information for an existing item (for which the caller is
either the buyer or seller) at any point in the life of of the listing, before or
after a buyer has committed to purchasing the item(s). This call works for
both flat rate shipping and calculated shipping. Flat rate shipping costs are
established by the seller before bidding occurs. Calculated shipping costs
are calculated by eBay with its shipping partners based on postal code, but note
that insurance cost can only be determined once the final item price is known
when the listing ends. To determine whether a listing has ended, use GetSingleItem.
It is best to call GetShippingCosts only after determining via GetSingleItem
or findItemsAdvanced (<a
href=“http://www.developer.ebay.com/DevZone/finding/CallRef/index.html

Finding API) that the item actually has shipping cost information.

@ingroup ShoppingInterface

Tasks

  •   itemID

    The item ID that uniquely identifies the item listing for which to retrieve the data.

    property
  •   quantitySold

    Number of items sold to a single buyer and to be shipped together.

    property
  •   destinationPostalCode

    Destination country postal code (or zipcode, for US). Ignored if no
    country code is provided. Optional tag for some countries. More likely to
    be required for large countries. Ignored for flat rate shipping.

    property
  •   destinationCountryCode

    Destination country code. If DestinationCountryCode is US,
    postal code is required and represents US zip code.

    property
  •   includeDetails

    Indicates whether to return the ShippingDetails container in the response.

    property

Properties

destinationCountryCode

Destination country code. If DestinationCountryCode is US,
postal code is required and represents US zip code.

@property (nonatomic, retain) NSString *destinationCountryCode

Discussion

Destination country code. If DestinationCountryCode is US,
postal code is required and represents US zip code.

type: string constant in Shopping_CountryCodeType.h

Declared In

Shopping_GetShippingCostsRequestType.h

destinationPostalCode

Destination country postal code (or zipcode, for US). Ignored if no
country code is provided. Optional tag for some countries. More likely to
be required for large countries. Ignored for flat rate shipping.

@property (nonatomic, retain) NSString *destinationPostalCode

Discussion

Destination country postal code (or zipcode, for US). Ignored if no
country code is provided. Optional tag for some countries. More likely to
be required for large countries. Ignored for flat rate shipping.

type : NSString, wrapper for primitive string

Declared In

Shopping_GetShippingCostsRequestType.h

includeDetails

Indicates whether to return the ShippingDetails container in the response.

@property (nonatomic, retain) NSNumber *includeDetails

Discussion

Indicates whether to return the ShippingDetails container in the response.

type : NSNumber, wrapper for primitive bool

Declared In

Shopping_GetShippingCostsRequestType.h

itemID

The item ID that uniquely identifies the item listing for which to retrieve the data.

@property (nonatomic, retain) NSString *itemID

Discussion

The item ID that uniquely identifies the item listing for which to retrieve the data.

type : NSString, wrapper for primitive string

Declared In

Shopping_GetShippingCostsRequestType.h

quantitySold

Number of items sold to a single buyer and to be shipped together.

@property (nonatomic, retain) NSNumber *quantitySold

Discussion

Number of items sold to a single buyer and to be shipped together.

type : NSNumber, wrapper for primitive int

Declared In

Shopping_GetShippingCostsRequestType.h