githubEdit

Facility groups

Facility groups can be used to mark individual facilities as belonging to a specific group. A facility can be part of several facility groups.

Facilities can be assigned to a group by:

  1. creating a facility group via APIarrow-up-right

  2. referencing the ID of the facilities in the respective facility group

Facility groups can be used, for example, to define sales pricesarrow-up-right for certain facility groups.

circle-info

More facility groups API information can be found here: REST API documentation – Facility groupsarrow-up-right

circle-info

For a complete endpoint definition, see the Facility groups section in the REST API referencearrow-up-right.

Create a facility group

To create a facility group, send a POST request to the following endpoint with a JSON body.

POST https://{projectId}.api.fulfillmenttools.com/api/facilitygroups
{
  "tenantFacilityGroupId": "DE_W",
  "facilityRefs": [
    "871c1620-3757-4242-9a8d-5d20b81cadde_96358521",
    "bc6fd1f7-cbbf-41da-938d-01a68d90a926_0001a6c5",
    "bc6fd1f7-cbbf-41da-938d-01a68d90a926_003fcc05"
  ],
  "nameLocalized": {
    "de_DE": "Deutschland Westen",
    "en_US": "Germany West"
  }
}

A successful request returns a 201 Created response with the created facility group object in the body:

Last updated