Skip to content

Commit f9ff6f0

Browse files
Added default value for webhooks status
1 parent d9ca404 commit f9ff6f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/includes/v2/_webhooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This section lists all API that can be used to create, edit or otherwise manipul
88
| -------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
99
| `id` | integer | The webhook ID (post ID) <i class="label label-info">read-only</i> |
1010
| `name` | string | A friendly name for the webhook, defaults to "Webhook created on &lt;date&gt;" |
11-
| `status` | string | Webhook status, options are `active` (delivers payload), `paused` (does not deliver), or `disabled` (does not deliver due delivery failures) |
11+
| `status` | string | Webhook status, options are `active` (delivers payload), `paused` (does not deliver), or `disabled` (does not deliver due delivery failures). Default is `active` |
1212
| `topic` | string | Webhook topic, e.g. `coupon.updated`. [See the complete list](#topics) |
1313
| `resource` | string | Webhook resource, e.g. `coupon` <i class="label label-info">read-only</i> |
1414
| `event` | string | Webhook event, e.g. `updated` <i class="label label-info">read-only</i> |

source/includes/v3/_webhooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This section lists all API that can be used to create, edit or otherwise manipul
88
| -------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
99
| `id` | integer | The webhook ID (post ID) <i class="label label-info">read-only</i> |
1010
| `name` | string | A friendly name for the webhook, defaults to "Webhook created on &lt;date&gt;" |
11-
| `status` | string | Webhook status, options are `active` (delivers payload), `paused` (does not deliver), or `disabled` (does not deliver due delivery failures) |
11+
| `status` | string | Webhook status, options are `active` (delivers payload), `paused` (does not deliver), or `disabled` (does not deliver due delivery failures). Default is `active` |
1212
| `topic` | string | Webhook topic, e.g. `coupon.updated`. [See the complete list](#topics) |
1313
| `resource` | string | Webhook resource, e.g. `coupon` <i class="label label-info">read-only</i> |
1414
| `event` | string | Webhook event, e.g. `updated` <i class="label label-info">read-only</i> |

0 commit comments

Comments
 (0)