Ownership Transfer create/update

Ownership Transfer Order create/update

URI /api/transfers

Method POST

Header Authorization: Bearer jwt.token.string

Header Content-Type: application/json

Body raw (json)

{
    "transfer_orders":
    [
        {
            "from_project": "DAD",
            "from_ref_number": "transfer_from_003",
            "from_ref_type": "outbound",
            "to_project": "MOM",
            "to_ref_number": "transfer_to_003",
            "to_ref_type": "inbound",
            "ship_from": "api from address 01",
            "departrue_date": "20220212",
            "ship_to": "api to address 001",
            "delivery_date": "20220305",
            "order_lines":
            [
                {
                    "line_number": "10",
                    "item_code": "6922266446146",
                    "quantity": 102,
                    "unit": "CT",
                    "lot_attributes":
                    ["PackDate:20200703", "ExpiryDate:20230703"]
                }
            ]
        }
    ]
}

Response raw (json)

{
    "message": "transfer orders created: 2"
}

Last updated