action api_get_custom_policy {
label: "getCustomPolicy"
description: "This method retrieves the custom policy specified by the custom_policy_id path parameter for the selected eBay marketplace.
Note: The following eBay marketplaces support Custom Policies:
For details on header values, see HTTP request headers."
provider: api
method: GET
path: "/custom_policy/{custom_policy_id}"
encoding: json
input: {
type: "object"
properties: {
"X-EBAY-C-MARKETPLACE-ID": {
type: "string"
}
custom_policy_id: {
type: "string"
}
}
required: ["X-EBAY-C-MARKETPLACE-ID", "custom_policy_id"]
additionalProperties: false
}
output: {
type: "object"
description: "This container defines a seller's custom policy identified by policy ID for the selected eBay marketplace. A successful call returns the requested policy information."
properties: {
customPolicyId: {
type: "string"
description: "The unique custom policy identifier for a policy.
Note: This value is automatically assigned by the system when the policy is created."
}
description: {
type: "string"
description: "Details of the seller's specific policy and terms associated with the policy. Buyers access this information from the View Item page for items to which the policy has been applied.
Max length: 15,000"
}
label: {
type: "string"
description: "Customer-facing label shown on View Item pages for items to which the policy applies. This seller-defined string is displayed as a system-generated hyperlink pointing to detailed policy information.
Max length: 65"
}
name: {
type: "string"
description: "The seller-defined name for the custom policy. Names must be unique for policies assigned to the same seller, policy type, and eBay marketplace.
Note: This field is visible only to the seller.
Max length: 65"
}
policyType: {
type: "string"
description: "Specifies the type of Custom Policy.
Two Custom Policy types are supported: