Skip to main content
SaasVersion: 2023-02-21

Get locations by stripeId with companyId

GET/saas-api/public-api/locations
deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Get locations by stripeCustomerId or stripeSubscriptionId with companyId

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Auth methods:OAuthPrivate Integration
Token type:Agency Token

Request​

Headers

Versionstringrequired

API Version

Available options2023-02-21

Query Parameters

customerIdstring

Stripe customer ID to find locations for

Example:cus_OD2oBjRfKEF6FV
subscriptionIdstring

Stripe subscription ID to find locations for

Example:sub_1NVqlLByVlfITvRXgirIdpyc
companyIdstringrequired

Company ID to filter locations

Example:5DP4iH6HLkQsiKESj6rh

Response

Locations retrieved successfully

  • Array items
  • string