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

Zone endpoints

List zones (search)

post

Search for Zone

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

ZoneSearchPayload

afterstringOptional

The cursor to start after for forward pagination. The value is provided in the pageInfo.endCursor field of the response. Cannot be used with before or last.

beforestringOptional

The cursor to start before for backward pagination. The value is provided in the pageInfo.startCursor field of the response. Cannot be used with after or size (first).

lastnumber · min: 1 · max: 250Optional

Number of items to return for backward pagination. Cannot be used with 'size' (first). Default: 20.

sizenumber · min: 1 · max: 250Optional

Number of items to return for forward pagination. Cannot be used with 'last'. Default: 20.

Example: 10
startAfterIdstringOptionalDeprecated

The ID to start after. Deprecated, use after with the value provided in pageInfo.endCursor instead.

Responses
200

Your search result

application/json

ZonePaginatedResult

totalnumberOptional

The total number of items matching the search criteria. Only filled, if withTotal is set to true in the search options.

post/api/zones/search
POST /api/zones/search HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1511

{
  "after": "text",
  "before": "text",
  "last": 1,
  "options": {
    "withTotal": true
  },
  "query": {
    "and": [
      {
        "and": [
          {
            "and": "[Circular Reference]",
            "customAttributes": {
              "ANY_ADDITIONAL_PROPERTY": {
                "eq": true,
                "notEq": true
              }
            },
            "facilityRef": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
            "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
            "name": {
              "eq": "text",
              "in": [
                "text"
              ],
              "notEq": "text",
              "notIn": [
                "text"
              ]
            },
            "or": "[Circular Reference]"
          }
        ],
        "customAttributes": {
          "ANY_ADDITIONAL_PROPERTY": {
            "eq": true,
            "notEq": true
          }
        },
        "facilityRef": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
        "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
        "name": {
          "eq": "text",
          "in": [
            "text"
          ],
          "notEq": "text",
          "notIn": [
            "text"
          ]
        },
        "or": [
          {
            "and": "[Circular Reference]",
            "customAttributes": {
              "ANY_ADDITIONAL_PROPERTY": {
                "eq": true,
                "notEq": true
              }
            },
            "facilityRef": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
            "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
            "name": {
              "eq": "text",
              "in": [
                "text"
              ],
              "notEq": "text",
              "notIn": [
                "text"
              ]
            },
            "or": "[Circular Reference]"
          }
        ]
      }
    ],
    "customAttributes": {
      "ANY_ADDITIONAL_PROPERTY": {
        "eq": true,
        "notEq": true
      }
    },
    "facilityRef": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
    "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
    "name": {
      "eq": "text",
      "in": [
        "text"
      ],
      "notEq": "text",
      "notIn": [
        "text"
      ]
    },
    "or": [
      {
        "and": "[Circular Reference]",
        "customAttributes": {
          "ANY_ADDITIONAL_PROPERTY": {
            "eq": true,
            "notEq": true
          }
        },
        "facilityRef": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
        "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
        "name": {
          "eq": "text",
          "in": [
            "text"
          ],
          "notEq": "text",
          "notIn": [
            "text"
          ]
        },
        "or": "[Circular Reference]"
      }
    ]
  },
  "size": 10,
  "sort": [
    {
      "lastModified": "ASC"
    }
  ]
}
{
  "pageInfo": {
    "endCursor": "text",
    "hasNextPage": true,
    "hasPreviousPage": true,
    "startCursor": "text"
  },
  "total": 1,
  "zones": [
    {
      "created": "2020-02-03T08:45:51.525Z",
      "customAttributes": {},
      "facilityRef": "Esb20gpHBL94X5NdMp3C",
      "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
      "lastModified": "2020-02-03T09:45:51.525Z",
      "name": "text",
      "score": 42,
      "version": 42
    }
  ]
}

Get facility zone

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired

ID of facility. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{tenant-facility-id}).

zoneIdstringRequired

ID of the zone

Responses
200

Zone was found & you are allowed to get it. The result is in the body.

application/json

Zone

createdstring · date-timeOptional

The date this entity was created by fulfillmenttools. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
customAttributesobject · nullableOptional

Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.

facilityRefstringRequired

The id of the facility reference. The given ID has to be present in the system.

Example: Esb20gpHBL94X5NdMp3C
idstringRequired

The id of this zone

Example: 0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f
lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
namestringRequired

The name of this zone

scorenumberRequired

The score of this zone

Example: 42
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
get/api/facilities/{facilityId}/zones/{zoneId}
GET /api/facilities/{facilityId}/zones/{zoneId} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "created": "2020-02-03T08:45:51.525Z",
  "customAttributes": {},
  "facilityRef": "Esb20gpHBL94X5NdMp3C",
  "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
  "lastModified": "2020-02-03T09:45:51.525Z",
  "name": "text",
  "score": 42,
  "version": 42
}

List facility zones

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired

ID of facility. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{tenant-facility-id}).

Query parameters
sizenumber · min: 1 · max: 100OptionalDefault: 25Example: 25
startAfterIdstringOptional
Responses
200

Facility was found & you are allowed to get the zones. The result is in the body.

application/json

Zone

createdstring · date-timeOptional

The date this entity was created by fulfillmenttools. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
customAttributesobject · nullableOptional

Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.

facilityRefstringRequired

The id of the facility reference. The given ID has to be present in the system.

Example: Esb20gpHBL94X5NdMp3C
idstringRequired

The id of this zone

Example: 0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f
lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
namestringRequired

The name of this zone

scorenumberRequired

The score of this zone

Example: 42
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
get/api/facilities/{facilityId}/zones
GET /api/facilities/{facilityId}/zones HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "created": "2020-02-03T08:45:51.525Z",
    "customAttributes": {},
    "facilityRef": "Esb20gpHBL94X5NdMp3C",
    "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
    "lastModified": "2020-02-03T09:45:51.525Z",
    "name": "text",
    "score": 42,
    "version": 42
  }
]

Update facility zone

put

Replaces the current zone of this Facility with the provided in the body.

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

ID of facility. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{tenant-facility-id}).

zoneIdstringRequired

ID of the zone

Body

ZoneForReplacement

customAttributesobject · nullableOptional

Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.

namestringRequired

The name of this zone

scorenumberRequired

The score of this zone

Example: 42
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
Responses
200

Zone was found & you are allowed to update it.

application/json

Zone

createdstring · date-timeOptional

The date this entity was created by fulfillmenttools. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
customAttributesobject · nullableOptional

Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.

facilityRefstringRequired

The id of the facility reference. The given ID has to be present in the system.

Example: Esb20gpHBL94X5NdMp3C
idstringRequired

The id of this zone

Example: 0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f
lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
namestringRequired

The name of this zone

scorenumberRequired

The score of this zone

Example: 42
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
put/api/facilities/{facilityId}/zones/{zoneId}
PUT /api/facilities/{facilityId}/zones/{zoneId} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "customAttributes": {},
  "name": "text",
  "score": 42,
  "version": 42
}
{
  "created": "2020-02-03T08:45:51.525Z",
  "customAttributes": {},
  "facilityRef": "Esb20gpHBL94X5NdMp3C",
  "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
  "lastModified": "2020-02-03T09:45:51.525Z",
  "name": "text",
  "score": 42,
  "version": 42
}

Create facility zone

post

Creates a new zone in this facility.

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

ID of facility. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{tenant-facility-id}).

Body

ZoneForCreation

customAttributesobject · nullableOptional

Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.

namestringRequired

The name of this zone

scorenumberRequired

The score of this zone

Example: 42
Responses
201

The zone was successfully created.

application/json

Zone

createdstring · date-timeOptional

The date this entity was created by fulfillmenttools. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
customAttributesobject · nullableOptional

Attributes that can be added to this entity. These attributes cannot be used within fulfillment processes, but enable you to attach custom data from your systems to fulfillmenttools entities.

facilityRefstringRequired

The id of the facility reference. The given ID has to be present in the system.

Example: Esb20gpHBL94X5NdMp3C
idstringRequired

The id of this zone

Example: 0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f
lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
namestringRequired

The name of this zone

scorenumberRequired

The score of this zone

Example: 42
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
post/api/facilities/{facilityId}/zones
POST /api/facilities/{facilityId}/zones HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "customAttributes": {},
  "name": "text",
  "score": 42
}
{
  "created": "2020-02-03T08:45:51.525Z",
  "customAttributes": {},
  "facilityRef": "Esb20gpHBL94X5NdMp3C",
  "id": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
  "lastModified": "2020-02-03T09:45:51.525Z",
  "name": "text",
  "score": 42,
  "version": 42
}

Delete facility zone

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

ID of facility. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{tenant-facility-id}).

zoneIdstringRequired

ID of the zone

Responses
200

Zone was found & you were allowed to delete it.

No content

delete/api/facilities/{facilityId}/zones/{zoneId}
DELETE /api/facilities/{facilityId}/zones/{zoneId} HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated

Was this helpful?