Guest Import

Imports guest records in bulk from an uploaded file. Use this endpoint to migrate an existing customer list into Softpoint avoiding the need to create each guest individually.

Request Headers

HeaderRequiredDescription
AuthorizationYesBearer YOUR_ACCESS_TOKEN
Content-TypeYesmultipart/form-data. Set automatically by most HTTP clients when uploading a file.

Request Parameters

Path Parameters

ParameterTypeRequiredDescription
location_idstringYesIdentifier of the location the guests are imported to.

Form Data Fields

FieldTypeRequiredDescription
import_filefileYesThe file containing guest records to import.
user_idtextYesIdentifier of the user performing the import.

Request Example

The request is sent as multipart form data. The import_file field carries the file, and user_id identifies the acting user.

import_file: guests.csv
user_id: 226

cURL Example

curl --request POST \
  --url https://sandbox-api.softpoint.io/interface/v1/locations/YOUR_LOCATION_ID/guests/import \
  --header "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  --form [email protected] \
  --form user_id=226

Success Response

Status: 200 OK

{
  "status": "success",
  "message": "Guest data imported successfully!",
  "processed_records": 8
}

Response Fields

FieldTypeDescription
statusstringIndicates whether the import completed successfully. Returns "success" on successful import.
messagestringConfirmation that the guest data was imported successfully.
processed_recordsintegerNumber of guest records successfully processed during the import.

Error Responses

The endpoint follows the standard API error envelope.

Missing Required Parameters

Status: 400 Bad Request

{
  "error": {
    "code": 10109,
    "message": "The request is missing one or more required parameter(s).",
    "details": {
      "import_file": [
        "missing_required_parameters"
      ]
    }
  }
}

Status Codes

CodeDescription
200Guest data imported successfully.
400Missing file or invalid request parameters.
401Missing or invalid access token.

Workflow Placement

Guest import is part of location onboarding and ongoing data synchronization:

  1. Generate an interface access token.

  2. Prepare a guest file in the format expected by the location.

  3. Upload the file through this endpoint.

  4. Use the imported guests in ordering and reporting workflows.

Notes

  • The request must be sent as multipart/form-data, not JSON.

  • The structure and required columns of the import file are not specified in the collection. Confirm the expected format with Softpoint before importing.

  • A successful response includes the number of records processed in the processed_records field.

  • The API documentation does not specify whether partially successful imports are possible or how skipped or invalid records are reported. Verify this behavior in the live environment if your integration depends on it.

  • Run a trial import in the sandbox environment to confirm formatting before importing into production.

Common Mistakes

  • Sending the request as JSON instead of multipart/form-data.

  • Omitting the import_file or user_id field.

  • Assuming the import file format without validating the required columns.

  • Importing an unvalidated file directly into production without first testing in the sandbox.

Body Params
file
integer
Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here!