This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a draft version of the specified catalog. Then you can update and publish the draft catalog by using the endpoints in the Draft Catalogs category.
Note: You can't create more than one draft catalog per location.
You can only call this method when authenticated as a Wix app or Wix user identity.
ID of the catalog to create a draft version for.
Created draft catalog.
curl -X POST \
'https://www.wixapis.com/restaurants/v3/draft-catalogs/4d088f16-d341-44b2-ac69-ae8f3e8897fd/create' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
{
"catalog": {
"id": "0e5a71f5-6eca-4815-a249-0151a43bab93",
"locationId": "b4c9914f-c248-479f-ae9a-acaad4dc5f96",
"archived": false
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.