# Trades Trade operations (book, query, amend, roll, allocate, cancel). Also query orders for fills. Only brokers and sales dealers can amend, roll, and allocate by default. Customer organizations can be configured to allocate trades (work with your Integral Technical Account Manager). ## Book trade - [POST /v2/trades](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/booktrade.md): Enter trades done in other systems. ## Query all trades on an order by ID - [GET /v2/trades](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/queryorderallfills.md): Get all fills for the order ID assigned by Integral returned in the or field when the order was placed. ## Amend trade - [POST /v2/trades/amendment](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/tradeamend.md): Amend a verified trade by amount, rate, customer, or all three. Available to broker users and sales dealer users. You must specify at least one property in addition to . Work with your Integral Technical Account Manager to configure the following trade amendment restrictions: * Number of minutes during which a trade is eligible for amendment after verification. * Total number of price amend requests allowed for a trade. Each request to change a rate property (, ) counts against the total allowed. * Maximum amount a trade can be amended expressed as a percentage of the trade’s size. If you specify , the value must be greater than zero and less than this maximum. ## Roll trade - [POST /v2/trades/roll](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/traderoll.md): Roll a trade to another value date. Available to broker users and sales dealer users. ## Allocate trade - [POST /v2/trades/allocations](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/tradeallocate.md): Divide a trade into post-trade allocations among multiple legal entities of the same organization. Available to broker users and sales dealer users. Customer organizations can be configured to allocate trades. You must ensure that the allocated amounts equal the original trade amount. ## Cancel trades - [POST /v2/trades/cancel](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/tradecancel.md): Cancel individual trades by trade ID or one or more trades by your trade request. You must specify either or . If you specify , all other parameters are ignored. ## Query trade by trade ID - [GET /v2/trades/{id}](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/querytrade.md): Get trade details for a given trade ID.