cURL
curl --request POST \ --url https://api.comm.com/api/v1/hub/profit-logic \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "profit": 0, "margin_type": "percentage", "action_on_change_rate": "approve", "id": "<string>" }'
{ "data": { "profit": 0, "margin_type": "percentage", "action_on_change_rate": "approve", "id": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
SellerProfitLogicDataRequest
The body is of type object.
object
SellerProfitLogicData
The response is of type object.