channel object¶
A channel object contains the properties that define one channel of a connection.
When a connection is created, its applicable channel objects are created automatically.
Channel objects are managed by the /connections/{id}/channels endpoint.
channel properties¶
The following are the properties of a channel object.
id¶
| Property | id |
|---|---|
| Data type | integer |
| Description | Unique ID, assigned when the parent connection object is created |
| Note | In other contexts, "channel_id" refers to this property |
| Example | 12345 |
enabled_at¶
| Property | enabled_at |
|---|---|
| Data type | dateString |
| Description | Date when the channel was last enabled, or null if currently disabled |
| More info | |
| Example | "2020-08-19T14:57:20.000Z" |
type¶
| Property | type |
|---|---|
| Data type | string |
| Description | The channel type |
| Values |
|
Example channel object¶
{
"id": 17529,
"enabled_at": "2019-08-08T17:42:29.000Z",
"type": "sales_order"
}