Skip to main content

Update a product collection

PATCH 

/collections/:id

Renames the collection and can move it: send name and, to nest it, parent_id. Leaving parent_id out keeps the parent; null makes it a top-level collection. Moving it under itself or one of its descendants, or deeper than 5 levels, answers 400 VALIDATION_FAILED. An id of another merchant answers 404 NOT_FOUND. Concurrent updates: the last write wins.

Request​

Responses​

The collection