Content API
Bed types list
Retrieve a list with all bed types available to the authenticated partner.
get
/rest/partners/bed-types
Query params
Name | Type | Mandatory | Description |
---|---|---|---|
limit | integer | no | integer [default 100], number of records to be returned per page |
page | integer | no | integer [default 1], the number of page you want to retrieve in case there are more properties in list than the limit |
Request
GET /rest/partners/bed-types HTTP/1.1
Host: {HOST}
Content-Type: application/json
Accept: application/json
Authorization: Basic {BASE64_BASIC_AUTH}
Response
{
"data": [
{
"id": 1,
"name": {
"en": "King bed"
}
}
],
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 100,
"to": 13,
"total": 13
}
Going live
Before you go live with your integration, we recommend contacting our support team.
Support & feedback
Need help integrating with Content API? The experts in our support team are here to help. Contact us at contact@rentalwise.com.