post
https://sandbox-api.viantinc.com/{basePath}/fee/overwriteAdOrderFees
Replaces the assigned fees for the specified Ad Order with the supplied list of fee type ids.
Request
POST /fee/overwriteAdOrderFees?adorder_id=[adorder_id]
Response
| JSON Fields | Type | Description |
|---|---|---|
| messages | Object Array | An array of any error messages. |
| messages[].level | String | Error level. |
| messages[].code | String | Error code. |
| messages[].message | String | Error message. |
| entity | Integer Array | An array of fee type ids |
Example
Request
curl -u \<user>:\<password> -X POST -H "Content-Type: application/json" -d '\[732]' https\://sandbox-api.viant.com/v1/fee/overwriteAdOrderFees?adorder\_id=15812Response
{
"messages": [],
"entity": [732]
}