Get Availability

This describes the process of accessing the UNOSOF API for accessing a farms availability sheet based on live inventory.

Get Availability

GET https://api.unosof.com/api/v1/ecomManager/getAvailability

This endpoint returns the box availbility of a farm. The inventory is live and will change based on the farm's actual inventory so you should pull the inventory often. To send an order back to UNOSOF you will need to capture and send back the GUID as well as the number of boxes you are ordering.

Query Parameters

Name
Type
Description

parentPage

string

Ecommanager.getAvailJSON (do not change)

date

string

The date you would like to pull availability for. It should also represent the date you are looking to send an order back to the farm.

nm_avail

string

The name of the availability list you wish to pull. This would be specific to each customer.

Headers

Name
Type
Description

apikey

string

Authentication token for authenticating the request.

{
    "data": {
        "AVAILABILITY": [
            {
                "GUID": "286565A749064AA6A27600D9BE6FDE20",
                "GU_AVAIL": "CAA2CE2B26F74465B7CAB400F9333710",
                "GU_BOX": "DCBA5A569EA84E819B58E1EB67BADDCF",
                "NM_AVAIL": "WEBSHOP",
                "ID_FLORICODE": "100814",
                "NU_QUANTITY": "4",
                "NU_FULL": 0.25,
                "NM_WAREHOUSE": "2 Q",
                "NM_BOX": "QB 6 L L/B",
                "NM_PRODUCT": "AMNESIA 40cm P 25st QSA",
                "NM_SPECIES": "Roses",
                "NM_COLOR": "BiColor",
                "NU_LENGTH": 40,
                "MNY_PRICE": 0.3,
                "TX_COLOR": "##CCCCCC",
                "NU_STEMS": 100,
                "BO_SOLID": 1,
                "NU_ITEMS": 1,
                "BO_SEASONAL": 0,
                "NM_COMMERCIAL_VARIETY": "Amnesia",
                "NM_BOX_TYPE": "",
                "NM_IMAGE": "",
                "NU_WEIGHT": 0,
                "NM_OPTION": "GRAMS"
            },
            {
                "GUID": "00574A7A48B74CC286C9E25D7F83957D",
                "GU_AVAIL": "CAA2CE2B26F74465B7CAB400F9333710",
                "GU_BOX": "E5D97D3CB0314936B7BF3D06C1C8A14F",
                "NM_AVAIL": "WEBSHOP",
                "ID_FLORICODE": "13520",
                "NU_QUANTITY": 3,
                "NU_FULL": 0.25,
                "NM_WAREHOUSE": "2 Q",
                "NM_BOX": "QB 6 L L/B",
                "NM_PRODUCT": "AKITO 30cm P 25st LC",
                "NM_SPECIES": "Roses",
                "NM_COLOR": "White",
                "NU_LENGTH": 30,
                "MNY_PRICE": 0.25,
                "TX_COLOR": "##FFFFFF",
                "NU_STEMS": 100,
                "BO_SOLID": 1,
                "NU_ITEMS": 1,
                "BO_SEASONAL": 0,
                "NM_COMMERCIAL_VARIETY": "Akito",
                "NM_BOX_TYPE": "",
                "NM_IMAGE": "sample2.jpg",
                "NU_WEIGHT": 0,
                "NM_OPTION": "GRAMS"
            }
        ],
        "STATUSMESSAGE": "Success",
        "STATUSCODE": 200
    },
    "error": false,
    "messages": []
}

Last updated

Was this helpful?