Discussions

Ask a Question
Back to All

GET quote returns 'no default rate defined'

(edited)

My properties are properly synced with PriceLabs and I'm trying to make a GET request to the 'Gets a quote' endpoint (https://api.lodgify.com/v2/quote/{propertyId}) but I'm getting the following response:

{
"message": "The House has no default rate defined",
"code": 666,
"correlation_id": "0HMR12K89O8K5:00000035",
"event_id": null
}

Here was my call using Node:

const sdk = require('api')('@lodgify/v1.0#38z01gli1eldpj');

sdk.auth('REDACTED');
sdk.getV2QuotePropertyid({arrival: '2023-05-30', departure: '2023-06-30', propertyId: '449806'})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));