Parameters

collection
dictionary
title
string
description
string
scope_type
number
condtion_type
number
manual_ids
array
medium
array
start_at
string
end_at
string
active
boolean
PUT/
curl https://api.tradly.app/ \
  -H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -X PUT \
  -d '{
  "collection": {
    "title": "collection 3",
    "description": "supply",
    "scope_type": 4,
    "condtion_type": 2,
    "manual_ids": [
      52
    ],
    "medium": [
      1
    ],
    "start_at": "2020-12-10T19:49:13Z",
    "end_at": "2020-12-27T19:49:15Z",
    "active": true
  }
}'
RESPONSE
{
  "status": true,
  "data": {
    "collection": {
      "id": 1
    }
  }
}