POST /fulfillment_policy/
This method creates a new fulfillment policy where the policy encapsulates seller's terms for fulfilling item purchases. Fulfillment policies include the shipment options that the seller offers to buyers.
Each policy targets a specific eBay marketplace and a category group type, and you can create multiple policies for each combination.
A successful request returns the getFulfillmentPolicy URI to the new policy in the Location response header and the ID for the new policy is returned in the response payload.
Tip: For details on creating and using the business policies supported by the Account API, see eBay business policies.
Using the eBay standard envelope service (eSE)
The eBay standard envelope service (eSE) is a domestic envelope service with tracking through eBay. This service applies to specific Trading Cards categories (not all categories are supported), and to Coins & Paper Money, Postcards, and Stamps. See Using the eBay standard envelope (eSE) service.
Servers
- https://api.ebay.com{basePath}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
name |
String | No |
A seller-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace. |
description |
String | No |
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. |
pickupDropOff |
Boolean | No |
This field should be included and set to To enable "Click and Collect" on a listing, a seller must be eligible for Click and Collect. Currently, Click and Collect is available to only large retail merchants selling in the eBay AU and UK marketplaces. In addition to setting this field to
When a merchant successfully lists an item with Click and Collect, prospective buyers within a reasonable distance from one of the merchant's stores (that has stock available) will see the "Available for Click and Collect" option on the listing, along with information on the closest store that has the item. Default: false |
handlingTime |
Object | No |
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. |
handlingTime.value |
Integer | No |
An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field. |
handlingTime.unit |
String | No |
These enum values represent the time measurement unit, such as |
shipToLocations |
Object | No |
This type consists of the regionIncluded and regionExcluded arrays, which indicate the areas to where the seller does and doesn't ship. |
shipToLocations.regionExcluded[] |
Array | No |
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. |
shipToLocations.regionExcluded[].regionType |
String | No |
Reserved for future use. For implementation help, refer to eBay API documentation |
shipToLocations.regionExcluded[].regionName |
String | No |
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. |
shipToLocations.regionIncluded[] |
Array | No |
An array of one or more regionName fields that specify the areas to where a seller ships. |
shipToLocations.regionIncluded[].regionType |
String | No |
Reserved for future use. For implementation help, refer to eBay API documentation |
shipToLocations.regionIncluded[].regionName |
String | No |
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. |
freightShipping |
Boolean | No |
This field is included and set to |
categoryTypes[] |
Array | No |
This container is used to specify whether the fulfillment business policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings. |
categoryTypes[].name |
String | No |
The category type to which the policy applies (motor vehicles or non-motor vehicles). |
categoryTypes[].default |
Boolean | No |
Note: This field has been deprecated and is no longer used.
|
globalShipping |
Boolean | No |
This field is included and set to Default: false |
localPickup |
Boolean | No |
This field should be included and set to |
shippingOptions[] |
Array | No |
This array is used to provide detailed information on the domestic and international shipping options available for the policy.
A separate ShippingServices object will be used to specify cost and other details for every available domestic and international shipping service option. |
shippingOptions[].insuranceOffered |
Boolean | No |
This field has been deprecated. |
shippingOptions[].shippingServices[] |
Array | No |
This array consists of the domestic or international shipping services options that are defined for the policy. The shipping service options defined under this array should match what is set in the corresponding shippingOptions.optionType field (which controls whether domestic or international shipping service options are being defined). If a shipping rate table is being used, the specified shipping service options should also match the shipping rate table settings (domestic or international, shipping speed/level of service, etc.) |
shippingOptions[].shippingServices[].additionalShippingCost |
Object | No |
A complex type that describes the value of a monetary amount as represented by a global currency. When passing in an amount in a request payload, both currency and value fields are required, and both fields are also always returned for an amount in a response field. |
shippingOptions[].shippingServices[].additionalShippingCost.value |
String | No |
The monetary amount in the specified currency. |
shippingOptions[].shippingServices[].additionalShippingCost.currency |
String | No |
The base currency applied to the value field to establish a monetary amount. |
shippingOptions[].shippingServices[].freeShipping |
Boolean | No |
This field is included and set to |
shippingOptions[].shippingServices[].shippingServiceCode |
String | No |
This field sets/indicates the domestic or international shipping service option, such as |
shippingOptions[].shippingServices[].sortOrder |
Integer | No |
The integer value set in this field controls the order of the corresponding domestic or international shipping service option in the View Item and Checkout pages. |
shippingOptions[].shippingServices[].buyerResponsibleForPickup |
Boolean | No |
This field should be included and set to |
shippingOptions[].shippingServices[].shipToLocations |
Object | No |
This type consists of the regionIncluded and regionExcluded arrays, which indicate the areas to where the seller does and doesn't ship. |
shippingOptions[].shippingServices[].shipToLocations.regionExcluded[] |
Array | No |
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. |
shippingOptions[].shippingServices[].shipToLocations.regionExcluded[].regionType |
String | No |
Reserved for future use. For implementation help, refer to eBay API documentation |
shippingOptions[].shippingServices[].shipToLocations.regionExcluded[].regionName |
String | No |
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. |
shippingOptions[].shippingServices[].shipToLocations.regionIncluded[] |
Array | No |
An array of one or more regionName fields that specify the areas to where a seller ships. |
shippingOptions[].shippingServices[].shipToLocations.regionIncluded[].regionType |
String | No |
Reserved for future use. For implementation help, refer to eBay API documentation |
shippingOptions[].shippingServices[].shipToLocations.regionIncluded[].regionName |
String | No |
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. |
shippingOptions[].shippingServices[].shippingCost |
Object | No |
A complex type that describes the value of a monetary amount as represented by a global currency. When passing in an amount in a request payload, both currency and value fields are required, and both fields are also always returned for an amount in a response field. |
shippingOptions[].shippingServices[].shippingCost.value |
String | No |
The monetary amount in the specified currency. |
shippingOptions[].shippingServices[].shippingCost.currency |
String | No |
The base currency applied to the value field to establish a monetary amount. |
shippingOptions[].shippingServices[].cashOnDeliveryFee |
Object | No |
A complex type that describes the value of a monetary amount as represented by a global currency. When passing in an amount in a request payload, both currency and value fields are required, and both fields are also always returned for an amount in a response field. |
shippingOptions[].shippingServices[].cashOnDeliveryFee.value |
String | No |
The monetary amount in the specified currency. |
shippingOptions[].shippingServices[].cashOnDeliveryFee.currency |
String | No |
The base currency applied to the value field to establish a monetary amount. |
shippingOptions[].shippingServices[].surcharge |
Object | No |
A complex type that describes the value of a monetary amount as represented by a global currency. When passing in an amount in a request payload, both currency and value fields are required, and both fields are also always returned for an amount in a response field. |
shippingOptions[].shippingServices[].surcharge.value |
String | No |
The monetary amount in the specified currency. |
shippingOptions[].shippingServices[].surcharge.currency |
String | No |
The base currency applied to the value field to establish a monetary amount. |
shippingOptions[].shippingServices[].buyerResponsibleForShipping |
Boolean | No |
This field should be included and set to |
shippingOptions[].shippingServices[].shippingCarrierCode |
String | No |
This field sets/indicates the shipping carrier, such as |
shippingOptions[].rateTableId |
String | No |
This field is used if the seller wants to associate a domestic or international shipping rate table to the fulfillment business policy. The getRateTables method can be used to retrieve shipping rate table IDs. |
shippingOptions[].shippingDiscountProfileId |
String | No |
This field is the unique identifier of a seller's domestic or international shipping discount profile. If a buyer satisfies the requirements of the discount rule, this buyer will receive a shipping discount for the order. |
shippingOptions[].optionType |
String | No |
This field is used to indicate if the corresponding shipping service options (under shippingServices array) are domestic or international shipping service options. This field is conditionally required if any shipping service options are specified (domestic and/or international). For implementation help, refer to eBay API documentation |
shippingOptions[].shippingPromotionOffered |
Boolean | No |
This boolean indicates whether or not the seller has set up a promotional shipping discount that will be available to buyers who satisfy the requirements of the shipping discount rule. |
shippingOptions[].costType |
String | No |
This field defines whether the shipping cost model is |
shippingOptions[].packageHandlingCost |
Object | No |
A complex type that describes the value of a monetary amount as represented by a global currency. When passing in an amount in a request payload, both currency and value fields are required, and both fields are also always returned for an amount in a response field. |
shippingOptions[].packageHandlingCost.value |
String | No |
The monetary amount in the specified currency. |
shippingOptions[].packageHandlingCost.currency |
String | No |
The base currency applied to the value field to establish a monetary amount. |
shippingOptions[].insuranceFee |
Object | No |
A complex type that describes the value of a monetary amount as represented by a global currency. When passing in an amount in a request payload, both currency and value fields are required, and both fields are also always returned for an amount in a response field. |
shippingOptions[].insuranceFee.value |
String | No |
The monetary amount in the specified currency. |
shippingOptions[].insuranceFee.currency |
String | No |
The base currency applied to the value field to establish a monetary amount. |
marketplaceId |
String | No |
The ID of the eBay marketplace to which this fulfillment policy applies. For implementation help, refer to eBay API documentation |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.