# 🚀 New OpenBoxes Adaptor Released

**URL:** <https://community.openfn.org/t/new-openboxes-adaptor-released/916>\
**Category:** Adaptors & Templates\
**Created:** [April 8, 2025, 6:13am UTC](https://community.openfn.org/t/new-openboxes-adaptor-released/916 "2025-04-08T06:13:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PiusK](https://community.openfn.org/user_avatar/community.openfn.org/piusk/32/340_2.png) [@PiusK](https://community.openfn.org/u/PiusK)\
**Post date:** [April 8, 2025, 6:13am UTC](https://community.openfn.org/t/new-openboxes-adaptor-released/916/1 "2025-04-08T06:13:48Z")

</div>

Hello community 👋 !

We are excited to announce the release of our new OpenBoxes adaptor 🚀

This new adaptor has `get` and `post` helper functions and versatile `request` function for anything outside that scope. With this new adaptor you can manage you inventory on OpenBoxes and integrate other tools like hubtel for sms notifications on stock changes and movements.

🔗 [Check out the adaptor docs](https://docs.openfn.org/adaptors/packages/openboxes-docs)

Below are some examples of the adaptor in action.

1. **Get 10 products from the catalog**

```auto
get("products", { query: { max: 10 }});

```

1. **Add a new product to the catalog**

```auto
post("products", 
   {
      "id": "ff80818163e2de8d0163eba1b1e90002",
      "productCode": null,
      "name": "New product",
      "category": {
          "id": "ff80818163e2de8d0163eb93c5a00001",
          "name": "New category"
        },
      "description": null,
      "dateCreated": "2018-06-10T21:37:12Z",
      "lastUpdated": "2018-06-10T21:37:12Z"
  });

```

1. **Update a stock movement with the request function**

```auto
request("POST", "/stockMovements/ff808181642fc9c101642fcccc420004", 
 {
     body: {
        "name": "new stock movement",
        "description": "new stock movement",
        "origin.id": "1",
        "destination.id": "2",
        "requestedBy.id": "1",
        "dateRequested": "06/23/2018"
      }
  });
  

```

1. **Update a product with the request function**

```auto
request('POST', '/products/ff808181812576850182aee36930040b', 
   {
     body: { 
       name: 'Coffee', 
       description: 'Arabica coffee from the highlands of Ethiopia' 
      } 
   });

```

Feel free to try this out on on your own project or at [demo.openfn.org](https://demo.openfn.org/) .
