Locations

Create location

POST
/api/public/v3/locations

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/public/v3/locations" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'name=string&time_zone=string'
{  "data": {    "id": 0,    "name": "string",    "country_code": null,    "address": null,    "time_zone": "string",    "holiday_policy_id": null,    "created_at": "string",    "updated_at": "string"  }}