Show Menu Validation

Provider Enablement / Developer Endpoints

Show a Menu Validation

When you create a menu validation, you will get back a URL in the response body that you can use to see the results of your validation.

Request Endpoint

GET /api/v15/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 your 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.