POST

Create Collection


Creates a new collection.

Authentication

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

Permissions
Manage Stores - all permissions
Manage Products
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/stores/v1/collections

Body Params
collectionCollectionRequired

Collection info.

Response Object
collectionCollection

Collection.

Create Collection Example 1
Request
cURL
curl -X POST \ 'https://www.wixapis.com/stores/v1/collections' \ --data-binary '{ "collection": { "name": "My New Collection" } }' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "collection": { "id": "81093e7d-a251-4a22-a238-df3aa816f3dc", "name": "My New Collection", "slug": "my-new-collection", "visible": true, "media": { "items": [] } } }
Errors

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

Did this help?