CatalogCollections
Create collection
Creates a static or dynamic product collection.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://api.ecomiq.pe/api/v1/catalog/collections" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "name": "Nueva temporada", "slug": "nueva-temporada", "description": "Lo último de la temporada, elegido por nuestro equipo.", "status": "active", "type": "static", "sortOrder": "manual" }'{ "id": "7204558912004325330"}