Additional costs
Update additional cost
[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.
Updates an existing additional cost. Once created, the only property of an additional cost that cannot be changed is the name property (or API name in the Campaign Manager). This restriction is in place to prevent accidentally breaking live integrations.
put/v1/additional_costs/{additionalCostId}
Request
- Base URLhttps://yourbaseurl.talon.one
- Auth
- API key in header Authorization
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
additionalCostIdinteger required
The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in Account > Tools > Additional costs.
Request body
Example request
{
"name": "shippingFee",
"title": "Shipping fee",
"description": "A shipping fee",
"subscribedApplicationsIds": [
3,
13
],
"type": "session"
}Response
OK
Example response
{
"id": 6,
"created": "2020-06-10T09:05:27.993483Z",
"accountId": 3886,
"name": "shippingFee",
"title": "Shipping fee",
"description": "A shipping fee",
"subscribedApplicationsIds": [
3,
13
],
"type": "session"
}Changes
No recorded changes to this operation across all 2 revisions of this API.