Delete Purchase Order

  1. Request Instruction
    HTTPS Method POST
    URL http://subdomain.supersuite.my/api/purchase-order/delete/<ref_id>
    Content Type  application/json
    Response Type JSON
    Parameter Description

    ref_id: string, is required.

    token : string, is required.

    Request Headers

    {

        "Content-Type":"application/json"

    }

    Request Body

    {

       "token" : "B7ABD5DEEC6588997DE41B0FE0665",

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

    }

    Fail Example

    {

        "status" : false,

        "error" : "Token invalid. /  Document delete fail."

    }