action api_get_custom_policies { label: "getCustomPolicies" description: "This method retrieves the list of custom policies specified by the policy_types query 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/" encoding: json input: { type: "object" properties: { "X-EBAY-C-MARKETPLACE-ID": { type: "string" } policy_types: { type: "string" } } required: ["X-EBAY-C-MARKETPLACE-ID"] additionalProperties: false } output: { type: "object" properties: { customPolicies: { type: "array" description: "This array contains the custom policies that match the input criteria." items: { type: "object" description: "The response payload for requests that return a list of custom policies." properties: { customPolicyId: { type: "string" description: "The unique custom policy identifier for the policy being returned.

Note: This value is automatically assigned by the system when the policy is created." } 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 being returned.

Two Custom Policy types are supported: For implementation help, refer to eBay API documentation" } } } } href: { type: "string" description: "This field is for future use." } limit: { type: "integer" format: "int32" description: "This field is for future use." } next: { type: "string" description: "This field is for future use." } offset: { type: "integer" format: "int32" description: "This field is for future use." } prev: { type: "string" description: "This field is for future use." } total: { type: "integer" format: "int32" description: "This field is for future use." } } } }