user guide
×
Меню
Индекс

Create an order

 
You can create a customer order not only in the web interface, but also through the API.
 
action: 1c_make_order
 
Request
 
 
Указывайте код клиента Вашей Компании (предварительно внеся его в систему iFurn.pro), также обязательно телефон клиента.
 
Вывод:
 
{
    "status""ok",
    "error""",
    "data": {
        "order": {
            "id""11031",
            "name""EEvIxRJz",
            "code""EEvIxRJz",
            "code1c"null,
            "confirmed"null,
            "confirmed_date"null,
            "confirmed_email"null,
            "client""138",
            "date""2021-09-19 20:22:24",
            "urgent"null,
            "status""1",
            "parent"null,
            "plan_of_production"null,
            "changed_plan_of_production"null,
            "stock_need""1",
            "ready_to_put"null,
            "ready_to_put_user"null,
            "in_production"null,
            "in_production_user"null,
            "produced"null,
            "in_stock"null,
            "in_stock_user"null,
            "to_client"null,
            "to_client_user"null,
            "canceled"null,
            "canceled_user"null,
            "reg_code"null,
            "firm""3",
            "user"null,
            "currency"null,
            "firm_client"null,
            "client_name"null,
            "client_surname"null,
            "client_middlename"null,
            "comment""",
            "client_email"null,
            "client_phone_main"null,
            "client_phone_questions"null,
            "client_phone_sms"null,
            "client_phone_code"null,
            "country"null,
            "delivery_method"null,
            "adress_delivery"null,
            "adress_store"null,
            "adress_production"null,
            "adress_sale"null,
            "confirmed_cost"null,
            "archive"null,
            "count_detail"null,
            "place_in_order_to_pack"null,
            "goods_for_sale_in_order"null,
            "d_update""2021-09-19 20:22:24"
        },
        "link""http://go.ifurn.pro/project/EEvIxRJz/1/138/3"
    }
}