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
- 200
- 400
- 401
- 403
- 404
- 409
The collection
Error envelope
Error envelope
Error envelope
Error envelope
Error envelope