Implement/dismiss opportunities

Mark an opportunity as implemented, instantly implement an opportunity if applicable, or dismiss an opportunity. Note that not all hotels are eligible for all opportunities, especially in case of implementing bulk actions on these opportunities

HTTP request

POST
https://supply-xml.booking.com/opportunity-api/properties/{property_id}/opportunities

See Opportunity API reference for details.

Request headers

Header Description Type Required Notes
Authorization Machine account username and password string Required Example: Authorization: Basic {username:password}

Request body

"actions" :[{
   "opportunity_id":"cucc_adoption_oc_promotion",
   "action":"ENABLE"
}]

See Opportunity API reference for details.

Response body

"data": {}
"meta": {
    "ruid": "UmFuZG9tSVYkc2RlIyh9YbvPzfY4dZasPGAUcglKEyRzk2/HbSzspV7O+mQdkB4hP2dlEyQkjV+iI71VQFka7vNa5MAta305nepI2yvXTv4="
},
"errors": [],
"warnings": []

See Opportunity API reference for details.