200 OK
if everything went ok or 400 Bad Request
if it didn't. In the case of the 400 Bad Request
the response body will look like this:
error
and errorMessage
which is defined as:error
errorMessage
productId
and pass the value that was sent in the request, indicating that the productId of av_123
is not valid.INVALID_PRODUCT_ID
productId
in the requestINVALID_OPTION_ID
optionId
in the requestINVALID_UNIT_ID
unitId
in the requestINVALID_AVAILABILITY_ID
availabilityId
in the requestINVALID_BOOKING_UUID
BAD_REQUEST
UNPROCESSABLE_ENTITY
INTERNAL_SERVER_ERROR
UNAUTHORIZED
Authorization
header to an endpoint that requires authentication.FORBIDDEN