Create Menu Validation
This endpoint accepts a menu in the Show Menu format, and enqueues the menu for validation. The response body includes a URL which can be polled to view the results. The processing is swift for reasonably-sized menus.
This endpoint is only available in the Sandbox environment, and not Production, as it is intended to be used primarily while developing a new integration.
Requests to this endpoint are limited to 5 per minute - this limit may change in the future.
Request Endpoint
POST https://api.sandbox-levelup.com/v15/merchant_management/menu_validationsAuthorization
An access token is required for this request. Contact your partner Solutions or Operations Engineer to get one.
Authorization: token YOUR-ACCESS-TOKEN
Request Body
The request body should be a JSON object in Show Menu format.
Example Response Body
{
"results_url": "https://api.sandbox-levelup.com/v15/merchant_management/menu_validations/10",
"state":"validating"
}
Response Parameters
| Name | Type | Description |
|---|---|---|
results_url |
String | Poll this URL with GET requests. While the menu is validating, it returns a validating state parameter. When validation is complete, it returns a state of either validated or validation_failed. |
state |
String | This always equals validating, as the validation process happens in the background after the request is sent. |