Add and remove products to/from collection in bulk endpoints

feat: add and remove products to/from collection in bulk endpoints (#1032)
Add and remove products to/from collection in bulk endpointsfeatadd remove products collection bulk endpoints

Committed by kasperkristensen

commit message
feat: add and remove products to/from collection in bulk endpoints (#1032)

* adds bulk add/remove products to/from collection. Adds endpoint updateProducts on collections that uses these bulk operations
 
* fix integration tests and test description
 
* undo change to swap
 
* made requested changes
 
* added removeProducts endpoint
 
* made requested changes
 
* fix: set collection_id null
 
* updated collection_id to type string | undefined

Editor assessment

The subject states the API growth precisely: bulk add-and-remove product endpoints for collections. The squash bullets carry real design detail — the updateProducts endpoint, test fixes, the removeProducts addition after review, and the collection_id type decision — so the message documents decisions, not just edits. Feat is correct; no scope is present, but the subject names the entity. Fragmentary in form, substantive in content: a communicative, publishable feature message.

Browse categories

More feat examples · Back to search