younifyd
Menu

/api/items/replaceBOM (Replace item bom table)

replace item bom table

POST/api/items/replaceBOM

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/items/replaceBOM (Replace item bom table) action (under ItemController).
  3. Fill in the fields below, then reference the result from later steps as {{apiItemsReplacebomReplaceItemBomTable.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

toBeReplaceItemobject
refNostring
itemNostring
toBeAddedItemobject
refNostring
itemNostring
toBeUpdateItemsarray<object>
refNostring
itemNostring
json
{
  "toBeReplaceItem": {
    "refNo": "string",
    "itemNo": "string"
  },
  "toBeAddedItem": {
    "refNo": "string",
    "itemNo": "string"
  },
  "toBeUpdateItems": [
    {
      "refNo": "string",
      "itemNo": "string"
    }
  ]
}

Response

Returns 200 with a string. Read it in later steps with {{apiItemsReplacebomReplaceItemBomTable.response.data.<field>}}.

Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.