Show Menu Validation
When you create a menu validation, you get back a URL in the response body that may be used to see the results of the validation.
Request Endpoint
GET https://api.sandbox-levelup.com/v15/merchant_management/menu_validations/:id
Authorization
You should include an Authorization header with the same token that was used to create the menu validation:
Authorization: token 1-foobar
Example Response Body
{
"errors": [
{
"categories": [
"items name can't be blank item_provider_id=P:643565 category_provider_id=12157"
]
}
],
"state":"validation_failed"
}
Response Parameters
| Name | Type | Description |
|---|---|---|
errors |
JSON Array | A collection of validation errors on the submitted menu data. |
state |
String | State can be one of validating, validated, or validation_failed, depending on whether the validation is in-progress or complete, and whether there were errors or not. |