How do I modify OCO order?

I’m interested in creating order, with market value and set it to take profit of 25% above market value plus stop loss of 10% from market value.

As I go and read documentation, I think

Place a Order Cancels Order order strategy.

would be point to start. With the documented example, correct?
How do I modify the order later on if the trade is going my way. I want my program to automatically shift stopLoss and takeProfit so I can gain as mych profit.

How would I do this?

endpoint returns orderId, ocoId