PubQ Data API (v1)

API for accessing data related to companies, sales locations, and orders.

Download OpenAPI description
Overview
PubQ Support

support@pubq.se

License

MIT

Languages
Servers
Mock server

https://docs.pubq.se/_mock/apis/openapi/

Production server

https://data.pubq.se/v1/api/

Companies

Operations

Get Sales Locations by Company ID

Request

Retrieves a list of sales locations (units) associated with a specific company.

Path
idstringrequired

The ID of the company.

curl -i -X GET \
  'https://docs.pubq.se/_mock/apis/openapi/companies/{id}'

Responses

Successful response

Bodyapplication/jsonArray [
idstringrequired

The ID of the sales location (routeName).

namestringrequired

The name of the sales location.

postalCodestringrequired

The postal code of the sales location.

citystringrequired

The city of the sales location.

countryCodestringrequired

The country code of the sales location.

]
Response
application/json
[ { "id": "string", "name": "string", "postalCode": "string", "city": "string", "countryCode": "string" } ]

Orders

Operations

Metrics

Operations