POST

Create Draft Catalog


Developer Preview

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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Restaurant Catalogs
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/restaurants/v3/draft-catalogs/{catalogId}/create

Path Params
catalogIdstringRequired

ID of the catalog to create a draft version for.

Response Object
catalogCatalog

Created draft catalog.

Create Draft Catalog
Request
cURL
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>' \
Response
JSON
{ "catalog": { "id": "0e5a71f5-6eca-4815-a249-0151a43bab93", "locationId": "b4c9914f-c248-479f-ae9a-acaad4dc5f96", "archived": false } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?