younifyd
Menu

/api/purchase_orders/{refNo} (Update vpo's docStatus by refNo)

update vpo's docStatus by refNo.

PATCH/api/purchase_orders/{refNo}

Use it in a workflow

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

Request

Path parameters

refNostringrequired

Query parameters

statusstringrequired

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
versioninteger (int32)
docStatusstringrequired

One ofACTIVEINACTIVECANCELED

Response

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

idstring
refNostring
versioninteger (int32)
vpoNostring
shipmentDatestring (date)
json
{
  "id": "string",
  "refNo": "string",
  "version": 0,
  "vpoNo": "string",
  "shipmentDate": "2025-01-01"
}

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

/api/purchase_orders/{refNo} (Update vpo's docStatus by refNo) — TradeBeyond — Documentation