{ "opencollection": "1.0.0", "info": { "name": "eBay Account Advertising_eligibility Listing_violation API", "version": "v1.9.2" }, "items": [ { "info": { "name": "Listing_violation", "type": "folder" }, "items": [ { "info": { "name": "getListingViolations", "type": "http" }, "http": { "method": "GET", "url": "https://api.ebay.com{basePath}/listing_violation", "headers": [ { "name": "X-EBAY-C-MARKETPLACE-ID", "value": "" } ], "params": [ { "name": "compliance_type", "value": "", "type": "query", "description": "This query parameter specifies the compliance type of the listing violations being retrieved. Only one compliance type value can be specified.

See ComplianceTypeEnum for more information on supported compliance types." }, { "name": "offset", "value": "", "type": "query", "description": "The integer value input into this field controls the first listing violation in the result set that will be displayed at the top of the response. The offset and limit query parameters are used to control the pagination of the output. For example, if offset is set to 10 and limit is set to 10, the call retrieves listing violations 11 thru 20 from the resulting set of violations.

Note: This feature employs a zero-based index, where the first item in the list has an offset of 0. If the listing_id parameter is included in the request, this parameter will be ignored.

Default: 0 {zero)" }, { "name": "listing_id", "value": "", "type": "query", "description": "Note: This query parameter is not yet supported for the Compliance API." }, { "name": "limit", "value": "", "type": "query", "description": "This query parameter is used if the user wants to set a limit on the number of listing violations that are returned on one page of the result set. This parameter is used in conjunction with the offset parameter to control the pagination of the output.

For example, if offset is set to 10 and limit is set to 10, the call retrieves listing violations 11 thru 20 from the collection of listing violations that match the value set in the compliance_type parameter.

Note: This feature employs a zero-based index, where the first item in the list has an offset of 0. If the listing_id parameter is included in the request, this parameter will be ignored.

Default: 100
Maximum: 200" }, { "name": "filter", "value": "", "type": "query", "description": "This filter allows a user to retrieve only listings that are currently out of compliance, or only listings that are at risk of becoming out of compliance.

Although other filters may be added in the future, complianceState is the only supported filter type at this time. See the ComplianceStateEnum type for a list of supported values.

Below is an example of how to set up this compliance state filter. Notice that the filter type and filter value are separated with a colon (:) character, and the filter value is wrapped with curly brackets.

filter=complianceState:{OUT_OF_COMPLIANCE}" } ], "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 call returns specific listing violations for the supported listing compliance types. Only one compliance type can be passed in per call, and the response will include all the listing violations for this compliance type, and listing violations are grouped together by eBay listing ID. See ComplianceTypeEnum for more information on the supported listing compliance types. This method also has pagination control.

<" } ] } ], "bundled": true }