Collections
Update account-level collection
[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.
Edit the description of a given account-level collection and enable or disable the collection in the specified Applications.
put/v1/collections/{collectionId}
Request
- Base URLhttps://yourbaseurl.talon.one
- Auth
- API key in header Authorization
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
collectionIdinteger required
The ID of the collection. You can get it with the List collections in account endpoint.
Request body
Example request
{
"description": "My collection of SKUs",
"subscribedApplicationsIds": [
1,
2,
3
]
}Response
OK
Example response
{
"id": 6,
"created": "2020-06-10T09:05:27.993483Z",
"accountId": 3886,
"modified": "2021-09-12T10:12:42Z",
"description": "My collection of SKUs",
"subscribedApplicationsIds": [
1,
2,
3
],
"name": "My collection",
"modifiedBy": 48,
"createdBy": 134,
"applicationId": 1,
"campaignId": 7,
"payload": [
"KTL-WH-ET-1",
"KTL-BL-ET-1"
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.