Market Segmentation
Update a Market Segmentation Segment.
patch/market-segmentation/v1/segments/{id}
Request
- Base URLhttps://api.cloudbeds.com
- URLhttps://api.cloudbeds.com/market-segmentation/v1/segments/{id}
- AuthOAuth 2Authorization code: https://api.cloudbeds.com/auth/oauth/authorizeToken URL: https://api.cloudbeds.com/auth/oauth/token scopes: write:marketsegment
Path parameters
idId required(unresolved $ref)
Segment ID.
Headers
x-property-idstring required
Example:1,2,3
A numeric, comma-separated string representing the property IDs, sent in the header.
Request body
Example request
{
"id": "1-b",
"groupId": "1-b",
"name": "Abc",
"code": "1000",
"description": "This is a Segment",
"isEnabled": true,
"ratePlanIds": [
"1-a",
"2-b",
"3-c"
]
}Response
Updated Market Segmentation Segment.
Changes
No recorded changes to this operation across all 1 revision of this API.