{
"opencollection": "1.0.0",
"info": {
"name": "eBay Account Advertising_eligibility Fulfillment_policy API",
"version": "v1.9.2"
},
"items": [
{
"info": {
"name": "Fulfillment_policy",
"type": "folder"
},
"items": [
{
"info": {
"name": "createFulfillmentPolicy",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.ebay.com{basePath}/fulfillment_policy/",
"headers": [
{
"name": "Content-Type",
"value": ""
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
"accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "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"
},
{
"info": {
"name": "getFulfillmentPolicy",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.ebay.com{basePath}/fulfillment_policy/:fulfillmentPolicyId",
"params": [
{
"name": "fulfillmentPolicyId",
"value": "",
"type": "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."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
"accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "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."
},
{
"info": {
"name": "updateFulfillmentPolicy",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.ebay.com{basePath}/fulfillment_policy/:fulfillmentPolicyId",
"headers": [
{
"name": "Content-Type",
"value": ""
}
],
"params": [
{
"name": "fulfillmentPolicyId",
"value": "",
"type": "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."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
"accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "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."
},
{
"info": {
"name": "deleteFulfillmentPolicy",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.ebay.com{basePath}/fulfillment_policy/:fulfillmentPolicyId",
"params": [
{
"name": "fulfillmentPolicyId",
"value": "",
"type": "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."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
"accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This method deletes a fulfillment policy. Supply the ID of the policy you want to delete in the fulfillmentPolicyId path parameter."
},
{
"info": {
"name": "getFulfillmentPolicies",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.ebay.com{basePath}/fulfillment_policy",
"params": [
{
"name": "marketplace_id",
"value": "",
"type": "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"
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
"accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "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, ta"
},
{
"info": {
"name": "getFulfillmentPolicyByName",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.ebay.com{basePath}/fulfillment_policy/get_by_policy_name",
"params": [
{
"name": "marketplace_id",
"value": "",
"type": "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"
},
{
"name": "name",
"value": "",
"type": "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."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
"accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "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 Cont"
}
]
}
],
"bundled": true
}