POST /v1/products/

Add new product


Parameters

None.


Request

application/json
TS-Apikey: api_key
{
    "data": {
        "active": 1,
        "base_unit": "ks",
        "base_unit_barcode": "858200140",
        "category": 1,
        "lot_level": 0,
        "name": "Ashton LED 15 inch Textured Black Outdoor Wall Light, Medium",
        "packaging": [
            {
                "amount_base_units": 1.0,
                "barcode": "278539248",
                "unit": "alternative unit code"
            }, 
            {
                "amount_base_units": 14.0,
                "barcode": "164397826",
                "unit": "pack"
            }, 
            {
                "amount_base_units": 333.0,
                "barcode": "",
                "unit": "palette"
            }
        ],
        "product_code": "49799BKTLED",
        "weight_brutto": 25.0,
        "weight_netto": 22.5,
        "weight_unit": "kg"
    }

Response

application/json
HTTP 201
{
}