For the complete documentation index, see llms.txt. This page is also available as Markdown.

Eventing

Endpoints to create, update, and read subscriptions.

List subscriptions

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
startAfterIdstringOptional

all entities after given Id

sizeintegerOptional

number of entities to show

Default: 25
Responses
200

All subscriptions.

application/json

Subscriptions

totalintegerOptional

Total number of found entities for this query

Example: 42
get/api/subscriptions
GET /api/subscriptions HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "subscriptions": [
    {
      "contexts": [
        {
          "type": "FACILITY",
          "values": [
            "text"
          ]
        }
      ],
      "event": "text",
      "name": "text",
      "target": {
        "callbackUrl": "text",
        "headers": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "type": "WEBHOOK"
      }
    }
  ],
  "total": 42
}

Create subscription

post

Add new Subscription. Please note: Currently it is only possible to add max. five subscriptions per event.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

SubscriptionForCreation

callbackUrlstringOptionalDeprecated

This part of the API is deprecated. For details, see the API release lifecycle documentation.

Deprecated: Use new 'target' object instead.

eventstringRequired

Name of the event in the fulfillmenttools platform.

namestringRequired

Name of the event, this is freely selectable.

targetany ofOptional
or
or
Responses
201

Subscription is successfully created.

application/json

Subscription

callbackUrlstringOptionalDeprecated

This part of the API is deprecated. For details, see the API release lifecycle documentation.

Deprecated: Use new 'target' object instead.

eventstringRequired

Name of the event in the fulfillmenttools platform.

namestringRequired

Name of the event, this is freely selectable.

targetany ofOptional
or
or
createdstring · date-timeRequired

The date this subscription was created at the platform. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
idstringRequired
post/api/subscriptions
POST /api/subscriptions HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 172

{
  "contexts": [
    {
      "type": "FACILITY",
      "values": [
        "text"
      ]
    }
  ],
  "event": "text",
  "name": "text",
  "target": {
    "callbackUrl": "text",
    "headers": [
      {
        "key": "text",
        "value": "text"
      }
    ],
    "type": "WEBHOOK"
  }
}
{
  "created": "2020-02-03T08:45:51.525Z",
  "id": "text",
  "contexts": [
    {
      "type": "FACILITY",
      "values": [
        "text"
      ]
    }
  ],
  "event": "text",
  "name": "text",
  "target": {
    "callbackUrl": "text",
    "headers": [
      {
        "key": "text",
        "value": "text"
      }
    ],
    "type": "WEBHOOK"
  }
}

Delete subscription

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
subscriptionIdstringRequired

ID of the subscription you want to delete

Responses
200

Subscription is successfully deleted.

application/json

Subscription

callbackUrlstringOptionalDeprecated

This part of the API is deprecated. For details, see the API release lifecycle documentation.

Deprecated: Use new 'target' object instead.

eventstringRequired

Name of the event in the fulfillmenttools platform.

namestringRequired

Name of the event, this is freely selectable.

targetany ofOptional
or
or
createdstring · date-timeRequired

The date this subscription was created at the platform. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
idstringRequired
delete/api/subscriptions/{subscriptionId}
DELETE /api/subscriptions/{subscriptionId} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "created": "2020-02-03T08:45:51.525Z",
  "id": "text",
  "contexts": [
    {
      "type": "FACILITY",
      "values": [
        "text"
      ]
    }
  ],
  "event": "text",
  "name": "text",
  "target": {
    "callbackUrl": "text",
    "headers": [
      {
        "key": "text",
        "value": "text"
      }
    ],
    "type": "WEBHOOK"
  }
}

List supported events

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

All supported events.

application/json

SupportedEvents

get/api/supportedevents
GET /api/supportedevents HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "supportedEvents": [
    {
      "description": "text",
      "event": "text"
    }
  ]
}

Last updated

Was this helpful?