Orders
Get Order Commission Lines
Retrieve the commission lines charged on the order.
GET
/
vendor
/
orders
/
{id}
/
commission-lines
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF/commission-lines' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { commission_lines, count } =
await client.vendor.orders.$id.commissionLines.query({
$id: "order_01HXYZABCDEF",
})
{
"commission_lines": [
{
"id": "comline_01HXYZABCDEF",
"item_id": "ordli_01HXYZABCDEF",
"shipping_method_id": null,
"commission_rate_id": "comrate_01HXYZABCDEF",
"code": "default",
"rate": 10,
"amount": 250,
"description": null,
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
],
"count": 1
}
Returns the marketplace commission lines applied to the order’s items and shipping methods for the authenticated seller.
Path parameters
string
required
The order’s ID.
Response
object[]
Show properties
Show properties
string
The commission line’s ID.
string
ID of the line item the commission applies to, if any.
string
ID of the shipping method the commission applies to, if any.
string
ID of the commission rate that produced the line.
string
Code of the applied commission rule.
number
The commission rate applied.
number
The commission amount charged.
string
Description of the commission line.
string
Creation timestamp.
string
Last update timestamp.
number
Number of commission lines returned.
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF/commission-lines' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { commission_lines, count } =
await client.vendor.orders.$id.commissionLines.query({
$id: "order_01HXYZABCDEF",
})
{
"commission_lines": [
{
"id": "comline_01HXYZABCDEF",
"item_id": "ordli_01HXYZABCDEF",
"shipping_method_id": null,
"commission_rate_id": "comrate_01HXYZABCDEF",
"code": "default",
"rate": 10,
"amount": 250,
"description": null,
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
],
"count": 1
}
⌘I
curl 'http://localhost:9000/vendor/orders/order_01HXYZABCDEF/commission-lines' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { commission_lines, count } =
await client.vendor.orders.$id.commissionLines.query({
$id: "order_01HXYZABCDEF",
})
{
"commission_lines": [
{
"id": "comline_01HXYZABCDEF",
"item_id": "ordli_01HXYZABCDEF",
"shipping_method_id": null,
"commission_rate_id": "comrate_01HXYZABCDEF",
"code": "default",
"rate": 10,
"amount": 250,
"description": null,
"created_at": "2026-06-01T10:00:00.000Z",
"updated_at": "2026-06-01T10:00:00.000Z"
}
],
"count": 1
}