action ebay_get_fulfillment_policies {
label: "getFulfillmentPolicies"
description: "This method retrieves all the fulfillment policies configured for the marketplace you specify using the marketplace_id query parameter.
Marketplaces and locales
Get the correct policies for a marketplace that supports multiple locales using the Content-Language request header. For example, get the policies for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers."
provider: ebay
method: GET
path: "/fulfillment_policy"
encoding: json
input: {
type: "object"
properties: {
marketplace_id: {
type: "string"
}
}
required: ["marketplace_id"]
additionalProperties: false
}
output: {
type: "object"
description: "The response payload for the getFulfillmentPolicies method.
Note: Pagination has not yet been enabled for getFulfillmentPolicies, so all of the pagination-related fields are for future use."
properties: {
fulfillmentPolicies: {
type: "array"
description: "A list of all of the seller's fulfillment policies defined for the specified marketplace. This array will be returned as empty if no fulfillment policies are defined for the specified marketplace."
items: {
type: "object"
description: "This type is used by the fulfillmentPolicy response container, a container which defines a seller's fulfillment policy for a specific marketplace."
properties: {
categoryTypes: {
type: "array"
description: "This container indicates whether the fulfillment policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings."
items: {
type: "object"
description: "The category type discerns whether the policy applies to motor vehicle listings, or to any other items except motor vehicle listings.
Each business policy can be associated with either or both categories ('MOTORS_VEHICLES' and 'ALL_EXCLUDING_MOTORS_VEHICLES'); however, return business policies are not applicable for motor vehicle listings."
properties: {
default: {
type: "boolean"
description: "Note: This field has been deprecated and is no longer used.
"
}
name: {
type: "string"
description: "The category type to which the policy applies (motor vehicles or non-motor vehicles).
The MOTORS_VEHICLES category type is not valid for return policies. eBay flows do not support the return of motor vehicles. For implementation help, refer to eBay API documentation"
}
}
}
}
description: {
type: "string"
description: "A seller-defined description of the fulfillment policy. This description is only for the seller's use, and is not exposed on any eBay pages. This field is returned if set for the policy.
Max length: 250"
}
freightShipping: {
type: "boolean"
description: "If returned as true, the seller offers freight shipping. Freight shipping can be used for large items over 150 lbs."
}
fulfillmentPolicyId: {
type: "string"
description: "A unique eBay-assigned ID for the fulfillment policy. This ID is generated when the policy is created."
}
globalShipping: {
type: "boolean"
description: "If returned as true, eBay's Global Shipping Program will be used by the seller to ship items to international locations.
Note: On the US marketplace, the Global Shipping Program is scheduled to be replaced by a new intermediated international shipping program called eBay International Shipping. US sellers who are opted in to the Global Shipping Program will be automatically opted in to eBay International Shipping when it becomes available to them. All US sellers will be migrated by March 31, 2023.
eBay International Shipping is an account level setting, and no field needs to be set in a Fulfillment business policy to enable it. As long as the US seller's account is opted in to eBay International Shipping, this shipping option will be enabled automatically for all listings where international shipping is available.
A US seller who is opted in to eBay International Shipping can also specify individual international shipping service options for a Fulfillment business policy."
}
handlingTime: {
type: "object"
description: "A type used to specify a period of time using a specified time-measurement unit. Payment, return, and fulfillment business policies all use this type to specify time windows.
Whenever a container that uses this type is used in a request, both of these fields are required. Similarly, whenever a container that uses this type is returned in a response, both of these fields are always returned."
properties: {
unit: {
type: "string"
description: "These enum values represent the time measurement unit, such as DAY. A span of time is defined when you apply the value specified in the value field to the value specified for unit.
See TimeDurationUnitEnum for a complete list of possible time-measurement units. For implementation help, refer to eBay API documentation"
}
value: {
type: "integer"
format: "int32"
description: "An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field."
}
}
}
localPickup: {
type: "boolean"
description: "If returned as true, local pickup is available for this policy."
}
marketplaceId: {
type: "string"
description: "The ID of the eBay marketplace to which this fulfillment policy applies. For implementation help, refer to eBay API documentation"
}
name: {
type: "string"
description: "A seller-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace.
Max length: 64"
}
pickupDropOff: {
type: "boolean"
description: "If returned as true, the seller offers the \"Click and Collect\" option.
Currently, \"Click and Collect\" is available only to large retail merchants the eBay AU and UK marketplaces."
}
shipToLocations: {
type: "object"
description: "This type consists of the regionIncluded and regionExcluded arrays, which indicate the areas to where the seller does and doesn't ship."
properties: {
regionExcluded: {
type: "array"
description: "An array of one or more regionName values that specify the areas to where a seller does not ship. A regionExcluded list should only be set in the top-level shipToLocations container and not within the shippingServices.shipToLocations container used to specify which shipping regions are serviced by each available shipping service option.
Many sellers are willing to ship to many international locations, but they may want to exclude some world regions or some countries as places they are willing to ship to.
This array will be returned as empty if no shipping regions are excluded with the fulfillment business policy.
Note: The regionExcluded array is not applicable for motor vehicle business policies on the US, CA, or UK marketplaces. If this array is used in a createFulfillmentPolicy or updateFulfillmentPolicy request, it will be ignored."
items: {
type: "object"
description: "This type is used to define specific shipping regions. There are four 'levels' of shipping regions, including large geographical regions (like 'Asia', 'Europe', or 'Middle East'), individual countries, US states or Canadian provinces, and special locations/domestic regions within a country (like 'Alaska/Hawaii' or 'PO Box')."
properties: {
regionName: {
type: "string"
description: "A string that indicates the name of a region, as defined by eBay. A \"region\" can be either a 'world region' (e.g., the \"Middle East\" or \"Southeast Asia\"), a country (represented with a two-letter country code), a state or province (represented with a two-letter code), or a special domestic region within a country.
The GeteBayDetails call in the Trading API can be used to retrieve the world regions and special domestic regions within a specific country. To get these enumeration values, call GeteBayDetails with the DetailName value set to ExcludeShippingLocationDetails."
}
regionType: {
type: "string"
description: "Reserved for future use. For implementation help, refer to eBay API documentation"
}
}
}
}
regionIncluded: {
type: "array"
description: "An array of one or more regionName fields that specify the areas to where a seller ships.
Each eBay marketplace supports its own set of allowable shipping locations.
Note: The regionIncluded array is not applicable for motor vehicle business policies on the US, CA, or UK marketplaces. If this array is used in a createFulfillmentPolicy or updateFulfillmentPolicy request, it will be ignored."
items: {
type: "object"
additionalProperties: true
}
}
}
}
shippingOptions: {
type: "array"
description: "This array is used to provide detailed information on the domestic and international shipping options available for the policy. A separate ShippingOption object covers domestic shipping service options and international shipping service options (if the seller ships to international locations).
The optionType field indicates whether the ShippingOption object applies to domestic or international shipping, and the costType field indicates whether flat-rate shipping or calculated shipping will be used.
A separate ShippingServices object is used to specify cost and other details for every available domestic and international shipping service option.
" items: { type: "object" description: "This type is used by the shippingOptions array, which is used to provide detailed information on the domestic and international shipping options available for the policy. A separate ShippingOption object covers domestic shipping service options and international shipping service options (if the seller ships to international locations)." properties: { costType: { type: "string" description: "This field defines whether the shipping cost model isFLAT_RATE (the same rate for all buyers, or buyers within a region if shipping rate tables are used) or CALCULATED (the shipping rate varies by the ship-to location and size and weight of the package). CAD.true for a motor vehicle listing if it will be the buyer's responsibility to pick up the purchased motor vehicle after full payment is made. true for a motor vehicle listing if it will be the buyer's responsibility to arrange for shipment of a purchased motor vehicle after full payment is made. true if the seller offers a free shipping option to the buyer. true for the first domestic shipping service option specified in the shippingServices container (it is ignored if set for subsequent shipping services or for any international shipping service option). 1 or if the sortOrderId field is not used, it is the shipping service option that's specified first in the shippingServices container.USPS, FedEx, or UPS. Although this field uses the string type, the seller must pass in a pre-defined enumeration value here. ShippingCarrierDetails. The enum values for each shipping carriers can be found in each ShippingCarrierDetails.ShippingCarrier field in the response payload.USPSPriority, FedEx2Day, or UPS3rdDay. Although this field uses the string type, the seller must pass in a pre-defined enumeration value here. ShippingServiceDetails. true value in the corresponding ValidForSellingFlow boolean field. International shipping service options are typically returned at the top of the response payload, and are indicated by an InternationalService boolean field that reads true. 1 appears at the top of View Item and Checkout pages. Conversely, a shipping service option with a sortOrder value of 1 appears at the bottom of the list. 0."
}
}
}
}