Edit Collection
Method#
/catalogs/collection-edit/{{collection-id}}#
Header#
| Key | Value |
|---|---|
| Client-Token | ACCOUNT SECURITY TOKEN |
Concept#
Using this method, you will be able to edit a product collection in your catalog.
Attributes#
Required#
| Attributes | Type | Description |
|---|---|---|
| name | string | New collection name |
Request Body#
Response#
200#
| Attributes | Type | Description |
|---|---|---|
| success | boolean | true if successful, false in case of failure |
| collectionId | string | Collection ID |
Example
405#
In this case, ensure that you are sending the method specification correctly, i.e., check if you sent the POST or GET as specified at the beginning of this topic.
415#
If you receive a 415 error, make sure to add the "Content-Type" of the object you are sending in the request headers, in most cases, it should be "application/json".