Skip to main content

Danh sách thanh toán đơn hàng

Lấy danh sách các khoản thanh toán của đơn hàng bán

HTTP Request

[GET] /api/v6.1/sale_order_payments

Query Parameters

Filtering

FieldsSupportTypeDescription
ideq,inintegerĐịnh danh
order_ideq,inintegerID đơn hàng
created_ateq,gte,ltetimestampNgày tạo

Sort

Sort (field)Direction
idasc,desc

Limit & Offset

TypeDescription
LimitintegerLấy bao nhiêu bản ghi
OffsetintegerBỏ qua bao nhiêu bản ghi

Example

HTTP Request

GET api/v6.1/sale_order_payments?limit=10 HTTP/1.1
Host: example.getflycrm.com

Status

200 OK

Response

{
"data": [
{
"id": 1,
"order_id": 96,
"amount": 50000,
"pay_date": "2025-02-03",
"description": "Thanh toán đợt 1"
}
],
"has_more": false,
"offset": 0,
"limited": 10
}