Update an existing offer. Only provided fields are modified.
metadata field is merged with existing metadata rather than replaced, allowing you to add or update individual keys without losing others.
tune, everflow, or null.cpa (cost per action) or cpc (cost per click).active, paused, or archived. Setting status to archived is equivalent to a soft delete.| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | name_too_long | The name exceeds 255 characters. |
| 400 | invalid_external_platform | The external_platform value is not tune, everflow, or null. |
| 400 | invalid_payout_type | The payout_type value is not cpa or cpc. |
| 400 | invalid_status | The status value is not active, paused, or archived. |
| 401 | unauthorized | API key is missing or invalid. |
| 404 | not_found | No offer exists with the specified ID. |
| 500 | server_error | An unexpected error occurred on the server. |