Validate a supported value type as part of the Listing process.
Header | Data Type | Valid Values | Required | Description |
---|---|---|---|---|
Content-Type | string | application/json | YES | The format your data will be sent to our site. |
X-DevKey | string | string | YES | The devkey assigned to the developer. |
X-AccessToken | string | string | YES | The token acquired from a POST to Users/AccessToken. |
NOTE: Variables to place in the body of the request.
Parameter | Data Type | Valid Values | Description |
---|---|---|---|
ValidationType | integer | 1 - Zip Code 2 - Item Title 3 - Item Subtitle 4 - Item Description | The type of validation to perform |
ValidationValue | string | string | The value to be validated for the specified ValidationType |
If the Validation type is invalid, you will receive a 400 BadRequest
.
If the value is invalid, you will receive a 422 Unprocessable Entity
and error message.