POST /v1/docs/

Add new warehouse document


Parameters

None.


Request

application/json
TS-Apikey: api-key
{
    "data": {
        "direction": "I",
        "id_customer": 3,
        "id_warehouse": 1,
        "wh_doc_items": [
            {
                "amount_base_unit": 14.6,
                "date_exp": "2018-11-08",
                "lot": "5683377",
                "name": "muffin",
                "product_code": "MUT"
            },
            {
                "amount_base_unit": 14.6,
                "date_exp": "2018-11-08",
                "lot": "5683377",
                "name": "pivečko",
                "product_code": "MUT"
            }
        ]
    }

Response

application/json
HTTP 201
{
}