How to: Containerize a child Container

For information about prerequisites, see Creating Containers.

To containerize a child Container, the parent Container must be in the opened state and the child Container in the closed state.

To decontainerize a Container, use the same endpoint with the same values, and as long as the data shows that the parent/child relationship exists, it will reverse the process.

To place a Container in another Container, call the Containerization/Decontainerization endpoint. Pass the Container ID as a path parameter and specify the Container ID of the parent Container in the request body.

Your request body should look similar to the following:

{
     "parentId": "pallettwo:38ecdaf0-2bb7-4b14-94c3-3021ec812e78"
}

The response body will look similar to the following:

{
  "parentId": "boxtwo:9c9b1138-7cdd-11eb-9439-0242ac130002",
  "action": "CONTAINERIZE",
  "callback": {
    "url": "https://delhivery.requestcatcher.com/",
    "meta": "string"
  }
}