Skip to main content
Version: 202201

Create Procurement

POST 

/openapi/2022-01/procurements

Allows users to create a procurement record associated with a specific supplier.

Request

Body

    procurement objectrequired
    supplier_idstringrequired

    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