Step 8 Amenities
Amenities
Purpose (Product)
UX Flow (What the user sees)
APIs Called
PATCH /api/properties/{propertyId}
Payload: { "amenities": string[] } // array of amenity names
Response: Updated property
Errors: 400 (validation), 401/403 (authz), 404 (not found), 500
Idempotency: Safe for identical amenity arraysPATCH /api/users/{userId}
Payload: { "onboardingStep": number } // current + 1
Response: Updated user
Errors: 400, 401/403, 404, 500