GET/seller_standards_profile/{program}/{cycle}
This call retrieves a single standards profile for the associated seller.
A standards profile is a set of eBay seller metrics and the seller's associated compliance values (either TOP_RATED
, ABOVE_STANDARD
, or BELOW_STANDARD
).
A seller can have multiple profiles distinguished by two criteria, a "program" and a "cycle." A profile's program is one of three regions where the seller may have done business, or PROGRAM_GLOBAL
to indicate all marketplaces where the seller has done business. The cycle value specifies whether the standards compliance values were determined at the last official eBay evaluation (CURRENT
) or at the time of the request (PROJECTED
). Both cycle and a program values are required URI parameters for this method.
Input
Resource URI
This method is supported in Sandbox environment. To access the endpoint, just replace the api.ebay.com
root URI with api.sandbox.ebay.com
URI parameters
Parameter | Type | Description |
---|---|---|
program | string | This path parameter is used to specify the seller standards program for which metrics and metadata will be retrieved. See ProgramEnum for a list of supported values. Occurrence: Required |
cycle | string | This path parameter is used to specify the cycle for which metrics and metadata will be retrieved. See CycleTypeEnum for a list of supported values. Occurrence: Required |
HTTP request headers
All requests made to eBay REST operations require you to provide the Authorization
HTTP header for authentication authorization.
All other standard RESTful request headers are optional. For more information on standard RESTful request headers, see the HTTP request headers- opens rest request components page table.
OAuth scope
This request requires an access token created with the authorization code grant flow, using one or more scopes from the following list (please check your Application Keys page for a list of OAuth scopes available to your application):
https://api.ebay.com/oauth/api_scope/sell.analytics.readonly
See OAuth access tokens for more information.
Request payload
This call has no payload.
Request fields
This call has no field definitions.
Output
HTTP response headers
This call has no response headers.
Response payload
Response fields
Output container/field | Type | Description |
---|---|---|
cycle | Cycle | A complex type that specifies the profile's evaluation cycle ( Occurrence: Conditional |
cycle.cycleType | CycleTypeEnum | The cycle type, either Occurrence: Conditional |
cycle.evaluationDate | string | The date and time at which the standard compliance values were determined for the profile. Occurrence: Conditional |
cycle.evaluationMonth | string | The month in which the currently effective seller level was computed. Occurrence: Conditional |
defaultProgram | boolean | If set to Occurrence: Conditional |
evaluationReason | string | Specifies how the overall seller level was calculated. Occurrence: Conditional |
metrics | array of Metric | A list of the metrics upon which a seller's profile is evaluated. Occurrence: Conditional |
metrics.level | StandardsLevelEnum | The seller level for this metric, which indicates how well the seller is doing in meeting eBay's standards for this metric. Possible values are TOP_RATED, ABOVE_STANDARD, and BELOW_STANDARD. Occurrence: Conditional |
metrics.lookbackEndDate | string | The end date and time, in ISO 8601 format, when the seller was evaluated for this metric. Occurrence: Conditional |
metrics.lookbackStartDate | string | The start date and time, in ISO 8601 format, when the seller was evaluated for this metric. Occurrence: Conditional |
metrics.metricKey | string | An internal key string specifying a metric. These are short, abbreviated, strings such as Occurrence: Conditional |
metrics.name | string | A descriptive name for the metric. For example, "Transaction defect rate." This value is localized according to the value of the X-EBAY-C-MARKETPLACE-ID request header. Occurrence: Conditional |
metrics.thresholdLowerBound | any | Specifies the lowest number value can be and still qualify for the currently assigned seller level. Occurrence: Conditional |
metrics.thresholdMetaData | string | An expression that indicates the inclusive and exclusive characteristics of the upper and lower threshold boundaries. Occurrence: Conditional |
metrics.thresholdUpperBound | any | Specifies the highest number value can be and still qualify for the currently assigned seller level. Occurrence: Conditional |
metrics.type | DataTypeEnum | Indicates the data type of the returned metric. Possible values are: AMOUNT, BOOLEAN, DATE, FRACTION, NUMBER, and STRING. Occurrence: Conditional |
metrics.value | any | The seller's calculated value, or score, for the metric. Occurrence: Conditional |
program | ProgramEnum | Indicates the program used to generate the profile data. Values can be Occurrence: Conditional |
standardsLevel | StandardsLevelEnum | The overall standards level of the seller, one of Occurrence: Conditional |
HTTP status codes
This call can return one of the following HTTP status codes. For an overview of the status codes, see HTTP status codes in Using eBay RESTful APIs.
Status | Meaning |
---|---|
200 | Success |
204 | No content |
400 | Bad Request |
404 | Resource not found |
500 | Internal Server Error |
Error codes
For more on errors, plus the codes of other common errors, see Handling errors.
Code | Domain | Category | Meaning |
---|---|---|---|
53100 | API_ANALYTICS | REQUEST | Program Id cannot be empty. |
53105 | API_ANALYTICS | REQUEST | Invalid program Id {programId} |
53110 | API_ANALYTICS | REQUEST | Cycle Id cannot be empty. |
53115 | API_ANALYTICS | REQUEST | Invalid cycle Id {cycleId} |
53120 | API_ANALYTICS | APPLICATION | Internal server error. Wait a few minutes and try the call again. If error persists contact the eBay Developer Program. |
Warnings
This call has no warnings.
Samples
New to making API calls? Please see Making a Call.
Note: Identifiers, such as order IDs or user IDs, and personal data in these samples might be anonymized or may no longer be active on eBay. If necessary, substitute current, relevant eBay data in your requests.
Sample 1: Get a specific seller profile
This operation retrieves a specific seller profile.
Input
There is no call payload for this call. Supply the program and cycle for the profile you want to retrieve using path parameters in the operation's URI.
GEThttps://api.ebay.com/sell/analytics/v1/seller_standards_profile/PROGRAM_US/CURRENT
Output
A successful call returns the specified seller profile.