Assigning your company code to articles

 
Action: article_update
 
 
v
 
{
   "goods":
   [
        {
            "product_id": 15325,
            "firm_name" : "The name of the article of your Company, which will be displayed when placing an order instead of the standard oneiFurn.pro"
            
            "codes":
            [
              
                {
                    "delivery_time":3,
                    "code_firm":"fff",
                    "price":1212,
                    "currency":2,
                    "drop":1
                },
                {
                    "delivery_time":3,
                    "code_firm":"1fff",
                    "price":12212,
                    "currency":2,
                    "drop":7
                }
            
           ]
        }
   ],
   "service":
   [
      {
        "id_service":7,
        "code_firm":"we",
        "price":12,
        "currency":2
      }
   ]
   
}
 
Вывод:
 
{
    "status": "ok",
    "error": "",
    "data": {
        "goods": [
            [
                "fff",
                "OK"
            ],
            [
                "1fff",
                "OK"
            ]
        ],
        "service": [
            [
                "we",
                "OK"
            ]
        ]
    }
}