Square icon

Square

Consume Square API

Booking → Get Location Profiles

AI-generated

Overview

This node interacts with the Square API to retrieve booking-related data. Specifically, for the 'Booking' resource and 'Get Location Profiles' operation, it fetches all location booking profiles available in the Square account. This is useful for scenarios where you need to obtain detailed booking profiles for different business locations managed via Square, such as for scheduling or managing appointments across multiple locations.

Use Case Examples

  1. A business with multiple store locations wants to retrieve booking profiles for each location to display available services and schedules on their website.
  2. An appointment management system integrates with Square to fetch location profiles to customize booking options based on location-specific settings.

Output

JSON

  • id - Unique identifier of the location booking profile
  • location_id - Identifier of the location associated with the booking profile
  • booking_profile_details - Details of the booking profile such as available services, hours, and settings

Dependencies

  • Square API access with appropriate credentials

Troubleshooting

  • Ensure the Square API credentials are correctly configured and have permissions to access booking data.
  • If the API returns an error, check if the Square account has booking profiles set up for locations.
  • Network issues or incorrect API endpoint configuration can cause request failures.

Links

Discussion