CatalogCollections
Update collection
Replaces the collection's data, rules, products and sort order; responds 204 with no body.
Path Parameters
collectionId*string
Identifier of the 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/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.ecomiq.pe/api/v1/catalog/collections/7204558912004326958" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "name": "Nueva temporada", "slug": "nueva-temporada", "description": "Polo de algodón pima para uso diario.", "template": "Nueva temporada", "status": "draft", "image": { "id": "7204558912004326958", "url": "https://mi-tienda.ecomiq.app/collections/nueva-temporada" }, "type": "static", "sortOrder": "manual" }'Empty