Crego Platform
  1. PurchaseOrder
Crego Platform
  • Authentication
    • Login
      POST
    • Refresh JWT Token
      POST
  • Contact
    • ContactRelation
      • List Contact Relations
      • Create Contact Relation
      • Get Contact Relation
      • Update Contact Relation
      • Delete Contact Relation
    • List Contacts
      GET
    • Create Contact
      POST
    • Get Contact Details
      GET
    • Update Contact
      PUT
    • Partially Update Contact
      PATCH
    • Delete Contact
      DELETE
    • Get Current User Contact
      GET
    • Update Current User Contact
      PATCH
    • Activate Contact
      PUT
    • Deactivate Contact
      PUT
  • Payment
    • List Payments
    • Process Payment
    • Settle Payment
    • Refund Payment
    • Get Payment Settlement Details
  • Payout
    • List Payouts
    • Process Payout
  • Flow
    • Upload File
    • Create Runner
  • PurchaseOrder
    • List Purchase Orders
      GET
    • Create Purchase Order
      POST
    • Retrieve Purchase Order
      GET
    • Update Purchase Order
      PATCH
    • Delete Purchase Order
      DELETE
    • Bulk Actions on Purchase Orders
      PUT
    • Submit PO for Verification
      POST
    • Verify Purchase Order
      POST
    • Approve Purchase Order
      POST
    • Reject Purchase Order
      POST
    • Cancel Purchase Order
      POST
    • Fulfill Purchase Order
      POST
    • Close Purchase Order
      POST
    • Activate Purchase Order
      PUT
    • Deactivate Purchase Order
      PUT
  • Drawdown
    • DrawdownItem
      • List Drawdown Items
      • Create Drawdown Item
      • Retrieve Drawdown Item
      • Update Drawdown Item
      • Delete Drawdown Item
    • List Drawdowns
    • Create Drawdown
    • Retrieve Drawdown
    • Update Drawdown
    • Delete Drawdown
    • Submit Drawdown for Approval
    • Approve Drawdown
    • Reject Drawdown
    • Cancel Drawdown
    • Deactivate Invoice
  • Invoice
    • List Invoices
    • Create Invoice
    • Retrieve Invoice
    • Update Invoice
    • Delete Invoice
    • Bulk Actions on Invoices
    • Submit Invoice for Verification
    • Verify Invoice
    • Approve Invoice
    • Reject Invoice
    • Cancel Invoice
    • Settle Invoice
    • Activate Invoice
  • Lending
    • LoanAccount
      • List Loan Accounts
      • Create Loan Account
      • Retrieve Loan Account
      • Update Loan Account
      • Delete Loan Account
      • Request Loan
    • GroupAccount
      • List Group Accounts
      • Create Group Account
      • Retrieve Group Account
      • Update Group Account
      • Delete Group Account
    • Demand
      • List Demands
      • Get Demand
      • Get Demand Summary
    • ComponentGLMapping
      • List Component GL Mappings
      • Get Component GL Mapping
    • Ledger
      • List Ledgers
      • Get Ledger
    • Limit
      • List Limits
      • Create Limit
      • Get Limit
      • Update Limit
      • Delete Limit
    • Config
      • List Configs
      • Create Config
      • Get Config
      • Update Config
      • Delete Config
    • Account
      • AccountContactRelation
        • List Account Contact Relations
        • Create Account Contact Relation
        • Get Account Contact Relation
        • Update Account Contact Relation
        • Delete Account Contact Relation
      • List Accounts
      • Create Account
      • Get Account
      • Update Account
      • Partial Update Account
      • Delete Account
      • Bulk Actions on Accounts
  • Schemas
    • GroupPermissionRequest
    • Product
    • User5
    • OverdueLoansResponse
    • TrialBalanceRequest
    • ValidationErrorResponse
    • Task
    • BulkActionResponse8
    • TrialBalanceResponse
    • AuditLog
    • NameSpace
    • JournalVoucherLineBase
    • Setting
    • NameSpaceCreate
    • JournalVoucherLineCreate
    • HealthCheck
    • PaginatedNameSpaces
    • JournalVoucherLine
    • Contact9
    • JournalVoucherBase
    • ContactCreate
    • JournalVoucherCreate
    • ContactUpdate
    • JournalVoucherUpdate
    • PaginatedContacts
    • JournalVoucher
    • ContactAddress
    • PaginatedJournalVoucherList
    • ContactAddressCreate
    • TaxMasterBase
    • ContactBank
    • TaxMasterCreate
    • ContactBankCreate
    • TaxMasterUpdate
    • Product10
    • TaxMaster
    • ProductCreate
    • PaginatedTaxMasterList
    • PaginatedProducts
    • TaxTransaction
    • Component
    • PaginatedTaxTransactionList
    • Transaction11
    • FinancialPeriodBase
    • Payment
    • FinancialPeriodCreate
    • Payout
    • FinancialPeriodUpdate
    • Workflow12
    • FinancialPeriod
    • Schedule
    • PaginatedFinancialPeriodList
    • Report
    • PostingBatchCreate
    • AuditLog13
    • PostingBatchItem
    • PostingBatch
    • PostingBatchSummary
    • PaginatedPostingBatchList
    • PaginatedPostingBatchItemList
    • Branch
    • Program
    • ProgramPartner
    • AccountContactRelation
    • ContactRelation
    • Category
    • Storage
    • DocumentShare
    • Review
    • PeriodicTask
    • Config
    • Limit
    • Ledger
    • ComponentGLMapping
    • Demand
    • GeneratedReport
    • WorkbookOperation
    • Invoice
    • InvoiceCreate
    • InvoiceUpdate
    • DrawdownItem
    • GLEntry
  1. PurchaseOrder

Update Purchase Order

PATCH
/purchase-orders/{id}/
Update an existing purchase order

Request

Authorization
Basic Auth
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
or
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Purchase order updated successfully
Body

🟠400Bad Request
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://demo.preprod.crego.ai/flow/api/purchase-orders//' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
200 - Example 1
Modified at 2026-01-22 17:32:02
Previous
Retrieve Purchase Order
Next
Delete Purchase Order
Built with