commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Extension → Create Extension

AI-generated

Summary

Create a new Extension in the commercetools project by specifying its unique key, triggers, and destination settings including URL and optional authentication.

Inputs

  • Key (required) — The unique key identifying the new Extension.
  • Triggers (required) — A JSON array defining the triggers that cause the Extension to be invoked.
  • Destination › Type — The type of the destination that receives the extension callbacks.
  • Destination › Url — The URL of the destination to which the extension events are sent.
  • Destination › Authentication › Type — The type of authentication used for the destination.
  • Destination › Authentication › Key — The key or credentials used for authenticating with the destination.

Output shape

a single JSON object representing the created Extension resource

The output contains the newly created Extension's details as returned by the commercetools API upon successful creation.

Links

Discussion