You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `GET /rest/<store_view_code>/V1/eventing/eventProvider` endpoint returns a list of all event providers configured for the Commerce instance.
282
-
283
-
**Headers:**
279
+
The event provider management endpoints allow you to create, update, and delete event providers. The event provider must be created in the Adobe Developer Console before registering it in Adobe Commerce.
284
280
285
-
`Authorization: Bearer <administrator token>`
286
-
287
-
The administrator must be granted access to the `Magento_AdobeIoEventsClient::event_provider_list` resource.
288
-
289
-
**Example usage:**
290
-
291
-
The following cURL command retrieves information about all configured event providers:
The `GET /rest/<store_view_code>/V1/eventing/eventProvider/<provider_id>` endpoint returns the event provider with the specified ID. If the provider ID is not found, a 404 error is returned.
322
-
323
-
**Headers:**
324
-
325
-
`Authorization: Bearer <administrator token>`
326
-
327
-
The administrator must be granted access to the `Magento_AdobeIoEventsClient::event_provider_list` resource.
328
-
329
-
The following cURL command retrieves information about the configured event provider:
The `POST /rest/<store_view_code>/V1/eventing/eventProvider` endpoint register a new event provider in Adobe Commerce. This endpoint is used to register the event provider in Adobe Commerce instance. The event provider must be created in the Adobe Developer Console before registering it in Adobe Commerce.
283
+
The `POST /rest/<store_view_code>/V1/eventing/eventProvider` endpoint registers a new event provider in an Adobe Commerce instance. The event provider must be created in the Adobe Developer Console before it can be registered in Adobe Commerce.
352
284
353
285
**Headers:**
354
286
@@ -400,7 +332,7 @@ curl -i -X POST \
400
332
}
401
333
```
402
334
403
-
### Update event provider
335
+
### Update an event provider
404
336
405
337
The `PUT /rest/<store_view_code>/V1/eventing/eventProvider/<provider_id>` endpoint updates the event provider with the specified ID. The request body has the same format as the `POST` request except that `id` must be provided.
406
338
@@ -410,6 +342,17 @@ The `PUT /rest/<store_view_code>/V1/eventing/eventProvider/<provider_id>` endpoi
410
342
411
343
The administrator must be granted access to the `Magento_AdobeIoEventsClient::event_provider_edit` resource.
412
344
345
+
**Payload Parameters:**
346
+
347
+
Name | Format | Required | Description
348
+
--- |--------| --- | ---
349
+
`id` | integer | required | The ID assigned to the registered event provider.
350
+
`provider_id` | string | required | The event provider ID.
351
+
`instance_id` | string | required | The instance ID of event provider.
352
+
`label` | string | optional | A label of the event provider.
353
+
`description` | string | optional | A description of the event provider.
354
+
`workspace_configuration` | string | optional | The contents of the workspace configuration file downloaded from the Adobe Developer Console associated with the event provider.
355
+
413
356
**Example usage:**
414
357
415
358
The following cURL command updates an event provider:
@@ -446,7 +389,7 @@ curl -i -X PUT \
446
389
447
390
### Delete event provider
448
391
449
-
The `DELETE /rest/<store_view_code>/V1/eventing/eventProvider/<provider_id>` endpoint deletes the event provider with the specified ID. The event provider would be removed only from the Adobe Commerce instance. If needed the event provider must be removed from the Adobe Developer Console separately.
392
+
The `DELETE /rest/<store_view_code>/V1/eventing/eventProvider/<provider_id>` endpoint deletes the event provider with the specified IDfrom the Adobe Commerce instance. The event provider is not removed from the Adobe Developer Console.
450
393
451
394
**Headers:**
452
395
@@ -465,3 +408,73 @@ curl -i -X DELETE \
465
408
```
466
409
467
410
The response will return a 200 status code if the event provider was deleted successfully. If the provider ID is not found, an appropriate error is returned.
411
+
412
+
### Get list of all event providers
413
+
414
+
The `GET /rest/<store_view_code>/V1/eventing/eventProvider` endpoint returns a list of all event providers configured for the Commerce instance.
415
+
416
+
**Headers:**
417
+
418
+
`Authorization: Bearer <administrator token>`
419
+
420
+
The administrator must be granted access to the `Magento_AdobeIoEventsClient::event_provider_list` resource.
421
+
422
+
**Example usage:**
423
+
424
+
The following cURL command retrieves information about all configured event providers:
The `GET /rest/<store_view_code>/V1/eventing/eventProvider/<provider_id>` endpoint returns the event provider with the specified ID. If the provider ID is not found, a 404 error is returned.
455
+
456
+
**Headers:**
457
+
458
+
`Authorization: Bearer <administrator token>`
459
+
460
+
The administrator must be granted access to the `Magento_AdobeIoEventsClient::event_provider_list` resource.
461
+
462
+
The following cURL command retrieves information about the configured event provider:
Copy file name to clipboardExpand all lines: src/pages/events/configure-additional-event-providers.md
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,26 @@ keywords:
8
8
9
9
# Configure additional event providers in Adobe Commerce
10
10
11
-
This guide provides information on how to configure additional event providers in Adobe Commerce. You may need to connect your Adobe Commerce instance to other event providers besides the [default Commerce event provider](configure-commerce.md#create-an-event-provider) registered in system configuration.
11
+
You might need to connect your Adobe Commerce instance to other event providers besides the [default Commerce event provider](configure-commerce.md#create-an-event-provider) registered in the system configuration.
12
12
13
-
To link your event subscriptions to an additional event provider, this provider must be registered in Adobe Commerce instance. The additional events provider can be configured in the Adobe Commerce admin or [through the API](api.md#event-providers-management)
13
+
To link your event subscriptions to an additional event provider, the provider must be registered in the Adobe Commerce instance. You can configure the provider from the Adobe Commerce Admin or [through the API](api.md#event-providers-management).
14
14
15
-
## Configure event providers in the admin
15
+
## Configure event providers in the Admin
16
16
17
-
To manage event providers in the Adobe Commerce admin, go to **System** > **Events** > **Event Providers**. The Event Providers page lists all additional event providers configured in your Adobe Commerce instance.
17
+
To manage event providers in the Adobe Commerce Admin, go to **System** > **Events** > **Event Providers**. The Event Providers page lists all additional event providers configured in your Adobe Commerce instance.
To add a new event provider, click **Add New Provider**. Keep in mind that the event provider must be created in the Adobe I/O Events before you can add it to your Commerce instance. You can create the event provider the using [`aio` CLI tool](https://developer.adobe.com/events/docs/guides/cli/#provider-commands) or to use the [Adobe I/O Events API](https://developer.adobe.com/events/docs/api/#tag/Providers/operation/createProvider).
22
22
23
23

24
24
25
-
The required fields are `Provider ID` and `Instance ID`. The `Workspace Configuration` field is optional, if provided, it will be used to synchronize the event metadata registered with this provider, otherwise the creation of event metadata will be skipped. The `Workspace Configuration` must be provided from the workspace where the event provider was created. You can [download the workspace configuration from the Adobe Developer Console](./project-setup.md#download-the-workspace-configuration-file).
25
+
`Provider ID` and `Instance ID` are required fields, while the `Workspace Configuration` field is optional. If provided, it synchronizes the event metadata registered with this provider. Otherwise, the creation of event metadata will be skipped. The `Workspace Configuration` must be provided from the workspace where the event provider was created. You can [download the workspace configuration from the Adobe Developer Console](./project-setup.md#download-the-workspace-configuration-file).
26
26
27
27
### Delete an event provider
28
28
29
-
To delete an event provider, select the action next to the provider you want to delete and click **Delete**. A confirmation dialog appears. Click **OK** to confirm the deletion. The event provider can not be deleted if it is used in any event subscriptions. You must first delete the event subscriptions that use this provider.
29
+
To delete an event provider, select the action next to the provider you want to delete and click **Delete**. A confirmation dialog appears. Click **OK** to confirm the deletion.
30
+
31
+
<InlineAlertvariant="info"slots="text1" />
32
+
33
+
The event provider cannot be deleted if it is used in any event subscriptions. You must first delete the event subscriptions that use this provider.
0 commit comments