This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Publishes a draft catalog to the live site by replacing the existing catalog.
You can only call this method when authenticated as a Wix app or Wix user identity.
ID of the draft catalog to publish.
Published catalog.
curl -X POST \
'https://www.wixapis.com/restaurants/v3/draft-catalogs/4d088f16-d341-44b2-ac69-ae8f3e8897fd/publish' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
{
"catalog": {
"id": "0e5a71f5-6eca-4815-a249-0151a43bab93",
"locationId": "b4c9914f-c248-479f-ae9a-acaad4dc5f96",
"archived": false,
"draftPublishedDate": "2022-01-17T13:31:32.563Z"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.