Skip to main content
Version: 202201

Update Procurement

PUT 

/openapi/2022-01/procurements/:id

Allows updating the details of an existing procurement record, such as its supplier, note, or other properties.

Request

Path Parameters

    id stringrequired

    Procurement's ID

Body

    procurement object
    supplier_idstring

    Supplier's ID

    notestring

Responses

200

Schema
    procurement object
    idstring
    Example: 382451985837728044
    procurement_snstring
    Example: 00000002
    supplier_idstring
    Example: 382411381263052204
    location_idstring
    Example: 190035786870033452
    notestring
    Example: testaaa
    stateinteger
    Default value: 0
    Example: 1
    pending_quantityinteger
    Default value: 0
    Example: 0
    received_quantityinteger
    Default value: 0
    Example: 0
    rejected_quantityinteger
    Default value: 0
    Example: 0
    transfer_quantityinteger
    Default value: 0
    Example: 0
    created_bystring
    Example:
    created_atstring
    Example: 2024-05-21T08:47:39Z
    updated_atstring
    Example: 2024-05-21T08:50:36Z