curl 'http://localhost:9000/admin/orders/order_01HXYZ8Q2M4N6P8R0T2V4W6X8Y/commission-lines' \
-H 'Authorization: Bearer <token>'
{
"commission_lines": [
{
"id": "comline_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
"item_id": "ordli_01HXYZ",
"shipping_method_id": null,
"commission_rate_id": "comrate_01HXYZ",
"code": "default",
"rate": 10,
"amount": 490,
"description": null,
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
],
"count": 1
}
Orders
Get Order Commission Lines
Retrieve the commission lines calculated for an order.
GET
/
admin
/
orders
/
{id}
/
commission-lines
curl 'http://localhost:9000/admin/orders/order_01HXYZ8Q2M4N6P8R0T2V4W6X8Y/commission-lines' \
-H 'Authorization: Bearer <token>'
{
"commission_lines": [
{
"id": "comline_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
"item_id": "ordli_01HXYZ",
"shipping_method_id": null,
"commission_rate_id": "comrate_01HXYZ",
"code": "default",
"rate": 10,
"amount": 490,
"description": null,
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
],
"count": 1
}
Returns the commission lines applied to an order’s items and shipping methods.
Path parameters
The order’s ID.
Response
Show properties
Show properties
The commission line’s ID.
ID of the order item the line applies to.
ID of the shipping method the line applies to.
ID of the commission rate that produced the line.
Code of the applied commission rate.
The applied commission rate value.
The calculated commission amount.
Optional description of the line.
Creation timestamp.
Last update timestamp.
Number of commission lines on the order.
curl 'http://localhost:9000/admin/orders/order_01HXYZ8Q2M4N6P8R0T2V4W6X8Y/commission-lines' \
-H 'Authorization: Bearer <token>'
{
"commission_lines": [
{
"id": "comline_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
"item_id": "ordli_01HXYZ",
"shipping_method_id": null,
"commission_rate_id": "comrate_01HXYZ",
"code": "default",
"rate": 10,
"amount": 490,
"description": null,
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
],
"count": 1
}
⌘I