Cập nhật người liên quan đơn hàng bán
1. Thông Tin API
- Endpoint:
/api/v6.1/sale_order/related_users - Method:
PUT - Authentication: Yêu cầu
X-API-KEY - Header:
Content-Type: application/jsonX-API-KEY: <your_api_key>
2. Request Body
{
"order_id": 214158,
"added_related_user_ids": [1558],
"removed_related_user_ids": [1558]
}
3. Mô Tả Các Trường
| Trường | Loại | Mô tả |
|---|---|---|
order_id | integer | ID đơn hàng |
added_related_user_ids | array | Mảng ID người liên quan được thêm |
removed_related_user_ids | array | Mảng ID người liên quan bị xóa |
4. Response
{
"message": "Cập nhật thành công"
}