openapi: 3.0.0 info: title: eBay Account Advertising_eligibility Fulfillment_policy API description: The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay business policies and seller-defined custom policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information.

For details on the availability of the methods in this API, see Account API requirements and restrictions. contact: name: eBay Inc, license: name: eBay API License Agreement url: https://go.developer.ebay.com/api-license-agreement version: v1.9.2 servers: - url: https://api.ebay.com{basePath} description: Production variables: basePath: default: /sell/account/v1 tags: - name: Fulfillment_policy paths: /fulfillment_policy/: post: tags: - Fulfillment_policy description: '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 sub-categories of Trading Cards, and to coins & paper money, postcards, stamps, patches, and similar eligible categories, and is only available on the US marketplace. To use this service, send envelopes using the USPS mail and set the shippingServiceCode field to US_eBayStandardEnvelope. See Using eBay standard envelope (eSE) service for details. See eBay standard envelope for additional details, restrictions, and an envelope size template. ' operationId: createFulfillmentPolicy parameters: - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers. required: true schema: type: string requestBody: description: Request to create a seller account fulfillment policy. content: application/json: schema: description: Request to create a seller account fulfillment policy. $ref: '#/components/schemas/FulfillmentPolicyRequest' required: true responses: '201': description: Created headers: Location: schema: type: string description: The location response header contains the URL to the newly created fulfillment policy. The URL includes the eBay-assigned fulfillmentPolicyId, which you can use to reference the policy. content: application/json: schema: $ref: '#/components/schemas/SetFulfillmentPolicyResponse' x-response-codes: errors: '20200': domain: API_ACCOUNT category: BUSINESS description: Warning. {additionalInfo} '20201': domain: API_ACCOUNT category: BUSINESS description: '{fieldName} (Click and Collect Program) can not be enabled for this seller or marketplace.' '400': description: Bad Request x-response-codes: errors: '20400': domain: API_ACCOUNT category: REQUEST description: Invalid request. {additionalInfo} '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. {additionalInfo} '20402': domain: API_ACCOUNT category: REQUEST description: Invalid input. {additionalInfo} '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account /fulfillment_policy/{fulfillmentPolicyId}: get: tags: - Fulfillment_policy description: This method retrieves the complete details of a fulfillment policy. Supply the ID of the policy you want to retrieve using the fulfillmentPolicyId path parameter. operationId: getFulfillmentPolicy parameters: - name: fulfillmentPolicyId in: path description: This path parameter specifies the ID of the fulfillment policy you want to retrieve.

This ID can be retrieved for a fulfillment policy by using the getFulfillmentPolicies method. required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/FulfillmentPolicy' '400': description: Bad Request x-response-codes: errors: '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '404': description: Not Found '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly put: tags: - Fulfillment_policy description: This method updates an existing fulfillment policy. Specify the policy you want to update using the fulfillment_policy_id path parameter. Supply a complete policy payload with the updates you want to make; this call overwrites the existing policy with the new details specified in the payload. operationId: updateFulfillmentPolicy parameters: - name: fulfillmentPolicyId in: path description: This path parameter specifies the ID of the fulfillment policy you want to update.

This ID can be retrieved for a specific fulfillment policy by using the getFulfillmentPolicies method. required: true schema: type: string - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers. required: true schema: type: string requestBody: description: Fulfillment policy request content: application/json: schema: description: Fulfillment policy request $ref: '#/components/schemas/FulfillmentPolicyRequest' required: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/SetFulfillmentPolicyResponse' x-response-codes: errors: '20200': domain: API_ACCOUNT category: BUSINESS description: Warning. {additionalInfo} '20201': domain: API_ACCOUNT category: BUSINESS description: '{fieldName} (Click and Collect Program) can not be enabled for this seller or marketplace.' '400': description: Bad Request x-response-codes: errors: '20400': domain: API_ACCOUNT category: REQUEST description: Invalid request. {additionalInfo} '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. {additionalInfo} '20402': domain: API_ACCOUNT category: REQUEST description: Invalid input. {additionalInfo} '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '404': description: Not Found '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account delete: tags: - Fulfillment_policy description: This method deletes a fulfillment policy. Supply the ID of the policy you want to delete in the fulfillmentPolicyId path parameter. operationId: deleteFulfillmentPolicy parameters: - name: fulfillmentPolicyId in: path description: This path parameter specifies the ID of the fulfillment policy to delete.

This ID can be retrieved for a fulfillment policy by using the getFulfillmentPolicies method. required: true schema: type: string responses: '204': description: No Content '400': description: Bad Request x-response-codes: errors: '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. {additionalInfo} '20402': domain: API_ACCOUNT category: REQUEST description: Invalid input. {additionalInfo} '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '404': description: Not Found '409': description: Conflict x-response-codes: errors: '20409': domain: API_ACCOUNT category: BUSINESS description: Invalid default policy type. {additionalInfo} '21409': domain: API_ACCOUNT category: BUSINESS description: Invalid default for category type. {additionalInfo} '22409': domain: API_ACCOUNT category: BUSINESS description: Invalid target default policy. {additionalInfo} '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account /fulfillment_policy: get: tags: - Fulfillment_policy 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.' operationId: getFulfillmentPolicies parameters: - name: marketplace_id in: query description: This query parameter specifies the eBay marketplace of the policies you want to retrieve. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:MarketplaceIdEnum required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/FulfillmentPolicyResponse' '400': description: Bad Request x-response-codes: errors: '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. {additionalInfo} '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly /fulfillment_policy/get_by_policy_name: get: tags: - Fulfillment_policy description: 'This method retrieves the details for a specific fulfillment policy. In the request, supply both the policy name and its associated marketplace_id as query parameters.

Marketplaces and locales

Get the correct policy for a marketplace that supports multiple locales using the Content-Language request header. For example, get a policy 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.' operationId: getFulfillmentPolicyByName parameters: - name: marketplace_id in: query description: This query parameter specifies the eBay marketplace of the policy you want to retrieve. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:MarketplaceIdEnum required: true schema: type: string - name: name in: query description: This query parameter specifies the seller-defined name of the fulfillment policy you want to retrieve.

This value can be retrieved for a fulfillment policy by using the getFulfillmentPolicies method. required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/FulfillmentPolicy' '400': description: Bad Request x-response-codes: errors: '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. {additionalInfo} '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly components: schemas: ErrorParameter: type: object properties: name: type: string description: Name of the parameter that caused the error. value: type: string description: The value of the parameter that caused the error. description: A complex type that indicates a parameter that caused an error and the value of the parameter which caused the error. Region: type: object 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' 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'). ShippingOption: type: object properties: costType: type: string description: This field defines whether the shipping cost model is FLAT_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).

This field is conditionally required if any shipping service options are specified (domestic and/or international). For implementation help, refer to eBay API documentation insuranceFee: description: This field has been deprecated.

Shipping insurance is offered only via a shipping carrier's shipping services and is no longer available via eBay shipping policies. $ref: '#/components/schemas/Amount' insuranceOffered: type: boolean description: This field has been deprecated.

Shipping insurance is offered only via a shipping carrier's shipping services and is no longer available via eBay shipping policies. optionType: type: string description: 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 packageHandlingCost: description: This container is used if the seller adds handling charges to domestic and/or international shipments.

Sellers can not specify any domestic handling charges if they offered 'free shipping' in the policy.

This container will only be returned if set for the policy. $ref: '#/components/schemas/Amount' rateTableId: type: string description: 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.

With domestic and international shipping rate tables, the seller can set different shipping costs based on shipping regions and shipping speed/level of service (one-day, expedited, standard, economy). There are also options to additional per-weight and handling charges.

Sellers need to be careful that shipping rate tables match the corresponding shipping service options. In other words, a domestic shipping rate table must not be specified in the same container where international shipping service options are being specified, and vice versa, and the shipping speed/level of service of the provided shipping service options should match the shipping speed/level of service options that are defined in the shipping rate tables.

For example, if the corresponding shipping rate table defines costs for one-day shipping services, there should be at least one one-day shipping service option specified under the shippingServices array.

This field is returned if set. shippingDiscountProfileId: type: string description: '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.

The seller can create and manage shipping discount profiles using (Get/Set) ShippingDiscountProfiles calls in the Trading API or through the Shipping Preferences in My eBay.

Note: Initially, shipping discount profiles in the Account API will not be available to all sellers.' shippingPromotionOffered: type: boolean description: '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.

The seller can create and manage shipping promotional discounts using (Get/Set) ShippingDiscountProfiles calls in the Trading API or through the Shipping Preferences in My eBay.

Note: Initially, shipping discount profiles in the Account API will not be available to all sellers.' shippingServices: type: array description: 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.)

Sellers can specify up to four domestic shipping services and up to five international shipping service options by using separate shippingService containers for each. If the seller is using the Global Shipping Program as an international option, only a total of four international shipping service options (including GSP) can be offered.

See How to set up shipping carrier and shipping service values.

To use the eBay standard envelope service (eSE), see Using eBay standard envelope (eSE) service.

This array is conditionally required if the seller is offering one or more domestic and/or international shipping service options. items: $ref: '#/components/schemas/ShippingService' 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). Amount: type: object properties: currency: type: string description: The base currency applied to the value field to establish a monetary amount.

The currency is represented as a 3-letter ISO 4217 currency code. For example, the code for the Canadian Dollar is CAD.

Default: The default currency of the eBay marketplace that hosts the listing. For implementation help, refer to eBay API documentation value: type: string description: The monetary amount in the specified currency. description: 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. FulfillmentPolicyRequest: type: object properties: categoryTypes: type: array description: 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. items: $ref: '#/components/schemas/CategoryType' 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.

Max length: 250' freightShipping: type: boolean description: 'This field is included and set to true if freight shipping is available for the item. Freight shipping can be used for large items over 150 lbs.

Default: false' globalShipping: type: boolean description: 'This field is included and set to true if the seller wants to use the Global Shipping Program for international shipments. See the Global Shipping Program help topic for more details and requirements on the Global Shipping Program.

It is possible for a seller to use a combination of the Global Shipping Program and other international shipping services.

If this value is set to false or if the field is omitted, the seller is responsible for manually specifying individual international shipping services (if the seller ships internationally)., as described in Setting up worldwide shipping.

Sellers can opt in or out of the Global Shipping Program through the Shipping preferences in My eBay.

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.

Default: false

' handlingTime: description: 'This container is used to specify the maximum number of business days the seller commits to for preparing and shipping an order after receiving a cleared payment for the order. This time does not include the transit time it takes the shipping carrier to deliver the order.

Valid values can vary by site and by category. To obtain the supported values for a site, call GeteBayDetails in the Trading API with DetailName set to DispatchTimeMaxDetails, then inspect the DispatchTimeMaxDetails container in the response for the time values supported by the site (typical handling times are 0, 1, 2, 3, 4, 5, 10, 15, and 20, but these can vary by site and may change over time.)

This field is conditionally required when the seller is offering one or more domestic or international shipping options, but it is not applicable when the item is only available through local pickup ("localPickup": "true"), or if it will be shipped through a freight shipping service ("freightShipping": "true").

Note: Top-Rated sellers must offer same-day or one-day handling for a listing in order for that listing to receive a Top Rated Plus seal on the View Item or Search Results pages. To offer zero-day or one-day handling, set field to ''0'' or ''1'', respectively.' $ref: '#/components/schemas/TimeDuration' localPickup: type: boolean description: 'This field should be included and set to true if local pickup is one of the fulfillment options available to the buyer. It is possible for the seller to make local pickup and some shipping service options available to the buyer.

With local pickup, the buyer and seller make arrangements for pickup time and location.

Default: false' 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: 'This field should be included and set to true if the seller offers the "Click and Collect" feature for an item.

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 true, the merchant must also do the following to enable the "Click and Collect" option on a listing:

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' 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 is required for domestic shipping service options and for international shipping service options (if the seller ships to international locations).

A separate ShippingServices object will be used to specify cost and other details for every available domestic and international shipping service option.

items: $ref: '#/components/schemas/ShippingOption' shipToLocations: description: This container consists of the regionIncluded and regionExcluded arrays, which are used to define the geographical regions/countries/states or provinces/domestic regions that a seller does and does not ship to for the associated fulfillment policy. Note that this container can be considered the master list of where the seller ships and does not ship, but there is also a shipToLocations container that can be set at the shipping service option level.

To retrieve the valid geographical shipping region values, two-digit country values, or special domestic regions for an eBay marketplace, call GeteBayDetails with DetailName value set to ExcludeShippingLocationDetails, then review the ExcludeShippingLocationDetails containers in the response for the strings you use in both the regionIncluded.regionName and in the regionExcluded.regionName fields.

For valid geographical region names, look for the ExcludeShippingLocationDetails containers in the GeteBayDetails response where the Region value is Worldwide, and the valid values will be shown in the corresponding Location fields.

For valid two-digit country codes, look for ExcludeShippingLocationDetails in the GeteBayDetails response where the Region value is one of the defined geographical regions, and the valid values will be shown in the corresponding Location fields. Alternatively, you can find the two-digit country code values in the CountryCodeEnum type definition. For valid domestic region values, look for ExcludeShippingLocationDetails in the GeteBayDetails response where the Region value is either Domestic Location or Additional Locations, and the valid values will be shown in the corresponding Location fields.

The STATE_OR_PROVINCE region type is only applicable to the US and Canada, and valid values for US states are the same two-digit abbreviations used by the United States Postal Service, and valid values for Canadian provinces and territories are the same two-digit abbreviations used by the Canada Post. $ref: '#/components/schemas/RegionSet' description: This root container defines a seller's fulfillment policy for a specific marketplace and category group. This type is used when creating or updating a fulfillment business policy. FulfillmentPolicy: type: object 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: $ref: '#/components/schemas/CategoryType' 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: description: Specifies the maximum number of business days the seller commits to for preparing and shipping an order after receiving a cleared payment for the order. This time does not include the transit time it takes the shipping carrier to deliver the order.

If only local pickup or freight shipping is available for the item, this container may not get returned.

$ref: '#/components/schemas/TimeDuration' 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. 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: $ref: '#/components/schemas/ShippingOption' shipToLocations: description: This container consists of the regionIncluded and regionExcluded containers, which define the geographical regions/countries/states or provinces/domestic regions where the seller does and doesn't ship to with this fulfillment policy. $ref: '#/components/schemas/RegionSet' description: This type is used by the fulfillmentPolicy response container, a container which defines a seller's fulfillment policy for a specific marketplace. RegionSet: type: object 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: $ref: '#/components/schemas/Region' 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: $ref: '#/components/schemas/Region' description: This type consists of the regionIncluded and regionExcluded arrays, which indicate the areas to where the seller does and doesn't ship. SetFulfillmentPolicyResponse: type: object properties: categoryTypes: type: array description: This container indicates whether the fulfillment business policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings. items: $ref: '#/components/schemas/CategoryType' 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 a fulfillment business policy. This ID is generated when the policy is created. globalShipping: type: boolean description: 'If returned as true, the eBay 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: description: Specifies the maximum number of business days the seller commits to for preparing and shipping an order after receiving a cleared payment for the order. This time does not include the transit time it takes the shipping carrier to deliver the order.

If only local pickup or freight shipping is available for the item, this container may not get returned.

$ref: '#/components/schemas/TimeDuration' 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 business policy applies. For implementation help, refer to eBay API documentation name: type: string description: 'A seller-defined name for this fulfillment business 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. 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: $ref: '#/components/schemas/ShippingOption' shipToLocations: description: This container consists of the regionIncluded and regionExcluded containers, which define the geographical regions/countries/states or provinces/domestic regions where the seller does and doesn't ship to with this fulfillment policy. $ref: '#/components/schemas/RegionSet' warnings: type: array description: An array of one or more errors or warnings that were generated during the processing of the request. If there were no issues with the request, this array will return empty. items: $ref: '#/components/schemas/Error' description: Complex type that that gets populated with a response containing a fulfillment policy. Error: type: object properties: category: type: string description: 'The category type for this error or warning. It is a string that can have one of three values:' domain: type: string description: Name of the domain ,or primary system, of the service or application where the error occurred. errorId: type: integer description: A positive integer that uniquely identifies the specific error condition that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms. format: int32 inputRefIds: type: array description: Identifies specific request elements associated with the error, if any. inputRefId's response is format specific. For JSON, use JSONPath notation. items: type: string longMessage: type: string description: A more detailed explanation of the error than given in the message error field. message: type: string description: Information on how to correct the problem, in the end user's terms and language where applicable. Its value is at most 50 characters long. If applicable, the value is localized in the end user's requested locale. outputRefIds: type: array description: Identifies specific response elements associated with the error, if any. Path format is the same as inputRefId. items: type: string parameters: type: array description: This optional list of name/value pairs that contain context-specific ErrorParameter objects, with each item in the list being a parameter (or input field name) that caused an error condition. Each ErrorParameter object consists of two fields, a name and a value. items: $ref: '#/components/schemas/ErrorParameter' subdomain: type: string description: If present, indicates the subsystem in which the error occurred. description: A container that defines the elements of error and warning messages. TimeDuration: type: object 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 description: An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field. format: int32 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. ShippingService: type: object properties: additionalShippingCost: description: This container is used by the seller to cover the use case when a single buyer purchases multiple quantities of the same line item. This cost cannot exceed the corresponding shippingCost value. A seller will generally set this field when he/she wants to pass on a shipping discount to the buyer if that buyer purchases multiple quantities of a line item.

The seller can ship multiple quantities of the line item in the same package and pass on the shipping savings to the buyer.

If this field is not set, and a buyer purchases multiple quantities of an item, the seller can technically charge the same cost set in the shippingCost container for each individual item, but in general, it behooves both the seller and the buyer (and saves both parties money) if they discuss combined shipping.

This field is not applicable to auction listings or single-quantity, fixed-price listings.

This container is returned if set. $ref: '#/components/schemas/Amount' buyerResponsibleForPickup: type: boolean description: 'This field should be included and set to 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.

This field is only applicable to motor vehicle listings. In the majority of motor vehicle listings, the seller does make the buyer responsible for pickup or shipment of the vehicle.

This field is returned if set.

Default: false' buyerResponsibleForShipping: type: boolean description: 'This field should be included and set to 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.

This field is only applicable to motor vehicle listings. In the majority of motor vehicle listings, the seller does make the buyer responsible for pickup or shipment of the vehicle.

This field is returned if set.

Default: false' freeShipping: type: boolean description: This field is included and set to true if the seller offers a free shipping option to the buyer.

This field can only be included and set to 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).

The first specified shipping service option has a sortOrder value of 1 or if the sortOrderId field is not used, it is the shipping service option that's specified first in the shippingServices container.

This container is returned if set. shippingCarrierCode: type: string description: This field sets/indicates the shipping carrier, such as USPS, FedEx, or UPS. Although this field uses the string type, the seller must pass in a pre-defined enumeration value here.

For a full list of shipping carrier enum values for a specified eBay marketplace, the GeteBayDetails call of the Trading API can be used, and the DetailName field's value should be set to ShippingCarrierDetails. The enum values for each shipping carriers can be found in each ShippingCarrierDetails.ShippingCarrier field in the response payload.

This field is actually optional, as the shipping carrier is also tied into the shippingServiceCode enum value, and that field is required for every specified shipping service option.

This field is returned if set. shippingCost: description: This container is used to set the shipping cost to ship one item using the corresponding shipping service option. This container is conditionally required if the seller is using flat-rate shipping and is not using a domestic or international shipping rate table.

This container is not necessary for calculated shipping, since eBay will calculate the shipping cost and display it in the View Item page based off of the potential buyer's ship-to location.

This value is automatically set to 0.0 for the first specified domestic shipping service option and if the corresponding freeShipping field is set to true.

This container is returned if set for the policy. $ref: '#/components/schemas/Amount' shippingServiceCode: type: string description: This field sets/indicates the domestic or international shipping service option, such as USPSPriority, FedEx2Day, or UPS3rdDay. Although this field uses the string type, the seller must pass in a pre-defined enumeration value here.

For a full list of shipping service option enum values for a specified eBay marketplace, the GeteBayDetails call of the Trading API can be used, and the DetailName field's value should be set to ShippingServiceDetails.

The enum values for each shipping service option can be found in each ShippingServiceDetails.ShippingService field in the response payload. The seller must make sure that the shipping service option is still valid, which is indicated by a 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.

The InternationalService boolean field is not returned at all for domestic shipping service options.

This field is required for every specified shipping service option.

This field is returned if set. shipToLocations: description: This container is used to set the ship-to locations applicable to the corresponding shipping service option. Although the regionExcluded container is defined for RegionSet type and could technically be used here, it is recommened that only the regionIncluded container be used at the shipping service level. The excluded shipping regions (if any) can instead be set up in the top-level regionExcluded container.

The regionIncluded and regionExcluded containers define the geographical regions/countries/states or provinces/domestic regions where the seller does and doesn't ship to with this fulfillment policy.

To retrieve the valid geographical shipping region values, two-digit country values, or special domestic regions for an eBay marketplace, call GeteBayDetails with DetailName value set to ExcludeShippingLocationDetails, then review the ExcludeShippingLocationDetails containers in the response for the strings you use in the regionIncluded.regionName field. The STATE_OR_PROVINCE region type is only applicable to the US and Canada, and valid values for US states are the same two-digit abbreviations used by the United States Postal Service, and valid values for Canadian provinces and territories are the same two-digit abbreviations used by the Canada Post. $ref: '#/components/schemas/RegionSet' sortOrder: type: integer description: '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.

Sellers can specify up to four domestic shipping services (in four separate shippingService containers), so valid values are 1, 2, 3, and 4. A shipping service option with a sortOrder value of 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.

Sellers can specify up to five international shipping services (in five separate shippingService containers), so valid values for international shipping services are 1, 2, 3, 4, and 5. Similarly to domestic shipping service options, the sortOrder value of a international shipping service option controls the placement of that shipping service option in the View Item and Checkout pages.

If the sortOrder field is not supplied, the order of domestic and international shipping service options is determined by the order in which they are listed in the API call.

Min: 1. Max: 4 (for domestic shipping service) or 5 (for international shipping service).' format: int32 surcharge: description: Note: DO NOT USE THIS FIELD. Shipping surcharges for domestic shipping service options can no longer be set with fulfillment business policies, except through shipping rate tables.

To do this, a seller would set up a surcharge-based shipping rate table and specify the surcharge in that table. Then, the seller would need to associate this shipping rate table to the fulfillment business policy by specifying the unique ID of the shipping rate table through the shippingOptions.rateTableId field.
Shipping surcharges cannot be applied at all to international shipping service options. $ref: '#/components/schemas/Amount' description: This type is used by the shippingServices array, an array that provides details about every domestic and international shipping service option that is defined for the policy. FulfillmentPolicyResponse: type: object 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: $ref: '#/components/schemas/FulfillmentPolicy' href: type: string description: This field is for future use. limit: type: integer description: This field is for future use. format: int32 next: type: string description: This field is for future use. offset: type: integer description: This field is for future use. format: int32 prev: type: string description: This field is for future use. total: type: integer description: The total number of fulfillment policies retrieved in the result set.

If no fulfillment policies are defined for the specified marketplace, this field is returned with a value of 0. format: int32 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.' CategoryType: type: object 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: 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. securitySchemes: api_auth: type: oauth2 description: The security definitions for this API. Please check individual operations for applicable scopes. flows: authorizationCode: authorizationUrl: https://auth.ebay.com/oauth2/authorize tokenUrl: https://api.ebay.com/identity/v1/oauth2/token scopes: https://api.ebay.com/oauth/api_scope/sell.account.readonly: View your account settings https://api.ebay.com/oauth/api_scope/sell.account: View and manage your account settings