Skip to content

Commit 38ae340

Browse files
authored
Merge pull request AdobeDocs#216 from AdobeDocs/jh_update-events
Simplifying events/webhooks
2 parents 62fa329 + 5e37e55 commit 38ae340

File tree

2 files changed

+20
-41
lines changed

2 files changed

+20
-41
lines changed

src/pages/cloud/guides/rest/index.md

+18-39
Original file line numberDiff line numberDiff line change
@@ -65,47 +65,26 @@ Addtionally, because Adobe Commerce as a Cloud Service is preconfigured with ext
6565

6666
#### Events
6767

68-
* [Events](https://developer.adobe.com/commerce/extensibility/events/) - Adobe Commerce as a Cloud Service is currently limited to the following events:
69-
* observer.catalog_product_save_after
70-
* observer.catalog_product_save_commit_after
71-
* observer.catalog_product_delete_commit_after
72-
* observer.cataloginventory_stock_item_save_commit_after
73-
* observer.checkout_submit_all_after
74-
* observer.customer_login
75-
* observer.customer_register_success
76-
* observer.customer_save_after
77-
* observer.customer_save_commit_after
78-
* observer.customer_delete_commit_after
79-
* observer.customer_group_save_commit_after
80-
* observer.customer_group_delete_commit_after
81-
* observer.rma_save_after
82-
* observer.rma_save_commit_after
83-
* observer.sales_order_save_after
84-
* observer.sales_order_save_commit_after
85-
* observer.sales_order_shipment_save_after
86-
* observer.sales_order_shipment_track_save_after
87-
* observer.sales_order_creditmemo_save_after
88-
* observer.sales_order_status_history_save_after
89-
* plugin.sales.api.order_management.place
90-
* plugin.sales.api.order_repository.save
91-
* plugin.sales_rule.api.rule_repository.save
68+
* [Events](https://developer.adobe.com/commerce/extensibility/events/) - Adobe Commerce as a Cloud Service supports a different set of events than other versions.
69+
70+
To browse, search for, or request events, navigate to **System** > **Events** > **Event List** in the Admin.
71+
72+
The following REST endpoints are available for events:
73+
74+
* `POST /V1/eventing/eventSubscribe/:name` - Subscribes to the event.
75+
* `POST /V1/eventing/eventUnsubscribe/:name` - Unsubscribes from the event.
76+
* `GET /V1/eventing/getEventProviders` - Lists event providers.
77+
* `GET /V1/eventing/getEventSubscriptions` - Lists event subscriptions.
78+
* `PUT /V1/eventing/updateConfiguration` - Updates eventing configuration.
9279

9380
#### Webhooks
9481

9582
Registering webhooks works differently between platforms. Instead of using the `webhooks.xml` file, you can register webhooks in the Commerce Admin or by using the REST API.
9683

97-
Adobe Commerce as a Cloud Service is limited to the following webhooks:
98-
99-
* observer.sales_quote_add_item
100-
* observer.checkout_cart_product_add_before
101-
* observer.catalog_product_save_after
102-
* observer.catalog_product_save_before
103-
* observer.sales_order_place_before
104-
* plugin.customer.api.address_repository.save
105-
* plugin.sales.api.order_management.place
106-
* plugin.quote.api.guest_coupon_management.set
107-
* plugin.tax.api.tax_calculation.calculate_tax
108-
* plugin.quote.api.shipment_estimation.estimate_by_extended_address
109-
* plugin.gift_card_account.api.gift_card_account_management.check_gift_card
110-
* plugin.out_of_process_payment_methods.api.payment_method_filter.get_list
111-
* plugin.out_of_process_shipping_methods.api.shipping_rate_repository.get_rates
84+
To browse, search, or request webhooks, navigate to **System** > **Webhooks** > **Webhook List** in the Admin.
85+
86+
The following REST endpoints are available for webhooks:
87+
88+
* `GET /V1/webhooks/list` - Lists configured webhooks.
89+
* `POST /V1/webhooks/subscribe` - Subscribes to a webhook.
90+
* `POST /V1/webhooks/unsubscribe` - Unsubscribes from a webhook.

src/pages/reference/cloud/rest.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ The Adobe Commerce as a Cloud Service REST API contains the following endpoints.
168168
/V1/eav/attribute-sets/:attributeSetId | DELETE |
169169
/V1/eav/attribute-sets/:attributeSetId | PUT |
170170
/V1/eav/attribute-sets/list | GET |
171-
/V1/eventing/eventSubscribe:name | POST |
172-
/V1/eventing/eventUnsubscribe:name | POST |
171+
/V1/eventing/eventSubscribe/:name | POST |
172+
/V1/eventing/eventUnsubscribe/:name | POST |
173173
/V1/eventing/getEventProviders | GET |
174174
/V1/eventing/getEventSubscriptions | GET |
175175
/V1/eventing/updateConfiguration | PUT |

0 commit comments

Comments
 (0)