FieldEx Developer
developer notes

Transfer Product from User Bin to Job Order

The ProductTransferFromUserBinToJobOrder API transfers a product from a User Bin to a Job Order. The request body includes bin transfer item info, product details, and other relevant data.

Method Endpoint
POST {{endpoint}}

Headers

Key Value
Content-Type application/json
Authorization Bearer{{token}}

Example Request

{
    "transferToBin": null,
    "transferToType": JOB_ORDER,
    "referenceNumber": null,
    "note": null,
    "jobOrder": {
        "id": 17
    },
    "binTransferItems": [
        {
            "assets": null,
            "qtyTransfer": 1,
            "productName": {
                "id": 2,
                "name": LS PT DOUBLE SPOUT C-0530,
                "productSku": 550008
            },
            "product": {
                "id": 2,
                "name": null
            },
            "qty": 59,
            "transferFromType": LOCATION_BIN,
            "transferFromBin": {
                "id": 1
            },
            "productSku": 550008,
            "hasError": 0,
            "duplicateProduct": {
                "id": 2
            },
            "showProductsDropDown": false
        }
    ],
    "joName": {
        "id": 17,
        "jobOrderNumber": JO-000003,
        "jobOrderName": JO for narvitaa,
        "installationDate": 2019-06-16,
        "installationTime": null,
        "status": COMPLETED,
        "customer": {
            "id": null,
            "name": cash sales,
            "email": null,
            "billingCity": null,
            "billingCountry": null,
            "billingPostcode": null,
            "billingState": null,
            "billingStreet": null,
            "shippingCity": null,
            "shippingCountry": null,
            "shippingPostcode": null,
            "shippingState": null,
            "shippingStreet": null,
            "contactPersonName": null,
            "customerReferenceNo": null
        }
    }
}


Example Response

{SOME CODE}