younifyd
Menu

/api/items/{refNo} (Update item's docStatus by refNo)

update item's docStatus by refNo.

PATCH/api/items/{refNo}

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/items/{refNo} (Update item's docStatus by refNo) action (under ItemController).
  3. Fill in the fields below, then reference the result from later steps as {{apiItemsRefnoUpdateItemSDocstatusByRefno.response.data}}.

Request

Path parameters

refNostringrequired

Query parameters

statusstringrequired

the status for marking.

One ofCONCEPTCOSTINGADOPTEDFINALIZEDNEWQUOTEDCONFIRMEDTOBUYREJECTEDTOBUYREVISEPROPOSEDOVERRIDDENSHORTLISTEDREMOVE_FROM_SHORTLISTSOURCINGPHASE_1_TRACKING_COMPLETEDMARK_AS_DEFAULTDRAFTCONFIRMEDOFFICIALSUBMITTEDREQUESTEDRELEASED_TO_VENDORVENDOR_CONFIRMEDBUYER_CONFIRMEDVENDOR_CHANGE_PROPOSEDVENDOR_REJECTEDBUYER_REJECTEDVENDOR_CONFIRMATION_SENTVENDOR_REJECTION_SENTCOMPLETEDSCHEDULEDPO_CHANGE_PROPOSEDCHANGE_ACCEPTEDCHANGE_REJECTEDPO_ACCEPTEDPO_REJECTEDOUT_OF_SIGNATURESIGNEDREVISION_REQUESTCLOSED

approvalTemplateIdstring

approval template Id for 'request for approval'.

versioninteger (int32)
itemTypestringrequired

the status for marking.

One ofSETITEM

docStatusstringrequired

the docStatus for setting.

One ofactive, inactive, canceled

Response

Returns 200 with an object. Read it in later steps with {{apiItemsRefnoUpdateItemSDocstatusByRefno.response.data.<field>}}.

versioninteger (int32)
refNostring
itemNostring
itemNamestring
itemDescstring
masterEanstring
buyerItemNostring
masterCasePackinteger (int32)
eanTypeobject
codestringrequired
namestring
versioninteger (int32)
customFieldsobject
dynamicModelMapobject
json
{
  "version": 0,
  "refNo": "string",
  "itemNo": "string",
  "itemName": "string",
  "itemDesc": "string",
  "masterEan": "string",
  "buyerItemNo": "string",
  "masterCasePack": 0,
  "eanType": {
    "code": "string",
    "name": "string",
    "version": 0
  },
  "customFields": {
    "dynamicModelMap": {}
  }
}

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