cURL
curl --request GET \ --url https://api.example.com/admin/commission/rules/{id} \ --header 'Authorization: Bearer <token>'
{ "commission_rule": { "id": "<string>", "name": "<string>", "type": "flat", "reference": "<string>", "reference_id": "<string>", "is_active": true, "include_tax": true, "percentage_rate": 123, "price_set_id": "<string>", "price_set": [ { "amount": 123, "currency_code": "<string>" } ], "min_price_set_id": "<string>", "min_price_set": [ { "amount": 123, "currency_code": "<string>" } ], "max_price_set_id": "<string>", "max_price_set": [ { "amount": 123, "currency_code": "<string>" } ], "ref_value": "<string>", "fee_value": "<string>" } }
Retrieves a commission rule by id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the Rule.
OK
Commission aggregate object
Show child attributes